Re: A86: Re: store to xMin (Date: Wed, 31 Mar 1999 17:05:28 -0500)
[Prev][Next][Index][Thread]
Re: A86: Re: store to xMin (Date: Wed, 31 Mar 1999 17:05:28 -0500)
>To store to 'xMin':
>
> rst 18h ; push OP1 onto FPS
> ld hl,_XMINPTR ; point to xMin pointer
> call _ldhlind ; load the value at HL into HL
> rst 20h ; copy the name into OP1 (???)
> call _stoOther ; store the pushed value to the var in OP1 (???)
xMin is a special variable that's not stored in the vat.
i think this is what you want:
ld de,(_XMINPTR) ; get the current xMin, there's one for each graph mode
call _frop1 ; store op1 to (de)
most of the window vars have a similar ptr.
>
>>
>> how to a save op1 to a variable such as xMin or something?
>>
>> jimi
>
>
>
>
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]