Re: A86: Re: clear entries


[Prev][Next][Index][Thread]

Re: A86: Re: clear entries




yeah, and you probly shouldn't delete it because you're running it.  this
could freak out the calc, not sure.
the best you could do is replace it with something small and pitiful,
then fix the basic program execution address (and any other pointers that
need to be changed)

-josh

On Fri, 28 Jan 2000 19:15:14 -0700 "Kirk Meyer" <kirkmeyer@bigfoot.com>
writes:
>
>It's not pulling it out of nowhere, silly! =) The last entry is stored 
>in
>the # program. (The ! might also have something to do with it, not 
>sure).
>Your search was unsuccessful because it is tokenized... The last entry 
>can
>be as big as you want, and it is stored in a program for that reason. 
>The
>previous entries can only be so big as they are stored in the buffer.
>
>----- Original Message -----
>From: <ComAsYuAre@aol.com>
>To: <assembly-86@lists.ticalc.org>
>Sent: Friday, January 28, 2000 6:52 PM
>Subject: A86: clear entries
>
>
>>
>> Has anybody figured out how to clear all the entries?  It's easy to 
>get
>rid
>> of all but the latest one, but I haven't managed to get all of 
>them.
>Here's
>> what I've tried:
>>
>>     ld hl,_LASTENTRYSTK
>>     ld (_LASTENTRYPTR),hl    ;entry stack pointer is at start of 
>stack
>>     xor a
>>     ld (_numlastentries),a   ;one entry
>>     ld (_currlastentry),a
>>     ld hl,_LASTENTRYSTK
>>     ld b,$80
>>     call _CLRLP          ;clear last entry stack
>>     ld hl,_monQueue
>>     ld b,16
>>     call _CLRLP     ;clear monitor queue
>>     ld hl,_ram_cache
>>     ld b,_Flags-_ram_cache
>>     call _CLRLP     ;clear temp ram
>>
>> Despite all this, it appears to be retrieving the "last" entry out 
>of
>> nowhere.  I've even used ti86emu's memory searching ability to check 
>the
>> ENTIRE contents of the rom and ram for the last entry typed.  As 
>strange
>as
>> it sounds, it doesn't exist--until I hit 2nd+enter, upon which it 
>pops up
>in
>> several places.
>>
>> Very strange...
>>
>>
>> ----
>> Jonah Cohen
>> <ComAsYuAre@aol.com>
>> http://linux.hypnotic.org/~jonah/
>>
>
>

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.