2017-10-21 18:40:19 -05:00
|
|
|
/********************************************
|
|
|
|
; File: GSBug.h
|
|
|
|
;
|
|
|
|
;
|
|
|
|
; Copyright Apple Computer, Inc. 1991
|
|
|
|
; All Rights Reserved
|
|
|
|
;
|
|
|
|
********************************************/
|
|
|
|
|
|
|
|
#ifndef __TYPES__
|
|
|
|
#include <TYPES.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef __GSBUG__
|
|
|
|
#define __GSBUG__
|
|
|
|
|
2024-01-18 18:51:22 -05:00
|
|
|
/* Error Codes */
|
|
|
|
#define debugUnImpErr 0xFF01
|
|
|
|
#define debugBadSelErr 0xFF02
|
|
|
|
|
2017-10-21 18:40:19 -05:00
|
|
|
#define dgiProgramCounter 0 /* for DebugGetInfo */
|
|
|
|
|
2024-01-18 18:51:22 -05:00
|
|
|
extern pascal Word DebugVersion(void) inline(0x04FF,dispatcher);
|
|
|
|
extern pascal Word DebugStatus(void) inline(0x06FF,dispatcher);
|
|
|
|
extern pascal void DebugStr(Pointer) inline(0x09FF,dispatcher);
|
|
|
|
extern pascal void SetMileStone(Pointer) inline(0x0AFF,dispatcher);
|
|
|
|
extern pascal void DebugSetHook(VoidProcPtr) inline(0x0BFF,dispatcher);
|
|
|
|
extern pascal LongWord DebugGetInfo(Word) inline(0x0CFF,dispatcher);
|
2017-10-21 18:40:19 -05:00
|
|
|
|
|
|
|
#endif
|