Attachment | Size |
---|---|
![]() | 3.47 KB |
![]() | 3.39 KB |
![]() | 1013 bytes |
Hi! I have some code for cc65 around which one can build a text adventure. It currently works for the C64, the 64k Plus4, the C128 and the 8-bit Atari series. I've been working on an Apple2enh port. So far, it works for a 64k Apple2enh but not a 128k Apple2enh. :( It uses the A2SimpleIO, ProDOSi and, for the 128k version, AuxMemApple libraries. When a stub is being loaded, the system gives me the monitor, and the location of the PC is $02C0. This area is defined by the config files but is unused. The 64k version works, though. I am attaching parts of the main module, the stub-loading module and the config file.
Never mind: I found the bug. I was specifying the wrong output file for cl65's output. Then, some room descriptions and item names weren't being displayed. One thing that was causing this was an error with referencing the printtok() function: the code was substituting printtok with prints. Another bug was that I was trying to copy some data from Main memory instead of Aux memory. I fixed both bugs, and now it works. :)