Harry Potter Posted July 14, 2022 Share Posted July 14, 2022 Hi! I have cc65, the Altirra emulator and a text adventure code to convert to a cartridge image. Now, cc65 comes with cartridge support. Do I need to do anything other than copy the .cfg file? Any format issues? What about the crt0.s file? 1 Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted July 14, 2022 Author Share Posted July 14, 2022 I found the information I needed. I looked in the cc65 docs., and they directed me to the Mapping the Atari book. I looked there for the cart flag address and found the flag meanings. I'm working on the port now. 1 Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted July 14, 2022 Author Share Posted July 14, 2022 It turns out that I need your help after all. It currently crashes upon start-up. What do I need to do to the crt0's file to get it to work? BTW, the cartridge flag is set to $04, not $01. 1 Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted July 23, 2022 Author Share Posted July 23, 2022 I think it's due to an incompatibility with AtaSimpleIO. I'm going to test that theory now. Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted July 23, 2022 Author Share Posted July 23, 2022 It is! I really want the AtaSimpleIO library, as it's more efficient than the standard I/O library. Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted July 23, 2022 Author Share Posted July 23, 2022 I found the bug: AtaSimpleIO needs to write a vector to the printc() function at start-up. I got that to work, but I needed to put the function's object code in the DATA segment and copy the segment to RAM. Then, I had to debug the GetInput() function: I added the Atari8 version of the function from another program and fixed some display glitches. Then, I found some bugs with the Look verb and related source code. It works now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.