home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
EFFO
/
forum3.lzh
/
EXAMPL
/
oskdefs.d
< prev
next >
Wrap
Text File
|
1986-12-03
|
1KB
|
59 lines
opt -l
* This file is used because of various resrtictions on external names
********************************
* Module Type/Language and Attr/Revision values
* Type values
Prgrm equ 1 Program Module
Sbrtn equ 2 Subroutine Module
Multi equ 3 Multi-Module
Data equ 4 Data Module
TrapLib equ 11 Trap handler library
Systm equ 12 System
FlMgr equ 13 File Manager
Drivr equ 14 Device Driver
Devic equ 15 Device Descriptor
* Language values
Objct equ 1 6809 Object Code Module
ICode equ 2 Basic09 I-code
PCode equ 3 Pascal P-code
CCode equ 4 C I-code
CblCode equ 5 Cobol I-code
FrtnCode equ 6 Fortran I-code
* Module Attribute bits
ReEnt equ $80 module is re-entrant
SupStat equ $20 module must execute in supervisor state
ReEntBit equ 7 re-entrant module bit number
SupStBit equ 5 supervisor state bit number
********************************
* Access Permissions and Mode values
* If bit is set, access is permitted.
Read_ equ %00000001
Write_ equ %00000010
Exec_ equ %00000100
Updat_ equ Read_+Write_
PRead_ equ %00001000
PWrit_ equ %00010000
PExec_ equ %00100000
PUpdat_ equ PRead_+PWrit_
ISize_ equ %00100000 (create Mode value only)
Share_ equ %01000000 non-Sharable file if set
Dir_ equ %10000000 Directory file if set
********************************
* Conditional Assembly flags
* (These will be removed before the next release of OS-9/68k)
Even equ 1
Odd equ 1
Byte equ 0
included equ 1
excluded equ 0
opt l