view level1/cmds/load.a @ 2286:d3c1d1258b42

Updated from Aaron's sources
author boisy
date Tue, 29 Dec 2009 02:34:05 +0000
parents a51439f6b206
children aaba193af04f
line wrap: on
line source

********************************************************************
* Load - Load a module
*
* $Id$
*
* Edt/Rev  YYYY/MM/DD  Modified by
* Comment
* ------------------------------------------------------------------
*   4      ????/??/??
* From Tandy OS-9 Level One VR 02.00.00.

         nam   Load
         ttl   Load a module

         use   defsfile.d

rev      set   $00
edition  set   4

         psect load_a,Prgrm+Objct,ReEnt+rev,edition,200,start

         vsect dp
u0000    rmb   200
         endsect

start    os9   F$Load   
         bcs   Exit
         lda   ,x
         cmpa  #C$CR
         bne   start
         clrb  
Exit     os9   F$Exit   

         endsect