whats all of this id address mark stuff? [FDD]

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

whats all of this id address mark stuff? [FDD]

Post by earlz »

so what exactly is it, I'm reading this tutorial http://web.archive.org/web/200410100810 ... loppy.html
and it keeps referring to id address marks and track address marks, but what is it!?
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Post by chase »

Sounds like the hidden sector data. On hard drives and floppies sectors store 512 bytes of user data but in reality they are larger and store location and CRC type information as well. It probably should be created for you when you write a sector and an error about being unable to read address marks probably means your floppy needs formatting, is bad, or the drive has gone out.
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Post by chase »

Think I found what exactly the address mark is in a WDC floppy controller doc (http://saint.atari.org/html/doc/wd1772.html)
Read Sector:
The controller waits for a sector ID field that has the correct track
number, sector number, and CRC. The controller then checks for the
Data Address Mark, which consists of 43 copies of the second byte of
the CRC. If the controller does not find a sector with correct ID
field and address mark within 5 disk revolutions, the command ends.
Post Reply