-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
This is the code I use to test if there is a SEGA CD and a Disk inserted
tst.b (SegaCD_Mode).w ; Test if there's a SEGA CD
bne.w .nocd ; if not, don't do the sega cd thing
btst Clownacy/clownmdemu-frontend#5,($A10001).l ; Test for a lack of disk (This bit is 0 when there is a disk)
bne.w .nocd ;If there is no disk, don't do the sega cd thing
<CD FUNCTION HERE>
.nocd:
...
Normally, it should do what ever function is after this code if there is no CD, or run the command to the SEGA CD
Instead, it black-screens the emulator.
Metadata
Metadata
Assignees
Labels
No labels