A86: detokenizer
[Prev][Next][Index][Thread]
A86: detokenizer
Ok I actually got this detokenizer working! This is mainly for Josh but I
thought I'd send it to the whole list :P
#include "TI86.inc"
.org _asm_exec_ram
ld hl,name-1
rst 20h
rst 10h
ret c
call _setupEditequ ;set up editor
call _detok ;this _does_ detokenize the prog, but it leaves out
the leading signature byte so it appears corrupt if left this way
call _bufToTop ;move the buffer to top
xor a
call _bufInsert ;and insert a null char, which signifies untokenized
jp _closeEditequ ;close editor
name:
.db 2,"AA"
----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/
Follow-Ups: