Commit Graph

23696 Commits

Author SHA1 Message Date
Michael Zapf
8027bf36c6 (MESS) ti99: Fixed a copy/paste error, enabling the second UART. 2013-07-20 23:28:24 +00:00
Michael Zapf
9eea7f7093 Fixed stuck INT line after resetting. 2013-07-20 23:27:23 +00:00
David Haywood
fc5730f8d0 let double wings share the common protection handlers for ones we already know from other games, might make things worse due to the missing ones thos.. (nw) 2013-07-20 22:49:00 +00:00
David Haywood
62fe409324 refactor deco104 to pump most games through a standard function, a function that will eventually be much better once Charles gets his hands on a board :-) 2013-07-20 22:30:26 +00:00
Aaron Giles
df346d7397 Expand read_line to all 0s or all 1s; fixes cases where read_line
(specifically vblank) callbacks are mapped to multiple bits.
2013-07-20 22:06:49 +00:00
Scott Stone
286cfe8b08 Fix for seiham by Osso (nw) 2013-07-20 21:52:07 +00:00
Aaron Giles
da8170e0af Memory system: added endianness to the memory_share class.
Tilemap system: numerous changes:

 * Moved remaining legacy macros and typedefs to tilelgcy.h. This revealed
   a few drivers mixing and matching modern & legcy, which have now been 
   fixed.

 * Changed get info callback signature to no longer pass the user_data
   pointer, but instead pass a reference to the tilemap object itself.
   Updated those few drivers using user_data to pull it out of the
   tilemap object with the new user_data() getter method.
 
 * Changed get info and mapping callbacks to be device_delegates so that
   they can be described at config time.
 
 * Added tilemap_memory object that is used internally for reading/
   writing to memory that backs a tilemap. This object is used to track
   a memory pointer that backs tilemap memory, and also is designed to
   transparently handle all bus width and endianness associated with
   reading and writing data in a tilemap.
   
 * Incorporated two tilemap_memory objects (basemem and extmem) into the 
   tilemap object and added accessors to them, as well as read/write 
   handlers for reading/writing to entries stored in the memory. This
   means that tilemap get info callbacks can now easily read data out of
   the tilemap in a generic way.
 
 * Rejiggered the initialization sequence for tilemap objects so that
   the tilemap_manager is not required to be present at instantiation.  
 
 * Created a new tilemap_device, which can be used to declare a tilemap
   in the machine config, and which also is a tilemap object itself.
   The tilemap device will look for shared memory regions called
   "<tag>" and "<tag>_ext" and automatically plug them into the tilemap.
   The device also provides write handlers that can be used to write
   to the tilemap memory and mark tiles dirty, saving the need for each 
   driver to write their own.
   
Device system: moved required/optional device finders to a new header
devfind.h.

Atari drivers: removed all playfield and alpha memory and tilemap
variables, apart from those needed by atarivc-using games (this will
become a device in a future update). Updated all Atari 16-bit drivers to
use the new tilemap_device instead, which provides all the needed
functionality in a more generic way.
2013-07-20 21:46:00 +00:00
David Haywood
9f6786631f bring the double wings addresses properly into line too (nw) 2013-07-20 20:10:49 +00:00
Scott Stone
e4fbb0ea8f Fixed some unknown DIPs and corrected others from manual examinations for lethalj.c [Bad A Billy] 2013-07-20 20:08:46 +00:00
Scott Stone
793c546b06 QS1000 sound core issue now not a mandatory include which allows tiny builds to be built without it. [MAMESICK] 2013-07-20 20:05:47 +00:00
Scott Stone
62b5a45652 a7800.c - XM/XBoard POKEY support. 'Bentley Bear - Crystal Quest' & 'Donkey Kong XM' now work, while maintaining support for original library titles, Commando and Ballblazer. [Robert Tuccitto] 2013-07-20 20:03:09 +00:00
David Haywood
75097f3f2d make caveman ninja read addresses closer to rohga / wizard fire etc. 2013-07-20 19:55:09 +00:00
Scott Stone
c22850ed46 Split up the video devices contained in taitoic.c. [Osso] 2013-07-20 19:20:26 +00:00
Scott Stone
c7d90c1206 Modernized the Beezer sound device. [Osso] 2013-07-20 19:06:28 +00:00
Scott Stone
f02b5d78f2 CPS-1 update [Team CPS-1]:
* Verified dinoj ROMs labels and locations,
  added documentation and pcb infos to video\cps1.c
* Added CK22B.1A PAL to chikij
* Added a note to wofr1 and wofa since they
  could not be original but patched sets
  coming from desuicided boards
2013-07-20 18:52:09 +00:00
David Haywood
7a87eb6990 shuffle dblewings address bits around too (nw) 2013-07-20 18:00:54 +00:00
Angelo Salese
255430c2d9 Fixed dip-switches in Street Fight driver [Angelo Salese] 2013-07-20 17:55:45 +00:00
David Haywood
8b57529eb9 switched the wizard fire reads around too so that they are more correct and align with rohga. 2013-07-20 17:01:05 +00:00
David Haywood
1a521a3f2f start reworking some of the 104 bits to make things easier later down the line 2013-07-20 16:10:21 +00:00
Oliver Stöneberg
fa624a0c52 fixed another array out-of-bound access in src/mame/video/ppu2c0x.c (nw) 2013-07-20 14:00:13 +00:00
Oliver Stöneberg
9499e3f51d added assert to src/mess/drivers/ip22.c to indicate array out-of-bounds accesses (nw) 2013-07-20 13:54:01 +00:00
Oliver Stöneberg
7da9cc8ee8 added asserts to src/mame/machine/megavdp.c to indicate array out-of-bounds accesses (nw) 2013-07-20 13:53:26 +00:00
Oliver Stöneberg
98bcb7c341 fixed array out-of-bounds access in src/mess/machine/md_rom.c for chinf3 (nw) 2013-07-20 13:41:13 +00:00
Michael Zapf
e527b17806 (MESS) ti99/8: Speech ROM dumps verified with a real (!) system. 2013-07-20 13:07:48 +00:00
Phil Bennett
98679ba4e7 i86 fixes to get TX-1 and Buggy Boy working again -nw- 2013-07-20 10:07:17 +00:00
Oliver Stöneberg
4f0eee38c7 fixed array out-of-bounds access in ppu2c0x_device::draw_sprites() (nw) 2013-07-20 10:03:53 +00:00
Oliver Stöneberg
dbefcabe13 removed debugging assert (nw) 2013-07-20 09:46:44 +00:00
Oliver Stöneberg
bc352b3329 fixed array out-of-bounds accesses in src/mess/machine/sns_rom.c (nw) 2013-07-20 09:42:13 +00:00
Oliver Stöneberg
da88cbfabd fixed array out-of-bounds accesses and uninitialized members in src/mess/audio/upd1771.c (nw) 2013-07-20 09:32:42 +00:00
mahlemiut
d2405e2145 de_2: Made CPU board a device, and hooked it up to all drivers in de_2.c. 2013-07-20 09:23:15 +00:00
Brian Troha
bdec93724a meritm.c: Maintain a standard key layout using standard MAME macros. :-) - NW 2013-07-20 04:07:15 +00:00
David Haywood
2c0623dde5 remove the 'UNEMULATED PROTECTION' flag from Fighters History, for the first time ever you can actually play it until the end (previously the last 2 bosses would glitch because the protection results were missing) [Charles MacDonald, David Haywood]
(need to look at the video mixing bug causing bad BG colour in test mode still)
2013-07-20 01:05:33 +00:00
David Haywood
6a0b8ceba4 used info from Charles to fill in some missing remaps on IO ports 2013-07-20 00:32:18 +00:00
Michaël Banaan Ananas
524310cb17 nvm 2013-07-19 23:47:26 +00:00
David Haywood
a0dbfe6b75 start hooking fighters history up to it... 2013-07-19 23:42:01 +00:00
David Haywood
497d2efb73 a magic address xor means Nitro Ball can work with this code too.. and almost certainly Fighters History too (need to hook it up) 2013-07-19 22:49:56 +00:00
Brian Troha
5b55cac1c2 thepit.c: Add Round-Up dipswitch locations - NW 2013-07-19 22:40:46 +00:00
Oliver Stöneberg
d1c0719ac1 fixed buffer overflow in src/mess/machine/intv.c detected by AddressSanitizer (nw) 2013-07-19 21:41:13 +00:00
David Haywood
f84fff614e kill some old code (nw) 2013-07-19 21:31:25 +00:00
David Haywood
e5541cf61b collapse bitswaps (fighters history out ports now use the same swap as funky jet) also reformat before further work (nw) 2013-07-19 21:26:44 +00:00
David Haywood
9b0f5af170 moved the bit reordering out of 'core' function and into the per-game ones for nitrobal and fighters history. (nw) 2013-07-19 19:56:34 +00:00
David Haywood
b6aad97f58 hopefully keep tafoid happy until I resolve this with proper devices ;-) 2013-07-19 19:25:35 +00:00
David Haywood
c036e61dfd re-order fighters history / nitroball read in the same way, this makes the read ports consistent with robocop 2 and lemmings... although I can't find a connection with shanghai on the read addresses, seems like an alt mode maybe? 2013-07-19 19:14:03 +00:00
David Haywood
bbd4f336c2 switch around the address bits on output port handling on the fighters history / nitro ball type
this brings special sound/xor/mask ports to the same as shanghai etc. and also keeps values in the 0-127 range.  this is most likely the unscrambled state based on tests.

still need to investigate the read side of it.

should be no functional change.
2013-07-19 18:33:29 +00:00
Scott Stone
42b7ff9d41 Modernized the k001604 video device. [Osso] 2013-07-19 17:29:38 +00:00
David Haywood
9e24aa5b04 move the double wings protection sim to the 104 file - no functional change. (nw) 2013-07-19 16:58:00 +00:00
David Haywood
54f8780e70 decoprot -> deco104 2013-07-19 16:42:34 +00:00
David Haywood
8bfd144df4 move this too (nw) 2013-07-19 15:50:28 +00:00
David Haywood
f6b13b94ba shift some more bits around for further studying (nw) 2013-07-19 15:43:29 +00:00
Oliver Stöneberg
2038ce82ad fixed ec1841 assertion (nw) 2013-07-19 15:18:55 +00:00