Commit Graph

2864 Commits

Author SHA1 Message Date
Aaron Giles
fe4a4c70b4 64-bit compile fix (d'oh!) 2008-05-29 17:00:13 +00:00
R. Belmont
ee33a2191a Fixed 64-bit GCC compile. 2008-05-29 13:27:10 +00:00
Nathan Woods
e067dc7d9d Made it possible to pass a NULL errorbug to input_port_config_alloc() 2008-05-29 10:56:20 +00:00
Nathan Woods
aa14505377 MESS-specific fix 2008-05-29 10:55:52 +00:00
Aaron Giles
089dbdbd25 Version bump. 2008-05-29 09:27:51 +00:00
Aaron Giles
c852c42952 Cleanups for 0.125u3. 2008-05-29 09:25:51 +00:00
Aaron Giles
7247ecbce2 From: ShimaPong
fixed Testers bug [01039]
-------------------------------

Updated cheat sytem drastically
  * Supported (preliminary) new cheat format
     - Added new operations
        PDWWrite, RWrite, VRWrite, CWrite, Move, Branch, Loop, Popup
     - Added new options
        ValueSelectNegative, Return, AddressReadFrom, DataReadFrom
     - Added cheat variables
        You can store data with Write or Move operations and
        read as an address or data from each fields
     - Added condition check
        for CWrite, Branch and Popup operations
     - Added new custom codes
        Separator, Layer
     - Supported Shared Code [MESS ONLY]
        different machine shares common code for a game

  * Allowed mixed label-select or user-select with standard code

  * Added label selector menu for label-selection code

  * Added extend comment displayer for multi-line comments

  * Added command menu for cheat list and watchpoint
     Easy selectable cheat commands in this menu

  * Added debug view menu [DEBUG BUILD ONLY]
     It displays internal info to debug cheat system

  * Supported unique separator by ui_draw_menu() in several menus

  * Added user defined search region
     You can set free memory range from cheat database

  * Enhanced error check for cheat code to prevent from unexpected working
     Error code is locked. If you select this code, the analyser works
     instead of the code activater

  * Enhanced value input with keyboard-less
     Cheat edit key gives new input system in several menus
     Left/right keys moves the edit cursor and up/down keys changes a value

  * Added cheat command save, reload, reset in option menu

  * Supported address shift in searching
     Now searchable default region in TMS340*0 cpu games (Trog, Smash T.V. etc)

  * Refined cheat menu handling with function pointer called cheat_menu_handler

  * Added format strings table to manage in an integrated fashion

  * Deleted unused hacks of default search region for Neo Geo and TMS34010

  * Refined code based on MAME coding guidelines
     - Renamed many functions/structures/constants
        But not complete due to too many items
     - Converted small but often used functions to INLINE
     - Fixed a comparison in case of 0 or NULL
     - Added missing function prototype for several functions
2008-05-29 08:54:21 +00:00
Aaron Giles
7733c26136 Removed obsolete comment. 2008-05-29 08:40:40 +00:00
Aaron Giles
c9caffe405 Added internal default tags for input ports when saving/loading. 2008-05-29 08:39:27 +00:00
Aaron Giles
e06d8f3ce8 Fixed bug that caused DIP switches to be improperly read from game cfg file. 2008-05-29 08:28:20 +00:00
Aaron Giles
650dfb8a28 Moved implementation-specific state into a pointer hanging off of the core
MIPS3 state.

Removed large context in favor of a pointer to the large context to help
improve context switch times.
2008-05-29 08:22:50 +00:00
Nicola Salmoria
ceeb086b24 removed meaningless service_coin_lockout_w function
updated the zaxxon driver to correctly handle the coin enable lines
2008-05-29 08:02:46 +00:00
Aaron Giles
65934e7aa5 Added new option -snapname which lets you provide a template for how snapshot
names are generated.

Added new astring functions astring_del, astring_replace, and astring_replacec
to help perform simple search/replace substitution.
2008-05-29 08:00:23 +00:00
Aaron Giles
eeb821032e Several miscellaneous changes:
1. In the MIPS core:
    - renamed struct mips3_config -> mips3_config
    - updated all drivers to the new names
    - removed MIPS3DRC_STRICT_COP0 flag, which is no longer used
    - a few minor cleanups

2. In the CPU interface:
    - added new 'intention' parameter to the translate callback to
       indicate read/write/fetch access, user/supervisor mode, and
       a flag for debugging
    - updated all call sites to pass an appropriate value
    - updated all CPU cores to the new prototype

3. In the UML:
    - added new opcode SETC to set the carry flag from a source bit
    - added new opcode BSWAP to swap bytes within a value
    - updated C, x86, x64 back-ends to support the new opcodes
    - updated disassembler to support the new opcodes

4. In the DRC frontend:
    - fixed bug in handling edge case with the PC near the 0 or ~0
2008-05-29 07:18:35 +00:00
Phil Bennett
9438e76f1f New games added or promoted from NOT_WORKING status
—————————————————
Coronation Street Quiz Game [Phil Bennett]
2008-05-28 20:10:20 +00:00
Nathan Woods
f2c5b0db7d Fixed a benign bug in the x86 DRC backend 2008-05-28 12:04:08 +00:00
Nicola Salmoria
13c6f7123f clock verified on pcb 2008-05-28 08:07:01 +00:00
Couriersud
5f14205535 dkong.c: Fix duplicate input port bits for dkong3 2008-05-27 19:50:35 +00:00
Couriersud
26e4f50fc0 Credit Miodrag Milanovic: Implement autoload mode in 8257
* added support for autoload mode
* fixed bug in calculating count
2008-05-27 19:45:27 +00:00
Nicola Salmoria
0689a9586e increased clock rate, merged memory maps
01153: clshroad: [possible] The game is slow, the frame rate suffers, and even the calorie bar flickers. 
00267: clshroad: [possible] Occasionally a cycler who's graphics are garbled will come along,
2008-05-27 07:10:00 +00:00
Roberto Fresca
3e379b8d89 Moved suprpool to a better match hardware.
Fixed the ROM load and added a list of PCB components.
2008-05-27 04:37:10 +00:00
davidhay
be5ebca7d1 dcheese.c (cecmatch) minor cleanup + recap for whatsnew.txt (please use this info, not earlier info)
New Games Supported
-------------------

ChuckECheese's Match Game [Exodus]

New Clones Supported
--------------------

Fred Flintstones' Memory Match (US, High Score version, 3/10/95) [Exodus]
Fred Flintstones' Memory Match (UK, 3/17/95) [Exodus]
Fred Flintstones' Memory Match (Japan, High Score version, 3/20/95) [Exodus]
Fred Flintstones' Memory Match (Mandarin Chinese, 3/17/95) [Exodus]
Fred Flintstones' Memory Match (Spanish, 3/17/95) [Exodus]
2008-05-26 22:41:53 +00:00
Roberto Zandona
e3117a7eee fix for mantis 01834: fitegolf, countryc: Graphics corruption 2008-05-26 19:43:39 +00:00
davidhay
4a1e722778 changed it a bit so that it doesn't crash.. but it's still wrong, key functionality appears to have been stripped at some point, and the code really shouldn't have ever even existed. 2008-05-26 13:43:24 +00:00
davidhay
4afa8414ca disabled a block of code which was causing gijoe to crash and added a comment to say why.
I don't know what the code is meant to do, but the way it's been written will surely always crash.  (acho-code?)
2008-05-26 12:40:06 +00:00
davidhay
cb307248db same in segae.c .. looks like a wide-spread copy+paste error?
i'm just fixing these as I come across them, playing games :-p
2008-05-26 11:45:39 +00:00
davidhay
1578ea3d8b and another 2008-05-26 11:39:36 +00:00
davidhay
e4b80c666d fix duplicate input bits in cps1.c
this new validity check is certainly handy :-)
2008-05-26 11:34:08 +00:00
davidhay
711d5a597b fix duplicate port bits. 2008-05-26 11:30:55 +00:00
Nicola Salmoria
246885e3c2 fixed cpu_getiloops() which was not returning the correct value.
This fixes
01780: pingpong: Level select arrow's not displayed 
and possibly other timing related bugs.
2008-05-26 08:31:34 +00:00
Nicola Salmoria
1b1202134a added a comment which I've been sitting on for weeks 2008-05-26 08:17:30 +00:00
Brian Troha
78cf952b98 Use correct Japanese name Magical Error wo Sagase 2008-05-26 01:44:15 +00:00
Aaron Giles
40dea6049e Added new front-end flag to tag privileged instructions.
Minor tweaks/cleanups to the MIPS3 drc.
2008-05-25 22:09:21 +00:00
Aaron Giles
238dc3aada Removed empty input ports from the empty driver, in favor of a NULL entry. 2008-05-25 22:07:15 +00:00
Aaron Giles
62fb5f8f0d 01822: OSD causes crash when try to show the Screen Refresh Rate menu 2008-05-25 22:03:20 +00:00
Aaron Giles
564be8e7a2 Refinement of previous check-in to handle conditional inputs.
Fixed 01836: qcrayon2: Conditional input not visible/working for dip game control joystick
2008-05-25 21:59:19 +00:00
davidhay
098370c67f pacman.c: fix duplicate port bits 2008-05-25 21:44:54 +00:00
Aaron Giles
67db0742f0 Added TOKEN_SKIP_* macros to tokenize.h.
Changed error reporting during input port detokenization to fill a buffer
rather than fatalerror-ing immediately. Should now properly skip over
any invalid tokens.

Enhanced error detection during input port detokenization to catch 
duplicate bits. There are a lot of these!

Updated initialization code to print errors and fatal only if the input
ports were unable to be constructed at all.
2008-05-25 21:24:19 +00:00
davidhay
032c1ddaee spikes91 is also clearly meant to run at a lower resolution.. 2008-05-25 20:43:23 +00:00
davidhay
7c28627595 fix mantis 1833, missing text layer in spikes91 (alignment may still be incorrect) 2008-05-25 20:31:53 +00:00
Nathan Woods
200cda66f1 MESS-specific: Added hook for default keyboard key names 2008-05-25 19:39:13 +00:00
davidhay
fc8d7ec1b5 fix finalgdr not accepting coins (mantis 1832)
problem was double mapped input bits.  Aaron, could we have a validity check for this?  looks like it affects an number of drivers?

maybe also a validty check for unmapped port bits?  surely all ports should be either 8-bit, 16-bit, 32-bit or 64-bit, and nothing else.. unused bits should be mapped as unused...
2008-05-25 18:40:12 +00:00
Nathan Woods
2bd5a419b1 Changed text used to specify a menu separator, and now using a #define 2008-05-25 18:31:29 +00:00
davidhay
68b9449e03 fixed game name.. it's ChuckECheese, not CheeseECheese ;D 2008-05-25 15:23:42 +00:00
Aaron Giles
95c9cf14a2 Fixed sense of the EEPROM line. 2008-05-25 14:51:14 +00:00
Nathan Woods
0a624c8f7a Updates from MESS in response to 0.125u2 2008-05-25 12:58:14 +00:00
Nicola Salmoria
2eb9b46ffd Put back the TMS5200 to 640kHz waiting for proper measure to be taken. 2008-05-25 12:32:16 +00:00
Nicola Salmoria
c7d10617ee 01741: ldrun4: Sprites are misplaced two pixels to the right. 2008-05-25 11:55:28 +00:00
davidhay
8c7ae5d907 new game (chuckecheese) and new clones (flintstones mem match) added [Exodus]
this is in addition to his previous 'japan' set addition.

(this driver seems to have developed some sound problems? no sound in several 'fred' sets, and no sound in chuck e cheese, lottofun reports eeprom error sometimes? any ideas?)

New games
---------

CheeseECheese's Match Game [Exodus]

New clones
----------

Fred Flintstones' Memory Match (US, High Score version, 3/10/95) [Exodus]
Fred Flintstones' Memory Match (UK, 3/17/95) [Exodus]
Fred Flintstones' Memory Match (Mandarin Chinese, 3/17/95) [Exodus]
Coastal Amusements", "Fred Flintstones' Memory Match (Spanish, 3/17/95) [Exodus]
2008-05-25 11:41:32 +00:00
Nicola Salmoria
6675a09b4c 00240: galaga88: Most of the time the shooting accuracy shown on the screen when the game is over is not computed correctly. 2008-05-25 10:21:02 +00:00