home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / asmutl / musicbox.lbr / CPM.ZZ0 / CPM.Z8°
Encoding:
Text File  |  1988-04-02  |  2.6 KB  |  87 lines

  1. ; Edit version 1.01
  2. ;**************************************************************************
  3. ;**************************************************************************
  4. ;***                                    ***
  5. ;***    Operating System Interface.                    ***
  6. ;***                                    ***
  7. ;**************************************************************************
  8. ;**************************************************************************
  9. ;
  10. ; File Name        : CPM.Z80
  11. ; Library Name        : MUSICBOX.LBR
  12. ; Module Build File    : MUSICBOX.ZEX
  13. ; Author        : Edmund Cramp
  14. ; Creation Date        : 28-Sep-1985
  15. ;
  16. ; Assembler Name    : Z80ASM (SLR Systems)
  17. ; Linker        : SLRNKP (SLR Systems)
  18. ;
  19. ; Ammendment Record
  20. ; *****************
  21. ; Name        Date        Details of Ammendment
  22. ; ----        ----        ---------------------
  23. ; Edmund Cramp    28-Sep-1985    Module created.
  24. ; Edmund Cramp    20-Dec-1985    FCB and IOBYTE added.
  25. ; Edmund Cramp    17-Apr-1987    Modified for ZAS/ZLINK.
  26. ; Edmund Cramp    19-Mar-1988    Modified for SLR assembler/linker.
  27. ;
  28. ; Module Function
  29. ; ***************
  30. ;    This module provides the operating system interface addresses for
  31. ; subsequent system functions.  They are placed in a seperate module and
  32. ; declared to be PUBLIC so that they may be used by any other module that 
  33. ; referances them as EXTERNAL.
  34. ;    Placing all Global equates in a seperate file is not required by
  35. ; the assembler or linker but is generally good programming practice and
  36. ; allows corrections, or additions, to be easily made to all files that
  37. ; referance these values.
  38. ;    Note that while all relocating assembler/linkers will accept and
  39. ; relocate word values (16 bits), many will generate errors if byte values
  40. ; (8 bits) are referanced.
  41. ;
  42. ;**************************************************************************
  43.  
  44.         NAME    CPM        ; Object File Name
  45.  
  46. ;        ===============
  47. ;        Global symbols.
  48. ;        ===============
  49.  
  50.         PUBLIC    BDOS,DEFDU,FCB,IOBYTE,RESTART
  51.  
  52. ;        ===================
  53. ;        External Referances
  54. ;        ===================
  55.  
  56. ;        n o n e
  57.  
  58. ;        ==============
  59. ;        External Files
  60. ;        ==============
  61.  
  62. ;        n o n e
  63.  
  64. ;        ============
  65. ;        Local Macros
  66. ;        ============
  67.  
  68. ;        n o n e
  69.  
  70. ;        =============
  71. ;        Local Equates
  72. ;        =============
  73.  
  74. ;        n o n e
  75.  
  76. ;**************************************************************************
  77. ;***    Define addresses for operating system.                ***
  78. ;**************************************************************************
  79.  
  80. RESTART:    EQU    0000H        ; Warm start vector.
  81. IOBYTE:        EQU    0003H        ; I/O byte location.
  82. DEFDU:        EQU    0004H        ; Default drive and User number.
  83. BDOS:        EQU    0005H        ; CP/M BDOS vector.
  84. FCB:        EQU    005CH        ; File Control Block.
  85.  
  86.         END
  87.