sanny Posted July 5, 2017 Share Posted July 5, 2017 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 Quote Link to comment Share on other sites More sharing options...
Rybags Posted July 5, 2017 Share Posted July 5, 2017 (edited) 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 July 5, 2017 by Rybags 1 Quote Link to comment Share on other sites More sharing options...
sanny Posted July 5, 2017 Author Share Posted July 5, 2017 Thanks. I'll build a file like I want from them... regards, chris Quote Link to comment Share on other sites More sharing options...
kenjennings Posted August 26, 2017 Share Posted August 26, 2017 (edited) 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 August 26, 2017 by kenjennings 1 Quote Link to comment Share on other sites More sharing options...
sanny Posted August 27, 2017 Author Share Posted August 27, 2017 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 1 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.