RE: RE: A85: VAR_NEM / VAR_DELETE


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

RE: RE: A85: VAR_NEM / VAR_DELETE




Could be...I never checked.  What I did was a VAT search with rst 10H 
first.  That supplied all the nessicary data it needed.  It probably does 
need that.  I guess I'll have to add that to my own version of the file. 
 :)

----------
From: 	Peter PDooM Kaufmann[SMTP:p_doom@space.ch]
Sent: 	Tuesday, August 25, 1998 8:21 AM
To: 	assembly-85@lists.ticalc.org
Subject: 	RE: RE: A85: VAR_NEM / VAR_DELETE


hello
thanks a lot, Richard! The alloc-function seems to work fine, but I
had some problems with VAR_DELETE.
It looks like DE has to point to the data space (as input to DELETE),
like returned by VAR_NEW. Is that possible?


> This was taken from TI-ROM10.txt, with a few additions/corrections by me.
>
> I'd like to note, that the allocate function does not set the length of 
the
> variable.  You gotta do that yourself.
>
> Also, set BC to two bytes larger than you want the length in bytes to be, 
> that will account for the two bytes of the length word for the varaible.
>
> I have tested all of these myself.  The original TI-ROM10.txt had some of 
> these a little wrong, and left out ROM versions 4.0 and 6.0
>
> Have fun!  I hope this helps.
>
>         3.0A   4.0       6.0  8.0     9.0     10.0
> +- Allocate memory
> -+-------+-------+-------+-------+-------+-------+-------+
> |                   |  29AF |  29B3 |       |  29B3 |  29B7 |  2962 | 
 297C
> |
> +-------------------+-------+-------+-------+-------+-------+-------+--- 
> ----+
> Input : OP1 holds variable data, BC holds length to allocate
> Result : HL = pointer to VAT entry
>          DE = pointer to data space
>          BC is destroyed
>
> +- Delete variable -+-------+-------+-------+-------+-------+-------+--- 
> ----+
> |                   |  2C58 |  2C5C |       |  2C5C |  2C60 |  2C0B | 
 2C25
> |
> +-------------------+-------+-------+-------+-------+-------+-------+--- 
> ----+
> Input : OP1 holds variable to delete, HL -> VAT entry




begin 600 WINMAIL.DAT
M>)\^(@P#`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$-@ 0`
M`@````(``@`!!) &`$@!```!````# ````,``# #````"P`/#@`````"`?\/
M`0```%<`````````@2L?I+ZC$!F=;@#=`0]4`@````!A<W-E;6)L>2TX-4!L
M:7-T<RYT:6-A;&,N;W)G`%--5% `87-S96UB;'DM.#5 ;&ES=',N=&EC86QC
M+F]R9P``'@`", $````%````4TU44 `````>``,P`0```!T```!A<W-E;6)L
M>2TX-4!L:7-T<RYT:6-A;&,N;W)G``````,`%0P!`````P#^#P8````>``$P
M`0```!\````G87-S96UB;'DM.#5 ;&ES=',N=&EC86QC+F]R9R<```(!"S !
M````(@```%--5% Z05-314U"3%DM.#5 3$E35%,N5$E#04Q#+D]21P````,`
M`#D`````"P! .@$````"`?8/`0````0````````#PD$!"( '`!@```!)4$TN
M36EC<F]S;V9T($UA:6PN3F]T90`Q" $$@ $`(@```%)%.B!213H@03@U.B!6
M05)?3D5-("\@5D%27T1%3$5410!\" $%@ ,`#@```,X'" `9`!4`)0`?``(`
M40$!(( #``X```#.!P@`&0`5`" `&@`"`$<!`0F `0`A````-$(W,T%#0D4V
M,C-#1#(Q,4%%,C8T-#0U-3,U-# P,# `\08!`Y &`!0'```2````"P`C````
M```#`"8```````L`*0```````P`V``````! `#D`X)$"VZ+0O0$>`' ``0``
M`"(```!213H@4D4Z($$X-3H@5D%27TY%32 O(%9!4E]$14Q%5$4````"`7$`
M`0```!8````!O="BVNB^K'-,/&(1TJXF1$535 `````>`!X,`0````4```!3
M3510`````!X`'PP!````&P```')I8VAA<F1L97=I<T!C961A<F-I='DN;F5T
M```#``8031<]1P,`!Q!U!0``'@`($ $```!E````0T]53$1"14E.159%4D-(
M14-+14172$%4241)1%=!4T%6051314%20TA7251(4E-4,3!(1DE24U142$%4
M4U504$Q)141!3$Q42$5.15-324-!4EE$051!251.145$141)5%!23P`````"
M`0D0`0```(<%``"#!0``&@L``$Q:1G5[7ID9_P`*`0\"%0*H!>L"@P!0`O()
M`@!C: K <V5T,C<&``;#`H,R`\4"`'!R0G$1XG-T96T"@S,W`N0'$P*#- 1&
M$S,Q('<(50>R`H!]"H (SPG9._$8#S(U-0* "H$-L0M@X&YG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