RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Disc Format Block

Programmer's Reference Manuals
» Part 15 – SWI Calls
» FileCore
» FileCore_DiscFormat
» Disc Format Block

Disc Format Block

Offset Meaning
+0 Sector size
+4 Gap 1 side 0
+8 Gap 1 side 1
+C Gap 3
+10 Sectors per track
+11 Density?
+12 Options
+13 Start sector on a track
+14 Sector interleave
+15 Side/side sector skew (signed)
+16 Track/track sector skew (signed)
+17 Sector fill value
+18 Number of tracks to format (ie cylinders/drive: usually 80)
+1C-23 Reserved, must be 0
+24 Sector ID buffer (1 word/sector)

Format Options

Bit Meaning
0 Index mark required
1 Double step
2 – 3 0 = Interleaved side
1 = Format side 1 only
2 = Format side 2 only
3 = Sequenced sides
4 – 7 Reserved, must be zero

Sector ID Buffer

Bit Meaning
0 – 7 Cylinder number mod 256
8 – 15 Head (0 onwards)
16 – 23 Sector number
24 – 31 Log2(sector size)-7

See also

  • FileCore
  • FileCore_DiscFormat
Created on December 5, 2009 19:37:48 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: FileCore_DiscFormat, FileCore_DiscOp 4

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys