Difference between revisions of "DkTronics CPM"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(Creating the DkTronics 61K TPA CPM 2.2)
(Creating the DkTronics 61K TPA CPM 2.2)
Line 12: Line 12:
  
 
  A>BOOTGEN
 
  A>BOOTGEN
Source is: CPM 2.2 disk
+
This initialises the boot sector.
 +
 
 +
Source is: CPM 2.2 disk.
 
Now insert 'Dk'tronics CPM Disk'.
 
Now insert 'Dk'tronics CPM Disk'.
  
This initialises the boot sector.
 
 
   
 
   
 
  A>SYSGEN
 
  A>SYSGEN
Source is CPM2.2 disk
 
Destination is 'Dk'Tronics CPM Disk'
 
 
 
This puts CPM2.2 onto the disc.
 
This puts CPM2.2 onto the disc.
 +
Source is CPM2.2 disk.
 +
Destination is 'Dk'Tronics CPM Disk'.
 +
  
 
  A>FILECOPY movcpm.com
 
  A>FILECOPY movcpm.com
 +
This puts movcpm.com onto the disk.
 
Source is 'CPM 2.2 system disc' disk.
 
Source is 'CPM 2.2 system disc' disk.
 
Destination is 'Dk'Tronics CPM Disk' disk.
 
Destination is 'Dk'Tronics CPM Disk' disk.
 
This puts movcpm.com onto the disk.
 
  
 
  A>FILECOPY save.com
 
  A>FILECOPY save.com
 +
This puts save.com onto the disk.
 
Source is 'CPM 2.2 system disc' disk.
 
Source is 'CPM 2.2 system disc' disk.
 
Destination is 'Dk'Tronics CPM Disk' disk.
 
Destination is 'Dk'Tronics CPM Disk' disk.
 
This puts save.com onto the disk.
 
  
 
  A>FILECOPY newcpm.com
 
  A>FILECOPY newcpm.com
 +
This transfers Dk'Tronics newcpm.com.
 
Source is 'Dk'Tronics bank switch software' disk.
 
Source is 'Dk'Tronics bank switch software' disk.
 
Destination is 'Dk'Tronics CPM Disk' disk.
 
Destination is 'Dk'Tronics CPM Disk' disk.
  
This transfers Dk'Tronics newcpm.com.
 
  
 
  A>FILECOPY oldcpm.com
 
  A>FILECOPY oldcpm.com
 +
This transfers Dk'Tronics oldcpm.com.
 
Source is 'Dk'Tronics bank switch software' disk.
 
Source is 'Dk'Tronics bank switch software' disk.
 
Destination is 'Dk'Tronics CPM Disk' disk.
 
Destination is 'Dk'Tronics CPM Disk' disk.
 
This transfers Dk'Tronics oldcpm.com.
 
  
 
Now boot the Dk'Tronics CPM Disk.
 
Now boot the Dk'Tronics CPM Disk.

Revision as of 05:07, 20 May 2018

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

This initialises the boot sector.

Source is: CPM 2.2 disk. Now insert 'Dk'tronics CPM Disk'.


A>SYSGEN

This puts CPM2.2 onto the disc. Source is CPM2.2 disk. Destination is 'Dk'Tronics CPM Disk'.


A>FILECOPY movcpm.com

This puts movcpm.com onto the disk. Source is 'CPM 2.2 system disc' disk. Destination is 'Dk'Tronics CPM Disk' disk.

A>FILECOPY save.com

This puts save.com onto the disk. Source is 'CPM 2.2 system disc' disk. Destination is 'Dk'Tronics CPM Disk' disk.

A>FILECOPY newcpm.com

This transfers Dk'Tronics newcpm.com. Source is 'Dk'Tronics bank switch software' disk. Destination is 'Dk'Tronics CPM Disk' disk.


A>FILECOPY oldcpm.com

This transfers Dk'Tronics oldcpm.com. Source is 'Dk'Tronics bank switch software' disk. Destination is 'Dk'Tronics CPM Disk' disk.

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.

Downloads