Search found 2889 matches
- Fri Apr 22, 2022 12:19 am
- Forum: Tools
- Topic: Update your Genesis/32X Toolchain!
- Replies: 110
- Views: 94402
Re: Update your Genesis/32X Toolchain!
Sorry, but I've never used either. Might I suggest looking at Code Blocks or Geany? I personally use Geany for all my program editing needs. Many people use Code Blocks.
- Sat Mar 19, 2022 9:46 am
- Forum: SGDK
- Topic: Bank switching with SGDK
- Replies: 6
- Views: 1475
Re: Bank switching with SGDK
Picodrive has good banked rom support. I use it for testing 32X bank selected bins (big 32X video player roms in this case). Fusion works fine, but only up to 6MB. They apparently didn't support bigger since there was no rom bigger at the time. The NeoMyth MD cart works up to 8MB since that's all th...
- Mon Feb 14, 2022 2:14 am
- Forum: Demos
- Topic: Metal Slug port from Atari STE to MegaDrive / Genesis - WIP
- Replies: 3
- Views: 1017
Re: Metal Slug port from Atari STE to MegaDrive / Genesis - WIP
Sonic needs some speed boots there - he's a bit slow...

- Mon Jan 31, 2022 12:14 am
- Forum: Super 32X
- Topic: Untitled 32X Super Scalar Project
- Replies: 34
- Views: 4489
Re: Untitled 32X Super Scalar Project
I actually tried but I find it sometimes difficult to interpret the low-level hardware terminology. "Associative purge space"... uhhh, sure. The SH2 has three cache modes: no cache at all (all the cache data array being used as 4KB of fast scratch ram), 2KB two-way set associative cache + 2KB scrat...
- Sun Jan 30, 2022 5:16 pm
- Forum: Super 32X
- Topic: Untitled 32X Super Scalar Project
- Replies: 34
- Views: 4489
Re: Untitled 32X Super Scalar Project
Whoops! Big whoospi on my behalf... it's 0x40000000, not 0x60000000. Sorry about that. Don't know how I confused the two. :oops: In case you are wondering and don't want to actually go read the SH2 hardware manual... 0x00000000 = cached access 0x20000000 = uncached access (they call it cache-through...
- Wed Jan 26, 2022 11:01 am
- Forum: Super 32X
- Topic: Untitled 32X Super Scalar Project
- Replies: 34
- Views: 4489
Re: Untitled 32X Super Scalar Project
1) The sprite pointer and the struct it points to both need to be either uncached OR flushed (you don't need to do both, and the flushing is by the other CPU, not the main one). The pixel data doesn't need to be flushed, and should only be uncached if the draw routine floods the cache with pixel dat...
- Tue Jan 25, 2022 9:49 pm
- Forum: Super 32X
- Topic: Untitled 32X Super Scalar Project
- Replies: 34
- Views: 4489
Re: Untitled 32X Super Scalar Project
When I was younger, I'd have baited the crazies. As I've gotten older, I find it much less trouble to just think ahead and avoid the hassle. Choose your battles. I choose not to fight the idiots over such a minor matter of terms. Primary and secondary works just as well, and doesn't trigger the idio...
- Tue Jan 25, 2022 11:02 am
- Forum: Super 32X
- Topic: Untitled 32X Super Scalar Project
- Replies: 34
- Views: 4489
Re: Untitled 32X Super Scalar Project
The SH2 does write-through on writing, so writes will always be in ram. So the other SH2 needs to flush its own cache of the range over all parts of the struct before reading it in order to get the current data. That's assuming the cache is used, and you aren't using uncached access to all parts of ...
- Sun Jan 16, 2022 11:23 pm
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 32
- Views: 3635
Re: 32X VDP going crazy with my attempts to draw
That makes sense if you're rusty on C/C++. Static in C/C++ makes a local variable hold its value between calls to the function. So it's a like a global in that it always exists and holds its value, but it's still local to the function where it's defined. My standard method of doing FPS is to increme...
- Sat Jan 15, 2022 11:31 pm
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 32
- Views: 3635
Re: 32X VDP going crazy with my attempts to draw
So the 0x08 turns on the flag for vertical interrupts according to the PDF. However, I do not understand the 0x10 at all. I have played with the value... it was 0x20 originally, and I also tried 0x30. I'm sure it does something, but it's just not clear to me what. Look at the hardware manual for th...
- Tue Jan 11, 2022 1:04 am
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 32
- Views: 3635
Re: 32X VDP going crazy with my attempts to draw
That variable needs to be set as volatile, for one. Also, have you enabled the vbi? Look at D32XR's crt0.s at about line 390. We enable the vbi and set sr to allow interrupts right before purging the cache and jumping to main().
- Sun Jan 09, 2022 5:40 pm
- Forum: Super 32X
- Topic: Untitled 32X Super Scalar Project
- Replies: 34
- Views: 4489
Re: Untitled 32X Super Scalar Project
So far I've moved drawing and dirty rect cleaning functions to SDRAM for minor speedups. I was hoping for something more dramatic :) If the code is small enough to cache completely and then is called in a loop without other functions being big enough also being called knocking it from the cache, yo...
- Sat Jan 08, 2022 11:25 pm
- Forum: Super 32X
- Topic: Untitled 32X Super Scalar Project
- Replies: 34
- Views: 4489
Re: Untitled 32X Super Scalar Project
Make sure the Z80 is held reset I've wondered about this for a while now. So if I'm interpreting you correctly, it sounds like unless you want to hinder the system's overall performance, using the Z80 for anything at all does more harm than good in the case of 32X development. You'd have to be care...
- Sat Jan 08, 2022 1:00 am
- Forum: Sound
- Topic: Ricoh RF5C164 revisited
- Replies: 2
- Views: 971
Re: Ricoh RF5C164 revisited
3. When you hit loop marks, it makes the channel load the loop offset. If the loop offset points to loop marks, it will simply always load the loop offset forever... until you disable the channel. I do that in my SCD mod player. If a sample loops, I set the loop offset to the appropriate value. If t...
- Sat Jan 08, 2022 12:36 am
- Forum: Super 32X
- Topic: Untitled 32X Super Scalar Project
- Replies: 34
- Views: 4489
Re: Untitled 32X Super Scalar Project
One thing you need for best speed on the SH2 side - keep the MD off the bus. Make sure the Z80 is held reset, the 68000 is running in work ram, and the VDP is not doing any DMA. Running the 68000 main() in rom is enough to maybe halve the speed of the 32X side. Running sh2 functions from sdram makes...