;Copyright (C) 1984, 1985 by Xerox Corporation. All rights reserved.


;-- This program provides defs for the mesa processor handler and mesa client task.

;-- stored as [Iris]<WMicro>Dove>MesaDefs.asm

;-- last edited by:


;--	RTK			24-Feb-87 12:26:50	;Add 16 bit IO commands
;--	RTK			 6-Jan-87 11:49:30	:New readIOPBus commands 
;--	JPM			13-Aug-85 16:38:53	:Add readPCTypetoData
;--	JPM			26-Jul-85 10:54:43	:Rename some commands
;--	JPM			28-Jun-85 10:47:15	:Separate EEProm functions (so Mesa doesn't have to know indexes)
;--	JPM			29-Nov-84 13:07:34	:Add haltMesa and noHaltMesa
;--	JPM			17-Oct-84 13:29:10	:Add readEEPromtoData and lastCommand
;--	JPM			 4-Oct-84 13:43:17	:Creation

;-- MesaProcessorTask command values and constants

noCommand		EQU	00H	; no command
readGMTtoData		EQU	01H	; copy timeOfDay into data area
writeGMTfromData	EQU	02H	; copy data area into timeOfDay
readHostIDtoData	EQU	03H	; read host ID prom into data area
readVMMapDesctoData	EQU	04H	; read VMMSizeInPages into data area
readRealMemDesctoData	EQU	05H	; read EEProm real mem size into data area
readDisplayDesctoData	EQU	06H	; read EEProm/HW disp. type into data area
readKeyboardTypetoData	EQU	07H	; read EEProm KB type into data area
readPCTypetoData	EQU	08H	; read EEProm PC type into data area
bootButton		EQU	09H	; perform simulated system boot
readIOPBus		EQU	0AH	; read IOP bus
writeIOPBus		EQU	0BH	; write IOP bus
readOptBus		EQU	0CH	; read IO address space
writeOptBus		EQU	0DH	; write IO address space
readio16		EQU	0EH	; read 16 bit IO
writeio16		EQU	0FH	; write 16 bit IO
lastCommand		EQU	writeio16

sizeHostID		EQU	6

haltMesa		EQU	0000H	; mask used to set Mesa halt' bit (L active)
noHaltMesa		EQU	0200H	; mask used to reset Mesa halt' bit

;-- MesaClientTask constants

interruptMesa		EQU	0300H	; mask used to set Mesa interrupt bit
noInterruptMesa		EQU	0200H	; mask used to reset Mesa interrupt bit

;--	end of MesaDefs.asm