AdvSkel65 Progress Report: Getting Monitor: Possible Crash on ProDOS OPEN

2 posts / 0 new
Last post
Offline
Last seen: 3 months 2 weeks ago
Joined: Nov 12 2022 - 16:50
Posts: 202
AdvSkel65 Progress Report: Getting Monitor: Possible Crash on ProDOS OPEN

Hi!  I can't figure this one out.  Right now, most ports of AdvSkel65 appear to be working, but the two Apple2enh ports are giving me the monitor at startup.  :(  The 64k version used to work, but the 128k version was giving me the monitor at a location used by a Cubbyhole stub.  Right now, it seems that the monitor is showing a location in the main program.  I think this is happening during a call to the ProDOS OPEN function.  I attached the code for the OPEN code, the file-parsing code and the code that reads the files into memory.  BTW, I'm using ProDOSi to access the file system.  Thank you.

Offline
Last seen: 3 months 2 weeks ago
Joined: Nov 12 2022 - 16:50
Posts: 202
I found the bug!  :)  I was

I found the bug!  :)  I was pushing the last parameter to the readpath() function, a __fastcall__ function, onto the stack instead of in the AX registers from an assembler function.  I'm now back to where I was before here: the 64k version works fine, but the 128k version gives me Error #86 when loading a Cubbyhole stub.  I don't know why this is.  I really want to post some example code here, but there's no upload link when replying to a thread, and, if I copy and paste, the return characters don't appear.  :(

Log in or register to post comments