Commit Graph

29 Commits

Author SHA1 Message Date
Dirk Best
ff3a768786 PC driver cleanup:
- Much improved CS4031 emulation, added DMA, interrupt controller, timer, RTC directly to the device as sub devices and added the generic functions needed for AT compatibility
- Moved the ct486 driver to its own file, to avoid all the legacy stuff in at.c
- Added support for the IOCHCK signal to the ISA bus, this is used instead of directly issuing an NMI to the main CPU
- Moved ISA device slot definitions to its own file to avoid copy & pasting the same list to different drivers
- Updated MC146818 RTC for devcb2
2013-06-13 15:43:56 +00:00
Miodrag Milanovic
16f5234d43 Cleanups and version bump 2013-06-11 07:16:42 +00:00
Curt Coder
2d45dec870 (MESS) devcb2. (nw) 2013-06-09 20:49:03 +00:00
Fabio Priuli
0a3efaf541 modernized speaker device. [Fabio Priuli] 2013-06-04 07:57:44 +00:00
Fabio Priuli
e098aab416 Modernized the PIT8253 device. [Fabio Priuli] 2013-06-03 11:39:54 +00:00
smf-
459b30be0f Moved default card config, device inputs and clock off the slot interface so they can be specified for all cards [smf] 2013-05-29 13:52:16 +00:00
cracyc
7e1e79610e (mess) pc1512: permit the ega to used until built-in graphics work (nw) 2013-05-21 03:18:11 +00:00
cracyc
f907e23d2e (mess) oops (nw) 2013-05-21 00:02:50 +00:00
cracyc
0dc1969ece (mess) pc1512: pc1640 don't crash (nw)
--
The floppy boots but nothing will display.
2013-05-20 23:12:58 +00:00
cracyc
4b79d68e85 (mess) pc1512: fix pc1512 floppy (nw) 2013-05-20 18:12:32 +00:00
Curt Coder
f522295e74 (MESS) Added RS-232 ports to several drivers. [Curt Coder] 2013-05-20 13:51:14 +00:00
Wilbert Pol
6f7dd684be pic8259.c: Switched to devcb2. (nw) 2013-05-15 21:57:33 +00:00
Wilbert Pol
34be6878ec pic8259.c: Continue modernization. (nw) 2013-05-14 20:48:27 +00:00
Miodrag Milanovic
82681f1bb1 speaker tag lookup removal, also no need to use universal tag, since easier now to follow (nw) 2013-04-12 12:29:10 +00:00
Curt Coder
6ab6bf735a (MESS) Used modern accessors for i8259. (nw) 2013-02-02 22:24:47 +00:00
Curt Coder
0df1b89e6f (MESS) Used modern accessors for i8259. (nw) 2013-02-02 21:44:17 +00:00
Miodrag Milanovic
ad69d72a53 IRQ_CALLBACK modernization part 3 (no whatsnew) 2013-01-31 13:58:02 +00:00
Curt Coder
59ad3282df (MESS) Tagmap lookup cleanup. (nw) 2013-01-27 17:26:22 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Miodrag Milanovic
ff3e49d66f Changed isa device cpu search, fixes -listxml (no whatsnew)
Added some addtional XT and AT bioses 
Added -mwindows flag to windows sdl build with QT
2012-12-26 12:57:49 +00:00
Curt Coder
8622fcfecf (MESS) Cleanup. (nw) 2012-12-07 16:05:36 +00:00
Curt Coder
9046ce0dc5 sed1310: Cleanup. (nw)
(MESS) bw2: Fixed memory mapping. (nw)
(MESS) msm6255: Refactored to use device_memory_interface. (nw)

(MESS) floppy: Added macros for declaring modern floppy formats. The generic floppy formats (D88/DFI/IMD/IPF/MFI/MFM) are now automatically supported in each driver using the modern floppy code. [Curt Coder]
2012-11-22 19:33:19 +00:00
Olivier Galibert
9d1aaf97ae (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
2012-10-10 15:33:51 +00:00
Aaron Giles
621ac620ae Since nobody checks for NULLs anyway, make
device_memory_interface::space() assert against NULL and
return a reference, and pushed references throughout all 
address space usage in the system. Added a has_space() 
method to check for those rare case when it is ambiguous.
[Aaron Giles]

Also reinstated the generic space and added fatal error
handlers if anyone tries to actually read/write from it.
2012-09-19 19:48:09 +00:00
Miodrag Milanovic
7f775f2fbe Modernized INPUT_CHANGED in MESS part of tree (no whatsnew) 2012-09-19 13:06:55 +00:00
Aaron Giles
cc16777cce Memory handler normalization, part 1.
READ/WRITE_DEVICE*_HANDLERs are now passed an
address_space &, and the 8-bit variants get a mem_mask
as well. This means they are now directly compatible
with the member function delegates. Added a generic
address space to the driver_device that can be used
when no specific address space is available. Also
added DECLARE_READ/WRITE_DEVICE*_HANDLER macros to
declare device callbacks with default mem_mask
parameters. [Aaron Giles]
2012-09-17 07:43:37 +00:00
Aaron Giles
17e66e39fd Clear out remaining global inlines in diexec.h. 2012-09-12 06:07:51 +00:00
Aaron Giles
d1a2c2e7a3 Add ambiguous execute() and memory() methods to the
device_execute/memory_interfaces respectively in order
to catch unnecessary usage of the corresponding device_t 
methods. Removed all existing redundant usage. 
[Aaron Giles]
2012-09-11 16:29:26 +00:00
Miodrag Milanovic
7285b359d2 Merge of MESS sources (no whatsnew) 2012-08-21 10:41:19 +00:00