== MicroDOS ==
'''MicroDOS''' (Microcomputer Disc Operating System) is a CP/M clone made in East Germany (GDR) for computers of the brand Kleincomputer (KC). It was available for the [[KC Compact]]. Unfortunately it is not 100% compatible with CP/M.
=== MicroDOS implementation for KC Compact ===
MicroDOS disc format is 1024 bytes per sector (N=3), Sector IDs 1-5. Double sided (Head ids are 0 or 1).
The following are requirements:
* BASDOS
* KC Compact disc interface with extra 64KB RAM
* MicroDOS formatted disc with boot sector.
The boot sequence on KC Compact is:
* |CPM from BASIC
* An ID is read from drive 0, track 0, side 0. Both C and N from the result phase of the ID command are checked. N must be 3 and not have a CPC id (49/c9 etc)
* If ID is not MicroDOS then follow normal AMSDOS CP/M boot procedure
* If ID is MicroDOS then boot MicroDOS.
MicroDOS boot:
* read drive 0, track 0, side 0, sector 1-5 to &3F80 in RAM.
* read drive 0, track 0, side 1, sector 1-5 to &5380 in RAM.
* read drive 0, track 1, side 0, sector 1-5 to &6780 in RAM.
* read drive 0, track 1, side 1, sector 1 to &7B80 in RAM.
* check if &3f80 starts with <0> "DOS". i.e. 0 byte followed by DOS text
* execute &4000.
Therefore the MicroDOS for KC Compact must be customized for the KC Compact hardware compared to MicroDOS for other KC computers which have different hardware.
== Links ==