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

@@ -25,8 +25,8 @@ void mouse_serial_poll(int x, int y, int b)
/*Use Microsoft format*/
mousedat[0]=0x40;
mousedat[0]|=(((y / 64)&3)<<2);
mousedat[0]|=((x / 64)&3);
mousedat[0]|=(((y>>6)&3)<<2);
mousedat[0]|=((x>>6)&3);
if (b&1) mousedat[0]|=0x20;
if (b&2) mousedat[0]|=0x10;
mousedat[1]=x&0x3F;