Commit Graph

73 Commits

Author SHA1 Message Date
Angelo Salese
726f471a16 Small clean-up 2012-11-13 20:30:22 +00:00
Angelo Salese
26b6bfa941 Added irq to upd765 2hd, still not working yet 2012-11-13 03:25:57 +00:00
Angelo Salese
672f8bbd27 Worked around irq triggering in NEC PC-100 driver, and improved video timings. Now the BIOS moans about 'reading DOS' [Angelo Salese, Carl] 2012-11-13 01:15:32 +00:00
Angelo Salese
37964d50e9 Hooked-up floppy loading for upd765_2dd interface too, nw 2012-11-12 20:38:43 +00:00
Fabio Priuli
0262585431 (MESS) pc9801.c: further safety checks to avoid crashes in some drivers. no whatsnew. 2012-10-13 06:23:55 +00:00
Fabio Priuli
3ec3c6f2c7 (MESS) pc9801: fixed crash on boot. no whatsnew.
(MESS) superfx.c: using a couple of macro were it made sense. no functional change. no whatsnew.
2012-10-12 07:33:47 +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
23a3e24dcb Replace some *_DEVICE_HANDLER with _MEMBER calls (no whatsnew) 2012-09-26 13:24:58 +00:00
Miodrag Milanovic
1f9d1cd620 change from device->machine() to space.machine() in device handlers in order to make next changes easier (no whatsnew) 2012-09-21 08:25:27 +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
Miodrag Milanovic
a1b116c06f INTERRUPT_GEN -> INTERRUPT_GEN_MEMBER for MESS part (no whatsnew) 2012-09-18 14:45:06 +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
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
Miodrag Milanovic
e25c13f253 Clean-ups and version bump
note: hoarded dump removed too from coco_cart.xml, this will not be tolerated
2012-09-17 06:49:13 +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
17e66e39fd Clear out remaining global inlines in diexec.h. 2012-09-12 06:07:51 +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
Angelo Salese
ce28009ad6 Get rid of the SW DIP-SW msg 2012-09-06 18:17:30 +00:00
Angelo Salese
a377550efc Preliminary SW DIP-SW addition to PC-9821 / Fixed sound CPU ASM decoding for Super Nes, nw 2012-09-06 17:01:01 +00:00
Angelo Salese
f1f34c68b7 Removed the POR hack in PC-98x1 machines, nw 2012-09-06 15:55:06 +00:00
Miodrag Milanovic
7285b359d2 Merge of MESS sources (no whatsnew) 2012-08-21 10:41:19 +00:00