home *** CD-ROM | disk | FTP | other *** search
- .if .not .def _STDDEF_
- _STDDEF_ = 1
-
- ; register defines for macros
- @a = 0
- @x = 1
- @y = 2
- ; --------------------------------------------------------------
- ; For some macros you have to decide, whether you want to pass
- ; in a 'immediate' value or an address. For some selected macros
- ; you can use these defines to choose between MOVE or POKE.
- ; The 's' stands for STRING. 'p' for POKE '1-7' for
- ; parameter number as accessed by %
- ; --------------------------------------------------------------
- @p1 = $0001
- @p2 = $0002
- @p3 = $0004
- @p4 = $0008
- @p5 = $0010
- @p6 = $0020
- @p7 = $0040
-
- @s1 = $0100
- @s2 = $0200
- @s3 = $0400
- @s4 = $0800
- @s5 = $1000
- @s6 = $2000
- @s7 = $4000
-
- @return = $0080
- @special = $8000
-
- .endif
-