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"?
Anonymous
User login
Please support the defense of Ukraine.
Direct or via Unclutter App
Active forum topics
Recent content
Navigation
No Ads.
No Trackers.
No Social Media.
All Content Locally Hosted.
Built on Free Software.
We have complied with zero government requests for information.
\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. :)