mirror of
https://github.com/a2stuff/prodos-drivers.git
synced 2024-12-21 14:29:18 +00:00
Improve Cricket! detection on ROM4 //c (#17)
* Improve Cricket! detection on ROM4 //c * Add PHP/PLP
This commit is contained in:
parent
5211dc6296
commit
774889ec2e
@ -75,6 +75,8 @@ ssc_not_found:
|
||||
|
||||
;; Init SSC and try the "Read Cricket ID code" sequence.
|
||||
init_ssc:
|
||||
php
|
||||
sei
|
||||
lda COMMAND ; save status of SSC registers
|
||||
sta saved_command
|
||||
lda CONTROL
|
||||
@ -113,10 +115,12 @@ digit: cmp #HI('0') ; < '0' ?
|
||||
|
||||
cricket_found:
|
||||
jsr restore_cmd_ctl
|
||||
plp
|
||||
jmp install_driver
|
||||
|
||||
cricket_not_found:
|
||||
jsr restore_cmd_ctl
|
||||
plp
|
||||
;; fall through...
|
||||
|
||||
not_found:
|
||||
|
Loading…
Reference in New Issue
Block a user