Search found 262 matches
- Mon Mar 14, 2011 11:05 am
- Forum: Mega/SegaCD
- Topic: Mega Drive to Mega CD?
- Replies: 29
- Views: 40047
As you can see I tried loading the vector table to the best of my knowledge to address 0xFFFD00, which is supposedly the area it should be loaded to. This of course was just an assumption and my n00bish attempt at doing so. I have dumped the RAM with Gens without doing it and doing it, and if I don ...
- Thu Mar 10, 2011 9:08 pm
- Forum: Mega/SegaCD
- Topic: Mega Drive to Mega CD?
- Replies: 29
- Views: 40047
Stack won't work at an odd address.
Try this instead:
Try this instead:
Code: Select all
PROVIDE (__stack = 0x00fffd00);
- Thu Feb 17, 2011 8:14 pm
- Forum: Mega/SegaCD
- Topic: BIOS disassembly
- Replies: 15
- Views: 18524
- Tue Feb 15, 2011 11:13 am
- Forum: Mega/SegaCD
- Topic: BIOS disassembly
- Replies: 15
- Views: 18524
- Tue Feb 15, 2011 4:53 am
- Forum: Mega/SegaCD
- Topic: BIOS disassembly
- Replies: 15
- Views: 18524
Re: BIOS disassembly
I thought the first 1M was the BIOS rom so a call to 5F22 mean a call the BIOS's 5F22.... but there is nothing (usefull) at 5F22....
So, it seems I'm missing how the BIOS is loaded/used.....
The subcpu bios occupies 000000 thru 0057FF and uses ram space at 005800 thru 005FFF for stack and ...
So, it seems I'm missing how the BIOS is loaded/used.....
The subcpu bios occupies 000000 thru 0057FF and uses ram space at 005800 thru 005FFF for stack and ...
- Thu Feb 10, 2011 3:14 am
- Forum: Mega/SegaCD
- Topic: Savestate format and Lunar too
- Replies: 5
- Views: 7328
Re: Savestate format and Lunar too
Not fusion. Gens (different builds of it). Is it the same GST format for Fusion?
Not quite.
For Gens Tracer (and probably others):
0x25550: SUBCPU REGS
0x25950: GATE ARRAY (COMM...)
0x26550: PRG-RAM (BYTESWAPPED)
0xA6550: WORDRAM (BYTESWAPPED)
0xE6550: PCM-RAM
The byteswap is a bit of a ...
Not quite.
For Gens Tracer (and probably others):
0x25550: SUBCPU REGS
0x25950: GATE ARRAY (COMM...)
0x26550: PRG-RAM (BYTESWAPPED)
0xA6550: WORDRAM (BYTESWAPPED)
0xE6550: PCM-RAM
The byteswap is a bit of a ...
- Wed Feb 09, 2011 9:09 am
- Forum: Mega/SegaCD
- Topic: Savestate format and Lunar too
- Replies: 5
- Views: 7328
Re: Savestate format and Lunar too
If the CD audio tracks are not loaded, it won't work. Shouldn't be any problem if all the files are named correctly, though.
Anyway, I was looking at the save state file and it has the GST tag at the beginning. Anyone have information for the CD part of this format?
For Fusion? I have this ...
Anyway, I was looking at the save state file and it has the GST tag at the beginning. Anyone have information for the CD part of this format?
For Fusion? I have this ...
- Fri Dec 31, 2010 4:45 pm
- Forum: Video Display Processor
- Topic: VDP VRAM access timing
- Replies: 40
- Views: 154550
A minor gripe:
The manual says the maximum wait time for VRAM writes (to a full FIFO) is 4.77us in H40 mode. Let's see: SC in H40 mode is MCLK/4, outside of H-sync. Because of the refresh cycle, there's a gap of 16 access slots between external access slots. So, that's a maximum wait time of 4/MCLK ...
The manual says the maximum wait time for VRAM writes (to a full FIFO) is 4.77us in H40 mode. Let's see: SC in H40 mode is MCLK/4, outside of H-sync. Because of the refresh cycle, there's a gap of 16 access slots between external access slots. So, that's a maximum wait time of 4/MCLK ...
- Thu Dec 30, 2010 10:01 pm
- Forum: Megadrive/Genesis
- Topic: Mickey Mania emulator comparison
- Replies: 67
- Views: 69460
Thanks to Nemesis's discoveries about VRAM access ( that post ), the effect is pretty much explained.
To change a whole palette (16 word entries) on one line, the display is disabled, the palette data is DMA'd to CRAM, then the display is reenabled. Obviously this is done during the H-blank period ...
To change a whole palette (16 word entries) on one line, the display is disabled, the palette data is DMA'd to CRAM, then the display is reenabled. Obviously this is done during the H-blank period ...
- Thu Dec 30, 2010 9:50 pm
- Forum: Video Display Processor
- Topic: VDP VRAM access timing
- Replies: 40
- Views: 154550
- Thu Dec 23, 2010 3:47 am
- Forum: Mega/SegaCD
- Topic: Sub-CPU Jump Addresses
- Replies: 4
- Views: 6314
- Wed Dec 22, 2010 12:24 pm
- Forum: SGDK
- Topic: make a Soft Reset with Gendev
- Replies: 16
- Views: 13485
Note, if you want to do a proper soft reset, you'll need to reset the stack pointer.
This should work:
This should work:
Code: Select all
asm volatile ( "move #0x2700,%sr\n\t"
"move.l 0,%a7\n\t"
"move.l 4,%a0\n\t"
"jmp (%a0)" );
- Wed Dec 22, 2010 10:41 am
- Forum: Mega/SegaCD
- Topic: Sub-CPU Jump Addresses
- Replies: 4
- Views: 6314
Re: Sub-CPU Jump Addresses
Anyway, I'm good on BIOS calls, but what would a jsr to $7880 or $7800 do. I can't seem to find that anywhere in these documents but I see it several times in the (either IP or SP code, still figuring that one out).
SP (subcpu boot code) loads to $6000, so it's probably right there. $7800 @ loc ...
SP (subcpu boot code) loads to $6000, so it's probably right there. $7800 @ loc ...
- Tue Aug 31, 2010 8:36 am
- Forum: Mega/SegaCD
- Topic: Small Sega CD PCM question: sample rates
- Replies: 12
- Views: 16097
The PCM address registers each have an 11-bit fractional component (2^11 = 2048). Technically, the sampling rate is fixed at 32KHz, and FD serves as an increment to the address register.
In a sense, you could say that a PCM RAM pointer is advanced by FD/2048 bytes at every clock (32KHz). So, if FD ...
In a sense, you could say that a PCM RAM pointer is advanced by FD/2048 bytes at every clock (32KHz). So, if FD ...
- Sat Aug 28, 2010 3:01 am
- Forum: Mega/SegaCD
- Topic: Small Sega CD PCM question: sample rates
- Replies: 12
- Views: 16097