Jump to content
IGNORED

Convert MAC65 (*.M65) to PC


Recommended Posts

Hello there o/

 

I need to convert macroassembler Mac65 source  files (* .M65) to text file format on PeeCee.

Are there any utilities for this?

 

If you simply open the file in any text editor, we will see strange text.

 

screenshot2.thumb.png.ff67a3dcd73d67e6ccdd7c4b1c5fb822.png

 

But everything looks great in the same MAC65 editor.

 

screenshot.png.f795154aaeaf7ea8c057a2577c747b66.png

 

As i can see file is tokenized or something like that.

 

Thanks in advance for your reply.

Link to comment
Share on other sites

2 hours ago, AtariGeezer said:

ATR Tools will do this for you:

https://atariage.com/forums/topic/192052-atr-tools/?do=findComment&comment=4331394

 

Open an ATR and Right-Click on the .M65 file in the Directory Listing and choose View File.

Check the View -> Output -> ASCII Menu.

Click the Save Button in the File View tab...

 

Big thanks! It's really works!

 

ATRTools2.png.7b01cdbf88c02cf10f2fdcfcc847e207.png

 

Even without the need to switch between Output -> ASCII and ATASCII!

Link to comment
Share on other sites

It's doing the right thing - the utility saves the text to suit the Atari.

Atari uses bit 7 set high in ATASCII to represent inverse video (except $9B which is CR).

Normal ASCII, ANSI, UTF-8, Unicode etc doesn't, in the case you see those character values are accented letters.

Link to comment
Share on other sites

IVOP, please contact AL about this, if something can't be done directly, he may be able to provide you the back ups from the previous forum software and thereby a possible re construction of you valuables might be accomplished.

I've noticed this sort of thing here or there but thought it would take care of itself as the forum settled. Becoming complacent and forgetting to follow up eventually. I suspect many of us are guilty of that sort of thing.

/s.s

 

Edited by _The Doctor__
Link to comment
Share on other sites

2 hours ago, Rybags said:

It's doing the right thing - the utility saves the text to suit the Atari.

Hmm.… May be utility can reset the 7th bit and saving it as plain text? Logically it's same text, just decorated, it isn't?

…or at least make one of the possible convertation mode

 

 

Link to comment
Share on other sites

4 hours ago, LessNick said:

And yet there is a small problem when saving the file:

 

ATRTools3.png.398102f3f2d3baf260450af160edcb3a.png

 

ATRTools4.thumb.png.9bf59ac67cedb6331fa3396b554509de.png


If the text is written in inverted font, then the characters are not saved correctly.

 

Please can you fix this?

Thanks a lot in advance!

The solution is in the converter, the equivalent that is printable would look like this:

4150        .BYTE +$80," MYDOS double density ATARI OS ",$1B

 

except we still need a non-inverted space preceding that so writing the converter code that would do this automatically for us is fraught will all sorts of problems that were understandably dismissed as good enough for government work. Leaving it to us as a manual exercise.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...