Jump to content
IGNORED

Atari font as assembly source file


Recommended Posts

Hi all,

 

does anyone have the ROM font as assembler source file?

 

I could write a script to generate it from the binary image, but I'd like to have some documentation in it (telling which char this is).

 

So something like

; A
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx

; B
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx
.byte %xxxxxxxx

etc...

 

Values should be in binary, not hex.

 

regards,

chris

 

Link to comment
Share on other sites

XL OS.zip

File E000... has the character set as binary but no comments relating to individual characters.

 

 

a8-os-rom-2012-08-05.7z.txt

Remove the .txt from the filename to access the 7Z archive.

Buried in there is source with individual character identification but uses hex.

 

Easiest way might be to just write a Basic program that generates the source - since the ASCII code in many cases doesn't match the character code you'd need to make the relevant adjustments.

 

Alternate to that, maybe some massaging then import into Excel could merge the binary byte defs with comments from the other one.

Edited by Rybags
  • Like 1
Link to comment
Share on other sites

  • 1 month later...

atf2code

 

An over-engineered linux tool to convert an Atari 8-bit font to BASIC, C, and Assembly source. (Should be easily build-able on anything that supports C.)

 

https://github.com/kenjennings/Atari-Font-To-Code

 

 

The example text files there show complete output of the E000 character set including all the comment options. If anyone does use this let me know if something doesn't work.

 

 

And bin2code

 

This is another overdone linux tool that does output similar to atf2code, but works on any binary data without assuming the data is for a font. This does better at graphics bitmap data than atf2code.

 

https://github.com/kenjennings/Atari-Binary-To-Code

Edited by kenjennings
  • Like 1
Link to comment
Share on other sites

atf2code

 

An over-engineered linux tool to convert an Atari 8-bit font to BASIC, C, and Assembly source. (Should be easily build-able on anything that supports C.)

 

https://github.com/kenjennings/Atari-Font-To-Code

 

 

The example text files there show complete output of the E000 character set including all the comment options. If anyone does use this let me know if something doesn't work.

 

 

Thanks a lot, but a but too late. In the meanwhile I had created my own source file.

 

But I'll keep the tools in mind.

 

regards,

chris

atari-font.s

  • Like 1
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...