Difference between revisions of "DkTronics CPM"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(Technical)
(Creating the DkTronics 61K TPA CPM 2.2)
Line 7: Line 7:
 
Boot into CPM2.2 from system discs:
 
Boot into CPM2.2 from system discs:
  
A>disckit2
+
A>disckit2
  
 
Use disckit2 to format a vendor disc. This will become 'Dk'Tonics CPM Disk'.
 
Use disckit2 to format a vendor disc. This will become 'Dk'Tonics CPM Disk'.
  
A>BOOTGEN
+
A>BOOTGEN
 
Source is: CPM 2.2 disk
 
Source is: CPM 2.2 disk
 
Now insert 'Dk'tronics CPM Disk'.
 
Now insert 'Dk'tronics CPM Disk'.
  
 
This initialises the boot sector.
 
This initialises the boot sector.
 
+
A>SYSGEN
+
A>SYSGEN
 
Source is CPM2.2 disk
 
Source is CPM2.2 disk
 
Destination is 'Dk'Tronics CPM Disk'
 
Destination is 'Dk'Tronics CPM Disk'
Line 23: Line 23:
 
This puts CPM2.2 onto the disc.
 
This puts CPM2.2 onto the disc.
  
A>FILECOPY movcpm.com
+
A>FILECOPY movcpm.com
 
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.
Line 29: Line 29:
 
This puts movcpm.com onto the disk.
 
This puts movcpm.com onto the disk.
  
A>FILECOPY save.com
+
A>FILECOPY save.com
 
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.
Line 35: Line 35:
 
This puts save.com onto the disk.
 
This puts save.com onto the disk.
  
A>FILECOPY newcpm.com
+
A>FILECOPY 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.
Line 41: Line 41:
 
This transfers Dk'Tronics newcpm.com.
 
This transfers Dk'Tronics newcpm.com.
  
A>FILECOPY oldcpm.com
+
A>FILECOPY 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.
Line 49: Line 49:
 
Now boot the Dk'Tronics CPM Disk.
 
Now boot the Dk'Tronics CPM Disk.
  
A>MOVCPM 255 *
+
A>MOVCPM 255 *
  
 
This configures a 63K CPM.
 
This configures a 63K CPM.
  
A>SAVE 34 NEWCPM.SYS
+
A>SAVE 34 NEWCPM.SYS
  
 
This saves a 63K CPM for Dk'Tronics CPM to use.
 
This saves a 63K CPM for Dk'Tronics CPM to use.

Revision as of 05:06, 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

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.

Downloads