Commit Graph

15 Commits

Author SHA1 Message Date
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