Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -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

View file

@ -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).

View file

@ -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.

View file

@ -0,0 +1 @@
byte $30,$20,$10,$00 ;these are constant numeric values, not memory addresses.