File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,16 +160,25 @@ class D88ImageReader : public ImageReader
160160 trackdata->set_dam_byte (0xf56f );
161161 }
162162 // create timings to approximately match N88-BASIC
163- if (sectorSize <= 128 )
164- {
165- trackdata->set_gap0 (0x1b );
166- trackdata->set_gap2 (0x09 );
167- trackdata->set_gap3 (0x1b );
168- }
169- else if (sectorSize <= 256 )
170- {
171- trackdata->set_gap0 (0x36 );
172- trackdata->set_gap3 (0x36 );
163+ if (clockRate == 300 ) {
164+ if (sectorSize <= 256 )
165+ {
166+ trackdata->set_gap0 (0x1b );
167+ trackdata->set_gap2 (0x14 );
168+ trackdata->set_gap3 (0x1b );
169+ }
170+ } else {
171+ if (sectorSize <= 128 )
172+ {
173+ trackdata->set_gap0 (0x1b );
174+ trackdata->set_gap2 (0x09 );
175+ trackdata->set_gap3 (0x1b );
176+ }
177+ else if (sectorSize <= 256 )
178+ {
179+ trackdata->set_gap0 (0x36 );
180+ trackdata->set_gap3 (0x36 );
181+ }
173182 }
174183 }
175184 else if (trackSectorSize != sectorSize)
You can’t perform that action at this time.
0 commit comments