+Allan Posted January 23 Share Posted January 23 I use to know this but it's been so long I have forgotten. I am trying to convert an Atari text file (LISTed BASIC file) into a modern PC text file and I forget the symbol(s) to replace the Atari carriage return with. Does anybody know the symbol to use so that a LISTed BASIC file isn't one long line? Quote Link to comment Share on other sites More sharing options...
Nezgar Posted January 23 Share Posted January 23 Convert 155 in ATASCII to CRLF (ctrl-M, ctrl-J) in ASCII. I recall RespeQt can do the conversion automatically if you drag the file in/out of an ATR image with text translation mode enabled in the file browser. Quote Link to comment Share on other sites More sharing options...
Ray Gillman Posted January 23 Share Posted January 23 As I recall the PC uses asc 13 and asc 10 instead of atascii 155. I just usually use Altirra do to Alt-D disks click the > arrow to Explore disk then inside there right click the text to export and it looks fine on PC - autoconvert and autoconverts back on Import. Quote Link to comment Share on other sites More sharing options...
Ray Gillman Posted January 23 Share Posted January 23 13 10 are CR LF whereas 155 on Atari does both carriage return and linefeed Quote Link to comment Share on other sites More sharing options...
+Allan Posted January 23 Author Share Posted January 23 It looks like the line below. I used to just do a 'replace all' on the 'õ' with another character. Dõ4150 PRINT #1;" ";L$(J*30+6,(J+1)*30)õ4160 NEXT Jõ4170 CLOSE #1õ4180 RETURN õ Quote Link to comment Share on other sites More sharing options...
+Allan Posted January 23 Author Share Posted January 23 I am on a Mac so I can't use Altirra. Quote Link to comment Share on other sites More sharing options...
Rybags Posted January 23 Share Posted January 23 There's also the extra drive numbers that can do conversion automatically. Only useful for text/ENTERed files though. Quote Link to comment Share on other sites More sharing options...
pcrow Posted January 23 Share Posted January 23 On Linux, it's just a new line, which is 10 instead of 155. Dealing with newlines is still a mess with modern computers. 1 Quote Link to comment Share on other sites More sharing options...
+Allan Posted January 23 Author Share Posted January 23 Found it. it's '\n'. Thank you for all your help. 1 Quote Link to comment Share on other sites More sharing options...
TGB1718 Posted January 23 Share Posted January 23 I know it's for windows, but this will do line conversions for you, can it run under Wine ? https://x868k.com/apps/memopad/?os=win#screensh Quote Link to comment Share on other sites More sharing options...
+skr Posted January 26 Share Posted January 26 On 1/23/2024 at 1:41 AM, Allan said: I am on a Mac so I can't use Altirra. Errrm ... what? 2 Quote Link to comment Share on other sites More sharing options...
+Allan Posted January 26 Author Share Posted January 26 1 hour ago, skr said: Errrm ... what? Yes. You are correct. So my statement was not really correct. I did have Altirra on my Mac when I had Paralles installed but it took up a lot of resources and was cumbersome to use so I un-installed it. I haven't tried any way since. Other than Altirra, I don'y have a need to use Windows. Quote Link to comment Share on other sites More sharing options...
+skr Posted January 26 Share Posted January 26 Yes, I don´t use Parallels since 7 or 8 years. Just using wine, which doesn´t force you to install a full windows. For what I need, it is enough. Altirra and MadStudio start just like any native Mac app. You should give it a try, doesn´t eat much resources. 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.