filesize [Byte] | tracks | sectors |
---|---|---|
89600 | 35 | 10 |
179000 | 35 | 20 |
358400 | 35 | 40 |
102400 | 40 | 10 |
204800 | 40 | 20 |
409600 | 40 | 40 |
(204800 | 80 | 10) |
(409600 | 80 | 20) |
819200 | 80 | 40 |
Each sector contains 256 Byte. There is no file header. The size of the file
can simply be computed with <nr_of_tracks> x <nr_of_sectors> x 256 Byte. If
the DSK-file is write protected the drive within flexemu is write protected too.
The format of the file header can be changed for future improvements. For the
actual format look at
struct s_flex_header
in the header file
e2floppy.h.
The system info sectors and directory sectors are managed by flexemu and
are not accessible as file. The boot sector (track 0/sector 1) is contained
in the file
boot.
If there is no such file the disk can't be booted. The link
to flex.sys will be generated dynamically by flexemu. The user does not have
to input any link command.
bytes name description
4 magic_number always 0x485C9A33
1 write_protect flag for write protection
1 sizecode 128 * 2 ^ n Bytes/sector
1 sides0 nr of sides on track 0
1 sectors0 nr of sect. on track 0
1 sides nr of sides on track != 0
1 sectors nr of sect. on track != 0
1 tracks nr of tracks total
5 dummy1 - dummy 5 for stuffing
There is a utility to dynamically mount, update, give info or umount a nafs drive.