totalspectrum / spin2cpp

Tool to convert Parallax Propeller Spin code to PASM, C++ or C
Other
46 stars 17 forks source link

Remaining nucode issues wrt. emulator upcode #416

Open Wuerfel21 opened 1 year ago

Wuerfel21 commented 1 year ago

To follow up to P2LF, the stack smash fix does indeed work, but there's some other issues now.

MegaYume cannot currently compile upper in Nu mode because it can't seem to handle arrays in inline asm properly. This is actually an issue with the usbnew driver, so fairly critical I guess. The keystate function needs a size-2 array to block read into to make sure that it gets an atomic snapshot of the keyboard report.

NeoYume compiles, but the menu behaves oddly and freezes for short periods of time. Also, some games will hang after loading 5888k of data (23 dots). Sometimes this also corrupts the screen. No idea what distinguishes the working from the broken gamedb entries. Also, when it works it's really slow on some file types, but that's expected. Could probably rewrite all of the file types in inline asm like LOAD_CROM is.

It's bedtime again (was busy today), so not looking into debugging that one right now. Also here's some hope to finding your lost AV board.

Wuerfel21 commented 1 year ago

usbnew compile error is fixed now.

Current status: