home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / BDOS / NOVADOSI.LBR / NVDS.ZZ0 / NVDS.Z80
Text File  |  2000-06-30  |  4KB  |  211 lines

  1. ;            SUPER DISK OPERATING SYSTEM
  2. ;            ===========================
  3. ; Release H:  
  4.  
  5.     .comment \
  6.  
  7. Program:    NovaDOS
  8. Authors:    Herman Ten Brugge (PDOS, P2DOS, release ??/??/85)
  9.         Bemjamin Ho (SuprBDOS, release 09/02/86)
  10.         Lindsay Haisley (NovaDOS, release 10/25/88)
  11.  
  12.         This is an evolutionary program rather than the  result 
  13.         of collaboration between the authors.  Most of the work 
  14.         was done by H.A.J. Ten Brugge who  wrote  the  original 
  15.         code.  
  16.         
  17.  
  18. COPYRIGHT NOTICE
  19. ----------------
  20.  
  21. *   This source code is copyright (c) 1985 by Herman Ten Brugge of  The   *
  22. *   Netherlands.   It  may be freely copied and used for non-commercial   *
  23. *   purposes.  Any commercial use  is  prohibited  unless  approved  in   *
  24. *   writing by the original author, H.A.J. Ten Brugge.              *
  25. *
  26. *   ALL RIGHTS RESERVED         H.A.J. Ten Brugge              *
  27. *                              Molenstraat 33                  *
  28. *                  NL-7491 BD Delden              *
  29. *                 The Netherlands              *
  30. *                 Tel:..31-5407-1980              *
  31.  
  32.  
  33.         *   *   *   *   *   *   *   *   *   *   *   *
  34.  
  35. Many  Thanks  to  Jay Sage of Sage Microsystems East for the inspiration and 
  36. ideas for the organization of this code.  
  37.         
  38.  
  39. \
  40.  
  41.  
  42. false    equ    0000
  43. true    equ    not false
  44. yes    equ    true
  45. no    equ    false
  46.  
  47.     maclib    NDOSHDR.LIB
  48.  
  49.      if    hexgen and not intadr and not z33adr
  50.     .printx    * HEXGEN ERROR.  INTADR OR Z33ADR MUST BE TRUE IN HEADER FILE *
  51.      else
  52. ;
  53.      if    cmnadr
  54.     common    /_ID_/            ; Include the ID common, if needed
  55.     defb    'NovaDOS Rel: '
  56.     version
  57.     defb    0dh,0ah
  58.     .radix 16
  59.     
  60.      if    resdsk
  61.      if    resflag
  62.     defb    'BIOS resdsk: INTRNL',0dh,0ah
  63.      else
  64. resmac    macro    xx
  65.     defb    'BIOS resdsk: &xx h',0dh,0ah
  66.     endm
  67.     resmac    %setdsk
  68.      endif    ; resflag
  69.      endif    ; resdsk
  70.     
  71.      if    pathoff gt 0
  72. pathmac    macro    xx
  73.     defb    'DOS path at: &xx h',0dh,0ah
  74.     endm
  75.     pathmac    %pathoff
  76.      else
  77.     defb    'DOS path:    OFF',0dh,0ah
  78.      endif
  79.  
  80. flagmac    macro    xx
  81.     defb    'Init. Flags: &xx',0dh,0ah
  82.     endm
  83.     .radix 2
  84.     flagmac    %flagbyte
  85.     .radix 16
  86.  
  87.      if    dotime
  88. timemac    macro    xx
  89.     defb    'Time/dte at: &xx h',0dh,0ah
  90.     endm
  91.     timemac    %timeoff
  92.      endif
  93.     
  94.      if    exstack
  95. stakmac    macro    xx
  96.     defb    'DOS stack:   &xx h',0dh,0ah
  97.      endm
  98.     stakmac    %exstack
  99.      else
  100.     defb    'DOS stack:   INTRNL',0dh,0ah
  101.      endif
  102.     
  103.      if    erresc
  104. errmac    macro    xx
  105.     defb    'Error esc:   &xx h',0dh,0ah
  106.     endm
  107.     errmac    %erresc
  108.      endif
  109.  
  110.      if    hifuncs
  111. zvermac    macro xx
  112.     defb    'ZRDOS vs. #: &xx',0dh,0ah
  113.     endm
  114.     zvermac    %zrvers
  115.      endif
  116.     
  117.     defb    'CTRL-R:      '
  118.      if    contron
  119.     defb    'YES'
  120.      else
  121.     defb    'NO'
  122.      endif
  123.     defb    0dh,0ah
  124.     
  125.     defb    'Function 37: '
  126.      if    runlog
  127.     defb    'CP/M'
  128.      else
  129.     defb    'ZRDOS'
  130.      endif
  131.     defb    0dh,0ah
  132.     
  133.     defb    'High funcs:  '
  134.      if    hifuncs
  135.     defb    'YES'
  136.      else
  137.     defb    'NO'
  138.      endif
  139.     defb    0dh,0ah
  140.  
  141.      if    relfunc
  142.     defb    'Reloc. Fnc:  YES',0dh,0ah
  143.      endif
  144.     
  145.     defb    'Function 42: '
  146.      if    pathcall
  147.     defb    'YES'
  148.      else
  149.     defb    'NO'
  150.      endif
  151.     defb    0dh,0ah
  152.  
  153.     defb    'Hi bit I/O:  '
  154.      if    hibiton
  155.     defb    'YES'
  156.      else    
  157.     defb    'NO'
  158.      endif
  159.     
  160.     defb    0
  161.     .radix    10    
  162.     cseg
  163.      endif
  164.  
  165. ;
  166. ; PRTVAL macro(s) to print text and value during assembly
  167. ; (Courtesy of Jim Lill)
  168. ;
  169.  
  170. prtval2    macro m1,v1,m2            ; \
  171.     .printx    + m1 v1 m2 +        ;  +- this is the print value macro
  172.     endm                ; /
  173.  
  174. prtval    macro r,msg1,val,msg2        ; \
  175.     .radix r            ;   passing the radix value
  176.     prtval2 <msg1>,%val,<msg2>    ;   requires the uses of 2 macros
  177.     .radix 10            ; /
  178.     endm                ; 
  179.  
  180.      if    intadr
  181. bdosloc    equ    idosloc
  182. p2bios    equ    ip2bios
  183.      endif
  184.  
  185.      if    z33adr
  186.     maclib    Z3BASE.LIB
  187. bdosloc    equ    ccp+800h
  188. p2bios    equ    ccp+1600h
  189.      endif
  190.  
  191.      if    cmnadr
  192.     name    ('DOS')
  193.     maclib    Z34CMN.LIB
  194. p2bios    equ    bios
  195.      endif
  196.      if    reladr
  197. p2bios    equ    p2dos+0e00h
  198.      endif
  199.  
  200.      if    hexgen
  201.     org    putsdos
  202.      endif
  203.  
  204.     maclib    NVDS-1.Z80
  205.     maclib    NVDS-2.Z80
  206.     maclib    NVDS-3.Z80
  207.     maclib    NVDS-4.Z80
  208.      endif    ; hexgen and not intadr and not z33adr
  209.     end
  210.