comparison defs/os9defs @ 1377:7e26b1ec9738

Fixed some kernel length problems
author boisy
date Fri, 26 Sep 2003 17:54:49 +0000
parents 46b726a627ec
children 2415d285db30
comparison
equal deleted inserted replaced
1376:e85252bad510 1377:7e26b1ec9738
100 F$STime rmb 1 Set Current Time 100 F$STime rmb 1 Set Current Time
101 F$CRC rmb 1 Generate CRC 101 F$CRC rmb 1 Generate CRC
102 102
103 IFGT Level-1 103 IFGT Level-1
104 104
105 * OS-9 Level 2 system calls 105 * NitrOS-9 Level 2 system calls
106 F$GPrDsc rmb 1 Get Process Descriptor copy 106 F$GPrDsc rmb 1 Get Process Descriptor copy
107 F$GBlkMp rmb 1 Get System Block Map copy 107 F$GBlkMp rmb 1 Get System Block Map copy
108 F$GModDr rmb 1 Get Module Directory copy 108 F$GModDr rmb 1 Get Module Directory copy
109 F$CpyMem rmb 1 Copy External Memory 109 F$CpyMem rmb 1 Copy External Memory
110 F$SUser rmb 1 Set User ID number 110 F$SUser rmb 1 Set User ID number
483 D.BtSz rmb 2 Size of Boot 483 D.BtSz rmb 2 Size of Boot
484 484
485 IFNE H6309 485 IFNE H6309
486 D.MDREG rmb 1 6309 MD (mode) shadow register 486 D.MDREG rmb 1 6309 MD (mode) shadow register
487 ELSE 487 ELSE
488 rmb 1 Currently unused in OS-9 Level Two 488 rmb 1 Currently unused in NitrOS-9/6809
489 ENDC 489 ENDC
490 490
491 D.CRC rmb 1 CRC checking mode flag 491 D.CRC rmb 1 CRC checking mode flag
492 492
493 D.Tenths rmb 1 Tenths and hundredths of second for F$Xtime 493 D.Tenths rmb 1 Tenths and hundredths of second for F$Xtime
576 D.XFIRQ rmb 2 576 D.XFIRQ rmb 2
577 D.XIRQ rmb 2 577 D.XIRQ rmb 2
578 D.XSWI rmb 2 578 D.XSWI rmb 2
579 D.XNMI rmb 2 579 D.XNMI rmb 2
580 D.ErrRst rmb 2 580 D.ErrRst rmb 2
581 D.SysVec rmb 2 OS-9 F$xxx system call vector for NitrOS-9 Level 3 581 D.SysVec rmb 2 F$xxx system call vector for NitrOS-9 Level 3
582 D.SWI3 rmb 2 582 D.SWI3 rmb 2
583 D.SWI2 rmb 2 583 D.SWI2 rmb 2
584 D.FIRQ rmb 2 584 D.FIRQ rmb 2
585 D.IRQ rmb 2 585 D.IRQ rmb 2
586 D.SWI rmb 2 586 D.SWI rmb 2
672 Feature1 rmb 1 feature byte 1 672 Feature1 rmb 1 feature byte 1
673 Feature2 rmb 1 feature byte 2 673 Feature2 rmb 1 feature byte 2
674 rmb 8 reserved for future use 674 rmb 8 reserved for future use
675 675
676 IFGT Level-1 676 IFGT Level-1
677 * -- CC3IO area -- (OS-9 Level Two only) * 677 * -- CC3IO area -- (NitrOS-9 Level 2 and above) *
678 MonType rmb 1 Monitor type (0=CMP,1=RGB,2=MONO) 678 MonType rmb 1 Monitor type (0=CMP,1=RGB,2=MONO)
679 MouseInf rmb 1 Mouse resolution/Mouse port 679 MouseInf rmb 1 Mouse resolution/Mouse port
680 KeyRptS rmb 1 Key repeat start constant 680 KeyRptS rmb 1 Key repeat start constant
681 KeyRptD rmb 1 Key repeat delay constant 681 KeyRptD rmb 1 Key repeat delay constant
682 ENDC 682 ENDC
687 687
688 pag 688 pag
689 ************************** 689 **************************
690 * Module Field Definitions 690 * Module Field Definitions
691 * 691 *
692 * ID Field - First two bytes of an OS-9 module 692 * ID Field - First two bytes of a NitrOS-9 module
693 * 693 *
694 M$ID1 equ $87 Module ID code byte one 694 M$ID1 equ $87 Module ID code byte one
695 M$ID2 equ $CD Module ID code byte two 695 M$ID2 equ $CD Module ID code byte two
696 M$ID12 equ M$ID1*256+M$ID2 696 M$ID12 equ M$ID1*256+M$ID2
697 697
868 Condem equ %00000010 868 Condem equ %00000010
869 Dead equ %00000001 869 Dead equ %00000001
870 870
871 ENDC 871 ENDC
872 872
873 ttl OS-9 I/O Symbolic Definitions 873 ttl NitrOS-9 I/O Symbolic Definitions
874 pag 874 pag
875 ************************* 875 *************************
876 * Path Descriptor Offsets 876 * Path Descriptor Offsets
877 * 877 *
878 org 0 878 org 0
961 Q$MASK rmb 1 Polling Mask (after Flip) 961 Q$MASK rmb 1 Polling Mask (after Flip)
962 Q$SERV rmb 2 Absolute Service routine Address 962 Q$SERV rmb 2 Absolute Service routine Address
963 Q$STAT rmb 2 Static Storage Address 963 Q$STAT rmb 2 Static Storage Address
964 Q$PRTY rmb 1 Priority (Low Numbers=Top Priority) 964 Q$PRTY rmb 1 Priority (Low Numbers=Top Priority)
965 IFGT Level-1 965 IFGT Level-1
966 Q$MAP rmb 2 Added by NitrOS-9 966 Q$MAP rmb 2 NitrOS-9 Level 2 and above
967 ENDC 967 ENDC
968 POLSIZ equ . 968 POLSIZ equ .
969 969
970 ******************** 970 ********************
971 * VIRQ packet format 971 * VIRQ packet format
1125 E$Dn rmb 1 Down arrow pressed on SCF I$ReadLn with PD.DOWN enabled 1125 E$Dn rmb 1 Down arrow pressed on SCF I$ReadLn with PD.DOWN enabled
1126 E$Alias rmb 1 1126 E$Alias rmb 1
1127 1127
1128 1128
1129 * 1129 *
1130 * Standard OS-9 Error Codes 1130 * Standard NitrOS-9 Error Codes
1131 * 1131 *
1132 org 200 1132 org 200
1133 E$PthFul rmb 1 Path Table full 1133 E$PthFul rmb 1 Path Table full
1134 E$BPNum rmb 1 Bad Path Number 1134 E$BPNum rmb 1 Bad Path Number
1135 E$Poll rmb 1 Polling Table Full 1135 E$Poll rmb 1 Polling Table Full
1189 E$DeadLk rmb 1 I/O Deadlock error 1189 E$DeadLk rmb 1 I/O Deadlock error
1190 1190
1191 1191
1192 IFEQ Level-1 1192 IFEQ Level-1
1193 1193
1194 ***************************** 1194 ********************************
1195 * Boot defs for CoCo 1/2 OS-9 1195 * Boot defs for NitrOS-9 Level 1
1196 * 1196 *
1197 * These defs are not strictly for 'Boot', but are for booting the 1197 * These defs are not strictly for 'Boot', but are for booting the
1198 * system. 1198 * system.
1199 * 1199 *
1200 Bt.Start equ $EE00 Start address of the boot track in memory 1200 Bt.Start equ $EE00 Start address of the boot track in memory
1201 Bt.Size equ $1080 Maximum size of bootfile 1201 Bt.Size equ $1080 Maximum size of bootfile
1202 1202
1203 ELSE 1203 ELSE
1204 1204
1205 ***************************** 1205 ******************************************
1206 * Boot defs for CoCo 3 OS-9 1206 * Boot defs for NitrOS-9 Level 2 and above
1207 * 1207 *
1208 * These defs are not strictly for 'Boot', but are for booting the 1208 * These defs are not strictly for 'Boot', but are for booting the
1209 * system. 1209 * system.
1210 * 1210 *
1211 Bt.Block equ $3B Block to map in for the 'OS9BOOT' screen 1211 Bt.Block equ $3B Block to map in for the 'OS9BOOT' screen
1220 1220
1221 IFGT Level-2 1221 IFGT Level-2
1222 *************************** 1222 ***************************
1223 * Level 3 Defs 1223 * Level 3 Defs
1224 * 1224 *
1225 * These definitions apply to OS-9 Level 3 as created by Alan DeKok 1225 * These definitions apply to NitrOS-9 Level 3
1226 * 1226 *
1227 L3.Start equ $2000 Start off at slot 1 1227 L3.Start equ $2000 Start off at slot 1
1228 L3.Size equ $40 Go for 64 pages: 2 slots total 1228 L3.Size equ $40 Go for 64 pages: 2 slots total
1229 L3.Blks equ L3.Size/$20 Number of slots 1229 L3.Blks equ L3.Size/$20 Number of slots
1230 L3.End equ L3.Start+L3.Size*$0100 end of L3 memory 1230 L3.End equ L3.Start+L3.Size*$0100 end of L3 memory