|
Post by atolle on Dec 30, 2005 0:08:27 GMT -5
After modifying the ACME cross-assembler, an idea struck me that I thought might merit some interest.
I'm thinking of making a cross-"cruncher" for C64 BASIC programs that runs on a PC; something that lets you add comments to the code as you are writing it in a plain ASCII document. When run through the code through the cruncher, it will transform keywords into tokens and strip out the comments, producing a file that can be loaded and run on a C64.
A think a nice companion program would take a C64 BASIC program file and export it in plain ASCII format.
I think part of the process would have to involve converting PETSCII codes inside quotation marks into macro text, e.g. converting the PETSCII home character into {home}
Before I start working on anything however, I was just wondering if anyone has seen anything like this before?
My need for this type of program arises from the huge BASIC overlays that make up the Color 64 BBS software. I need to go through all of them and comment them heavily so I can start working on the next version of the BBS program.
|
|
|
Post by Jeff Ledger on Dec 30, 2005 0:15:30 GMT -5
There's a program called TOK64.... although I don't think it supports comments. It might give you ideas for a starting point. www.geocities.com/SiliconValley/park/5715/tok64/personally, I'd love an interactive editor that did this which would syntax check on the fly. Jeff
|
|
|
Post by Golan Klinger on Dec 30, 2005 3:38:18 GMT -5
That would be pretty cool. What I've been doing is using a modern text editor to write code and then cutting and pasting it into Power64 (a 64 emulator for the Mac) to create something a 64 can deal with. I've created all kinds of macros to speed things up and overall, it has made programming a lot easier.
|
|