Bruce Tomlin
Experienced Member
Having recently started working with an old 6802 computer ( https://forum.vcfed.org/index.php?threads/early-1990s-telemarketing-dialer.1247949/#post-1383782 ), I decided that I wanted to get the 680b BASIC running on it. But I needed to be able to change the I/O, and I just wouldn't be satisfied with mere overlay patches, especially since the way it dealt with memory really didn't leave good patch space.
So I disassembled it, and found that it has significant similarity to the 6502 version that surfaced a few years ago. ( https://www.pagetable.com/?p=774 ) I was able to replace most of the disassembler labels with real labels from that source code. After a little speed bump of one missed reference in my disassembly, I now have it running.
It looks like it will be too much trouble to add features while still allowing it to generate the original binary and to keep the original comments. (most of the comments were not very good anyhow) So I'm going to abandon this version of the source and make a cleaner version without that all excess baggage, and I'm going to upload this version first.
And I think I found one bug. At 03BD (just before FINI) there is a TPA instruction that should probably have been TAP. This would cause interrupts to become permanently disabled from that point onward. It was probably never noticed because nobody ever needed to use interrupts with it.
Note: I used my asmx assembler (see sig) to build it. "asmx -C 6800 -l -o -e -s9 basic.asm"
So I disassembled it, and found that it has significant similarity to the 6502 version that surfaced a few years ago. ( https://www.pagetable.com/?p=774 ) I was able to replace most of the disassembler labels with real labels from that source code. After a little speed bump of one missed reference in my disassembly, I now have it running.
It looks like it will be too much trouble to add features while still allowing it to generate the original binary and to keep the original comments. (most of the comments were not very good anyhow) So I'm going to abandon this version of the source and make a cleaner version without that all excess baggage, and I'm going to upload this version first.
And I think I found one bug. At 03BD (just before FINI) there is a TPA instruction that should probably have been TAP. This would cause interrupts to become permanently disabled from that point onward. It was probably never noticed because nobody ever needed to use interrupts with it.
Note: I used my asmx assembler (see sig) to build it. "asmx -C 6800 -l -o -e -s9 basic.asm"