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
- My vintage computer collection online, inside a classic Mac interface
- Talking to the Apple II
- Playing with PCMCIA to USB Adaptors - Mac Driver needed
- A2FileCmd — A two-panel file manager and disk toolkit for the Apple II
- APPLE 50 – 50 years of Apple as an ASCII-art slideshow for the Apple-1 (inspired by David Schmenk's Apple30)
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. :)