mirror of
https://github.com/a2stuff/prodos-drivers.git
synced 2024-06-14 19:29:31 +00:00
Don't pollute stack; swap ROM in before COUTing
This commit is contained in:
parent
783c2af304
commit
0aaf557aab
|
@ -201,6 +201,8 @@ loop: lda driver,y
|
||||||
;; Invoke the driver to init the time
|
;; Invoke the driver to init the time
|
||||||
jsr DATETIME
|
jsr DATETIME
|
||||||
|
|
||||||
|
lda ROMIN2
|
||||||
|
|
||||||
;; Display success message
|
;; Display success message
|
||||||
jsr zstrout
|
jsr zstrout
|
||||||
scrcode "\r\r\r", PRODUCT, " - Installed "
|
scrcode "\r\r\r", PRODUCT, " - Installed "
|
||||||
|
|
|
@ -49,8 +49,7 @@ load: lda src,y ; self-modified
|
||||||
jsr save_chain_info
|
jsr save_chain_info
|
||||||
jsr init_system
|
jsr init_system
|
||||||
jsr maybe_install_driver
|
jsr maybe_install_driver
|
||||||
jsr launch_next
|
jmp launch_next
|
||||||
brk
|
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
;;; ============================================================
|
;;; ============================================================
|
||||||
|
|
|
@ -175,6 +175,8 @@ loop: lda driver,y
|
||||||
;; Invoke the driver to init the time
|
;; Invoke the driver to init the time
|
||||||
jsr DATETIME
|
jsr DATETIME
|
||||||
|
|
||||||
|
lda ROMIN2
|
||||||
|
|
||||||
;; Display success message
|
;; Display success message
|
||||||
jsr zstrout
|
jsr zstrout
|
||||||
scrcode "\r\r\r", PRODUCT, " - Installed "
|
scrcode "\r\r\r", PRODUCT, " - Installed "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user