I assume most people here are familiar with the 6502 simulator located here http://home.pacbell.net/michal_k/6502.html ? I find it a really convenient way to verify that a routine I'm working on does what I expect it to do.
I was wondering how you would reserve RAM for variables in the simulator...the only way I've found so far is to do something like the following:
MyVar = $00
MyVar2 = $01
*= $0200
lda #$0a
sta MyVar
brk
Where you just manually increment what address your labels point to. I was just wondering if the simulator had anything built in for automatically calculating those addresses, similar to dsb and dsw in ASM6.
I was wondering how you would reserve RAM for variables in the simulator...the only way I've found so far is to do something like the following:
MyVar = $00
MyVar2 = $01
*= $0200
lda #$0a
sta MyVar
brk
Where you just manually increment what address your labels point to. I was just wondering if the simulator had anything built in for automatically calculating those addresses, similar to dsb and dsw in ASM6.