A2osX/INC/KERNEL.I.txt
2023-07-12 19:07:55 +02:00

49 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

NEW
AUTO 3,1
*--------------------------------------
K.VER .EQ $5E00 94.0
K.ENV.SIZE .EQ 256
*--------------------------------------
K.MEM.ALIGN .EQ 16
K.MEM.nALIGNm1 .EQ $F0
*K.MEM.ALIGN .EQ 64
*K.MEM.nALIGNm1 .EQ $C0
*--------------------------------------
K.hFD.MAX .EQ 32
K.FLT.MAX .EQ 4
K.USR.MAX .EQ 8
K.PS.MAX .EQ 32
K.EVT.MAX .EQ 4
K.TTY.MAX .EQ 8
K.IRQDEV.MAX .EQ 4
*--------------------------------------
Mem.Table .EQ $0800 -> $1000
*--------------------------------------
* Z80 .EQ $1000
*--------------------------------------
* Tables start at $1C00
*--------------------------------------
hFDs .EQ $1D00 K.hFD.MAX
hFDs.hName .EQ $1D20 K.hFD.MAX
hFDs.oCnt .EQ $1D40 K.hFD.MAX
*--------------------------------------
Flt.Table.pftLO .EQ $1D60 K.FLT.MAX
Flt.Table.pftHI .EQ $1D64 K.FLT.MAX
Flt.Table.cbLO .EQ $1D68 K.FLT.MAX
Flt.Table.cbHI .EQ $1D6C K.FLT.MAX
*--------------------------------------
S.Table.hSID .EQ $1D70 K.USR.MAX
S.Table.hFile .EQ $1D78 K.USR.MAX
*--------------------------------------
PS.Table.PID .EQ $1D80 K.PS.MAX
PS.Table.hPS .EQ $1DA0 K.PS.MAX
PS.Table.Hits .EQ $1DC0 K.PS.MAX
PS.Table.Stats .EQ $1DE0 K.PS.MAX
*--------------------------------------
MAN
SAVE inc/kernel.i
LOAD usr/src/sys/kernel.s
ASM