Difference between revisions of "DkTronics CPM"
(→Technical) |
(→Technical) |
||
Line 61: | Line 61: | ||
=== Technical === | === Technical === | ||
− | * 61K TPA is | + | * 61K TPA is not active until NEWCPM.COM is run. |
− | * 61K CPM is stored in "NEWCPM.SYS". | + | * 61K CPM is stored in "NEWCPM.SYS" and is loaded by NEWCPM.COM |
− | * NEWCPM.COM | + | |
− | * | + | ====NEWCPM.COM==== |
+ | * NEWCPM.COM is a normal COM file. It is loaded like a normal COM file. It resides in memory in bank 0 but configures a 61K CPM in bank 1 and transfers control to it. It remains in bank 0 and implements parts of the 61K CPM BIOS. | ||
+ | * NEWCPM.COM sets up a BIOS jumpblock in page C7 at FC00. This calls into the resident NEWCPM.COM code in bank 0 | ||
+ | * NEWCPM.SYS is first loaded to B00 in bank 0, it is later copied into bank 1 to it's correct location. | ||
+ | |||
+ | TPA upper address is &F300. BIOS jump is at FC00. Code after FC00 is part of the BIOS in bank 1. | ||
== Downloads == | == Downloads == | ||
* [[File:Dkcpm.dsk CPM2.2 configured for 61K TPA]] | * [[File:Dkcpm.dsk CPM2.2 configured for 61K TPA]] |
Revision as of 05:03, 20 May 2018
Contents
CPM+
CPM2.2
Creating the DkTronics 61K TPA CPM 2.2
Boot into CPM2.2 from system discs:
A>disckit2
Use disckit2 to format a vendor disc. This will become 'Dk'Tonics CPM Disk'.
A>BOOTGEN Source is: CPM 2.2 disk Now insert 'Dk'tronics CPM Disk'.
This initialises the boot sector.
A>SYSGEN Source is CPM2.2 disk Destination is 'Dk'Tronics CPM Disk'
This puts CPM2.2 onto the disc.
A>FILECOPY movcpm.com Source is 'CPM 2.2 system disc' disk. Destination is 'Dk'Tronics CPM Disk' disk.
This puts movcpm.com onto the disk.
A>FILECOPY save.com Source is 'CPM 2.2 system disc' disk. Destination is 'Dk'Tronics CPM Disk' disk.
This puts save.com onto the disk.
A>FILECOPY newcpm.com Source is 'Dk'Tronics bank switch software' disk. Destination is 'Dk'Tronics CPM Disk' disk.
This transfers Dk'Tronics newcpm.com.
A>FILECOPY oldcpm.com Source is 'Dk'Tronics bank switch software' disk. Destination is 'Dk'Tronics CPM Disk' disk.
This transfers Dk'Tronics oldcpm.com.
Now boot the Dk'Tronics CPM Disk.
A>MOVCPM 255 *
This configures a 63K CPM.
A>SAVE 34 NEWCPM.SYS
This saves a 63K CPM for Dk'Tronics CPM to use.
Your Dk'Tronics CPM is setup.
Technical
- 61K TPA is not active until NEWCPM.COM is run.
- 61K CPM is stored in "NEWCPM.SYS" and is loaded by NEWCPM.COM
NEWCPM.COM
- NEWCPM.COM is a normal COM file. It is loaded like a normal COM file. It resides in memory in bank 0 but configures a 61K CPM in bank 1 and transfers control to it. It remains in bank 0 and implements parts of the 61K CPM BIOS.
- NEWCPM.COM sets up a BIOS jumpblock in page C7 at FC00. This calls into the resident NEWCPM.COM code in bank 0
- NEWCPM.SYS is first loaded to B00 in bank 0, it is later copied into bank 1 to it's correct location.
TPA upper address is &F300. BIOS jump is at FC00. Code after FC00 is part of the BIOS in bank 1.