summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
Commit message (Collapse)AuthorAgeFilesLines
* Laserdiscs are now devices. Updated all drivers accordingly. Aaron Giles2008-07-213-860/+983
|
* Dsp56156 Disassembler rewrite. Andrew Gardner2008-07-191-1447/+1666
| | | | | | | | - Rearranged decoding behavior. - Updated code style to MAME standards. - Tested each single-word opcode with custom ROMs. (This is a precursor to other major dsp56k changes I have made. I just gotta' get plygonet commanders up and running to do some tests)
* TGP / Model 2 fixes [ElSemi] davidhay2008-07-192-84/+160
| | | | | | - TGP now correctly uses table roms (model1/2 updated accordingly) - removed FIFO hack on srallyc (game now runs) - added analog ports reading for model 2A/B/C - fixed some loading instructions in the TGP. that fixes srallyc automatic transmission bug
* Changed MDRV_CPU_ADD to require a tag. Removed MDRV_CPU_ADD_TAG. Aaron Giles2008-07-191-4/+1
| | | | | Tagged all CPUs. Now I will take a break until my fingers stop cramping. :)
* Tagged all the first CPUs for drivers (mostly as "main"). Aaron Giles2008-07-192-2/+24
| | | | | | | Added validity checks to ensure no duplicate sound or CPU tags. Fixed several duplicate sound tags from the last checkin. -listxml now outputs the tag names for CPUs and sound chips.
* ElSemi's fix for the i960 issue: Brian Troha2008-07-181-2/+2
| | | | | | | | | | | | | well, the fix is not that but changing them this way: program_write_dword_32le(i960.r[I960_FP]-16, i960.PC); program_write_dword_32le(i960.r[I960_FP]-12, i960.AC); in take_interrupt. It seems it came from a partial fix in the ret instruction. the manual says that PC is saved at FP-16 and AC at FP-12 it was reversed in mame, so when trying to fix it, i suppose Ernesto forgot to change the push too. I've tested this fix and apart from having daytona working, pilot kids 2A works too (that I think has been broken for ages).
* Removed MDRV_SOUND_ADD. Renamed MDRV_SOUND_ADD_TAG to Aaron Giles2008-07-182-5/+2
| | | | | | | | | | | MDRV_SOUND_ADD. All sound chips must now include a tag. Laboriously changed all existing drivers to define a unique tag for each sound chip. CPUs are next, but will require a more hands-on manual process to produce reasonable tags.
* Minor cleanup from last checkin. Aaron Giles2008-07-171-1/+1
|
* Robustified key behavior when the debugger is visible. Should now Aaron Giles2008-07-176-7/+34
| | | | | | | | | | | properly ignore the "break into debugger" keypress and not allow related characters to filter through. Removed some hacks related to making that work in the past. Changed osd_wait_for_debugger() to take a machine parameter and a "firsttime" parameter, which is set to 1 the first time the function is called after a break. The Windows debugger uses this to ensure that the debugger has focus when you break into it.
* Cleanups. Aaron Giles2008-07-1717-540/+540
|
* Changed direct access EEPROM interface to return the "bus width" of the Aaron Giles2008-07-1716-205/+748
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EEPROM data, and the size is in terms of units, not bytes. Updated all drivers accordingly. Changed the ROM loading code to actually alter the region flags based on the CPU endianness and bus width when creating the region, rather than fixing them up on the fly. This means that callers to memory_region_flags() will get the correct results. Changed the expression engine to use two callbacks for read/write rather than relying on externally defined functions. Expanded memory access support in the expression engine. Memory accesses can now be specified as [space][num]<size>@<address>. 'space' can be one of the following: p = program address space of CPU #num (default) d = data address space of CPU #num i = I/O address space of CPU #num o = opcode address space of CPU #num (R/W access to decrypted opcodes) r = direct RAM space of CPU #num (always allows writes, even for ROM) e = EEPROM index #num c = direct REGION_CPU#num access u = direct REGION_USER#num access g = direct REGION_GFX#num access s = direct REGION_SOUND#num access The 'num' field is optional for p/d/i/o/r, where is defaults to the current CPU, and for e, where it defaults to EEPROM #0. 'num' is required for all region-related prefixes. Some examples: w@curpc = word at 'curpc' in the active CPU's program address space dd@0 = dword at 0x0 in the active CPU's data address space r2b@100 = byte at 0x100 from a RAM/ROM region in CPU #2's program space ew@7f = word from EEPROM address 0x7f u2q@40 = qword from REGION_USER2, offset 0x40 The 'size' field is always required, and can be b/w/d/q for byte, word, dword, and qword accesses.
* SH2DRC: cleanups and tweeks from Aaron's suggestions. R. Belmont2008-07-171-54/+27
|
* Fixed simple but deadly typo in previous update. R. Belmont2008-07-151-1/+1
|
* i960: respect the rounding mode for CVTRI [ElSemi] R. Belmont2008-07-151-1/+11
|
* Changed ui_menu_get_selection() and ui_menu_set_selection() to use itemrefs Nathan Woods2008-07-152-6/+17
| | | | | instead of indexes as per Aaron's guidance.
* SH-4 update [Samuele Zannoli] R. Belmont2008-07-142-91/+127
| | | | | | - Fixed TRAPA and some versions of FMOV - Improved disassembly for MOV.W, MOVA, MOV.L, FIPR, and FSCA.
* Fixed popmessage. Aaron Giles2008-07-141-1/+1
|
* added save state suport to Konami CPU & Aliens Nicola Salmoria2008-07-141-21/+13
|
* Added an exit function to the SH2 drc so that it doesn't leak Aaron Giles2008-07-141-0/+14
| | | | memory like crazy.
* Added accessors to get/set the currently selected menu item in a menu Nathan Woods2008-07-142-0/+39
|
* [SH2DRC] Removed remnant of outdated interrupt design. R. Belmont2008-07-141-1/+1
|
* UDRC-based SH-2 dynamic recompiler. R. Belmont2008-07-137-13/+4339
| | | | | | | | | - All games on all drivers should work as before except "colmns97" and "stress" which crash due to sound system trouble. - All idle skips are still included. They are quite a bit less effective than they were on the interpreter, but they still give a boost. - Fast RAM bypass is not included yet so this does not represent final performance. That said, it's consistently faster than the interpreter even now. Example: sfiii3 on 0.126 gets 609% on the interpreter and 961% on the DRC. Major thanks to Aaron for his assistance with several sticky core bugs and other issues encountered writing this.
* Replaced the crazy number of get/set functions for render containers with Aaron Giles2008-07-135-248/+138
| | | | a single get/set of a user settings struct.
* Fixed edge case in the DRC front-end that would incorrectly tag the Aaron Giles2008-07-131-1/+5
| | | | | end of a sequence as "return to start" even if the last instruction did not abet the starting instruction.
* Fix game selection menu. Changed so that it only computes available Aaron Giles2008-07-131-28/+26
| | | | drivers once per instantiation instead of on every change.
* 64-bit GCC fixes. R. Belmont2008-07-121-3/+3
|
* Converted UI startup screens to use astrings. Aaron Giles2008-07-121-49/+48
|
* Note: I have done some testing, but there are probably more bugs Aaron Giles2008-07-1218-1757/+2985
| | | | | | | | | | | | | | | | | | | lurking. If you run into anything odd, please let me know. Added new module uiinput.c which manages input for the user interface. The OSD is responsible for pushing mouse events and character events to this interface in order to support mouse movement and text-based input (currently only used for the select game menu). Added support for navigating through the menus using the mouse. [Nathan Woods, Aaron Giles] Redesigned the UI menus so that they can maintain a richer state. Now the menus can be generated once and reused, rather than requiring them to be regenerated on each frame. All menus also share a comment eventing system and navigation through them is managed centrally. Rewrote all the menus to use the new system, apart from the cheat menus, which are now disabled. Reorganized the video menu to make it easier to understand. [Aaron Giles]
* Removed a no longer needed #ifdef MESS part Wilbert Pol2008-07-121-3/+0
|
* pit8253 updates: Wilbert Pol2008-07-112-363/+306
| | | | | | - Changed the implementation to use timers internally. - Removed the frequency change callbacks.
* MESS-specific fix Nathan Woods2008-07-081-1/+1
|
* Crazy idea: run mame -valid after altering the validity checks....mame0126 Aaron Giles2008-07-061-1/+0
|
* Cleanups and version bump. Aaron Giles2008-07-061-1/+1
|
* 01965: driveyes: Access Violation Aaron Giles2008-07-061-5/+11
| | | | | | 01951: cybrcycc: Crash during intro. 01964: gtg2j: Access Violation
* 01983: Force Range cheats not working Couriersud2008-07-061-6/+8
|
* Adding per-device and per-CPU validity checks Nathan Woods2008-07-065-0/+92
|
* Fix scrolling speed in case a cheat dat has invalid (i.e. 0) settings Couriersud2008-07-061-0/+5
|
* 01971: Cheat menu flickers Aaron Giles2008-07-061-2/+9
| | | | Also made it display (null) only in debug builds.
* 01963: screenless systems: memory leak with -mngwrite Aaron Giles2008-07-061-5/+2
|
* update cheat system (fix mantis #01969) (credit ShimaPong) Roberto Zandona2008-07-041-141/+102
|
* MESS-specific tweak Nathan Woods2008-07-041-1/+1
|
* Cleanups and version bump.mame0125u9 Aaron Giles2008-07-035-12/+12
|
* Lighter weight debugger optimization for ADSP2100. Aaron Giles2008-07-031-746/+702
|
* Credit ShimaPong - Updated cheat system Couriersud2008-07-011-1990/+1362
| | | | | | | | | | | | | | | | | | | | | | | | - Roll back older periodic function Now standard/old format work in this function Otherwords, several operations which doesn't exist in older function and added recently are now disabled - Separated load_cheat_code() to 3 indipendent functions And added new cheat options, "Load New/Standard/Old Format Code" (Default : load all format codes) NOTE : delete all cheat options in the database before start or reload default options (Shift + Reload key) in cheat general menu - Added format strings structure to accept huge size strings in loading a database to prevent from breaking other strings - Changed Link in new format Label code is now "Link-Label" and sub-label is "Label-Sub-Link" "Standard-Link" is no longer label - Added choose_label_index() to manage label selection - Fixed build_label_index_table() to prevent from crashing And disabled to build label index table in case of standard/old format - Fixed memory free problem in case of standard/old code - Fixed several reported/found bugs
* I80286: Fixed POP ES in protected mode. Wilbert Pol2008-07-011-0/+6
|
* 01942: All konamim2.c sets: hang Aaron Giles2008-07-013-12/+9
| | | | | heatof11 gets to the color bars but only if you enable the debugger. Not sure why.
* Fixed sense of debugger flag in ADSP-2100 optimization. Aaron Giles2008-07-011-1/+1
|
* Fixed LWXC1/LDXC1; corrects gauntleg camera. Aaron Giles2008-07-011-4/+4
|
* Fixed 64-bit writes in C back-end. Aaron Giles2008-07-011-35/+33
|
* Fixed incorrect assumption in HASHJMP that the base table for a mode Aaron Giles2008-07-012-2/+2
| | | | will always be allocated when a fixed mode is first used.