view level1/cmds/load.as @ 2786:e333ec1907ef lwtools-port

Updated makefile(s) so correct coco1 dw boot and dwio.sb files are used. Updated level1/coco1/modules/makefile so that boot_dw_coco1 and dwio_coco1.sb get created. Updated level1/coco1/bootfiles/makefile added detection of PORT status so if coco1 is detected then dwio_coco1.sb and boot_dw_coco1 are used in place of dwio.sb and boot_dw.
author drencor-xeen
date Sun, 27 Jan 2013 00:14:03 -0600
parents 03f26e88b809
children 28b6ec8a14d5
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

         section data
u0000    rmb   200
         endsect

*         psect load_a,Prgrm+Objct,ReEnt+rev,edition,200,start
         section text

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

         endsect