:TITLE[MicOverlayOccupied]; *Ed Fiala 9 June 1982. *Reserve locations on pages shared between MicOverlay and AMesa so that *MicOverlay will not overwrite the main program unintentionally. *Allow only unused TimerTable entries and locations reserved in Timer.Mc to *be used by MicOverlay. Set[TTOffset,And[TimerTable,377]]; Set[TTEnd,Add[TTOffset,22]]; IMReserve[TimerPage,0,TTOffset]; *Locations before TimerTable IMReserve[TimerPage,TTOffset,1]; *Refresh timer IMReserve[TimerPage,Add[TTOffset,11],1]; *Ethernet output timer IMReserve[TimerPage,TTEnd,Sub[400,TTEnd]]; *Locations after TimerTable+21 IMReserve[15,0,253]; *space for AMesa IMReserve[15,364,1]; *For DOInt in Initialize.Mc :IF[WithMidas]; ***************************** *IMReserve[16,1,14]; *No Kernel timer task reserve needed since *AMesa timer task is now running in its place. IMReserve[17,1,2]; IMReserve[17,4,74]; IMReserve[17,120,1]; IMReserve[17,100,20]; *space for Midas overlays (7500-7517) :ENDIF; ************************************* IFE[DoIntLoc,Add[LShift[15,10],364],,ER[Fixup.needed.for.DoIntLoc]]; :END[MicOverlayOccupied];