#ifndef COMPILE_H
#include "COMPILE.H"
#endif
#ifdef MEDIA648_A31E_A35E_X31J
#ifdef MEDIA692_X31J
#asm
        .XDEF        _DrvrSetVect            ; F6023_F6037_PRIM_04_Library_HookFunction
        .XDEF        _DrvrLoad               ; F6026_F0929_PRIM_05_FTL_Load
        .XDEF        _DrvrUnload             ; F6024_F6044_PRIM_06_FTL_FreeMemory
        .XDEF        _DrvrExecute            ; F6025_F6006_PRIM_07_FTL_Execute
        .XDEF        _DrvrOpen               ; F6031_F6040_PRIM_08_Library_Open
        .XDEF        _DrvrClose              ; F6032_F6041_PRIM_09_Library_Close
        .XDEF        _DrvrExpunge            ; F6033_F6042_PRIM_10_Library_FlagAsCanBeExpunged
        .XDEF        _LinkFTLNode            ; F6027_F6047_PRIM_11_Library_AddToList
        .XDEF        _UnlinkFTLNode          ; F6028_F6048_PRIM_12_Library_RemoveFromList
        .XDEF        _InitFTLNodeList        ; F6029_F6045_PRIM_13_Library_InitializeList
        .XDEF        _FindFTLNode            ; F6030_F6046_PRIM_14_Library_FindInList
        .XDEF        _PrimAlloc              ; F6013_F0917_PRIM_15_Memory_Allocate
        .XDEF        _PrimFree               ; F6014_F0918_PRIM_16_Memory_Free
        .XDEF        _PrimOpen               ; F6015_F6000_PRIM_17_File_Open
        .XDEF        _PrimClose              ; F6016_F6001_PRIM_18_File_Close
        .XDEF        _PrimSeek               ; F6017_F0919_PRIM_19_File_Seek
        .XDEF        _PrimRead               ; F6018_F0920_PRIM_20_File_Read
        .XDEF        _PrimError              ; F6022_F6005_PRIM_21_FTL_FatalLoaderError
        .XDEF        _PrimWString            ; F6019_F6002_PRIM_22_Console_PrintMessage
        .XDEF        _PrimKeyAvail           ; F6020_F6003_PRIM_23_Input_WaitForChar
        .XDEF        _PrimKeyRead            ; F6021_F6004_PRIM_24_Input_Read
        .XDEF        _UncompressCode         ; F6034_F6049_PRIM_25_FTL_DecompressCODESegment
        .XDEF        _RunApp                 ; F6035_F6043_PRIM_26_FTL_LoadAndExecute
        .XDEF        _DrvrFile               ; F6036_F6039_PRIM_27_File_IsOpenable

_DrvrSetVect:
        movea.l (_PrimBase).l,a0
        movea.l -$10(a0),a1
        moveq   #4,d0
        jmp     (a1)

_DrvrLoad:
        movea.l (_PrimBase).l,a0
        movea.l -$14(a0),a1
        moveq   #5,d0
        jmp     (a1)

_DrvrUnload:
        movea.l (_PrimBase).l,a0
        movea.l -$18(a0),a1
        moveq   #6,d0
        jmp     (a1)

_DrvrExecute:
        movea.l (_PrimBase).l,a0
        movea.l -$1C(a0),a1
        moveq   #7,d0
        jmp     (a1)

_DrvrOpen:
        movea.l (_PrimBase).l,a0
        movea.l -$20(a0),a1
        moveq   #8,d0
        jmp     (a1)

_DrvrClose:
        movea.l (_PrimBase).l,a0
        movea.l -$24(a0),a1
        moveq   #9,d0
        jmp     (a1)

_DrvrExpunge:
        movea.l (_PrimBase).l,a0
        movea.l -$28(a0),a1
        moveq   #10,d0
        jmp     (a1)

_LinkFTLNode:
        movea.l (_PrimBase).l,a0
        movea.l -$2C(a0),a1
        moveq   #11,d0
        jmp     (a1)

_UnlinkFTLNode:
        movea.l (_PrimBase).l,a0
        movea.l -$30(a0),a1
        moveq   #12,d0
        jmp     (a1)

_InitFTLNodeList:
        movea.l (_PrimBase).l,a0
        movea.l -$34(a0),a1
        moveq   #13,d0
        jmp     (a1)

_FindFTLNode:
        movea.l (_PrimBase).l,a0
        movea.l -$38(a0),a1
        moveq   #14,d0
        jmp     (a1)

_PrimAlloc:
        movea.l (_PrimBase).l,a0
        movea.l -$3C(a0),a1
        moveq   #15,d0
        jmp     (a1)

_PrimFree:
        movea.l (_PrimBase).l,a0
        movea.l -$40(a0),a1
        moveq   #16,d0
        jmp     (a1)

_PrimOpen:
        movea.l (_PrimBase).l,a0
        movea.l -$44(a0),a1
        moveq   #17,d0
        jmp     (a1)

_PrimClose:
        movea.l (_PrimBase).l,a0
        movea.l -$48(a0),a1
        moveq   #18,d0
        jmp     (a1)

_PrimSeek:
        movea.l (_PrimBase).l,a0
        movea.l -$4C(a0),a1
        moveq   #19,d0
        jmp     (a1)

_PrimRead:
        movea.l (_PrimBase).l,a0
        movea.l -$50(a0),a1
        moveq   #20,d0
        jmp     (a1)

_PrimError:
        movea.l (_PrimBase).l,a0
        movea.l -$54(a0),a1
        moveq   #21,d0
        jmp     (a1)

_PrimWString:
        movea.l (_PrimBase).l,a0
        movea.l -$58(a0),a1
        moveq   #22,d0
        jmp     (a1)

_PrimKeyAvail:
        movea.l (_PrimBase).l,a0
        movea.l -$5C(a0),a1
        moveq   #23,d0
        jmp     (a1)

_PrimKeyRead:
        movea.l (_PrimBase).l,a0
        movea.l -$60(a0),a1
        moveq   #24,d0
        jmp     (a1)

_UncompressCode:
        movea.l (_PrimBase).l,a0
        movea.l -$64(a0),a1
        moveq   #25,d0
        jmp     (a1)

_RunApp:
        movea.l (_PrimBase).l,a0
        movea.l -$68(a0),a1
        moveq   #26,d0
        jmp     (a1)

_DrvrFile:
        movea.l (_PrimBase).l,a0
        movea.l -$6C(a0),a1
        moveq   #27,d0
        jmp     (a1)
#endasm
#endif
#ifdef MEDIA645_A31E_A35E
#asm
        public _PrimBase

        _PrimAlloc:
                movea.l (_PrimBase).l,a0
                movea.l -$3C(a0),a1
                move.w  #15,d0
                jmp     (a1)

        _PrimFree:
                movea.l (_PrimBase).l,a0
                movea.l -$40(a0),a1
                move.w  #16,d0
                jmp     (a1)

        _PrimOpen:
                movea.l (_PrimBase).l,a0
                movea.l -$44(a0),a1
                move.w  #17,d0
                jmp     (a1)

        _PrimClose:
                movea.l (_PrimBase).l,a0
                movea.l -$48(a0),a1
                move.w  #18,d0
                jmp     (a1)

        _PrimSeek:
                movea.l (_PrimBase).l,a0
                movea.l -$4C(a0),a1
                move.w  #19,d0
                jmp     (a1)

        _PrimRead:
                movea.l (_PrimBase).l,a0
                movea.l -$50(a0),a1
                move.w  #20,d0
                jmp     (a1)

        _PrimWString:
                movea.l (_PrimBase).l,a0
                movea.l -$58(a0),a1
                move.w  #22,d0
                jmp     (a1)

        _PrimKeyAvail:
                movea.l (_PrimBase).l,a0
                movea.l -$5C(a0),a1
                move.w  #23,d0
                jmp     (a1)

        _PrimKeyRead:
                movea.l (_PrimBase).l,a0
                movea.l -$60(a0),a1
                move.w  #24,d0
                jmp     (a1)

        _PrimError:
                movea.l (_PrimBase).l,a0
                movea.l -$54(a0),a1
                move.w  #21,d0
                jmp     (a1)

        _DrvrSetVect:
                movea.l (_PrimBase).l,a0
                movea.l -$10(a0),a1
                move.w  #4,d0
                jmp     (a1)

        _DrvrUnload:
                movea.l (_PrimBase).l,a0
                movea.l -$18(a0),a1
                move.w  #6,d0
                jmp     (a1)

        _DrvrExecute:
                movea.l (_PrimBase).l,a0
                movea.l -$1C(a0),a1
                move.w  #7,d0
                jmp     (a1)

        _DrvrLoad:
                movea.l (_PrimBase).l,a0
                movea.l -$14(a0),a1
                move.w  #5,d0
                jmp     (a1)

        _LinkFTLNode:
                movea.l (_PrimBase).l,a0
                movea.l -$2C(a0),a1
                move.w  #11,d0
                jmp     (a1)

        _UnlinkFTLNode:
                movea.l (_PrimBase).l,a0
                movea.l -$30(a0),a1
                move.w  #12,d0
                jmp     (a1)

        _InitFTLNodeList:
                movea.l (_PrimBase).l,a0
                movea.l -$34(a0),a1
                move.w  #13,d0
                jmp     (a1)

        _FindFTLNode:
                movea.l (_PrimBase).l,a0
                movea.l -$38(a0),a1
                move.w  #14,d0
                jmp     (a1)

        _DrvrOpen:
                movea.l (_PrimBase).l,a0
                movea.l -$20(a0),a1
                move.w  #8,d0
                jmp     (a1)

        _DrvrClose:
                movea.l (_PrimBase).l,a0
                movea.l -$24(a0),a1
                move.w  #9,d0
                jmp     (a1)

        _DrvrExpunge:
                movea.l (_PrimBase).l,a0
                movea.l -$28(a0),a1
                move.w  #10,d0
                jmp     (a1)

        _UncompressCode:
                movea.l (_PrimBase).l,a0
                movea.l -$64(a0),a1
                move.w  #25,d0
                jmp     (a1)

        _RunApp:
                movea.l (_PrimBase).l,a0
                movea.l -$68(a0),a1
                move.w  #26,d0
                jmp     (a1)

        _DrvrFile:
                movea.l (_PrimBase).l,a0
                movea.l -$6C(a0),a1
                move.w  #27,d0
                jmp     (a1)


        public _DrvrSetVect            ; F6023_F6037_PRIM_04_Library_HookFunction
        public _DrvrLoad               ; F6026_F0929_PRIM_05_FTL_Load
        public _DrvrUnload             ; F6024_F6044_PRIM_06_FTL_FreeMemory
        public _DrvrExecute            ; F6025_F6006_PRIM_07_FTL_Execute
        public _DrvrOpen               ; F6031_F6040_PRIM_08_Library_Open
        public _DrvrClose              ; F6032_F6041_PRIM_09_Library_Close
        public _DrvrExpunge            ; F6033_F6042_PRIM_10_Library_FlagAsCanBeExpunged
        public _LinkFTLNode            ; F6027_F6047_PRIM_11_Library_AddToList
        public _UnlinkFTLNode          ; F6028_F6048_PRIM_12_Library_RemoveFromList
        public _InitFTLNodeList        ; F6029_F6045_PRIM_13_Library_InitializeList
        public _FindFTLNode            ; F6030_F6046_PRIM_14_Library_FindInList
        public _PrimAlloc              ; F6013_F0917_PRIM_15_Memory_Allocate
        public _PrimFree               ; F6014_F0918_PRIM_16_Memory_Free
        public _PrimOpen               ; F6015_F6000_PRIM_17_File_Open
        public _PrimClose              ; F6016_F6001_PRIM_18_File_Close
        public _PrimSeek               ; F6017_F0919_PRIM_19_File_Seek
        public _PrimRead               ; F6018_F0920_PRIM_20_File_Read
        public _PrimError              ; F6022_F6005_PRIM_21_FTL_FatalLoaderError
        public _PrimWString            ; F6019_F6002_PRIM_22_Console_PrintMessage
        public _PrimKeyAvail           ; F6020_F6003_PRIM_23_Input_WaitForChar
        public _PrimKeyRead            ; F6021_F6004_PRIM_24_Input_Read
        public _UncompressCode         ; F6034_F6049_PRIM_25_FTL_DecompressCODESegment
        public _RunApp                 ; F6035_F6043_PRIM_26_FTL_LoadAndExecute
        public _DrvrFile               ; F6036_F6039_PRIM_27_File_IsOpenable
#endasm
#endif
#endif
