/********************************************************************** * file: rom_header.h * part#: * internal sequence#: * * This file contains the definition for the header of the * system ROM for Pisces * * ************************************************************** * * "(c)Copyright Hewlett-Packard Company, 1984.* All * * * rights are reserved. Copying or other reproduction * * * of this program except for archival purposes is * * * prohibited without the prior written consent of * * * Hewlett-Packard Company." * * ************************************************************** * * Pisces Q-DOS project * Jim Andreas * ----------------------------------------------------- * initial 02/84 jra * ********************************************************************/ struct rom_header { long *stack; /* initial supervisor stack setting */ int (*reset)(); /* reset routine entry point */ int (*vector[46])(); /* execption routine vectors */ long unused; /* unused */ short release; /* rom release code */ char *data; /* initialized data area in rom */ char *target_data; /* target in ram for init data */ long data_size; /* size of init data area */ char *jumptable; /* jump table in rom */ char *jumptable_target; /* target in ram for jmp table */ long jumptable_size; /* size of jump table */ char *rom_disc; /* base of rom disc in rom */ long rom_disc_size; /* size of rom disc */ char reserved[128]; /* reserved, set to zero */ }; /* * definition of a Pisces external rom. * This structure is present at the front end of an external * rom. The checksum occupies the last four bytes of the rom. */ struct ext_rom_header { short type; /* Pisces rom identification */ long size; /* size of the rom in bytes */ char *rom_disc; /* pointer to the rom disc */ long rom_disc_size; /* size of the rom disc */ char reserved[128]; /* reserved, set to zero */ }; #define SCAN_INCREMENT 0x1000 #ifdef RAMROM #define INTERNAL_ROM_SIZE 0x40000 #define MAX_ROM_ADDR 0x100000 #else #define INTERNAL_ROM_SIZE 0x40000 #define MAX_ROM_ADDR 0x5FFFFF #endif