mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-09 22:29:36 +00:00
mboard: some hacks got it to work
need to manually set IRQ vector
This commit is contained in:
parent
4ba7c72813
commit
a5dd665198
|
@ -46,7 +46,7 @@ MUSIC: music.o
|
|||
|
||||
music.o: music.s \
|
||||
zp.inc hardware.inc nozp.inc \
|
||||
interrupt_handler.s
|
||||
interrupt_handler.s pt3_lib_mockingboard_setup.s
|
||||
ca65 -o music.o music.s -l music.lst
|
||||
|
||||
####
|
||||
|
|
|
@ -244,14 +244,22 @@ done_apple_detect:
|
|||
|
||||
; logo has us in AUX mode???
|
||||
|
||||
; sta $C004
|
||||
sta $C008 ; switch to main memory
|
||||
|
||||
jsr $BF00 ; prodos MLI interface
|
||||
.byte $40 ; ALLOC_INTERRUPT
|
||||
.word interrupt_parms
|
||||
|
||||
; sta $C005
|
||||
sta $C009 ; return to main memory
|
||||
|
||||
lda #$C3
|
||||
sta $FFFF
|
||||
lda #$FA
|
||||
sta $FFFE
|
||||
|
||||
|
||||
;============================
|
||||
; Enable 50Hz clock on 6522
|
||||
;============================
|
||||
|
|
Loading…
Reference in New Issue
Block a user