Page 1 of 1

Booting? Interrupts? What do I need to do?

Posted: Thu Oct 01, 2020 6:08 am
by RivetRetro
Recently I got interested in tinkering with the Sega CD, and set out to start making a working image. Referencing docs and Luke's Bootloader I was able to get things like headers up and working. But after doing some reading through here I read that it's not the best example as it doesn't set certain Ints and the CD dies out after a little. Looking through some example sources I haven't really been able to figure out what I need to set or how and the closest thing to it that I could find in the docs was this and I have no idea what it's referencing with 0-FF:

Image

I've also heard talk about some area in MD ram around $FD00 and seen things in the cdbios.inc with values like $5F10 and don't quite know whats going on. Any help and explanations on what I need to do is appreciated :D

Re: Booting? Interrupts? What do I need to do?

Posted: Sun Oct 04, 2020 5:04 pm
by Miquel
RivetRetro wrote:
Thu Oct 01, 2020 6:08 am
I have no idea what it's referencing with 0-FF:
Both 68k read exception start address from the 8-255 first bytes memory address. Every 4bytes is a direct jump exception address.

Remember that when there is no cartridge the first two 4MB of address space on MD get swapped.