view level1/cmds/unlink.asm @ 2758:e4a0f58a5f9b

Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded. To fix this the code needed to set the envirornment variable that is in the rules.mak is now in the makefile(s) right before the include for the rules.mak file. This should fix the problem for those who do not have the NITROS9DIR envirornment variable preset.
author drencor-xeen
date Mon, 14 Jan 2013 14:37:46 -0600
parents 2b6d9d391bcc
children
line wrap: on
line source

********************************************************************
* Unlink - Unlink memory module
*
* $Id$
*
* Edt/Rev  YYYY/MM/DD  Modified by
* Comment
* ------------------------------------------------------------------
*   2      ????/??/??
* Original Tandy/Microware version

         nam   Unlink
         ttl   Unlink memory module

* Disassembled 02/04/03 22:32:26 by Disasm v1.6 (C) 1988 by RML

         ifp1
         use   defsfile
         endc

tylg     set   Prgrm+Objct   
atrv     set   ReEnt+rev
rev      set   $00
edition  set   2

         mod   eom,name,tylg,atrv,start,size

         org   0
u0000    rmb   512
size     equ   .

name     fcs   /Unlink/
         fcb   edition

start    clra  
         IFGT  Level-1
         os9   F$UnLoad
         ELSE
         clrb  
         os9   F$Link   
         bcs   exit
         os9   F$UnLink 
         bcs   exit
         os9   F$UnLink 
         ENDC
         bcs   exit
         lda   ,x
         cmpa  #C$CR
         bne   start
         clrb  
exit     os9   F$Exit   

         emod
eom      equ   *
         end