Commit graph pcem/src/disc.c
Author SHA1 Message Date
SarahW
a7d006b637 Rewrote timer code.
The new code is based on timestamps, rather than delays. This eliminates the
need to update every timer in timer_process(), which cost a non-trivial amount
of CPU time on low-end machines.

This involved changes to every user of the timer code, so this change almost
certainly introduces bugs.
2018-08-02 22:06:10 +01:00
SarahW
7ddc01baf7 Added guards against accessing out-of-bounds floppy drives. 2018-02-04 20:35:34 +00:00
SarahW
29bef61a3e Eject floppy drives on reset - fixes loaded discs persisting through config changes. 2017-07-16 15:31:32 +01:00
SarahW
2b892d2a7a Fixed compiler warnings for Windows builds.
Added -Werror to Windows makefiles.
2017-04-11 19:34:41 +01:00
SarahW
e591f95f8e Fixed bug that cleared disc change line when loading new disc. 2016-10-04 19:39:37 +01:00
SarahW
5f6fb407d4 Force re-seek on disc loading - fixes issues with disc change not seen on some models. 2016-08-16 18:13:41 +01:00
TomW
eebdc165b2 FDC changes :
- Seperated disk and disk drive emulation
- Support more drive types - 5.25" dual RPM, 3.5" DD, 3.5" HD, 3.5" HD 3-Mode
- Support drive swapping (FDC37c665 only)
- Support FDC FIFO
- Support other FDC 'enhanced mode' behaviour
- Support IBM XDF format images
- Formatting now formats both tracks, and uses correct 'fill' byte
- Various other improvements

Many of these changes provided by Battler
2015-12-12 16:31:08 +00:00
TomW
4e9ee6e927 Can now select to emulate 1.2MB 5.25" disc drive, with double stepping. 2015-08-24 21:09:35 +01:00
TomW
de6369b82f Disc function pointers cleared when disc ejected.
Read address on an ejected disc now times out.
Write protect bit in ST3 now set correctly (Sense Drive Status command).
Fixes discs on Windows 95.
2015-06-21 14:51:58 +01:00
TomW
644d17fc7f Fixed bug which ejected discs on hard reset. 2015-04-02 19:54:47 +01:00
TomW
a8159f8c09 Various changes to FDC emulation.
Support for multiple disc image formats.
Added preliminary FDI support.
2015-03-19 21:33:19 +00:00