diff options
author | 2012-10-10 15:33:51 +0000 | |
---|---|---|
committer | 2012-10-10 15:33:51 +0000 | |
commit | 9d1aaf97ae5a4d5b2272f064fe6b6fe7df9dbf88 (patch) | |
tree | 74e3dc1e5558b42717e62f9b81cc7d7d47b90449 /src/mess/includes/sg1000.h | |
parent | 204b78cf00de0c3bd8b6afefa601cd26aa391c91 (diff) |
(mess) upd765: Modernize [O. Galibert]
Remaining TODO list:
- take WP into account
- test the amstrad, implement its observational format (edsk) using
pasti as a start. Or find the legendary amstrad IPFs. Or both.
- correct read track, the implementation is completely wrong. See
previous for testing, it's only used in protections the check the
inter-sector gaps.
- shake and bake on the amstrad, protections are the best to find bugs
in a fdc
- add the scan id commands, but nothing seems to use them
- debug the 2.88M formatting which is unreliable. Fix its IDAM/DAM
gap size on formatting too (but that's not what's making it
unreliable)
- test all the systems that were hit, and fix what needs to be fixed.
Beware that multiple problems may happen:
- upd765 may be wrong
- the driver may not be working
- the hookup may be wrong/incomplete (bitrate selection and floppy
rpm in particular)
- the driver may be too limited for the new implementation (the x68k
dma device does not handle non-instant dma yet for instance)
- report invalid command when appropriate depending on the actual chip
emulated
- add the russian clones with their real names
Diffstat (limited to 'src/mess/includes/sg1000.h')
-rw-r--r-- | src/mess/includes/sg1000.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/includes/sg1000.h b/src/mess/includes/sg1000.h index fe91d092c5c..96553b4f1f6 100644 --- a/src/mess/includes/sg1000.h +++ b/src/mess/includes/sg1000.h @@ -8,7 +8,6 @@ #include "imagedev/cassette.h" #include "machine/ram.h" #include "imagedev/printer.h" -#include "formats/basicdsk.h" #include "formats/sc3000_bit.h" #include "machine/ctronics.h" #include "machine/i8255.h" @@ -105,7 +104,7 @@ public: m_floppy0(*this, FLOPPY_0) { } - required_device<device_t> m_fdc; + required_device<upd765a_device> m_fdc; required_device<centronics_device> m_centronics; required_device<device_t> m_floppy0; @@ -114,9 +113,10 @@ public: DECLARE_READ8_MEMBER( ppi_pa_r ); DECLARE_WRITE8_MEMBER( ppi_pc_w ); - DECLARE_WRITE_LINE_MEMBER( fdc_intrq_w ); DECLARE_WRITE_LINE_MEMBER(sf7000_fdc_index_callback); + void fdc_intrq_w(bool state); + /* floppy state */ int m_fdc_irq; int m_fdc_index; |