home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / sigm / vols000 / vol050 / system.sub < prev    next >
Encoding:
Text File  |  1984-04-29  |  1.8 KB  |  67 lines

  1. ;SYSTEM.SUB        June 16, 1981
  2. ;
  3. ;Type SUBMIT SYSTEM z xxx mm hhhh y, where 'z' is the destination
  4. ;drive for the output of the SYSTEM.SUB file (this file),
  5. ;mm is the memory size - 2 in 1K byte units, hhhh is the
  6. ;hexadecimal offset for loading the BIOS, and y has the value
  7. ;P if the PRN files are to be printed, else y is ;.  For example,
  8. ;if the memory size is 64K, the mm is 62 and hhhh is 2D80.
  9. ;
  10. ;    Assemble ROM file
  11. PIP $1:DTCROM.ASM=CONFIG,DTC,ROM[V]
  12. ASM $1:DTCROM
  13. ERA $1:DTCROM.ASM
  14. $5IP PRN:=$1:DTCROM.PRN[T6]
  15. ERA $1:DTCROM.PRN
  16. ;
  17. ;The DTCROM.HEX file contains the EPROM code for a 2716
  18. ;to load the BOOT sector from either floppy disk or hard disk.
  19. ;
  20. ;    Assemble BOOT file
  21. PIP $1:DTCBOOT.ASM=CONFIG,DTC,BOOT[V]
  22. ASM $1:DTCBOOT
  23. ERA $1:DTCBOOT.ASM
  24. $5IP PRN:=$1:DTCBOOT.PRN[T6]
  25. ERA $1:DTCBOOT.PRN
  26. ;
  27. ;The DTCBOOT.HEX file loads the CCP, BDOS and BIOS from the
  28. ;logical unit passed in the A register by DTCROM.
  29. ;
  30. ;    Assemble BIOS
  31. PIP $1:DTCBIOS.ASM=CONFIG,DTC,BIOS1,BIOS2,$2,BIOS3,MODEL,BIOS4[V]
  32. ASM $1:DTCBIOS
  33. ERA $1:DTCBIOS.ASM
  34. $5IP PRN:=$1:DTCBIOS.PRN[T6]
  35. ERA $1:DTCBIOS.PRN
  36. ;
  37. ;    Construct DTCCPM.COM
  38. ;MOVCPM.COM is used to generate a copy of the CCP and BDOS of
  39. ;the desired size.  The special loader DTCLOAD.COM, provided
  40. ;on the DTC distribution diskette, loads HEX files to memory
  41. ;with offset.
  42. MOVCPM $3 *
  43. DTCLOAD $1:DTCBOOT O=0780
  44. DTCLOAD $1:DTCBIOS O=$4
  45. ;Maximum system size is 57
  46. SAVE 57 $1:DTCCPM.COM
  47. ;
  48. ;
  49. ;    Assemble FORMAT file
  50. PIP $1:DTCFORM.ASM=CONFIG,DTC,FORMAT[V]
  51. ASM $1:DTCFORM
  52. ERA $1:DTCFORM.ASM
  53. $5IP PRN:=$1:DTCFORM.PRN[T6]
  54. ERA $1:DTCFORM.PRN
  55. LOAD $1:DTCFORM
  56. ERA $1:DTCFORM.HEX
  57. ;
  58. ;    Assemble INSTALL file
  59. PIP $1:DTCINSTL.ASM=CONFIG,DTC,INSTALL[V]
  60. ASM $1:DTCINSTL
  61. ERA $1:DTCINSTL.ASM
  62. $5IP PRN:=$1:DTCINSTL.PRN[T6]
  63. ERA $1:DTCINSTL.PRN
  64. LOAD $1:DTCINSTL
  65. ERA $1:DTCINSTL.HEX
  66. ;SYSTEM.SUB done.
  67.