home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / p / suprbdos.lbr / DOS.ZZ0 / DOS.Z80
Encoding:
Text File  |  1993-10-25  |  1.9 KB  |  60 lines

  1. ;=============================
  2. ;SUPRBDOS Customization
  3. ;
  4. ;SUPRBDOS is a derivative of P2DOS by H.A.J. Ten Brugge of the Netherlands.
  5. ;It is subject to the same restriction as P2DOS, namely, that it is for
  6. ;non-commercial use only.
  7. ;
  8. ;See SUPRBDOS.DOC for more information on installation.
  9. ;
  10. FALSE    EQU    0 
  11. TRUE    EQU    NOT FALSE ; 
  12. ;
  13. ;Set these conditionals before assembly 
  14. ;Conditionals 
  15. DOTIME    EQU    FALSE            ; True if time-stamping is supported 
  16. ;Only one of these should be true:  
  17. M80    EQU     FALSE            ; True if using M80 or compatible
  18. ZASM    EQU    TRUE             ; True if using ZASM 
  19. ;
  20. ;  
  21. ;Some systems, like the Kaypro 4, only recognize changes between single 
  22. ;and double sided disks when the system is warm booted; bdos function 13 
  23. ;(reset disk) will not work.  By adding a "hook" to the bios of these 
  24. ;machines and setting RESDSK to TRUE, bdos functions 13 and 37 will 
  25. ;allowchanges between single and double sided disks.  Very handy for disk
  26. ;housekeeping utilities such as NSWP, NULU, and cataloging programs.  
  27. ;  
  28. ;The "hook" is added as follows: Obtain the source to your computer's BIOS.  
  29. ;Examine the code for WARM BOOT.  Somewhere, there should be a call to 
  30. ;a routine which initializes the disk system after a warm boot, or which 
  31. ;detects changes between single and double sided disks.  Call this routine
  32. ;DISKINT for purposes of discussion.  Modify your bios's cold boot routine to
  33. ;initialize 3 bytes at address SETDSK as "JP DISKINT".  The location of SETDSK
  34. ;is arbitrary, it may be in your bios, or in a reserved spot in CP/M's page 0.
  35. ;
  36. RESDSK    EQU    TRUE ;
  37.     IF    RESDSK
  38.     ;address of JP DISKINIT set by modified Kaypro bios
  39.     ;change to suit your system.
  40. SETDSK    EQU    04BH            
  41.     ENDIF
  42.  
  43.  
  44.     IF    M80
  45.     .Z80
  46.     $INCLUDE DOS1.MAC
  47.     $INCLUDE DOS2.MAC
  48.     ENDIF
  49. ;    
  50.     IF    ZASM
  51. *INCLUDE    DOS1.MAC
  52. *INCLUDE    DOS2.MAC
  53.     ENDIF
  54. ;
  55.     END
  56. ;
  57. ;Z80
  58.     $INCLUDE DOS1.MAC
  59.     $INCLUDE DOS2.MAC
  60.     ENDIF