Search found 262 matches

by TascoDLX
Tue Feb 13, 2007 10:55 pm
Forum: Mega/SegaCD
Topic: CDROM reading issue after subcpu halt
Replies: 30
Views: 41175

I tried that, kega still says "tray opened", "tray closed"... I cannot check on real hardware actualy. Before we go nuts... You are already bored? :) :D Quite the contrary... this is where the fun begins. The cause seems to be an abrupt change in the CDD status. I don't know the exact status after ...
by TascoDLX
Tue Feb 13, 2007 6:49 pm
Forum: Mega/SegaCD
Topic: CDROM reading issue after subcpu halt
Replies: 30
Views: 41175

Before we go nuts... else if(command==0x0402)//UnHalting perparation requested { scpu_interruptmask[0]=interruptmask; pc=(unsigned char*)0xFF8037; *pc=0x0; for(i=0;i<32;i++){asm("nop");} *pc=0x4; //Kick start CDD! } Try kick starting the CDD *before* unmasking interrupts and let me know if you get t...
by TascoDLX
Tue Feb 13, 2007 4:35 am
Forum: Mega/SegaCD
Topic: CDROM reading issue after subcpu halt
Replies: 30
Views: 41175

After not receiving reply from the bios, the CDD stops to work... Thanks to the method of steve, i fixed the problem (partialy since it shows a "open tray" on KEGA, seems wierd). That's pretty much how I thought it would look. I suggest that you test this on a model 1 Mega-CD because it may in fact...
by TascoDLX
Sat Feb 10, 2007 6:56 pm
Forum: Mega/SegaCD
Topic: CDROM reading issue after subcpu halt
Replies: 30
Views: 41175

-Mask all interupts before halting (writting 0xFFFF to the mask register, need to be verified because the documentation seems to sux). Save the (byte) value at $FF8033, write 0x7E to $FF8033, and, after the unhalt, restore the original value to $FF8033. -After unhalt, kick start the CDD. I'd really...
by TascoDLX
Fri Feb 09, 2007 7:24 am
Forum: Mega/SegaCD
Topic: CDROM reading issue after subcpu halt
Replies: 30
Views: 41175

Yeah, every 1/75th of a second when you're reading data off the drive. Aren't these interrupts frame interrupts ? Not frame as a frame per image, but frame as in the CD-audio specification ? A CD-audio is 73'59"and 74 frames. Each second is divided in 74 frame. Could it be ? You mean 75 frames, and...
by TascoDLX
Tue Feb 06, 2007 11:27 pm
Forum: Mega/SegaCD
Topic: CDROM reading issue after subcpu halt
Replies: 30
Views: 41175

You should call CDBSTAT until it says it's paused. I don't know how long a delay that is but you'll just have to try it. You may be able to get away with calling CDBCHK until it succeeds but that won't guarantee that the CD is paused.
by TascoDLX
Tue Feb 06, 2007 8:45 pm
Forum: Mega/SegaCD
Topic: CDROM reading issue after subcpu halt
Replies: 30
Views: 41175

A couple thoughts: Does your function keep looping or does it never return from the BIOS? Either way, the BIOS could be getting corrupted. Maybe you could try masking all interrupts on the subcpu before the halt. Are you stopping the CD before the halt and restarting afterwards? If you're not stoppi...