mirror of
https://github.com/a2stuff/prodos-drivers.git
synced 2025-01-04 14:31:55 +00:00
Jumbo clock driver: Include success logging
This commit is contained in:
parent
1ddae4fab7
commit
d37691dead
@ -35,9 +35,8 @@
|
||||
|
||||
read_delay_hi = $3 * 3 ; ($300 iterations is normal * 3.6MHz)
|
||||
|
||||
.ifndef JUMBO_CLOCK_DRIVER
|
||||
.undef PRODUCT
|
||||
.define PRODUCT "Cricket Clock"
|
||||
.endif ; JUMBO_CLOCK_DRIVER
|
||||
|
||||
;;; ============================================================
|
||||
;;; Ensure there is not a previous clock driver installed.
|
||||
@ -214,7 +213,6 @@ loop: lda driver,y
|
||||
|
||||
lda ROMIN2
|
||||
|
||||
.ifndef JUMBO_CLOCK_DRIVER
|
||||
;; Display success message
|
||||
jsr log_message
|
||||
scrcode PRODUCT, " - "
|
||||
@ -222,7 +220,6 @@ loop: lda driver,y
|
||||
|
||||
;; Display the current date
|
||||
jsr cout_date
|
||||
.endif ; JUMBO_CLOCK_DRIVER
|
||||
|
||||
clc ; success
|
||||
rts ; done!
|
||||
|
@ -56,9 +56,8 @@ DATA := SLOT4IO+3 ; Slinky data byte
|
||||
;;;
|
||||
;;; ============================================================
|
||||
|
||||
.ifndef JUMBO_CLOCK_DRIVER
|
||||
.undef PRODUCT
|
||||
.define PRODUCT "DClock"
|
||||
.endif ; JUMBO_CLOCK_DRIVER
|
||||
|
||||
;;; ============================================================
|
||||
;;; Ensure there is not a previous clock driver installed.
|
||||
@ -138,7 +137,6 @@ loop: lda driver,y
|
||||
|
||||
lda ROMIN2
|
||||
|
||||
.ifndef JUMBO_CLOCK_DRIVER
|
||||
;; Display success message
|
||||
jsr log_message
|
||||
scrcode PRODUCT, " - "
|
||||
@ -146,7 +144,6 @@ loop: lda driver,y
|
||||
|
||||
;; Display the current date
|
||||
jsr cout_date
|
||||
.endif ; JUMBO_CLOCK_DRIVER
|
||||
|
||||
clc ; success
|
||||
rts ; done!
|
||||
|
@ -32,9 +32,8 @@ FN_CLOCK_DEVICE_TYPE := $13 ; As defined on the Fujinet firmware
|
||||
;;;
|
||||
;;; ============================================================
|
||||
|
||||
.ifndef JUMBO_CLOCK_DRIVER
|
||||
.undef PRODUCT
|
||||
.define PRODUCT "Fujinet Clock"
|
||||
.endif ; JUMBO_CLOCK_DRIVER
|
||||
|
||||
;;; ============================================================
|
||||
;;; Ensure there is not a previous clock driver installed.
|
||||
@ -178,7 +177,6 @@ loop: lda driver,y
|
||||
|
||||
lda ROMIN2
|
||||
|
||||
.ifndef JUMBO_CLOCK_DRIVER
|
||||
;; Display success message
|
||||
jsr log_message
|
||||
scrcode PRODUCT, " - "
|
||||
@ -186,7 +184,6 @@ loop: lda driver,y
|
||||
|
||||
;; Display the current date
|
||||
jsr cout_date
|
||||
.endif ; JUMBO_CLOCK_DRIVER
|
||||
|
||||
clc ; success
|
||||
rts ; done!
|
||||
|
@ -44,6 +44,7 @@
|
||||
;;;
|
||||
;;; ============================================================
|
||||
|
||||
.undef PRODUCT
|
||||
.define PRODUCT "Jumbo Clock Driver"
|
||||
|
||||
.proc maybe_install_driver
|
||||
|
@ -31,9 +31,8 @@
|
||||
;;;
|
||||
;;; ============================================================
|
||||
|
||||
.ifndef JUMBO_CLOCK_DRIVER
|
||||
.undef PRODUCT
|
||||
.define PRODUCT "No-Slot Clock"
|
||||
.endif ; JUMBO_CLOCK_DRIVER
|
||||
|
||||
;;; ============================================================
|
||||
;;; Ensure there is not a previous clock driver installed.
|
||||
@ -194,7 +193,6 @@ loop: lda driver,y
|
||||
|
||||
lda ROMIN2
|
||||
|
||||
.ifndef JUMBO_CLOCK_DRIVER
|
||||
;; Display success message
|
||||
jsr log_message
|
||||
scrcode PRODUCT, " - "
|
||||
@ -202,7 +200,6 @@ loop: lda driver,y
|
||||
|
||||
;; Display the current date
|
||||
jsr cout_date
|
||||
.endif ; JUMBO_CLOCK_DRIVER
|
||||
|
||||
clc ; success
|
||||
rts ; done!
|
||||
|
@ -45,9 +45,8 @@ SEL_MBANK := $F851 ; Select Main bank reg
|
||||
;;;
|
||||
;;; ============================================================
|
||||
|
||||
.ifndef JUMBO_CLOCK_DRIVER
|
||||
.undef PRODUCT
|
||||
.define PRODUCT "ROMX Clock"
|
||||
.endif ; JUMBO_CLOCK_DRIVER
|
||||
|
||||
;;; ============================================================
|
||||
;;; Ensure there is not a previous clock driver installed.
|
||||
@ -157,7 +156,6 @@ loop: lda ClockDrv,y
|
||||
|
||||
lda ROMIN2
|
||||
|
||||
.ifndef JUMBO_CLOCK_DRIVER
|
||||
;; Display success message
|
||||
jsr log_message
|
||||
scrcode PRODUCT, " - "
|
||||
@ -165,7 +163,6 @@ loop: lda ClockDrv,y
|
||||
|
||||
;; Display the current date
|
||||
jsr cout_date
|
||||
.endif ; JUMBO_CLOCK_DRIVER
|
||||
|
||||
clc ; success
|
||||
rts ; done!
|
||||
|
@ -1,3 +1,5 @@
|
||||
.define PRODUCT "Unknown"
|
||||
|
||||
;;; ------------------------------------------------------------
|
||||
|
||||
;; SYS files load at $2000; relocates self to $1000
|
||||
|
@ -30,6 +30,7 @@
|
||||
;;; ============================================================
|
||||
;;; Configuration Parameters
|
||||
|
||||
.undef PRODUCT
|
||||
.define PRODUCT "RAMWorks RAM Disk"
|
||||
|
||||
zp_sig_addr := $06
|
||||
|
Loading…
Reference in New Issue
Block a user