Commit Graph

17837 Commits

Author SHA1 Message Date
Zsolt Vasvari
772311642a Removed unneeded pen lookups.
Some code formatting clean-up.
2008-03-18 08:34:01 +00:00
Roberto Fresca
dc4065e1b2 Added Pot Game (italian), recent dumped in Intel hex format ;-) by f205v.
Updated technical notes.
2008-03-18 06:53:24 +00:00
Aaron Giles
9c74429866 01440: mazingar, agallet: Terrible slow down in some scenes.
Removed weird use of color table in favor of a direct palette
map. It is still a weird abuse of color, but at least it is
done internally and doesn't have the terrible slowdown behavior.
2008-03-18 04:55:46 +00:00
Zsolt Vasvari
59300d2fd3 Fixes crash 2008-03-18 04:31:18 +00:00
Nicola Salmoria
23a0601055 Alpha Denshi major update
This is still WIP bug I've been working on it for sveral weeks and I want to get it out before leaving for holidays.

- Fixed Alpha 8201/830x MCU simulation.
  - all hacks from the equites driver removed
  - fixed equites restart position after going underground
  - fixed hvolume, splndrbt 2 players
  - removed hacks from exctsccr2
  - fixed CPU gameplay in shougi

- Gekisou promoted to working

- added dump of Alpha 8201 MCU to games that use it (the ROM isn't used yet, HMCS44 CPU core needs to be written first)

- major cleanup of the mess in equites.c:
  - many thanks to Corrado Tomaselli for precious hardware info.
  - implemented bg perspective scrolling using PROMs
  - fixed sprite flip & disable
  - fixed bg color
  - converted bg to tilemaps
  - fixed fg banking
  - fixed screen flip
  - removed meaningless banking of player inputs
  - added UI adjuster for MSM5232 frequency
  - MSM5232 volume control

- fixed MSM5232 noise LFSR formula (done by Jarek Burczynski; thanks to Corrado Tomaselli for samples)

- changed MSM5232 emulator to output channels separately

- added output of SOLO channels to MSM5232 emulator.

- mametesters bugs fixed:
  - 00217 splndrbt: On boot the pcb displays a clean light blu screen while in mame there is a black road. 
  - 00220 splndrbt: Concerning the gfx, on the pcb the background is not linear as shown in mame.
  - 00223 splndrbt: On the first level when you pass the asteroid belt the star road should be light blue instead of black like mam 

- fixed champbas inputs

- merged talbot with champbas, some driver clenaup

- fixed shougi inputs

- switched exctsccb to use the correct gfx ROMs (matches screenshot found in 01058 exctsccb: Exciting soccer bootleg should be placed in champbas.c.)

- fixed sprite bpp in exctscrr, removed the horrible hacks that were used to fix colors and transparency.

- fixed sound clipping in exctsccr
2008-03-17 19:07:23 +00:00
Aaron Giles
1e3c411a46 Fix 01531: polygon-based drivers: winwork.c memory leak 2008-03-17 17:04:24 +00:00
Aaron Giles
e4e17a4fcd Fix 00150: alpinr2b, alpinesa : Assertion with -debug 2008-03-17 16:51:19 +00:00
Aaron Giles
e499ad86e7 Fix 01462: [Save/Restore] atarimo_render-based drivers:
Crash when loading an autosave save state.

Removed excessive dirty tracking. This creates a bit more
work on each update, but gets rid of some dodgy logic.

Added typedefs for 'struct xxxx' to simply 'xxxx'.
2008-03-17 16:39:18 +00:00
Aaron Giles
91bc82c487 Better multisession fix. Reverted previous change (1002) and simply
initialize the digital joystick state in input_port_init().
2008-03-17 16:36:26 +00:00
Aaron Giles
ec550fa07b Fixed pick_best_mode in both d3d and ddraw cases to manually extract
refresh information from the device's inline_config, since this is
done before the screen devices are start. Fixes 01491: switchres 
causes Exception at EIP=009413BF: ACCESS VIOLATION.

Also, fixed render_target_get_minimum_size() to return nominal values
if no screens are found.
2008-03-17 15:50:12 +00:00
Aaron Giles
75056eb1b5 Moved per-screen initialization into DEVICE_START and per-screen cleanup
into DEVICE_STOP.
2008-03-17 15:38:18 +00:00
Aaron Giles
7a0931f08d Fix chicken and egg problem with device_start callbacks.
Added DEVINFO_INT_TOKEN_BYTES, which is queried before device
startup. It should return the size of the structure that will
be hung off of device->token. It must not return 0.

Changed the core device interface to allocate and zero a block
of memory the size of DEVINFO_INT_TOKEN_BYTES before calling
device_start. The pointer to this memory is already attached
to device->token at the time device_start is called.

The primary motivation for this is to allow the device_start
function to make internal calls and pass the device_config *
around as if the object were fully constructed. Since the token
is used to indicate whether or not a device is live, this makes
the device "live" at the time device_start is called rather
than after it completes.
2008-03-17 15:23:07 +00:00
Zsolt Vasvari
c7b072564c Restores the previous verifyroms() code. Left verifysamples() untocuhed for now. 2008-03-17 15:21:07 +00:00
Aaron Giles
ce011916b4 Made it a fatalerror to registr save state callbacks at the wrong time
if the current driver claims to support save states.
2008-03-17 14:45:27 +00:00
Nathan Woods
6a7c3d1589 Added a crosshair_set_screen() to allow drivers to control which screen(s) on
which crosshairs are displayed.
2008-03-17 12:47:22 +00:00
Nathan Woods
e7508371ed Fix for screenless (and deviceless) systems - this fix assumes that it is
illegal to pass a NULL listhead to device_list_first() and that the assert there
should stand.  Please review and correct if appropriate.
2008-03-17 10:52:16 +00:00
Zsolt Vasvari
c031746599 Fix: 01538: -verifysamples: Inconsistent handling of missing sample sets
I applied the same fix to verifyroms.  Now a status message is printed for every sample/ROM set regardless if an individual or all the sets are audited.
2008-03-17 09:19:11 +00:00
Zsolt Vasvari
9eb278b911 Fixed memory leak 2008-03-17 08:56:10 +00:00
Zsolt Vasvari
650f7af6be Corrects some game titles:
Sea Wolf II -> Seawolf II  (original is still Sea Wolf, as per the flyer)
Professor PacMan -> Professor Pac-Man
Demons and Dragons -> Demons & Dragons
2008-03-17 05:27:07 +00:00
Zsolt Vasvari
12546a8559 From Mr.Do: Adds Gorf internal artwork 2008-03-17 05:15:37 +00:00
Zsolt Vasvari
255698f927 Fixes the top screen 2008-03-17 05:03:31 +00:00
Zsolt Vasvari
b78ff83cd0 Fix: 01529: AICA memory leak 2008-03-17 00:58:24 +00:00
Couriersud
8bb4a10f0b Fix: 01511: batman: Fails to load autosave state
* fixes late creation of timer which caused 0-length save states
2008-03-17 00:50:48 +00:00
Zsolt Vasvari
c230321cdc The on-screen "Reset by watchdog" message only appears in debug builds 2008-03-17 00:44:00 +00:00
Zsolt Vasvari
36d69f3b61 Fix: 01535: usclssic: Access Violation with -debug
Fix: 01536: uballoon: Access Violation with -debug
2008-03-17 00:40:09 +00:00
Zsolt Vasvari
14761df1e4 Fixes Air Buster bootleg from reseting because of the watchdog 2008-03-17 00:15:30 +00:00
Zsolt Vasvari
7fb7afb780 - Changes exidy440_sound_command back to "UINT8." Since it's used by both 8-bit and 16-bit system,
the automatic allocation is not worth it if you need an ugly UINT16 ** cast.
- Removed deprecat.h from some of the files here
2008-03-17 00:09:16 +00:00
Nathan Woods
00f4374501 Added running_machine* parameter to MESS-specific calls 2008-03-16 22:46:56 +00:00
Couriersud
6dd3c4ae7c Fix: 01465: topgunnr: Crashes
* exidy440_sound_command had been changed from UINT8 to UINT8 * 
  and was consequently pointing to NULL / Nirwana land.
2008-03-16 17:31:14 +00:00
Zsolt Vasvari
b17efbc93b Removes no longer needed code 2008-03-16 15:36:06 +00:00
Zsolt Vasvari
0b4e370a73 Fix: 01534: ajax, ajaxj, typhoon: Access Violation with -debug 2008-03-16 15:34:30 +00:00
Zsolt Vasvari
5cd9ca723a Fix: 01019: Various Drivers: List of drivers with sound clipping 2008-03-16 11:05:31 +00:00
Pierpaolo Prazzoli
0895d395a9 Added missing prototype for get_info function. It didn't compile. 2008-03-16 10:43:36 +00:00
Curt Coder
23624eb5b0 Added Guru-readme. 2008-03-16 09:38:48 +00:00
Zsolt Vasvari
cb3fffef61 Missing semicolon -- how did it even compile? 2008-03-16 04:34:19 +00:00
Zsolt Vasvari
c64886cc69 Fix: 01499: Various Drivers: Launching games from in-game [TAB] menu 2-3 times in a row throws access violation.
My fix is a bit heavy handed.  The real access violation happens in update_digital_joysticks() after the comment "read all the associated ports" and before the next comment
2008-03-16 04:31:40 +00:00
Zsolt Vasvari
c39f072404 Fix: 01453: troangel, newtangl: Crashes 2008-03-16 03:55:23 +00:00
Roberto Fresca
caf9dbdef3 - Added proper inputs to jolyc980.
- Added temporary patch to allow bypass the "code" screen in jolyc980.
 - Updated technical notes.
2008-03-15 15:30:03 +00:00
Zsolt Vasvari
c66bb0adc5 Fix: 01530: Various Drivers: bitmap memory leaks 2008-03-15 14:14:03 +00:00
Zsolt Vasvari
16e18f24af Fixed: 01508: most vector-based drivers: Assertions 2008-03-15 09:32:24 +00:00
Zsolt Vasvari
f61e037749 Fix 01526: futflash, laserbas, laserbsa: Assertion
Fix 01524: btoads: Assertion 
Fix 01523: nkdodge, nkdodgeb, spdodgeb: Assertion 
Fix 01522: all ddragon.c drivers: Assertion 
Fix 01528: pzlestar, sexyboom: Assertion 
Fix 01527: all meritm.c drivers: Assertion
2008-03-15 03:54:44 +00:00
Zsolt Vasvari
3512bc695d Changes MDRV_TIMER_DURATION to MDRV_TIMER_START_DELAY
Renames duration to start_delay in timer_adjust_periodic() as well
Moves MDRV_ macros into proper header files
2008-03-15 03:13:57 +00:00
Nathan Woods
81fcbd9a2c MESS-specific changes 2008-03-15 00:14:32 +00:00
smf-
5d52f08b7e fixed collision of TIMER define 2008-03-14 21:53:19 +00:00
smf-
a0afb4c516 fixed collision of TIMER define 2008-03-14 21:50:22 +00:00
smf-
b4418ff847 fixed unused variable warnings when assert is not enabled. 2008-03-14 21:35:36 +00:00
Zsolt Vasvari
d4893e2535 Makes suggested changes to MDRV_TIMER macros. Hasn't moved them yet. 2008-03-14 15:13:46 +00:00
Zsolt Vasvari
0d06d94153 Fix 01500: all astrocde.c drivers: assertion
Fix 01506: all ataxx.c drivers: Assertion 
Fix 01504: all leland.c drivers: Assertion 
Fix 01501: all m107.c drivers: assertion 
Fix 01509: backfire, backfira: Assertion 
Fix 01503: sidearjp, sidearmr, sidearms: Assertion 
Fix 01507: all naomi.c drivers: Assertion
2008-03-14 14:39:32 +00:00
Aaron Giles
716d0a4f2a Fixes:
01517: all atarigt.c drivers: Assertion 
01516: all atarigx2.c drivers: Assertion 
01515: all atarig42.c drivers: Assertion 
01514: all cyberbal.c drivers: Assertion
2008-03-14 13:41:44 +00:00
Zsolt Vasvari
725d2646fd Fix: 01512: beathead: Assertion
Fix: 01505: all vicdual.c drivers: Assertion
2008-03-14 12:46:13 +00:00