Attachment | Size |
---|---|
ProDOSi module that opens a file | 1.25 KB |
Module that passes a file to the OPEN function | 578 bytes |
Module that loads a Cubbyhole stub into memory | 1.01 KB |
cc65 header that declares the ProDOSi functions | 1.06 KB |
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.
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. :(