mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-29 17:50:18 +00:00
Added GetDevInfoA API Call
This commit is contained in:
parent
fd4e14d57f
commit
889c503c16
@ -110,6 +110,14 @@ S.GetDevByNameYA
|
||||
.9 lda #DEVMGR.ERRDNF
|
||||
rts
|
||||
*--------------------------------------
|
||||
S.GetDevInfoA jsr S.GetDevByIDA
|
||||
bcs .9
|
||||
>STYA ZPQuickPtr1
|
||||
ldx #DEVMGR.GETINFO
|
||||
jmp (ZPQuickPtr1)
|
||||
|
||||
.9 rts
|
||||
*--------------------------------------
|
||||
S.GetDevEvent >LDYAI DevMgr.Table
|
||||
>STYA pDev
|
||||
|
||||
|
@ -7,7 +7,15 @@ AUTO 6
|
||||
*--------------------------------------
|
||||
* S.EvtMgrInit
|
||||
*--------------------------------------
|
||||
S.EvtMgrInit stz EVTMGR.PENDING
|
||||
S.EvtMgrInit lda MACHID
|
||||
and #MACHID.TYPE
|
||||
cmp #MACHID.TYPE.IIc
|
||||
bne .8
|
||||
|
||||
* sta CLRIOUDIS
|
||||
* sta ENBVBLIIC
|
||||
|
||||
.8 stz EVTMGR.PENDING
|
||||
clc
|
||||
rts
|
||||
*--------------------------------------
|
||||
@ -58,7 +66,9 @@ S.GetSysEvent lda VBL get VLINE status
|
||||
clc
|
||||
rts
|
||||
|
||||
.9 lda #0 error code=0
|
||||
.9 sta PDLTRIG clr VBL (IIc)
|
||||
* lda RDIOUDIS clr VBL (IIc)
|
||||
lda #0 error code=0
|
||||
sec no event
|
||||
rts
|
||||
*--------------------------------------
|
||||
|
@ -103,7 +103,7 @@ ZPQuickPtr4 .EQ $6
|
||||
.DA S.GetDevByIDA $80
|
||||
.DA S.GetDevByNameA
|
||||
.DA S.GetDevByNameYA
|
||||
.DA 0
|
||||
.DA S.GetDevInfoA
|
||||
|
||||
.DA S.GetKeyboardEvent
|
||||
.DA 0
|
||||
|
Loading…
Reference in New Issue
Block a user