CurtisP wrote:
Csn you please post some example code?
I am a huge xa65 fan! Here are the only two places where I do a `*=` in my code.
Code:
#define basic $0401
*=basic-2
basic2pettil
.word basic ; PRG file load address `$0401`
.word basend
.word 10
.byt $9E ; SYS token
.asc "1037",0 ; restart #1 (of 3) `liftoff`
basend
.word 0
elsewhere...
hitop=VIDRAM-$1900
.word hitop-2 ; load address
.word tdictend-hitop ; size of the transient dictionary in bytes
*=hitop
_studio
jsr enter
.word plit
.word there+2
.word fetchplus
.word plus
.word bl
.word minus
.word symtab ; points to unindexed symbol list
.word store
.word _splash
within a block of memory I use ` .dsb [size]` instead of `*=*+`