[Coco] CoCo BASIC tokenizer
tim lindner
tlindner at macmess.org
Sat Oct 11 18:19:34 EDT 2008
Roger Taylor <operator at coco3.com> wrote:
> Does anyone know if there's a 32-bit 80x86 command-line tool for
> converting ASCII BASIC listings into tokenized format... for the CoCo
> 1,2,3 ? I know that decb.exe can do this, but not without putting
> the source file onto a virtual disk at the same time as far as I
> know.
Did you try it?
DECB works here in *nix land (Mac OS X) the way you want.
g4:~ tlindner$ cat BASIC.TXT
10 PRINT "HELLO "
20 ? "WORLD"
30 GOTO 30
g4:~ tlindner$ decb copy -t BASIC.TXT BASIC.BAS
g4:~ tlindner$ decb dump BASIC.BAS
Addr 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 2 4 6 8 A C E
-------- ---- ---- ---- ---- ---- ---- ---- ---- ----------------
00000000 260d 000a 8720 2248 454c 4c4f 2022 0026 &.... "HELLO ".&
00000010 1b00 1487 2022 574f 524c 4422 0026 2500 .... "WORLD".&%.
00000020 1e81 a520 3330 0000 00 ..% 30...
--
tim lindner
tlindner at macmess.org Bright
More information about the Coco
mailing list