view level1/modules/piper.asm @ 3130:e0614e08fa5e

l1 boot modules: Expand documentation and clean up code Tidy up white-space and indentation. Expand documentation to show C flag is important on return from HWRead. Expand documentation to show how/why/when filler is needed at end of file. Delete dead code in some places. No functional changes.
author Neal Crook <foofoobedoo@gmail.com>
date Sun, 04 Dec 2016 21:01:42 +0000
parents 132859392c04
children
line wrap: on
line source

********************************************************************
* Piper - Pipe device driver
*
* $Id$
*
* Edt/Rev  YYYY/MM/DD  Modified by
* Comment
* ------------------------------------------------------------------
*   2      ????/??/??  ???
* Original OS-9/Tandy distribution

         nam   Piper
         ttl   Pipe device driver

         ifp1
         use   defsfile
         endc

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

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

u0000    rmb   6
size     equ   .

         fcb   READ.+WRITE.

name     fcs   /Piper/
         fcb   edition

start    equ   *
Init     clrb  
         rts   
         nop   
Read     clrb  
         rts   
         nop   
Write    clrb  
         rts   
         nop   
GetStat  clrb  
         rts   
         nop   
SetStat  clrb  
         rts   
         nop   
Term     clrb  
         rts   

         emod
eom      equ   *
         end