Page 1 of 1

CdInit causes black screen

Posted: August 31st, 2022, 3:33 pm
by splatkillwill
Hello I'm hoping to get help with an issue i'm having. If I simply uncomment the

Code: Select all

CdInit()
my project goes from working as expected to just showing a black screen.

https://github.com/william-lohan/psx-ec ... main.c#L63

Re: CdInit causes black screen

Posted: August 31st, 2022, 4:25 pm
by splatkillwill
OK new info. works with PPCSX-Redux with OpenBIOS but not pSX with scph7502.bin

Re: CdInit causes black screen

Posted: August 31st, 2022, 4:37 pm
by MottZilla
Try adding StopCallback() before CdInit().

Re: CdInit causes black screen

Posted: September 5th, 2022, 4:47 pm
by Shadow
Try doing this and monitor the TTY output to see what the system is doing.

Code: Select all

ResetCallback(); // call this function at the absolute start of your program
CdSetDebug(3); // enable CD debugging
CdInit(); // initialise the CD-ROM subsystem