sa: strip out some unused stuff

This commit is contained in:
Vince Weaver 2018-05-24 14:47:49 -04:00
parent 2740fdc3e8
commit 6f3dff1c63
2 changed files with 3 additions and 22 deletions

View File

@ -34,6 +34,7 @@ add cursor (a bit distracting) 20162
feature complete 40 col: 20180 feature complete 40 col: 20180
intial 80 col support: 20191 intial 80 col support: 20191
80 col cursor: 20344 80 col cursor: 20344
strip out some unneeded text printing: 19962
Memory Map Memory Map

View File

@ -15,8 +15,6 @@ UNPACK_BUFFER EQU $5E00 ; $5E00 - $9600, 14k, $3800
; init variables ; init variables
lda #0 lda #0
sta CH
sta CV
sta DONE_PLAYING sta DONE_PLAYING
sta MB_CHUNK_OFFSET sta MB_CHUNK_OFFSET
sta DECODE_ERROR sta DECODE_ERROR
@ -26,25 +24,12 @@ UNPACK_BUFFER EQU $5E00 ; $5E00 - $9600, 14k, $3800
lda #0 lda #0
sta FORTYCOL sta FORTYCOL
; print detection message
lda #<mocking_message ; load loading message
sta OUTL
lda #>mocking_message
sta OUTH
jsr move_and_print ; print it
jsr mockingboard_detect_slot4 ; call detection routine jsr mockingboard_detect_slot4 ; call detection routine
cpx #$1 cpx #$1
beq mockingboard_found beq mockingboard_found
lda #<not_message ; if not found, print that ; Not found.
sta OUTL ; Print a message for debugging?
lda #>not_message
sta OUTH
inc CV
jsr move_and_print
jmp forever_loop ; and wait forever jmp forever_loop ; and wait forever
mockingboard_found: mockingboard_found:
@ -331,9 +316,7 @@ page_copy_loop:
;routines ;routines
;========= ;=========
.include "../asm_routines/gr_offsets.s" .include "../asm_routines/gr_offsets.s"
.include "../asm_routines/text_print.s"
.include "../asm_routines/mockingboard_a.s" .include "../asm_routines/mockingboard_a.s"
.include "../asm_routines/gr_fast_clear.s"
.include "../asm_routines/lz4_decode.s" .include "../asm_routines/lz4_decode.s"
.include "display_art.s" .include "display_art.s"
@ -344,9 +327,6 @@ page_copy_loop:
;========= ;=========
; strings ; strings
;========= ;=========
mocking_message: .asciiz "LOOKING FOR MOCKINGBOARD IN SLOT #4"
not_message: .byte "NOT "
loading_message: .asciiz "LOADING"
lyrics: lyrics: