Just as an example; a function that contains only "return 0;" gets compiled into:
mov.l r14,@-r15
mov #0,r0
mov r15,r14
mov r14,r15
rts
mov.l @r15+,r14
Plain awesomeness.. :roll: That could be reduced by 67%. And it just goes on like that.
GCC is creating a stack frame. You need to use ...
Search found 17 matches
- Thu Jan 22, 2009 8:29 pm
- Forum: Super 32X
- Topic: Cache coherency
- Replies: 8
- Views: 11999
- Sun Jan 18, 2009 8:19 pm
- Forum: Video Display Processor
- Topic: Is DMA useful ?
- Replies: 30
- Views: 37533
Re: Is DMA useful ?
Hi you all.
I'm wondering a silly question : is DMA useful ?
I'm talking about DMA 1 : transfer data from ROM/RAM to VRAM, not DMA-fill or DMA-copy.
...
You have a bigger experience than I. So tell me. In what case is DMA transfer useful ?
It's useful for many things.
On most games the sprite is ...
I'm wondering a silly question : is DMA useful ?
I'm talking about DMA 1 : transfer data from ROM/RAM to VRAM, not DMA-fill or DMA-copy.
...
You have a bigger experience than I. So tell me. In what case is DMA transfer useful ?
It's useful for many things.
On most games the sprite is ...
- Mon Jan 12, 2009 10:36 pm
- Forum: Sound
- Topic: Genesis - SNES audio comparison
- Replies: 161
- Views: 140266
- Sun Jan 11, 2009 12:29 am
- Forum: Sound
- Topic: Genesis - SNES audio comparison
- Replies: 161
- Views: 140266
I've worked on a SNES game which was ported to Genesis, so I have a bit of experience with both systems.
The SNES audio was generally considered easier to work with than the Genesis. You could use sampled audio and get exactly the sound you wanted, whereas with the Genesis you had to figure out the ...
The SNES audio was generally considered easier to work with than the Genesis. You could use sampled audio and get exactly the sound you wanted, whereas with the Genesis you had to figure out the ...
- Wed Oct 08, 2008 6:12 pm
- Forum: Super 32X
- Topic: 32X overclocking
- Replies: 8
- Views: 14104
Re: 32X overclocking
Once of the things I've read was that the only reason the 32X's SH-2's didn't run at 28MHz was because the clock from the Genesis was multiplied 3x.
However, since we have half multipliers these days, or perhaps a 28MHz oscillator, could the 32X be overclocked?
Or would this render the 32X un ...
However, since we have half multipliers these days, or perhaps a 28MHz oscillator, could the 32X be overclocked?
Or would this render the 32X un ...
- Wed Oct 08, 2008 5:45 pm
- Forum: Announcement
- Topic: Honorable members
- Replies: 14
- Views: 41497
- Thu Aug 14, 2008 7:51 pm
- Forum: Megadrive/Genesis
- Topic: Programming in C - Some doubts
- Replies: 10
- Views: 9823
- Thu Aug 14, 2008 7:50 pm
- Forum: Megadrive/Genesis
- Topic: Don't forget volatile
- Replies: 0
- Views: 10079
Don't forget volatile
Oops, sorry. clicked on "new thread" instead of "post reply".
Toshi
Toshi
- Thu Aug 14, 2008 7:47 pm
- Forum: Super 32X
- Topic: Cell Shading
- Replies: 12
- Views: 15537