|
|
1.1 ! root 1: /* ! 2: * UAE - The Un*x Amiga Emulator ! 3: * ! 4: * Autoconfig device support ! 5: * ! 6: * (c) 1996 Ed Hanway ! 7: */ ! 8: ! 9: typedef ULONG (*TrapFunction)(void); ! 10: ! 11: extern int lasttrap; ! 12: extern void do_emultrap(int nr); ! 13: ! 14: extern ULONG addr(int); ! 15: extern void dw(UWORD); ! 16: extern void dl(ULONG); ! 17: extern ULONG ds(char *); ! 18: extern void calltrap(ULONG); ! 19: extern void calltrap2(ULONG); ! 20: extern void org(ULONG); ! 21: extern ULONG here(void); ! 22: extern int deftrap2(TrapFunction func, int mode); ! 23: extern int deftrap(TrapFunction); ! 24: extern void align(int); ! 25: extern ULONG CallLib(CPTR base, WORD offset); ! 26: extern ULONG Call68k(CPTR address, int saveregs); ! 27: extern ULONG Call68k_retaddr(CPTR address, int saveregs, CPTR); ! 28: #define RTS 0x4e75 ! 29: #define RTE 0x4e73 ! 30: ! 31: extern CPTR EXPANSION_explibname, EXPANSION_doslibname, EXPANSION_uaeversion; ! 32: extern CPTR EXPANSION_explibbase, EXPANSION_uaedevname, EXPANSION_haveV36; ! 33: extern CPTR EXPANSION_bootcode; ! 34: ! 35: extern CPTR ROM_filesys_resname, ROM_filesys_resid; ! 36: extern CPTR ROM_filesys_diagentry; ! 37: extern CPTR ROM_hardfile_resname, ROM_hardfile_resid; ! 38: extern CPTR ROM_hardfile_init; ! 39: ! 40: extern void add_filesys_unit(char *volname, char *rootdir, int readonly); ! 41: extern void write_filesys_config(FILE *f); ! 42: extern int get_new_device(char **devname, CPTR *devname_amiga); ! 43: ! 44: extern void filesys_install(void); ! 45: extern void filesys_init(void); ! 46: extern ULONG hardfile_init_late(void); ! 47: extern void hardfile_install(void); ! 48: extern void gfxlib_install(void); ! 49: extern void execlib_install(void); ! 50: extern void emulib_install(void); ! 51: extern void expansion_init(void); ! 52: ! 53: #define TRAPFLAG_NOREGSAVE 1 ! 54: #define TRAPFLAG_NORETVAL 2 ! 55: ! 56: extern CPTR libemu_InstallFunction(TrapFunction f, CPTR libbase, int offset); ! 57: ! 58: extern CPTR libemu_InstallFunctionFlags(TrapFunction, CPTR, int, int);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.