Jump to content





demac65: detokenize MAC/65 files

Posted by ivop, 21 January 2010 · 437 views

6502 assembly mac/65
While I was browsing some old source code, I frequently stumbled upon MAC/65 tokenized files. Being too lazy to repeatedly start an emulator to convert them to (AT)ASCII and being unable to find a program online to detokenize them, I set out to write such a program myself. With some luck, I found a description of the format in the form of an old Analog Computing article. After that, it was pretty straightforward. Here's the source. Compile with gcc -W -Wall -O3 -o demac65 demac65.c. If you want line numbers, uncomment the printf statement. If you want all lowercase, there's tr(1). Have fun :)

Attached Files






Search My Blog

0 user(s) viewing

0 members, 0 guests, 0 anonymous users

May 2015

S M T W T F S
     12
3456789
10111213141516
1718192021 22 23
24252627282930
31