86F version increased to 2.10 - each side of each track now has its own offset in the table and each track now has its own number of extra bitcells;

Number of formatted sectors is now set to 0 every time the FORMAT TRACK command is issued;
The 86F writeback function now performs a fseek between the fread of the header and the fwrite of the track offsets table, so said table actually gets written to the file now;
PS/2 mouse now works on the Epox P55-VA;
Serial mouse now works again.
This commit is contained in:
OBattler
2016-11-03 22:07:34 +01:00
parent 6a43b2f3a1
commit a619af0acf
6 changed files with 269 additions and 188 deletions

View File

@@ -81,15 +81,12 @@ uint16_t fdi_side_flags(int drive)
return temp_side_flags;
}
int32_t fdi_extra_bit_cells(int drive)
int32_t fdi_extra_bit_cells(int drive, int side)
{
int side = 0;
int density = 0;
int raw_size = 0;
side = fdd_get_head(drive);
switch (fdc_get_bit_rate())
{
case 0:
@@ -189,13 +186,10 @@ uint32_t fdi_index_hole_pos(int drive, int side)
return fdi[drive].trackindex[side][density];
}
uint32_t fdi_get_raw_size(int drive)
uint32_t fdi_get_raw_size(int drive, int side)
{
int side = 0;
int density;
side = fdd_get_head(drive);
switch (fdc_get_bit_rate())
{
case 0: