mirror of
https://github.com/mgcaret/davex-mg-utils.git
synced 2024-12-22 00:29:15 +00:00
iie.card: better speed setter routine; mig.insp: enable ROM ID
This commit is contained in:
parent
b9a7876f62
commit
b8cba65dec
23
iie.card.s
23
iie.card.s
@ -99,20 +99,19 @@ fast: jsr xmess
|
||||
rts
|
||||
.endproc
|
||||
.proc setspeed
|
||||
cpy #$00
|
||||
lda #%00000100 ; bit position of speed in $c05c and $c02b
|
||||
cpy #$00 ; y reg will determine selected speed. Is 0?
|
||||
beq norm ; set normal
|
||||
dey
|
||||
beq fast
|
||||
lda $c05c
|
||||
and #%00000100 ; bit 2 = option panel speed
|
||||
beq norm
|
||||
fast: lda #%00000100
|
||||
ora $c02b
|
||||
store: sta $c02b
|
||||
dey ; is 1?
|
||||
beq fast ; fast instead
|
||||
; default fall through to option panel speed
|
||||
trb $c02b ; default to slow
|
||||
and $c05c ; bit 2 of $c05c reflects option panel setting
|
||||
; fall through to tsb, which will do nothing if a = $00 (slow)
|
||||
fast: tsb $c02b
|
||||
rts
|
||||
norm: trb $c02b
|
||||
rts
|
||||
norm: lda #%11111011
|
||||
and $c02b
|
||||
bra store
|
||||
.endproc
|
||||
.proc dispslot
|
||||
jsr xmess
|
||||
|
@ -45,7 +45,7 @@
|
||||
.include "davex-mg.inc"
|
||||
|
||||
; build options
|
||||
SKIPROMID = 1 ; skip ROM identification
|
||||
SKIPROMID = 0 ; skip ROM identification
|
||||
; lets you use on a non-
|
||||
; IIc Plus, but obviously
|
||||
; isn't useful beyond some
|
||||
|
Loading…
Reference in New Issue
Block a user