Changes

Jump to: navigation, search

765 FDC

868 bytes added, 10 July
/* Floppy disk format specification */
By the way, all the |CPM command does is load the 512 bytes of track 0 sector &41 into memory at address &100 and then execute it.
 
=== Directory record structure ===
 
It can support up to 64 entries of 32 bytes.
 
{| class="wikitable"
|-
! Byte Offset !! Description !! Comment
|-
| 0 || User Number || USER goes from 0 to 255. USER 229 (&E5) is for deleted files. RSX only gives access to USER 0 to 15.
|-
| 1-8 || Filename (excluding full stop) || Always in CAPS and maximum 8 characters long.
|-
| 9-11 || Extension || Always in CAPS and maximum 3 characters long. Read Only flag on byte9 bit7. Hidden flag on byte10 bit7. Archive flag on byte11 bit7.
|-
| 12 || Current Extent || 0 is first extent.
|-
| 13 || Reserved ||
|-
| 14 || Extent High Byte || Not used.
|-
| 15 || Record Count (Number of 128 Byte Blocks) || Goes up to 128 (&80).
|-
| 16–31 || Cluster ID where to find the file data || 1 byte is used per 1KB bloc.
|}
 
Note: a file >16KB will require multiple entries in this table.
<br>
6,128
edits