Don't pollute stack; swap ROM in before COUTing

This commit is contained in:
Joshua Bell 2019-10-01 22:27:02 -07:00
parent 783c2af304
commit 0aaf557aab
3 changed files with 5 additions and 2 deletions

View File

@ -201,6 +201,8 @@ loop: lda driver,y
;; Invoke the driver to init the time
jsr DATETIME
lda ROMIN2
;; Display success message
jsr zstrout
scrcode "\r\r\r", PRODUCT, " - Installed "

View File

@ -49,8 +49,7 @@ load: lda src,y ; self-modified
jsr save_chain_info
jsr init_system
jsr maybe_install_driver
jsr launch_next
brk
jmp launch_next
.endproc
;;; ============================================================

View File

@ -175,6 +175,8 @@ loop: lda driver,y
;; Invoke the driver to init the time
jsr DATETIME
lda ROMIN2
;; Display success message
jsr zstrout
scrcode "\r\r\r", PRODUCT, " - Installed "