mirror of
https://github.com/A2osX/A2osX.git
synced 2024-08-14 13:29:02 +00:00
Kernel 0.9.2
This commit is contained in:
parent
50320afccb
commit
4d4fa6d241
@ -27,7 +27,7 @@ CS.START cld
|
|||||||
.DA #1 DRV Layout Version 1
|
.DA #1 DRV Layout Version 1
|
||||||
.DA 0
|
.DA 0
|
||||||
.DA CS.END-CS.START Code Length
|
.DA CS.END-CS.START Code Length
|
||||||
.DA DEV.HEADER-CS.START Device Header Offset
|
.DA DEV.NODE-CS.START Device Node Offset
|
||||||
.DA DRV.CS.START-CS.START Driver Code Offset
|
.DA DRV.CS.START-CS.START Driver Code Offset
|
||||||
.DA DRV.CS.END-DRV.CS.START Drv Code Length
|
.DA DRV.CS.END-DRV.CS.START Drv Code Length
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
@ -44,18 +44,20 @@ Dev.Detect >LDYA L.MSG.DETECT
|
|||||||
CS.END
|
CS.END
|
||||||
MSG.DETECT .AZ "Apple IIe/IIc 80 Col Driver.\r\n"
|
MSG.DETECT .AZ "Apple IIe/IIc 80 Col Driver.\r\n"
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
* Device Header (16 Bytes)
|
DEV.NODE .DA #S.NODE.T.CDEV
|
||||||
*--------------------------------------
|
.DA #0 HANDLER
|
||||||
DEV.HEADER cld
|
.DA #0 BUSID
|
||||||
jmp (DRV.CS.START,x)
|
.DA #0 DEVID
|
||||||
.DA #S.DEV.S.WRITE+S.DEV.S.READ
|
.DA 0 DRVPTR
|
||||||
.BS 6
|
.DA 0 ROMPTR
|
||||||
.AZ "CON" NAME
|
.AZ "CON" NAME
|
||||||
.HS 00 NAME must Be 5 bytes long
|
.HS 00000000
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
* Driver Code
|
* Driver Code
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
DRV.CS.START .DA STATUS
|
DRV.CS.START cld
|
||||||
|
jmp (.1,x)
|
||||||
|
.1 .DA STATUS
|
||||||
.DA A2osX.BADCALL
|
.DA A2osX.BADCALL
|
||||||
.DA A2osX.BADCALL
|
.DA A2osX.BADCALL
|
||||||
.DA A2osX.BADCALL
|
.DA A2osX.BADCALL
|
||||||
|
@ -27,10 +27,10 @@ H.BIN.EXE.SS.SIZE .EQ 12
|
|||||||
H.BIN.EXE.ZP.SIZE .EQ 13
|
H.BIN.EXE.ZP.SIZE .EQ 13
|
||||||
H.BIN.EXE.REL.TABLE .EQ 16
|
H.BIN.EXE.REL.TABLE .EQ 16
|
||||||
*
|
*
|
||||||
H.BIN.DRV.HEADER.O .EQ 10
|
H.BIN.DRV.NODE.O .EQ 10
|
||||||
H.BIN.DRV.CODE.O .EQ 12
|
H.BIN.DRV.CODE.O .EQ 12
|
||||||
H.BIN.DRV.CODE.LEN .EQ 14
|
H.BIN.DRV.CODE.LEN .EQ 14
|
||||||
H.BIN.DRV.REL.TABLE .EQ 0
|
H.BIN.DRV.REL.TABLE .EQ 2 Skip cld jmp
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
ZPKERNEL .EQ $0
|
ZPKERNEL .EQ $0
|
||||||
ZPMEMMGR .EQ $10
|
ZPMEMMGR .EQ $10
|
||||||
|
Loading…
Reference in New Issue
Block a user