Commit Graph

8556 Commits

Author SHA1 Message Date
Brian Troha
a80dffd0fb Corrected names in the 1943.c driver
1943.c: Corrected rom names [Bill D, The Dumping Union]
2010-04-08 03:20:53 +00:00
Fabio Priuli
e0d0393cee snes.c: Fixed small problem with vflipped large tiles. No whatsnew. 2010-04-07 19:56:21 +00:00
Fabio Priuli
4f03a65077 snes.c: proper fix to the DMA issue with S-DD1 games [Fabio Priuli] 2010-04-07 17:51:09 +00:00
Angelo Salese
f9f7c8ffd8 Temporary made cycle stealing less aggressive, no whatsnew 2010-04-07 16:25:13 +00:00
Fabio Priuli
bd07cb544c snes.c: temporarily reverted some dma code to allow S-DD1 games to boot again in MESS [Fabio Priuli] 2010-04-07 15:36:26 +00:00
Angelo Salese
a66c05e720 new clones
----------

Street Fighter (US, set 2) (protected) [Bill D & the Dumping Union]
2010-04-07 12:42:45 +00:00
Jonathan Gevaryahu
b97a24e34a Escape from the planet of the robot monsters uses a TMS5220C, verified from schematics and looking at videotopia's machine pcb in 2008. no whatsnew. 2010-04-07 06:47:08 +00:00
Angelo Salese
d1a69519f1 Fixed integer overflow, no whatsnew 2010-04-07 01:31:05 +00:00
Angelo Salese
4e18ddef23 Basic implementation of the memory map master cycle steals in the SNES driver [Angelo Salese] 2010-04-07 01:18:35 +00:00
Angelo Salese
340ad68dfc Basic implementation of the DMA master cycles steals in the SNES driver [Angelo Salese] 2010-04-06 23:32:43 +00:00
Angelo Salese
13c095c03c First step in supporting master cycle delays in the SNES driver [Angelo Salese] 2010-04-06 23:04:22 +00:00
Fabio Priuli
d48e9a885f Readded info.c lines which got removed/changed by mistake in the previous commit. No whatsnew. 2010-04-06 09:50:37 +00:00
Fabio Priuli
e197630a68 info.c: added keyboard and keypad controls to xml output [Fabio Priuli] 2010-04-06 08:06:18 +00:00
Wilbert Pol
39ba484e7b uPD7801: Fixed the MOV MC,A instruction. 2010-04-05 18:53:22 +00:00
Olivier Galibert
2758f10e8c namcos23: Found "force poly to front" bit [O. Galibert] 2010-04-05 17:31:05 +00:00
Fabio Priuli
d46e7a779b skyarmy (skyarmy.c) [stephh] :
- Fixed Dip Switches and Inputs (after verification of the Z80 code)
 - Updated memory map to partially handle screen flipping


scobra, scobrase, scobras, scobrab, suprheli, moonwar, moonwara,
armorcar, armorcar2, tazmania, anteater, calipso, losttomb, losttombh,
spdcoin, superbon (galaxian.c driver + galdrvr.c)  [stephh] :
 - Fixed Dip Switches and Inputs (after verification of the Z80 code)
2010-04-05 17:02:29 +00:00
Wilbert Pol
3e42c61c9c Small MESS-only listxml dtd update. No whatsnew. 2010-04-05 16:52:25 +00:00
Fabio Priuli
8e22365b5c Added a new input type IPT_KEYPAD for MESS, to distinguish between fully featured keyboards and keypad controllers [Fabio Priuli] 2010-04-05 15:30:00 +00:00
Angelo Salese
63b784570e A bunch of small bugfixes, no whatsnew 2010-04-04 20:04:55 +00:00
Wilbert Pol
6f657bc29e Allow MESS to do additional work for -romident.
Added MESS command -listsoftware.
No whatsnew.
2010-04-04 14:55:01 +00:00
Angelo Salese
5da4dfa346 Added boundary checks for MVN and MVP opcodes when in M mode in the G65816 CPU core [Angelo Salese] 2010-04-04 14:41:35 +00:00
Wilbert Pol
e147fe18dd Some MESS-only changes. No whatsnew. 2010-04-04 14:32:03 +00:00
Olivier Galibert
2cafff0619 Duh. 2010-04-04 11:03:08 +00:00
Olivier Galibert
a032c146f6 namcos23: Push the zclip a little to avoid poly.c issues for now. [O. Galibert] 2010-04-04 11:01:40 +00:00
Olivier Galibert
b6eb23c7bc poly.c: Make the parameter interpolation more robust [O. Galibert]
The code now computes start/dpdx/dpdy to start at (0, 0) of the bitmap
and not at the polygon origin.  It's a more precise when the polygon
is a tad big, and a lot more precise when the coordinates are big
enough not to fit in an int.

The code is still somewhat broken when the coordinates do not fit in
an int.  I'll have to see about that later.  I can ignore it for now
by z-clipping a little further.

The subpixel correction is missing, I wasn't sure if we needed to add
or substract 0.5*(dpdx+dpdy) to start.  And I don't really know how to
test for it either.
2010-04-04 10:59:57 +00:00
Ryan Holtz
269a16687f Improved Rectangle drawing in the RDP core. [Harmony] 2010-04-03 23:08:53 +00:00
R. Belmont
5a1cca0de5 Restore variable removed by 8757 which is important for my debugging (no credit) 2010-04-03 22:40:19 +00:00
Ryan Holtz
041cb47232 Re-fixing some cppcheck issues. No whatsnew. 2010-04-03 21:06:43 +00:00
Ryan Holtz
ceccc811e5 Disabled DRC versions of certain vector load/store operations in the
RSP core in order to avoid geometry issues. [Harmony]
2010-04-03 21:03:20 +00:00
Ryan Holtz
f397bcd6d2 Fixed some massive texturing issues in the new Nintendo 64 / RDP renderer. [Harmony] 2010-04-03 21:00:47 +00:00
Fabio Priuli
3b0cb91d98 Disabled unused variables and code based on cppcheck and VS2008 Code Analysis [Oliver Stoneberg] 2010-04-03 16:31:11 +00:00
Angelo Salese
435dedd3fa Corrected I/O timer, no whatsnew 2010-04-03 15:45:49 +00:00
Angelo Salese
25cd094a47 Moved the i/o update status inside a timer in the SNES driver [Angelo Salese] 2010-04-03 15:25:27 +00:00
Miodrag Milanovic
983b3e482a [8080/8085 CPU] Fix of mametester bug 3227. [Robbbert] 2010-04-03 12:30:52 +00:00
Phil Bennett
7088601e09 New clones added
----------------
Super Football Champ (Ver 2.4O) [Caius]
2010-04-03 11:20:03 +00:00
Olivier Galibert
7eddf047ee namcos23: First stab at z-sorting [O. Galibert] 2010-04-03 09:53:40 +00:00
Olivier Galibert
d0b704dbb7 namcos23: Fix the zoom value [O. Galibert] 2010-04-03 09:51:56 +00:00
Fabio Priuli
fd7120a48e midtunit.c: Fixed TMS340 parameter [Alex Jackson] 2010-04-03 04:26:55 +00:00
Roberto Zandona
95f8cbc6f6 removed wrong opcode and used the right one 2010-04-02 21:55:23 +00:00
mariuszw1
84e11f8dca New games added as NOT_WORKING
------------------------------
Print Club Pokemon B [Guru]
2010-04-02 21:27:49 +00:00
mariuszw1
fa59bc9632 VC2008 compile fix (no whatsnew). 2010-04-02 20:22:53 +00:00
Angelo Salese
a5aaebdd88 Clear pending IRQ if the IRQ enable flag is disabled in the SNES driver [Angelo Salese] 2010-04-02 17:56:30 +00:00
Angelo Salese
a5a7c90161 By request, kludged dragoona too, no whatsnew 2010-04-02 13:33:55 +00:00
Ryan Holtz
6c362088d9 Applied some cppcheck fixes. [Oliver Stoneberg] 2010-04-02 06:07:12 +00:00
Ryan Holtz
537e76be82 Removing texture_rectangle_32bit and fill_rectangle_32bit to
hopefully generate a bug report which indicates any games using
the modes. [Harmony]
2010-04-02 05:53:51 +00:00
Fabio Priuli
93ecc1d425 not worth mention: snes.c: one more variable moved from snes_ram to the driver state 2010-04-02 05:36:18 +00:00
Ryan Holtz
b64d429b8e Reworked the entire Nintendo 64 renderer to be class-based. More
cleanup to follow. [Harmony]
2010-04-02 05:34:10 +00:00
Andrew Gardner
65415deec8 hng64: Fix sound ROM loading. [Andrew Gardner]
(This patch also includes a lot of whitespace cleanups,
 the removal of Aaron's MIPS MMU debugging comments,
 and the removal of a bunch of other comments that I'm sure I created and I'm sure are 
 no longer accurate)
2010-04-02 04:28:56 +00:00
Angelo Salese
21a6997b52 By request, kludged Dragoon Might JAA to boot, no whatsnew 2010-04-01 18:56:48 +00:00
Roberto Fresca
f6c52ca6ae Improvements to supdrapo.c driver [Roberto Fresca]
* Reworked inputs to match the standard poker inputs names/layout.
 * Hooked the payout switch.
 * Hooked a watchdog circuitery, that seems intended to reset
    the game and/or an external device.
 * Added machine start & reset.
 * All clocks pre defined.
 * Added ay8910 interfase as a preliminary attempt to analyze the unknown
    port writes when these ports are set as input.
 * Figured out the following DIP switches:
    Auto Bet (No, Yes).
    Allow Raise (No, Yes).
    Double-Up (No, Yes).
    Minimal Winner Hand (Jacks or Better, Two Pair).
    Deal Speed (Slow, Fast).
    Aces Type (Normal Aces, Number 1).
    Cards Deck Type (english cards, french cards).
    Max Bet (5, 10, 15, 20).
 * Added NVRAM support.
 * Reorganized and cleaned-up the driver.


New clones added
----------------
Super Draw Poker (set 2) [Roberto Fresca, Team Europe, Dumping Union]
2010-04-01 16:21:56 +00:00
Fabio Priuli
1cc9afcb33 not worth mention: snes.c: fixed DSP3 init 2010-04-01 12:17:28 +00:00
Phil Bennett
a5abe18896 Added correct ROMs to 'Dragon's Lair (Italian)' (dlital) [f205v] 2010-04-01 11:54:33 +00:00
Phil Bennett
e8914bb8c2 i386/NEC disassembler updates: [Alex Jackson]
* Made "MOV AL, offset" etc (opcodes A0-A3) properly indicate a segment override prefix.
 * Corrected the disassembly of various NEC-only instructions (mainly V25/V35-only instructions)
 * Changed CPUINFO_INT_MAX_INSTRUCTION_BYTES on i86 and NEC from 15 to 8.
2010-04-01 11:38:01 +00:00
Phil Bennett
cf2b600756 Gun output cleanups/hookups [Howard Casto]:
* drivers\othunder.c:  Changed Operation Thunderbolt output names to something more appropriate. (They were routed to LEDs.)
 * video\rastan.c:  Hooked up output for Operation Wolf.
 * machine\midwunit.c:  Hooked up outputs for Revolution X.
 * machine\midyunit.c:  Hooked up outputs for Terminator 2.
 * drivers\seta.c:  Hooked up outputs for Zombie Raid.
2010-04-01 08:59:44 +00:00
Angelo Salese
10b9b81ca0 new clones
------------

Ridge Racer (Full Scale, 1993-12-13, World) [tormod, Smitdogg, The Dumping Union] (not working, incomplete boardset)
2010-04-01 01:25:10 +00:00
Phil Bennett
83222207ed chihiro.c: Minor memory map update for running the BIOS [Samuele Zannoli] 2010-03-31 21:32:44 +00:00
Phil Bennett
3354dc342b i386+ core updates: [Samuele Zannoli]
* Added CR4 register
 * Added bswap instruction
 * Added support for 4MB pages
2010-03-31 21:25:15 +00:00
Angelo Salese
0a556ec1e6 new clones
----------

Touchmaster 8000 (v9.02 Standard) [Bill D., The Dumping Union]
2010-03-31 00:31:05 +00:00
Fabio Priuli
441dd4c811 ppu2c0x.c: added save states to NES PPU and performed some minor cleanups [Fabio Priuli] 2010-03-30 22:52:46 +00:00
Fabio Priuli
bf50c973a2 snes.c: fixed a SRAM size problem and moved PPU registers handling to video/snes.c [Fabio Priuli]
the latter change is the first step towards making SNES PPU a device, at last
2010-03-30 22:44:45 +00:00
Aaron Giles
d81beae782 Made input_device pointers non-volatile. Since we return pointers to them
in response to input_device_add(), ensure that the pointers don't change
after subsequent adds.
2010-03-30 13:50:38 +00:00
Fabio Priuli
32066d6cd7 snes.c wip: fixed reserved memory address read not returning open_bus; fixed a few add-on chip reads not returning open_bus [Fabio Priuli]
side-note: CX4_read should return open_bus as well in a few cases, but passing an address_space to the handler would require more changes than are worth right now (especially because no game needs it). It will be taken care of when I convert all add-on chip handlers to become read/write handlers...
2010-03-30 08:11:56 +00:00
Fabio Priuli
957387880a further snes.c wip: [Fabio Priuli]
- Fixed a bug in SPC7110 handlers (now Tengai Makyou Zero test reaches RTC tests and fails them, instead of getting stuck at MUL/DIV tests)
- Implemented very preliminary (and currently broken) SPC7110 RTC emulation
- Updated DSP2 handlers to better reflect Overload's docs (problem and fix actually found by byuu)
- Updated add-on chips handlers to reflect byuu's findings
2010-03-29 21:27:08 +00:00
Olivier Galibert
7ec65cbc92 namcos23: c361 fixes and address auto-increment [O. Galibert] 2010-03-29 21:04:57 +00:00
Brian Troha
ad495decc2 minor documentation update for Mini Golf - no whatsnew
minor whitespace clean-up
added motherboard pals to the sets that didn't have them
2010-03-29 17:55:11 +00:00
Fabio Priuli
3ebf3a2e92 superfx.c: added save states to the CPU [Fabio Priuli]
snes.c: moved some more variables to driver state, set a few addresses as open bus and slightly changed SuperFX handlers not to access SNES WRAM [Fabio Priuli]
2010-03-29 11:13:53 +00:00
R. Belmont
9d08284569 m680x0 FPU updates: [R. Belmont]
- BCD packed decimal now supported, including k-factor
- Improved FSAVE/FRESTORE including FPU reset when restoring a NULL frame
- FREM instruction supported
- Better disassembly of FPU instructions
2010-03-29 02:50:17 +00:00
Angelo Salese
613576c319 Fixed description 2010-03-29 01:27:39 +00:00
Angelo Salese
f1c9812b62 Heavily improved the slot 72 - poker game, it's now known to be actually Poker Monarch 2010-03-29 01:20:24 +00:00
Olivier Galibert
32eb94eb59 namcos23: Add 3D model scaling [O. Galibert] 2010-03-28 21:54:21 +00:00
Jonathan Gevaryahu
88c7fc638d more preparation for merge of tms51xx and tms52xx. no whatsnew. 2010-03-28 21:28:56 +00:00
Angelo Salese
2f0d3d3d25 Replaced Stocker dump with a good set [Kevin Eshbach]
Hooked up default NVRAM for Golly Ghost / Bubble Trouble [David Haywood]

clones
---
Moon Base (set 2) [jmurjr, D. Maeby, Charles MacDonald, The Dumping Union]
Vapor Trail - Hyper Offence Formation (World revision 3?) [f205v, Tirino73]
Cherry Bonus III (alt, set 2) [Anonymous]


new NOT WORKING games
---------------------
Lucky Boy / Poker 72 [David Haywood]
2010-03-28 19:53:10 +00:00
Fabio Priuli
1c4d689488 snes.c: enforced abus validity check on dma reads, fixed possible tile and vram out of bounds bugs [Fabio Priuli] 2010-03-28 17:54:10 +00:00
R. Belmont
c44267dbd6 namcos23: hooked up tilemap scroll, improved raster IRQ [R. Belmont] 2010-03-28 17:00:51 +00:00
Angelo Salese
8e48e4f52d new clones
-----------

Shark Party (english, alpha license) [Kevin Eshbach, Smitdogg, The Dumping Union]
2010-03-28 13:15:16 +00:00
Olivier Galibert
a4de9a4ea4 namcos23: Add some lighting. [O. Galibert, Naibo] 2010-03-28 12:55:30 +00:00
smf-
7ba657ccf1 changed the killing blade parent to the pgm bios 2010-03-28 12:03:56 +00:00
Olivier Galibert
c79a273948 namcos23: First extremely rough 3D hookup [O. Galibert] 2010-03-28 11:54:28 +00:00
Fabio Priuli
b4b002fa5f forgot to commit this file 2010-03-28 11:34:12 +00:00
Fabio Priuli
ed1090f26e snes.c: updated HDMA to init/update according to Anomie's docs [Fabio Priuli] 2010-03-28 11:32:04 +00:00
Fabio Priuli
bb10ae950c not worth mention: snes.c: fixed hdma regression 2010-03-28 07:39:49 +00:00
Scott Stone
a1060526e0 Properly added GAME_NOT_WORKING flag to ms5pcb due to yet to be found program roms. No whatsnew. 2010-03-27 22:46:13 +00:00
Fabio Priuli
923be8ef3f snes.c: enabled PPU->CPU hdma transfer and moved hdma variables to snes_state [Fabio Priuli] 2010-03-27 14:37:14 +00:00
Fabio Priuli
a851662549 snes.c: improved VRAM accesses (they're invalid during active display) and DMA transfers (not all addresses can be accessed) [Fabio Priuli] 2010-03-26 23:34:45 +00:00
Brian Troha
150b7a68ac new clone added: High Impact Football (LA2)
Interesting note: There is only 1 day difference between this revision and the LA3 revision. So there must have been some outstanding issue / bug for a 1 day fix ;-)

New Clone Added
-------------------------------
High Impact Football (rev LA2 12/26/90) [A. Hoekman, tormod, Smitdogg, The Dumping Union]
2010-03-26 22:22:52 +00:00
Fabio Priuli
2d3f8cd3b5 snes.c: greatly simplified tile drawing routines, fixed a couple of small bugs in mosaic support, reworked debug functions to be detected properly in all games [Fabio Priuli] 2010-03-26 19:30:54 +00:00
Angelo Salese
211b0da94e Hooked up default NVRAM and fixed sample rom loading order in Championship Bowling [David Haywood] 2010-03-26 18:26:48 +00:00
Brian Troha
02775fb861 New clone added: Rail Chase (World)
segaybd.c: Redumped IC26 for Rail Chase, added PCB board ID numbers and corrected the rom names for Rail Chase [ANY]

New Clone Added
------------------------------------
Rail Chase (World) [Dumping Union]
2010-03-26 02:26:53 +00:00
Angelo Salese
aa0dac3d1e new clones
-----------

Oriental Legend / Xi You Shi E Zhuan (ver. ???, Chinese Board) [Anonymous]
Knights of Valour Super Heroes / Sangoku Senki Super Heroes (ver. 103, CN) [Anonymous]
Martial Masters (ver. 102, 101, 101CN) [Anonymous]
2010-03-25 13:33:24 +00:00
Fabio Priuli
0938457df4 not worth mention: snes.c: added more comments to the video code 2010-03-25 13:23:28 +00:00
Aaron Giles
a91446eaca Cleanups and version bump. 2010-03-25 13:18:38 +00:00
Jonathan Gevaryahu
868d57267a Minor fixes to comments in tms5110r.c involving spell-checking stuff and properly capitalizing chip names. No whatsnew. 2010-03-24 23:12:38 +00:00
Angelo Salese
59e17f40c9 Added preliminary layer clearance in Puzzlet [Angelo Salese] 2010-03-24 19:46:16 +00:00
Fabio Priuli
c2144b58b7 snes.c progress: [Fabio Priuli]
- Added proper sprite priorities
- Added pseudo-hires effect


out of whatsnew: in the code there is also the hookup for a small artifact hack which blurs hires and pseudo-hires pixels like on a tv. this will be a Driver Config in MESS (Off by default) and won't affect any MAME driver. Moreover, I plan to commit soon a more verbose version of the current code, with more comments to better describe the way priorities work and to stress where the artifact hack enters into play (namely, where the "OPTION" input is read)
2010-03-24 18:33:54 +00:00
Angelo Salese
905c826a97 MC68HC11: Implemented SUBD DIR & SUBD EXT opcodes [Angelo Salese] 2010-03-24 13:27:07 +00:00
Angelo Salese
70e0a16942 Small printf bugfix 2010-03-24 12:06:35 +00:00
Olivier Galibert
60b6853708 namcos23: Roms reorganization [O. Galibert]
Texture tiles are in to ll/lm/um/uu order.  By extension, sprites are
probably the same.

Texture tilemap low rom is 16bits le (or be if you _swap them but they
don't seem CPU reachable anyway), with bits 0-15 of the tile numbers.

Texture tilemap high rom is 4bits/tile with bits 16-17 and two
attribute bits (probably x/y swap, rarely used, needs to be checked).

Point roms ae 32be, text in the header of the ss23 games proves the
"be" part, and addresses inside refer to 32-bits blocks.  They're
CPU-reachable.

Duplicate roms are put in a "dups" region.
2010-03-24 11:59:47 +00:00
R. Belmont
1afbd40efb [#3792, #3793] SDL compile fixes [Christian MArillat]
- Autodetect FreeBSD variant
- Altivec/VMX fixes for non-Mac PPC
2010-03-24 04:06:07 +00:00
R. Belmont
2a669ee12a Fix Mac build (no whatsnew) 2010-03-24 03:26:19 +00:00
Jonathan Gevaryahu
0d500511c9 Add TI tms5200, tms5220, and tms5220c tables to tms5110r.c, which will eventually become the common table source file for all the LPC chips (and the Samsung VLM5030, Toshiba T6721a, Hitachi HD38880, and VTech custom PARCOR chips, which aren't in there yet). Not used yet.
Small technical fix to tms5220.c which should have no audible effects.
2010-03-23 23:45:03 +00:00