Hi! I am working on a text adventure. I need to continue it. I also have some code around which others can build text adventures for cc65. I have the latter available for CBM and Atari 8-bit models and want to port it to the Apple2enh. The problem is that the other systems execute a Return in a string as "\n" while the Apple2 uses "\r." Somebody elsewhere told me about the charmap #pragma of cc65. What numbers do I need to supply to get "\n" to translate to "\r"?
Applefritter Talk
Anonymous
User login
Please support the defense of Ukraine.
Credit card, bank transfer
Bitcoin, Ethereum, Polkadot, USDT
via Unclutter App for Mac
Active forum topics
Recent content
Navigation
Announcements
No Ads.
No Trackers.
No Social Media.
All Content Locally Hosted.
40 Gigabytes and Growing.
Built on Free Software.
\r is carriage return which is CTRL-M, decimal 13 and hex 0x0d
\n is line feed which is CTRL-J, decimal 10 and hex 0x0a
Never mind: I got it to work. :)