diff options
author | Ian C <ianc@noddybox.co.uk> | 2024-05-25 21:37:36 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2024-05-25 21:37:36 +0100 |
commit | c68524fb30716a9ece935f85df5e02e14403b161 (patch) | |
tree | 0efa9d8e806321d00838f28c5e8c41f3c85b80a1 /vcsdrive.asm | |
parent | 0d82498bd261523d5fd4d92c1f98077be247b488 (diff) |
Initial test skeleton with flashing colours to try on real VCS
Diffstat (limited to 'vcsdrive.asm')
-rw-r--r-- | vcsdrive.asm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/vcsdrive.asm b/vcsdrive.asm index dd84ef1..c271652 100644 --- a/vcsdrive.asm +++ b/vcsdrive.asm @@ -19,3 +19,36 @@ ; ; Code ; + processor 6502 + option output-file,vcsdrive.bin + + include vcs.asm + + org $f000 + + ; Set up stack pointer +start: + sei + cld + ldx #$ff + txs + + ; Initialise page zero + lda #0 +.zero: + sta $0,x + dex + bne zero + + ; Set background + lda #$3e + clc +.loop: + sta COLUBK + adc #1 + jmp loop + + ; Set start adresses and pad ROM + org $fffc + word start + word start |