mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-07 21:30:39 +00:00
lemm: hook up timer to clock
This commit is contained in:
parent
9a203bcea4
commit
1b29a4689d
@ -29,6 +29,7 @@ interrupt_handler:
|
||||
|
||||
; inc $0404 ; debug (flashes char onscreen)
|
||||
|
||||
inc TIMER_COUNT
|
||||
|
||||
pt3_irq_smc1:
|
||||
bit MOCK_6522_T1CL ; clear 6522 interrupt by reading T1C-L ; 4
|
||||
|
@ -287,9 +287,10 @@ zurg:
|
||||
|
||||
lda #$5
|
||||
sta TIME_MINUTES
|
||||
lda #$12
|
||||
lda #$00
|
||||
sta TIME_SECONDS
|
||||
|
||||
sta TIMER_COUNT
|
||||
|
||||
;===================
|
||||
;===================
|
||||
@ -319,8 +320,16 @@ door_is_open:
|
||||
|
||||
jsr draw_flames
|
||||
|
||||
lda TIMER_COUNT
|
||||
cmp #$50
|
||||
bcc timer_not_yet
|
||||
|
||||
jsr update_time
|
||||
|
||||
lda #$0
|
||||
sta TIMER_COUNT
|
||||
timer_not_yet:
|
||||
|
||||
jsr draw_pointer
|
||||
|
||||
|
||||
|
@ -60,6 +60,7 @@ CHUNK_NEXT_LOAD = $7D
|
||||
CHUNK_NEXT_PLAY = $7E
|
||||
LOAD_NEXT_CHUNK = $7F
|
||||
OVER_LEMMING = $80
|
||||
TIMER_COUNT = $81
|
||||
|
||||
APPLEII_MODEL = $8B
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user