Disc Wizard

From CPCWiki - THE Amstrad CPC encyclopedia!
Revision as of 05:10, 18 September 2020 by Cpcmaniaco (Talk | contribs) (Pictures)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Disc Wizard was an addon from Draysoft & Evesham Micro Centre that allowed you to make dumps of the CPC memory to external storage, pretty much like the Multiface and similar interfaces.

Technical

This technical information has been gathered from a dissassembly of the ROM.

  • Button triggers NMI
  • 8K ROM data has 4 regions. There is an NMI vector at offsets &0066, &0866, &1066 and &1866 within the ROM data. This suggests each of the 4 regions is selectable and mappable into the range &0000-&7ff.

What is not clear is that when the chosen region is mapped into the Z80 memory space if the region in &0000-&7ff is repeated through to the end of &3fff.

* Region 0 is for saving "DraySoftONE". 
* Region 1 is for loading "DraySoftONE"
* Region 2 is for saving "DraySoftTWO". 
* Region 3 is for loading "DraySoftTWO"

It seems that the "1/2" switch on the PCB chooses between which 4k (assumption it is connected to A12 of the EPROM), then the "load/save" switch chooses between the 2k within that 4k (assumption it is connected to A11 of the EPROM).

  • Dissassembly of the code indicates it uses direct FDC disc access for loading/saving. A disc must be in the drive when the button is pressed.
  • Dissassembly of the code indicates it uses an I/O port &f0e0. It is not clear how this port is decoded and which address lines or data lines are important. Bit 0 of the data written to this potr appears to be set (1) to enable the ROM, and reset (0) to disable it. Function of the other bits are not yet known. Bits 2..7 don't seem to be used?
  • It is restricted to loading/saving using DATA format disc. It uses sectors &c1-&c8 and reads/writes this entire range on each track in a multi-sector operation. DATA format has 512 bytes per sector, so sectors &c1-&c8 is 4K. So it reads 4K from each track.
  • Disc must be pre-formatted to DATA format.
  • You can't use it with a disc with existing files because it writes data at specific places on the disc. It does write a dummy directory entry to indicate there is data on there, but the device has the loader code in it, so you must use the device (or a separate program) to load them back.
  • Track 1 is used for temporary storage (it saves the screen here and reloads it after).
  • It doesn't use the memory paging registers, so saves the RAM in it's current configuration. It saves the entire 64k starting at track 5 (for "1").
  • It writes a dummy directory to track 0.
  • It appears the RAM exists under the Disc Wizard ROM when it's enabled. The code assumes it can use the stack to store the current register settings at the point the NMI is triggered, and this may be located under the Disc Wizard ROM.
  • It appears that when the CPC is reset, the Disc Wizard ROM is disabled.

Now, thanks to Jose Leandro, the hardware specialist of the spectrum, with his famous page :

http://trastero.speccy.org/cosas/JL/JL.htm

We can know more about this hardware.

Pictures

Download

Weblinks