I have a Net Yaroze which I want to dev on and would like to put in a cdr with my data.
It's not chipped so it doesn't read cdr when the lid is opened.
I'm not even 100% sure the swap would work, but worth a try!
The NY lib has cdrom read access but that's pretty much it.. ie there's no CdControl which includes CdlStop.
I found some source for the cdrom control stuff here
https://github.com/ColdSauce/psxsdk/tree/master/libpsx/src
But I couldn't compile the asm (.s) file with the NY tool chain, I'm guessing it's because the NY toolchain is from the early 90's while everything else is 'newer'
ie:
sw $s1, 64($sp) = The $ is wrong
compiles:
sw t1,(t2) // Store in buffer
But I'm no asm expect.
I also tried link to the psyq object.. but didn't work.
So next I built a psyq patched psx.exe (80090000) which just runs CdlStop.
I put it in NY RAM (80090000) and tried running it (via exec), but it freezes..
I'm guessing it's using the same stack/heap location?
Anyone know how to load/run an exec from ram?
Or familiar with old MIPS assembly lol
Thanks for any help.
It's not chipped so it doesn't read cdr when the lid is opened.
I'm not even 100% sure the swap would work, but worth a try!
The NY lib has cdrom read access but that's pretty much it.. ie there's no CdControl which includes CdlStop.
I found some source for the cdrom control stuff here
https://github.com/ColdSauce/psxsdk/tree/master/libpsx/src
But I couldn't compile the asm (.s) file with the NY tool chain, I'm guessing it's because the NY toolchain is from the early 90's while everything else is 'newer'
ie:
sw $s1, 64($sp) = The $ is wrong
compiles:
sw t1,(t2) // Store in buffer
But I'm no asm expect.
I also tried link to the psyq object.. but didn't work.
So next I built a psyq patched psx.exe (80090000) which just runs CdlStop.
I put it in NY RAM (80090000) and tried running it (via exec), but it freezes..
I'm guessing it's using the same stack/heap location?
Anyone know how to load/run an exec from ram?
Or familiar with old MIPS assembly lol
Thanks for any help.
