[A83] Re: CREATEPICT


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

[A83] Re: CREATEPICT




gbuf is the 2-byte address of the memory location where Plotsscreen begins. 
This is 8E29h on the TI-83 and 9340h on the TI-83 Plus. "ld hl, gbuf" will 
store that 2-byte value into HL. The syntax (gbuf) means the value of the 
data stored within gbuf, at the first byte of the Plotsscreen memory 
location. If you filled Plotsscreen all with black pixels, then "ld a, 
(gbuf)" would put $FF into A.  When working with HL using "ld hl, (gbuf)" 
then it takes the first byte out into L, and the following byte into H.  So 
"gbuf" is the label/equate/address, and "(gbuf)" is the data at that address.

-Jason_K


In a message dated 3/15/01 7:55:14 PM Central Standard Time, 
Sk8a4good@aol.com writes:

> 
> THANK YOU!!!!!!  It worked when I took off the parenthesis.  Sorry about 
> that, but I thought TASM would give me an error if I didnt have them.   
> What 
> is the difference b/w gbuf and (gbuf)?
> 
> Thanks Again,
> Cole
>