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 / ENTERPRS / CPM / UTILS / A / BIOS-R62.LZH / C128.INF < prev    next >
Text File  |  2000-06-30  |  4KB  |  107 lines

  1.                            CP/M+ on the C-128
  2.  
  3. This file is an attempt to explain the relationships between the various
  4. modules in the C-128 BIOS.
  5.  
  6. There are thirteen ASM files, and five LIB files that comprise the
  7. source code to the C-128 BIOS.  Each file relates to specific areas of
  8. the operating system.
  9.  
  10. CXKRNL.ASM is the root module for the BIOS.  This file is supplied by
  11. Digital Research and should not be modified at all, except to add a RET
  12. to unimplemented calls.  CXKRNL.ASM calls all of the other modules.
  13.  
  14. CXIO.ASM contains the character I/O tables, the time routines (CXTIME),
  15. and the RS-232 code.  In the version I have supplied here the Drive
  16. Search Chain and the Temporary drive are initailized, the cursor is set
  17. up, and the feel and repeat are set up.  Note that the BIOS I have
  18. supplied here will only work on North American C-128s (NTSC), all code
  19. pertaining to PAL has been removed.
  20.  
  21. CXINTR.ASM is the interupt Driver, it reads the pseudo RS-232 port and
  22. the keyboard storing the characters in a buffer.  The modifications I
  23. made were to delete the 40 column cursor flash routine.
  24.  
  25. CXKEY.ASM is the keybord handler.  Changes here were to add a screen
  26. dump, delete all 40 column code.  This module is called by CXIO in order
  27. to read and interpret the keyboard.  All special funtion code is here
  28. too.
  29.  
  30. CXEM.ASM is the ADM-3A/ADM-31 terminal emulation.  This module handles
  31. all 80 column screen output.  Changes were to delete the 40 column code.
  32.  
  33. CX80.ASM is the rest of the 80 column screen driver as well as the
  34. initialization routines.  The status line handling code is here also. 
  35. Changes here were to delete the 40 column code.
  36.  
  37. CXPRINTE.ASM is the print driver. Currently it is only set up for two
  38. printers, selected by the DEVICE command, the default printer is
  39. selected during system initialization in CXIO.  This routine has been
  40. rewritten to remove all ASCII conversion code, as well as make it easier
  41. to define the device address and secondary addresses.
  42.  
  43. CXDISK.ASM is the Disk handling code, this code handles all disk I/O via
  44. the 8502 BIOS (FAST8502.ASM). Currently it supports three 15x1's as A,
  45. B, and C.  Changes here were to remove the 40 column status code, drive
  46. E:, and drive D:.
  47.  
  48. CXRAMDSK.ASM is the RamDisk driver for the 1700/1750 Ram Expander. The
  49. Ramdisk is defined as drive D:.  Only a small change was made to the
  50. code that removes the pointer in the DRVTBL to this code if the
  51. 1700/1750 is not present.
  52.  
  53. CXEXT.ASM contains the DRVTBL.  It is here that you make the changes in
  54. drive assignment names.  Also here is the 6551 drivers (you can actually
  55. make a 6551 based serial port and this code will drive it).
  56.  
  57. CXSCB.ASM is the System Control Block, which is a storage area for
  58. various system information (see the DRI manual for a definition).
  59. Changes here were to add labels for the drive search chain and the
  60. temporary drive.
  61.  
  62. CXKYCODE.ASM is the character code definition table, funtion keys are
  63. defined here also.
  64.  
  65. FAST8502.ASM is the 8502 BIOS code that is stored in bank 0, it contains
  66. the code that calls the 6502 code print and disk drivers.
  67.  
  68. Z80.LIB contains macros that define Z80 Assembler code for RMAC.
  69.  
  70. MODEBAUD.LIB contains equates for the character I/O modules.
  71.  
  72. CXEQU.ASM contains all of the general equates for all of the modules,
  73. as well as important memory locations to the system.
  74.  
  75. X6502.ASM contains macros for 6502 assembler code for RMAC & MAC.
  76.  
  77. CPM3.LIB contains macros for the CP/M+ disk definitions.
  78.  
  79. GENCPM.DAT contains information for GENCPM to generate te system with.
  80.  
  81. CXSYS.GET is a batch file that builds a system for you automaticly.
  82.  
  83. ----------------------------------------------------------------------
  84. The system these file generate assumes the following hardware:
  85.  
  86.  
  87. C-128  (of course)
  88.  
  89. 80 col. monitor, color of monochrome
  90.  
  91. Two printers, one as device 4, the other as device 5--this can be
  92. changed in the print driver CXPRINTE.ASM
  93.  
  94. Up to three disk drives either 1541 or 1571s
  95.  
  96. 1750 ram expader
  97.  
  98. Modem interfaced to the user port. Max speed 1200 baud.
  99.  
  100. A 6551 (UART) card interfaced to the expansion port (note that this has
  101. not been tested with the 1750 at the same time), to allow for speeds up
  102. to 19.2 Kbaud.
  103.  
  104. -------------------------------------------------------------------------
  105.  
  106. NOTE that the virtual disk (DRIVE E:) is _NOT_ supported.
  107. ---------------------------------------