Commit Graph

200 Commits

Author SHA1 Message Date
Miodrag Milanovic
5ddbca3e7a Modernized screen update calls (no whatsnew) 2012-09-17 15:00:31 +00:00
Aaron Giles
0dc663e2e9 Memory handler cleanup 3. Add mem_mask parameter
to 8-bit handlers to match the others. To ease
pain, added DECLARE_READ/WRITE_HANDLER macros that
set up a default parameter. Also updated devcb so
that the handlers can be called with or without the
mem_mask. [Aaron Giles]
2012-09-17 09:16:44 +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
Robbbert
22b4739ade (MESS) fixed compile error 2012-09-17 08:07:45 +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
f97e8f0081 ATI Stereo F/X ISA card support [Carl] 2012-09-17 06:37:37 +00:00
Miodrag Milanovic
1dfbc23b42 isa_sblaster : Corrects the output in adpcm mode and inhibits irqs after the protection command. Test-sbc.exe works again. by Carl (no whatsnew) 2012-09-16 14:13:24 +00:00
smf-
0680647be5 (MESS) builds after normalization (nw) 2012-09-16 12:50:13 +00:00
smf-
942907b081 (MESS) builds after normalization (nw) 2012-09-16 12:45:58 +00:00
Aaron Giles
1a30184903 Final round of struct/union/enum normalization. 2012-09-16 05:24:30 +00:00
Aaron Giles
91f928d6cd Enum and union normalization. 2012-09-16 03:06:55 +00:00
R. Belmont
ce0227e419 (MESS) apple2gs: Save states now officially supported. [R. Belmont] 2012-09-16 00:24:35 +00:00
Aaron Giles
cff1004165 Pass 2 of struct modernization. 2012-09-15 22:30:30 +00:00
Aaron Giles
ab97dc30ef First pass at modernizing struct definitions. 2012-09-15 21:47:30 +00:00
Miodrag Milanovic
52fda4111b Use proper macro for devices (no whatsnew) 2012-09-15 09:18:45 +00:00
mahlemiut
4599f17a75 (MESS) gfxultra: Very basic implementation of the linedraw register, enough to pass the BIOS' test. (no whatsnew) 2012-09-14 23:11:45 +00:00
Wilbert Pol
a9c3f10842 (MESS) Fixed listxml crash (nw) 2012-09-14 18:50:45 +00:00
Curt Coder
aed1c5bf74 Rewrote the SAA5050 Teletext character generator. Removed saa505x.c which was used by bbc.c, and refactored all drivers to use the new implementation. [Curt Coder] 2012-09-14 16:37:26 +00:00
Miodrag Milanovic
0560dc2b5f Fixed remaining regressions (nw) 2012-09-14 10:12:35 +00:00
mahlemiut
1303a88347 (MESS) gfxultra: Fix for blank screen after starting MS-DOS Editor or QBasic. (no whatsnew) 2012-09-14 06:16:55 +00:00
Sandro Ronco
28f35dced5 (MESS) Fixed gbcolor regression. (nw) 2012-09-14 01:23:07 +00:00
Sandro Ronco
6590b2db63 (MESS) fixed n64 regression. (nw) 2012-09-13 19:20:48 +00:00
Sandro Ronco
bf5ff16a72 (MESS) fixed kc85_3 regression. (nw) 2012-09-13 17:10:21 +00:00
Curt Coder
0af1f7acdc (MESS) Removed palette access. (nw) 2012-09-13 14:32:24 +00:00
Curt Coder
6ae7e2b833 (MESS) Removed palette access. (nw) 2012-09-13 14:11:53 +00:00
Curt Coder
42136bec16 (MESS) pc8001: Fixed colors again. (nw) 2012-09-13 14:11:12 +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
Miodrag Milanovic
af9a5e817d moved constructor of state classes into .h file (no whatsnew) 2012-09-13 07:50:33 +00:00
mahlemiut
f2a79b9dca (MESS) x68k_scsiext: Fixed 'Cannot find required device' error. (no whatsnew) 2012-09-13 06:23:28 +00:00
Curt Coder
c76629afd4 (MESS) pc8001: Fixed colors. (nw) 2012-09-12 21:22:30 +00:00
Miodrag Milanovic
99c536be34 removed local macros since macros with same name but different syntax will be used in general (no whatsnew) 2012-09-12 17:34:06 +00:00
Curt Coder
e634c5b4e5 (MESS) Death to palettes. (nw) 2012-09-12 17:09:38 +00:00
Curt Coder
6ca3d41fb2 (MESS) cbmb: Added PLA dumps. [Edward Shockley] 2012-09-12 17:05:36 +00:00
Curt Coder
6c900062de (MESS) Cleanup. (nw) 2012-09-12 17:04:24 +00:00
Aaron Giles
c9e2a03013 AM_BASE_LEGACY breathes its last. 2012-09-12 17:03:17 +00:00
mahlemiut
b13f9dcd4a Forgot to update the makefile... (no whatsnew) 2012-09-12 13:34:04 +00:00
mahlemiut
ca89e7e0e6 (MESS) Added preliminary ATi Graphics Ultra support
(MESS) svga_s3/gfxultra: Added vector line drawing and short stroke vectors.
2012-09-12 13:32:49 +00:00
Aaron Giles
8fa9cb845e More AM_BASE_LEGACY removal. 2012-09-12 09:44:42 +00:00
Aaron Giles
dbf2cb905a Kill off some AM_BASE_LEGACYs. 2012-09-12 08:52:08 +00:00
Aaron Giles
1e8d50a5d0 Get rid of devtag_reset macro. 2012-09-12 07:35:02 +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
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
Aaron Giles
0aa418e85b In device_state_interface, rename state() to state_int()
and set_state() to set_state_int() for consistency.
Update all callers. Also add set_pc() helper and updated
all callers to use that instead of set_state_int(STATE_GENPC)
[Aaron Giles]

Added device_t::state() method to get the state interface.
Added redundant device_state_interface::state() method to
catch redundant use of it. [Aaron Giles]

Removed cpu_get_reg() and cpu_set_reg() macros in favor of
using the above methods. [Aaron Giles]
2012-09-11 15:58:04 +00:00
Aaron Giles
6d8c3c9f2d Don't use safe_pc[base] when you already have a
resolved device_state_interface. Added redundant
methods to device_state_interface to generate
errors when this is done.
2012-09-11 15:16:43 +00:00
Curt Coder
1df58104fe Generalized the PLS100 into a PLA device of variable amounts of inputs/outputs/terms. [Curt Coder] 2012-09-11 14:30:18 +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
Olivier Galibert
e5bbf53153 oops (nw) 2012-09-11 04:42:29 +00:00
mahlemiut
0d88e370c6 Fix GCC 4.4 compile. (no whatsnew) 2012-09-10 23:51:07 +00:00