;================================================================================== ; File: Application.h ; ; Function: Application card ROM constants stored here ; bcpRIC equ $420001 ; 8344 remote interface configuration register bcpPC equ $400001 ; Dummy address for writing to 8344 PC bcpDRAM equ $400001 ; 8344 Data RAM address base bcpGoodData equ $3E0A * 2 + bcpDRAM ; Test data bcpBadData equ $3E0B * 2 + bcpDRAM ; Bad data read back bcpErrAddrHi equ $3E0C * 2 + bcpDRAM ; Failed memory address, high order bcpErrAddrLo equ $3E0D * 2 + bcpDRAM ; Failed memory address, low order bcpTestErr equ $3E0E * 2 + bcpDRAM ; BCP test error bits bcpTestState equ $3E0F * 2 + bcpDRAM ; BCP test states bcpComm equ $3E00 * 2 + bcpDRAM ; BCP - 68k communication area bcpDMEnd equ $4000 * 2 + bcpDRAM ; Last data memory + 1 ; ; - RIC selections ; RIC_START equ $34 ; Start 8344 execution RIC_DRAM equ $30 ; Select 8344 Data RAM RIC_DRAM_RUN equ $34 ; Select 8344 Data RAM and do not stop 8344 RIC_IMEM equ $31 ; Select 8344 Instruction memory RIC_PC_LO equ $32 ; Select 8344 Program Counter low byte RIC_PC_HI equ $33 ; Select 8344 Program Counter high byte ; ; - BCP test states ; bcpIDLE equ $00 ; BCP test not started bcpRUNNING equ $01 ; BCP test in progress bcpDONE equ $02 ; BCP test completed ; ; - BCP Tests entry points, low bytes ; BT_POR equ $20 ; 8344 POR Test starts at 0020 ; ; - BCP test error bits ; bcpRegErr equ $01 ; BCP register test failed bcpLoopErr equ $02 ; BCP loop back test failed bcpRamErr equ $10 ; BCP data RAM test failed bcpError equ bcpRegErr + bcpLoopErr + bcpRamErr ; ; Misc. ; BCP_IM_SIZE equ $800 ; size of bcp instruction memory (I.M.) bcp_rdback equ $0001000 ; start location to store readback from 8344 I.M. WaitBCPDone equ $00020000 ; loop count waiting for 8344 to finish testing VendID equ $5a6f ;unofficial Zorro Vendor ID ;----------- sResource Directory stuff ; sRsrc_Board EQU 1 ;Board sResource CommBoardId EQU $A ;Officially defined by Developer Technical Support ROMRevLevel equ 1 ;ROM revision level (now A) must be < 9 sRsrc_CPU EQU 128 ;identify CPU & memory resources sRsrc_Comm1 EQU 129 ;comm type 1 sRsrc_Comm2 EQU 130 ;comm type 2 sRsrc_Comm3 EQU 131 ;comm type 3 sRsrc_Comm4 EQU 132 ;comm type 4 sRsrc_sMemory EQU 140 ;2nd leved sResource (not seen directly by slot manager) CatsMemory EQU 150 ;not defined by DTS, 2nd level sRrsource MinorRAMAddr EQU 128 MinorROMAddr EQU 130 MinorDeviceAddr EQU 132 CatCPU EQU $000A ; Typ68000 EQU $0001 ; DrSwNotThere EQU $FFFF ;Apple MCP has 68K, no on-board driver DrHwAMCP EQU $0001 ;First generation Apple MCP cards CatCommunication EQU $0006 ;mb CatInterface? Typ3270 EQU $0013 ;vanilla 3270 for Zorro card 8/23/88 ;DrSwNotThere EQU $FFFF ;Apple MCP has 68K, no on-board driver ;DrHwAMCP EQU $0001 ;First generation Apple MCP cards ;CatCommunication EQU $0006 ;mb CatInterface? ;Typ3270 EQU $0013 ;vanilla 3270 for Zorro card 8/23/88 ;DrSwNotThere EQU $FFFF ;Apple MCP has 68K, no on-board driver DrHwA3270_5250 EQU $0006 ;Apple 3270/5250 NB card (Zorro)-implies 8344 chip ;CatCommunication EQU $0006 ;mb CatInterface? Typ5250 EQU $000A ;5250 protocol (actual DTS constant is Typ32705250) ;DrSwNotThere EQU $FFFF ;Apple MCP has 68K, no on-board driver ;DrHwAMCP EQU $0001 ;First generation Apple MCP cards ;CatCommunication EQU $0006 ;mb CatInterface? ;Typ5250 EQU $000A ;5250 protocol (actual DTS constant is Typ32705250) ;DrSwNotThere EQU $FFFF ;Apple MCP has 68K, no on-board driver ;DrHwA3270_5250 EQU $0006 ;Apple 3270/5250 NB card (Zorro)-implies 8344 chip