I'm a bit late to the party, but welcome Virtual1, well done in constructing and thanks for sharing your unorthodox assembler.
Now that I've been working with it for awhile (and with an Apple IIe emulator instead of Apple ][ ) I've made some improvements to it
- labels can have simple additions and subtractions on them
- added option to make object generation address different than assembly addresses (useful for making self-relocating code)
- added "compressed" compile output (8 bytes per line) for faster uploading (remember to add "end" below your assembly so you get the last line)
- in addition to the conditional formatting that points out line errors, NO compressed compile will be generated if there are any errors anywhere in the program
- in addition to the 8 and 16 bit private labels you can define independently on each sheet/program, you can add global 8 and 16 bit labels to the 6502 sheet
- made a few minor bug fixes
I've been using the one workbook for several programs. To add anther program, just copy an existing sheet and delete out the code/comments/labels.
DO NOT delete or insert lines, or select wide areas and delete, since there are MANY hidden columns containing important formulas you may accidentally delete.
I realize not everyone is using the 6502 on the Apple II. It should work equally well on any other platform though, just customize the global labels to your platform.
I've expanded the sheets to around 1,000 rows, which is good enough for me. There's no reason they can't be longer though. Excel might slow down a bit but should be able to handle it.
Feel free to review and critique the included programs. I've been "out of circulation" for
decades and am both uneducated AND rusty, and would love to hear any comments you have.
I'm specifically looking for comments on CHECKSUMMER.BIN. The only checksummers I ever recall running across in the (distant!) past were simple 8-bit summers and XOR'ers. My 16 bit checksum/digest code
looks good, but it's a bit like crypto - it's incredibly easy to think you got it right but be
very mistaken.
I'm also looking for new 6502 challenges to stretch my legs on. If you have something you'd like to see written (like HEXDUMP.BIN)
or have a binary program you'd like to see disassembled and properly labeled and commented (like UNCRUNCH.BIN) just let me know.