Re: A86: Variables from the VAT


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

Re: A86: Variables from the VAT




Here ya go...varboy!
Store vars like this:  REALLY EASY!!

ld a,13	;13 -> a
ld (card),a ;a -> card
ld b,4	;just like above, k?
ld (suit),b


;define all ur vars, make ur prog etc.
;then store these vars to the ROM here at the end

;Define all needed vars!!!!
varspace =$
card	=varspace
suit	=varspace+1

;to define more vars, just add like 2, then 3, 4, etc to that varspace
like so

blah	=varspace+2
stuff	=varspace+3

etc.  Haven't done this in awile, so lemme know if it works.

~Nick

___________________________________________________________________
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]


References: