1284194Sdelphij 2284194Sdelphij#------------------------------------------------------------------------------ 3284194Sdelphij# $File: os9,v 1.7 2011/05/13 22:15:54 christos Exp $ 4284194Sdelphij# 5284194Sdelphij# Copyright (c) 1996 Ignatios Souvatzis. All rights reserved. 6284194Sdelphij# 7284194Sdelphij# Redistribution and use in source and binary forms, with or without 8284194Sdelphij# modification, are permitted provided that the following conditions 9284194Sdelphij# are met: 10284194Sdelphij# 1. Redistributions of source code must retain the above copyright 11284194Sdelphij# notice, this list of conditions and the following disclaimer. 12284194Sdelphij# 2. Redistributions in binary form must reproduce the above copyright 13284194Sdelphij# notice, this list of conditions and the following disclaimer in the 14284194Sdelphij# documentation and/or other materials provided with the distribution. 15284194Sdelphij# 16284194Sdelphij# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17284194Sdelphij# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18284194Sdelphij# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19284194Sdelphij# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 20284194Sdelphij# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 21284194Sdelphij# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 22284194Sdelphij# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 23284194Sdelphij# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 24284194Sdelphij# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 25284194Sdelphij# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26284194Sdelphij# 27284194Sdelphij# 28284194Sdelphij# 29284194Sdelphij# OS9/6809 module descriptions: 30284194Sdelphij# 31284194Sdelphij0 beshort 0x87CD OS9/6809 module: 32284194Sdelphij# 33284194Sdelphij>6 byte&0x0f 0x00 non-executable 34284194Sdelphij>6 byte&0x0f 0x01 machine language 35284194Sdelphij>6 byte&0x0f 0x02 BASIC I-code 36284194Sdelphij>6 byte&0x0f 0x03 Pascal P-code 37284194Sdelphij>6 byte&0x0f 0x04 C I-code 38284194Sdelphij>6 byte&0x0f 0x05 COBOL I-code 39284194Sdelphij>6 byte&0x0f 0x06 Fortran I-code 40284194Sdelphij# 41284194Sdelphij>6 byte&0xf0 0x10 program executable 42284194Sdelphij>6 byte&0xf0 0x20 subroutine 43284194Sdelphij>6 byte&0xf0 0x30 multi-module 44284194Sdelphij>6 byte&0xf0 0x40 data module 45284194Sdelphij# 46284194Sdelphij>6 byte&0xf0 0xC0 system module 47284194Sdelphij>6 byte&0xf0 0xD0 file manager 48284194Sdelphij>6 byte&0xf0 0xE0 device driver 49284194Sdelphij>6 byte&0xf0 0xF0 device descriptor 50284194Sdelphij# 51284194Sdelphij# OS9/m68k stuff (to be continued) 52284194Sdelphij# 53284194Sdelphij0 beshort 0x4AFC OS9/68K module: 54284194Sdelphij# 55284194Sdelphij# attr 56284194Sdelphij>0x14 byte&0x80 0x80 re-entrant 57284194Sdelphij>0x14 byte&0x40 0x40 ghost 58284194Sdelphij>0x14 byte&0x20 0x20 system-state 59284194Sdelphij# 60284194Sdelphij# lang: 61284194Sdelphij# 62284194Sdelphij>0x13 byte 1 machine language 63284194Sdelphij>0x13 byte 2 BASIC I-code 64284194Sdelphij>0x13 byte 3 Pascal P-code 65284194Sdelphij>0x13 byte 4 C I-code 66284194Sdelphij>0x13 byte 5 COBOL I-code 67284194Sdelphij>0x13 byte 6 Fortran I-code 68284194Sdelphij# 69284194Sdelphij# 70284194Sdelphij# type: 71284194Sdelphij# 72284194Sdelphij>0x12 byte 1 program executable 73284194Sdelphij>0x12 byte 2 subroutine 74284194Sdelphij>0x12 byte 3 multi-module 75284194Sdelphij>0x12 byte 4 data module 76284194Sdelphij>0x12 byte 11 trap library 77284194Sdelphij>0x12 byte 12 system module 78284194Sdelphij>0x12 byte 13 file manager 79284194Sdelphij>0x12 byte 14 device driver 80284194Sdelphij>0x12 byte 15 device descriptor 81