;-----------------------------------------------------------------
; XMesaOverflow.Mu - Driver for XMesaRAM.mu
; Last modified by Johnsson - September 22, 1980 9:11 AM
;-----------------------------------------------------------------


;
Get Alto Definitions (Mesab.mu included internally by XMesaRAM.mu)

#AltoConsts23.mu;

;
;
Reserve locations 0-17 of RAM for device tasks (silent boot)
;

;%17,1777,0,Task0,Task1,Task2,Task3,Task4,Task5,Task6,Task7,
;
Task10,Task11,Task12,Task13,Task14,Task15,Task16,Task17;
;
;Task0:
TASK, :Task0;
;Task1:
TASK, :Task1;
;Task2:
TASK, :Task2;
;Task3:
TASK, :Task3;
;Task4:
TASK, :Task4;
;Task5:
TASK, :Task5;
;Task6:
TASK, :Task6;
;Task7:
TASK, :Task7;
;Task10:
TASK, :Task10;
;Task11:
TASK, :Task11;
;Task12:
TASK, :Task12;
;Task13:
TASK, :Task13;
;Task14:
TASK, :Task14;
;Task15:
TASK, :Task15;
;Task16:
TASK, :Task16;
;Task17:
TASK, :Task17;


; Reserve 774-1003 for Ram Utility Area.
%7, 1777, 774, RU774, RU775, RU776, RU777, RU1000, RU1001, RU1002, RU1003;

; For the moment, just throw these locations away. This is done only
; to squelch the "unused predef" warnings that would otherwise occur.
; If we ever run short of Ram, assign these to real instructions
; somewhere in microcode executed only by the Emulator.
RU774:
NOP;
RU775:
NOP;
RU776:
NOP;
RU777:
NOP;
RU1000:
NOP;
RU1001:
NOP;
RU1002:
NOP;
RU1003:
NOP;

;-----------------------------------------------------------------
;
Predefs for griffin
;
%1,1777,550,HBlt;HBlt is the entry point.
%1,1777,177,MULret;
;-----------------------------------------------------------------

;-----------------------------------------------------------------
;
Predefs for Pup checksum
;
%7, 1777, 1402, PupChecksum;
;-----------------------------------------------------------------

;-----------------------------------------------------------------
;
Now bring in Mesa overflow microcode
;
#XMesaRAM.mu;
;-----------------------------------------------------------------

;-----------------------------------------------------------------
; MISC - Miscellaneous instructions specified by alpha
;
alpha=11 => RCLK has been handled by ROM
;
T contains alpha on arrival at MISC in RAM
;-----------------------------------------------------------------

; Precisely one of the following lines must be commented out.

;MISC:
L←0, SWMODE, :Setstkp;dummy MISC implementation

#Float.mu;
REAL implementation

;-----------------------------------------------------------------
; HBlt (Griffin) - this code may be omitted
;-----------------------------------------------------------------

#HBlt.mu;

;-----------------------------------------------------------------
; PupChecksum - this code may be omitted
;-----------------------------------------------------------------

#Checksum.mu;