Commit Graph

26 Commits

Author SHA1 Message Date
Scott Stone
f5ede05a29 nes.c: fixed crash. m_maincpu is not always defined at the very beginning (nw) 2013-04-10 19:40:38 +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
Miodrag Milanovic
8b16204628 Made ppu use delegates instead of callbacks (nw) 2013-03-28 08:40:12 +00:00
Angelo Salese
41a4ac672c Added mahjong panel support to Famicom 2013-03-15 14:44:00 +00:00
Fabio Priuli
0e937ed6b4 (MESS) nes.c: shuffled around the loading code (very preliminary step towards slotification).
also, temporarily made famicom driver to only support disks.
2013-02-11 10:13:14 +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
3190293a0c modernized some pre/postload calls (no whatsnew) 2013-01-31 15:49:00 +00:00
Fabio Priuli
1f7561cc10 (MESS) nes.c: tagmap cleanups. (nw)
and I know that setting up ports in machine_start is not the approved way, but in this way the changes do not interfere 
with my other local changes. I will move them later in the proper place, but this should be enough to kill tagmap lookups.
2013-01-26 14:44:59 +00:00
smf-
1940866c70 output of new srcclean changes that are relatively small [smf] 2013-01-11 19:43:14 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Miodrag Milanovic
436d2f757f Cleanups and version bump 2012-12-17 07:22:20 +00:00
Nathan Woods
42b6aa8507 [NES MESS] Minor cleanups 2012-11-25 14:40:31 +00:00
Miodrag Milanovic
3679f744c2 modernization or timer callbacks part 2 (no whatsnew) 2012-09-24 14:43:01 +00:00
Fabio Priuli
2dbf48bf91 (MESS) nes: fixed regression in the famicom keyboard, introduced at some point in mid-2011. [Fabio Priuli] 2012-09-24 06:18:05 +00:00
Curt Coder
5f92cdcadf (MESS) Compile fix. (nw) 2012-09-23 10:22:01 +00:00
Fabio Priuli
326c860ac7 (MESS) nes.c: moved bankswitch functions into nes_carts_state. no whatsnew.
among other things, this  allowed to remove around a thousand of machine() parameters 
passed to re-get the state class at each bankswitch operation. readability says thanks.
2012-09-23 09:18:37 +00:00
Fabio Priuli
d274a3b3fa (MESS) nes.c: moved cart class where it actually belongs. no whatsnew.
eventually, nes_mmc and its pieces (nes_pcb, nes_ines & nes_unif) will contain a cart slot device and allow for
things like on-cart sound chips and eeprom devices to be properly emulated
2012-09-22 15:25:56 +00:00
Fabio Priuli
85f3612057 nes.c: partially split cart variables from the system ones. no whatsnew. 2012-09-21 16:41:12 +00:00
Fabio Priuli
7d021d4d51 nes.c: modernized the driver by moving most code into the class, work by Micko. no whatsnew. 2012-09-21 15:23:07 +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
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
17e66e39fd Clear out remaining global inlines in diexec.h. 2012-09-12 06:07:51 +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
Oliver Stöneberg
8cf19f400c added missing \n to remaining fatalerror() calls (no whatsnew) 2012-09-09 07:08:47 +00:00
Miodrag Milanovic
7285b359d2 Merge of MESS sources (no whatsnew) 2012-08-21 10:41:19 +00:00