Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
;;;;;;; zero page RAM memory addresses
|
||||
CursorX equ $00
|
||||
CursorY equ $01
|
||||
temp equ $02
|
||||
;;;;;;; memory-mapped hardware registers
|
||||
BorderColor equ $D020
|
||||
|
||||
Joystick1 equ $DC01
|
||||
Joystick2 equ $DC00
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
LDA #$20 ; load a constant into the accumulator
|
||||
|
||||
CLC
|
||||
ADC #$50
|
||||
ASL
|
||||
SBC #$30 ; do some math
|
||||
|
||||
STA temp ; store the result in a temp variable (really a zero-page memory address).
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
LDA #$30 ;load into the accumulator the constant value 0x30
|
||||
LDA $30 ;load into the accumulator the value stored at memory address 0x0030.
|
||||
|
|
@ -0,0 +1 @@
|
|||
byte $30,$20,$10,$00 ;these are constant numeric values, not memory addresses.
|
||||
Loading…
Add table
Add a link
Reference in a new issue