Changes

Jump to: navigation, search

Dobbertin Harddisc

776 bytes removed, 14:55, 31 August 2015
/* Technical */
== Technical ==
 
Dobbertin HD20 probably uses a modified pc-xt interface which uses a Winchester type hard disk.
Uses [[XD-DOS]] v2.10 (which supports the harddisc, and additionally supports external double sided 80 track disc drives). The 20 MB harddisc is split into four partitions, with drive names D, E, F, and G (drive name C isn't used here, but may be used as RAM disc, in combination with Dobbertin RAM expansion). Under [[FutureOS]] the four partitions are named I, J, K and L. The hard disc is controlled by this I/O Ports:
The hard drive interface is an PC-XT compatible hard disc interface. The CPC's port mappings are close to the PC-XT's port mappings.
 
The following information was obtained from Linux/drivers/block/xd.h and MESS pc_hdc.c.
 
Commands (incomplete list):
CMD_TESTREADY 0x00 test drive ready
CMD_RECALIBRATE 0x01 recalibrate drive
CMD_SENSE 0x03 request sense
CMD_FORMATDRV 0x04 format drive
CMD_VERIFY 0x05 read verify
CMD_FORMATTRK 0x06 format track
CMD_FORMATBAD 0x07 format bad track
CMD_READ 0x08 read
CMD_WRITE 0x0A write
CMD_SEEK 0x0B seek
 
Status (obtained when reading status register):
 
STAT_READY 0x01 controller is ready
STAT_INPUT 0x02 data flowing from controller to host
STAT_COMMAND 0x04 controller in command phase
STAT_SELECT 0x08 controller is selected
STAT_REQUEST 0x10 controller requesting data
STAT_INTERRUPT 0x20 controller requesting interrupt
== Other harddisc solutions for the CPC ==
2,562
edits