Commit Graph

33 Commits

Author SHA1 Message Date
smf-
6c3f17c595 replaced read rx/cts/dcd callbacks in I8251 with write handlers, which allows multiple chips to be connected together without using glue methods. [smf] 2013-12-22 16:27:05 +00:00
smf-
4afe8297bd Replaced hack code for saving nc200 ram with legacy nvram saving, you can now shut down the emulation and start it up without losing everything. However you must press the on button before exiting (default END key). [smf] 2013-11-01 20:45:39 +00:00
smf-
e7517ea39e Fixed the MC146818 modernisation so that local/utc & whether a century is stored in nvram can be specified in a sane way. Removed the century updating as this chip doesn't do that, but each driver can specify where the century should be stored. Fixed off by one errors in the date/time updating. Added support for different external clock speeds and dividers, the clock speeds have been set based on guesswork that the code would set the chip to update at 1hz but this isn't necessarily true. Most flags have been implemented, so that timer updating can be disabled & irq generation should be correct. [smf] 2013-11-01 18:17:55 +00:00
Miodrag Milanovic
a31774ab7c moved centronics into emu/bus (nw) 2013-10-23 13:01:30 +00:00
Curt Coder
894c6f0b55 (MESS) New System Drivers Supported:
-----------------------------
- NTS DreamWriter 225 [robcfg, Curt Coder]
2013-09-19 20:59:48 +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
Miodrag Milanovic
6de13d280a made BEEP and RAM devices initialize in constructor of driver classes (nw) 2013-04-23 07:11:57 +00:00
Miodrag Milanovic
7a02dc72d7 small machine().root_device() cleanup (nw) 2013-04-18 09:49:16 +00:00
Miodrag Milanovic
f30a311780 moving some static functions in driver state for MESS drivers plus some other modernization (nw) 2013-04-18 08:44:08 +00:00
Miodrag Milanovic
28cc0d1c7d various cpu lookup cleanup (nw) 2013-04-15 13:41:27 +00:00
Miodrag Milanovic
bd4514adde Removal of machine().root_device() where appropriate (nw) 2013-04-14 10:46:03 +00:00
Miodrag Milanovic
3f9cbe01c5 cleanup (nw) 2013-04-14 08:03:10 +00:00
Miodrag Milanovic
10d146a6be changed machine().device("maincpu") with m_maincpu in mess tree part (nw) 2013-04-10 11:31:17 +00:00
Andrew Gardner
c64c35d64a Modernized the beep and taitosnd devices. [Andrew Gardner] 2013-03-06 04:33:54 +00:00
Wilbert Pol
871d4c7ac6 Getting rid of DEVICE_IMAGE_START (nw) 2013-02-06 20:32:33 +00:00
Wilbert Pol
400b9bcc29 Started moving DEVICE_IMAGE_ functions into driver_device classes. (nw) 2013-02-05 20:54:03 +00:00
Miodrag Milanovic
d63986040f machine_notify_delegate modernization (nw) 2013-02-04 09:54:24 +00:00
Oliver Stöneberg
5d93f96dd8 (MESS) read same value from file as was written in src/mess/drivers/nc.c (nw) 2013-02-01 22:13:46 +00:00
Oliver Stöneberg
06bed52397 (MESS) avoid usage of uninitialized memory in nc.c (MT05130) [Oliver Stöneberg] 2013-01-28 01:28:45 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Curt Coder
b9a2b20e61 (MESS) Removed unnecessary includes, and fixed a floppy bug. (nw) 2012-12-09 20:52:23 +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
Miodrag Milanovic
e52d60b7f8 Replace some *_DEVICE_HANDLER with _MEMBER calls in MESS section (no whatsnew) 2012-10-03 09:27:22 +00:00
Miodrag Milanovic
6c40f0f292 TIMER_CALLBACK_DEVICE_MEMBER modernization part 1 (no whatsnew) 2012-09-25 13:39:59 +00:00
Miodrag Milanovic
3679f744c2 modernization or timer callbacks part 2 (no whatsnew) 2012-09-24 14:43:01 +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
5ddbca3e7a Modernized screen update calls (no whatsnew) 2012-09-17 15:00:31 +00:00
Aaron Giles
3cce7e019e Memory handler normalization, part 2. Change legacy
read/write handlers to take an address_space & instead
of an address_space *. Also update pretty much all other
functions to take a reference where appropriate.
[Aaron Giles]
2012-09-17 08:22:16 +00:00
Miodrag Milanovic
219e664785 Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT changed to be members of state classes (no whatsnew) 2012-09-13 11:15:32 +00:00
Aaron Giles
1e8d50a5d0 Get rid of devtag_reset macro. 2012-09-12 07:35:02 +00:00
Aaron Giles
0ef1e6deb4 Closeout on old macros. Retired cputag_set_input_line
and cputag_set_input_line_and_vector, replacing them
with machine.device("tag")->execute().set_input_line[_and_vector].
[Aaron Giles]
2012-09-12 03:35:06 +00:00
Aaron Giles
8669a28810 Add safe_pc() and safe_pcbase() methods to device_t.
Convert all cpu_get_pc() to safe_pc() and
cpu_getpreviouspc() to safe_basepc(). Removed the
old macros.
2012-09-11 05:50:50 +00:00
Miodrag Milanovic
7285b359d2 Merge of MESS sources (no whatsnew) 2012-08-21 10:41:19 +00:00