A86: Re: Re: Re: An ASM program that deleted all vars?
[Prev][Next][Index][Thread]
A86: Re: Re: Re: An ASM program that deleted all vars?
mine probably since the calls are already built into the ROM. Here's a
template program (probly some bugs :) Kirk
.org $D748
delete_loop:
ld hl,search_string ;i think in this case you
rst 20h ;have to do this every time
;because when you delete
;the VAT changes
xor a
call $514B
ret c
call _delvar
jr delete_loop
search_string:
.db $00,$00 ;search for real ($00)
;other $00 indicates 1st var
-----Original Message-----
From: Trey Jazz <joemama@minot.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Monday, April 06, 1998 4:04 PM
Subject: A86: Re: Re: An ASM program that deleted all vars?
>
>you can also make one that uses find sym with a string that keeps
increasing
>dunno which would be simpler
>
>>yes it'd be quite easy - use the calls i used in my KShell source to step
>>through the VAT. if you come to a real, delete it ! that's all there is to
>>it (well maybe not). Kirk
>
>