Commit Graph

10925 Commits

Author SHA1 Message Date
Miodrag Milanovic
4725df36ac Fixed some long standing issues with image device config (no whatsnew) 2011-01-17 15:40:31 +00:00
Miodrag Milanovic
9fd74516f6 Made MESS drivers too load config from parent drivers (as MAME) but images are only taken from driver itself or command line (no whatsnew) 2011-01-17 13:37:26 +00:00
Aaron Giles
f5c03d12e2 Redo most of the DRC/backend support as C++
Yes, it is intentional that the x86/x64 backends compile everywhere.

Backends are now derived from drcbe_interface and implement several
required overrides.

x86emit.h now uses namespaces so that the x86/x64 emitters can co-exist.

New file uml.h/uml.c actually describes the UML language, separating
out several concepts from drcuml.c.

Lots of other changes/fixes.
2011-01-17 03:43:54 +00:00
Roberto Zandona
51d7c644e0 kbash: another opcode 2011-01-16 23:49:52 +00:00
Roberto Zandona
160b7d7103 kbash: added several opcodes 2011-01-16 23:41:25 +00:00
Roberto Zandona
9b3e5881eb kbash: added several opcodes; probably dogyuun use the same decryption table 2011-01-16 21:40:31 +00:00
Angelo Salese
7d5e4b66fa Stripped out #define, it's inside includes/toaplan2.h, no whatsnew 2011-01-16 21:11:46 +00:00
R. Belmont
e5cc3338d9 Same fix for sockets (no whatsnew) 2011-01-16 21:05:59 +00:00
R. Belmont
2f1b7f3468 Fix inability to detect an error in sdl_write_ptty (no whatsnew) 2011-01-16 21:01:14 +00:00
Roberto Zandona
34cea6102e kbash and dogyuun: added several opcodes 2011-01-16 20:43:47 +00:00
mariuszw1
7650b6d318 VC2008 compile fixes (no whatsnew) 2011-01-16 20:16:34 +00:00
Olivier Galibert
e2d8a68dbe raiden2: First stab at a cop "disassembler" [trap15, O. Galibert] 2011-01-16 19:30:47 +00:00
Michaël Banaan Ananas
68fc4aeac3 added (but disabled) NMOS Z80 ld a,i/r quirk, see DIFF for info (no whatsnew)
btw: mlanding is playable if you enable it, but i believe it's just by luck since it posts "sound cpu error" later anyway
2011-01-16 19:10:19 +00:00
Olivier Galibert
28a0dc3449 raiden2: Command 0205 changes data at +1c too [dox, O. Galibert] 2011-01-16 18:59:04 +00:00
Roberto Zandona
f6a27a067e toaplan2: disabled nec cpu 2011-01-16 18:47:14 +00:00
Roberto Zandona
6b3f21bdc8 dogyuun: decrypted some opcodes [Roberto Zandona'] 2011-01-16 18:44:42 +00:00
Phil Bennett
a5d5e5d1f4 MPU4 Changes: [AGEMAME]
* Added fix for lamp 'open circuit' errors which in turn make Connect 4 work better. 
* Fixed layout typo that caused the wrong piece to be displayed in Connect 4.
* Documented the DUART and PTM better in MPU4 to allow for sampled sound changes later.
* Changed 'serial_card_connected_ to link 7a, as it is the jumper on the ROM card that changes the IRQ priority, not the serial interface itself.
2011-01-16 18:42:27 +00:00
Phil Bennett
069cfa6e41 bfm_sc2.c: Removed old-style NVRAM handlers in preparation for mechanical game support [AGEMAME] 2011-01-16 18:30:53 +00:00
Fabio Priuli
d19c11eaa8 Fixing warning (it was a typo). 2011-01-16 17:50:47 +00:00
Angelo Salese
099682eaad Haze: Allow the encrypted v25 define to compile again, no whatsnew 2011-01-16 17:29:43 +00:00
Fabio Priuli
f79cd2675e romload.c: implemented handling of parent-clone CHDs in software lists [Fabio Priuli]
Somehow, I hadn't noticed my previous implementation only handled ROM loading and not CHD loading. 
Now CHDs are handled too. 

Next, I plan to reduce the duplicate code: I'd like not to have 2 copies of the code which takes the 
locationtag in the format "list%setname%parentname" and returns the five strings of the locations
we try to load from: list, setname, parentname, list/setname and list/parentname...
2011-01-16 17:29:16 +00:00
Angelo Salese
049c878920 Implemented proper RNG mechanism in Seibu COP emulation [Tomasz Slanina, Angelo Salese] 2011-01-16 17:16:31 +00:00
Angelo Salese
f1337ddfb6 Delete needless file as per AWJ 2011-01-16 14:25:12 +00:00
Angelo Salese
6d8cb11524 Added a mostly complete NEC V25/V35 CPU core, added working sound to Batsugun and hooked up proper V35-controlled interrupts in Cosmic Cop / Gallop and Kengo [Alex Jackson] 2011-01-16 14:23:07 +00:00
Couriersud
90f1063951 Discrete subsystem:
- all list handling now based on dynamic_array_t (discrete.h)
- more code rewrite to get rid of fixed allocations.
- performance about the same as 0.140
2011-01-16 13:19:31 +00:00
Jonathan Gevaryahu
745a7974aa More beezer changes, mostly documentation and preparing for new sound core. no whatsnew. 2011-01-16 04:53:17 +00:00
R. Belmont
c495397fa8 SH4: Port preliminary SH3 support from DRC. [R. Belmont] 2011-01-16 03:15:36 +00:00
Jonathan Gevaryahu
f7b001acc6 Add missing XYZ latch readback on beezer, gets sound closer to working [Lord Nightmare] 2011-01-16 02:53:34 +00:00
Jonathan Gevaryahu
b37e50dec4 Documentation update to beezer driver for facilitating future sound work [Lord Nightmare] 2011-01-16 02:05:40 +00:00
Couriersud
02cd248fef More cleanups for the discrete subsystem. No whatsnew. 2011-01-16 00:38:44 +00:00
R. Belmont
b85af379a8 SH4: cleanup and better common/interpreter separation [R. Belmont] 2011-01-16 00:35:56 +00:00
Scott Stone
74bbf1d033 Debug message fix for EShape/ECoarse - we have enough samples so no longer need to invite reports. (no whatsnew) 2011-01-15 23:51:58 +00:00
R. Belmont
7c6e98992d New games added as GAME_NOT_WORKING
-----------------------------------
Brave Fire Fighters [Guru]
NASCAR Racing [Guru]
2011-01-15 22:35:49 +00:00
Brian Troha
29542a3822 readd IC location for Gekirindan audio CPU and eliminate the incorrect statement about same label different data. 2011-01-15 22:33:56 +00:00
Scott Stone
b84d0ef8f0 Improved chip names for recently submitted set to eliminate duplicate name. (no whatsnew) 2011-01-15 22:25:55 +00:00
Scott Stone
13b8cd5301 Fix for recent gekiridn set addition. Sound roms were double sized -later half all FF. Chopping them to size expected and the CRC's match the Japanese version. (no whatsnew) 2011-01-15 22:10:44 +00:00
Scott Stone
e1f22c6e20 Misc pinball fix 2011-01-15 21:19:53 +00:00
Roberto Zandona
ca016be56f ssv: removed some wrong info 2011-01-15 20:21:36 +00:00
Roberto Zandona
a63465b57c ssv: fixed srmp7 sprite mode 2011-01-15 20:11:42 +00:00
Couriersud
5ffcb68d82 Fix skyraid compile. 2011-01-15 19:22:03 +00:00
Brian Troha
1742d9e651 Correct Gekiridan's version from "Zero" to capital "o" 2011-01-15 17:58:23 +00:00
Brian Troha
e0fccbade8 New clone added: Gekiridan (World)
New Clone Added
-------------------------------------
Gekirindan (Ver 2.30 1995/09/21) [Corrado Tomaselli, J. Bijl, The Dumping Union]
2011-01-15 17:55:00 +00:00
Pierpaolo Prazzoli
d2ff1f0c52 Fixed 00865: blandia: In Jurane stage, the whole bottom of the screen is filled with solid gray [Pierpaolo Prazzoli] 2011-01-15 17:47:10 +00:00
Roberto Zandona
7a261e4514 ssv: simplified the code 2011-01-15 16:19:08 +00:00
Roberto Zandona
26926438bc ssv: fixed info about crt register 2011-01-15 15:41:34 +00:00
Roberto Zandona
33885f5fad ssv: improvements to the sprite position [Roberto Zandona'] 2011-01-15 15:32:16 +00:00
Miodrag Milanovic
7d220e5a9e More proper softlist fix (no whatsnew) 2011-01-15 14:48:37 +00:00
Miodrag Milanovic
b929a58a47 Fixed memory leaks in softlist (no whatsnew) 2011-01-15 14:00:59 +00:00
Curt Coder
25f1101204 Added FSAVE mode 2 support to the M68040 FPU. [Barry Rodewald] 2011-01-15 13:52:59 +00:00
Couriersud
156a1efd1c Discrete subsystem: Maintenance commit before I move from linked lists to dynamic arrays.
- Also fixes bzone regression.
- Contexts have disappeared now. All modules use class level private variables now.
- Reorganized code and added more include files.
- This is still work in progress. It is working though.
2011-01-15 13:49:27 +00:00
Miodrag Milanovic
8d47838f94 Let's keep all pinball machines as skeletons, will commit my work after next release. (no whatsnew) 2011-01-15 13:34:24 +00:00
Fabio Priuli
f21e62fcbf Fixed a stupid segfault introduced by pretending the emu can set the filename of the loaded image also when loading has failed :(
No whatsnew.
2011-01-15 12:57:58 +00:00
Miodrag Milanovic
464f81e7f9 added U21 sound rom for Shuffle Inn (no whatsnew) 2011-01-15 11:42:56 +00:00
Fabio Priuli
9253300517 added stricter validation for software lists, no whatsnew needed. 2011-01-15 09:14:10 +00:00
R. Belmont
eea6f6c1de model3: redumped Daytona 2 Battle on the Edge CROMs [Guru] 2011-01-15 03:27:25 +00:00
Fabio Priuli
330a08aa7a minor fix 2011-01-15 01:21:43 +00:00
Scott Stone
25ac72412b First round of attempts to give proper expanded clone names for the imported pinmame sets. (no whatsnew)
Comment:  It would be nice to solidify these setnames before u1 is released to lesson the confusion later.
2011-01-15 00:55:51 +00:00
Fabio Priuli
00b9bdfb44 Added capability of mounting specific parts of a software element from Internal File Manager. Once again, whatsnew not needed 2011-01-15 00:38:53 +00:00
Fabio Priuli
b98f54de7b Improved the way software names are displayed by the Internal File Manager when loading from software list and fixed wrong displayed name when loading with shortname:part. No whatsnew needed (being MESS-specific) 2011-01-14 22:07:07 +00:00
Fabio Priuli
4265c169b0 fixed another small error message problem 2011-01-14 15:18:44 +00:00
Fabio Priuli
d3efd25ec5 fixed empty image name. no whatsnew. 2011-01-14 14:59:09 +00:00
Fabio Priuli
af54f39fc3 softlists: added WARNING if loading a software with supported="partial" or "no" [Fabio Priuli] 2011-01-14 13:18:56 +00:00
Miodrag Milanovic
b3fbaced11 Placed full megadrive code in MAME section [David Haywood] 2011-01-14 09:09:15 +00:00
Fabio Priuli
db61ec6aa6 clifront.c: prevented -lsoft from output DTD if no list is found [Fabio Priuli] 2011-01-14 09:02:26 +00:00
Fabio Priuli
768e020c3a clifront.c: added "-lsoft" option as short version of "-listsoftware" [Fabio Priuli]
out of whatsnew: I also have modified best match for softlists to return 10 results, like in MAME, given that now only the correct list is parsed (thanks to Micko's change)
2011-01-14 07:56:29 +00:00
R. Belmont
4e0a81e250 H8: Fix unterminated string buffer [R. Belmont, Belegdol] 2011-01-14 03:02:31 +00:00
Scott Stone
8efd1e8e73 Readded clone bios set which shares roms 100% w/parent, due to driver dependence (no whatsnew) 2011-01-14 02:35:53 +00:00
Angelo Salese
e9f23b5f15 Missing set 2011-01-13 23:30:45 +00:00
Angelo Salese
21ed1aebc2 Reordering of Magical Tonic sets, no whatsnew 2011-01-13 23:26:57 +00:00
Roberto Zandona
803055c277 SSV: improvements to flipscreen support [Roberto Zandona'] 2011-01-13 23:00:28 +00:00
Angelo Salese
e731ef88b9 new clone
---------
Football Champ (World, bootleg) [Clawgrip] (not working)
2011-01-13 21:22:06 +00:00
Angelo Salese
e52c7c1c9f Figured out and made comments of math tables in roms 14/15 of Seibu Cup Soccer bootleg inside machine/seicop.c [O. Galibert] 2011-01-13 20:59:53 +00:00
Fabio Priuli
2c106c458a allow software lists to look for files in the rompath too [Fabio Priuli]
out of whatsnew
1. summing up, you can now load roms through softwarelists from: listname/romset, listname/parent + now also romset & parent (like MAME)
2. there is a lot of repeated code, but I still haven't found a satisfactory way to handle the both loading processes in a single function. I'll keep looking into it!
2011-01-13 20:50:27 +00:00
Angelo Salese
88c32fea34 new NOT_WORKING game
---------
Fantasy Zone (Mega-Tech, SMS based) [Ace]
2011-01-13 19:32:52 +00:00
Fabio Priuli
7ee4a870c2 devimage.c: added support for split set to softlist for cass and flop too [Fabio Priuli] 2011-01-13 18:26:34 +00:00
Fabio Priuli
42d3a87923 romload.c: added support for split set to softlist (for cart, cd and hd) [Fabio Priuli]
out of whatsnew: to avoid too much duplicate code, I implemented this as follow: 
for parent, we pass a location tag "list/parentname" to search for the roms (no 
changes in this case); for  clones, we pass a composed location tag 
"list/clonename%list/parentname" (notice the '%' separator) and then it is 
open_rom_file to split it, if it finds a %, before searching for the rom.

out of whatsnew, 2: I also added the same support for cassettes and floppies (in 
devimage.c), but it is still commented out because I had only a few files for testing.
as soon as I'm sure nothing gets broken, I'll enable it.
2011-01-13 17:09:27 +00:00
Fabio Priuli
148ca8dcf9 softlist.c: only output best match if a list is present, limit the scan for best match to the devices with the same interface and fixed a corner case with shortname=listname [Miodrag Milanovic] 2011-01-13 15:09:15 +00:00
Fabio Priuli
e2925112a4 Free allocated memory 2011-01-13 12:23:00 +00:00
Fabio Priuli
ce792b2819 fixed bogus creation of empty file when loading through softlists. no whatsnew. 2011-01-13 09:25:58 +00:00
Miodrag Milanovic
b11eaf0e46 Cleaned OSD windows and emu part from NEWUI dependencies (no whatsnew) 2011-01-13 09:11:34 +00:00
Fabio Priuli
484295a27d softlist.c: added best match suggestions to software lists [Fabio Priuli]
out of whatsnew: I also added a couple of helpers which count softlist elements and scan a list up to the n-th element. these are very unoptimized (for large lists) but I found them useful for debugging a few quirks in my first implementation and therefore I'd like to have them in the source.
2011-01-13 08:00:36 +00:00
Brian Troha
62bafeb1b8 new clone added - Street Fighter Alpha
New Clone Added
--------------------------------------
Street Fighter Alpha 2 (USA 960430) [Ricky74, Layne, Smitdogg, The Dumping Union]
2011-01-12 22:27:50 +00:00
Angelo Salese
b931b12a30 Fixed an ARM7 R15 bit ignoring behaviour while in ARM state, fixes Lupin the Third: the Typing ARM crashing when you coin it up. [Tim Schuerewegen] 2011-01-12 22:25:23 +00:00
Fabio Priuli
b663d1a0bb ensuring that -listsoftware output is valid xml. no whatsnew. 2011-01-12 22:00:34 +00:00
Fabio Priuli
063c530849 fixed mistake in rev.11135 2011-01-12 21:44:35 +00:00
Fabio Priuli
614114ee56 clifront.c: added remaining loadflags to -listsoftware output [Fabio Priuli] 2011-01-12 21:31:48 +00:00
Fabio Priuli
1a907971d6 improved DTD, no whatsnew 2011-01-12 21:03:44 +00:00
Fabio Priuli
889709b104 clifront.c: improved the behavior of -listsoftware by updating DTD, by adding output of most missing elements and attributes (softlist description, features & diskdata) and by fixing size and offset formats [Fabio Priuli] 2011-01-12 20:56:24 +00:00
Fabio Priuli
5af477b2f6 changed searching for multiple %d (as snapname template) to only be executed if a first one has been found. this avoids searching past the end of the astring when not necessary. no whatsnew needed. 2011-01-12 16:24:34 +00:00
Fabio Priuli
6f4d32a59c revert silly change 2011-01-12 15:56:03 +00:00
Fabio Priuli
9388e1c38b video.c: added support for a new template to -snapname so that it is possible to use the name of images mounted in the devices (for MESS). Namely, it is now possible to use %d_XXXX to prescribe usage of the image mounted in the device XXXX. [Fabio Priuli]
==========

A brief explanation of this change: MESS allows every system to mount software in image devices (cartslots, floppy drives, tape drives, etc.). This patch enable the usage for snaps of the name of mounted software. 
More in detail: each image device have both a unique instance_name (e.g. Cartslot) and a unique brief_instance_name (e.g. cart). This patch adds a snapname template %d_XXXX, with XXXX=any brief instance of a device supported by the system, so that we can use as snapname the filename of the image currently mounted in the XXXX device. e.g.
-snapname %d_cart  uses the filename of the mounted cart
-snapname %d_flop4 uses the filename of the disk mounted in the 4th floppy drive

Basically, if we launch

mess gba -cart sma -snapname %g/%d_cart/%i

and we press F12, we get a snap/gba/sma/0000.png

This is better than hardcoding the device names since some systems can have up to 16 carts (and then we would need to specify options up to cart16 + disks, tapes & cdroms etc.!!)

Of course, if a wrong brief name is used (or if no image is currently mounted in that device), then MAME/MESS falls back to the default %g/%i. 

If we ever get to the point to use cartslot for megatech or pc10, this code will allow to save snaps using the shortname of any of the 10 carts inserted ;)
2011-01-12 15:10:50 +00:00
Curt Coder
b1a63a6d46 Added COSMAC back to Unidasm. (no whatsnew) 2011-01-12 15:05:18 +00:00
Fabio Priuli
c1dcd436fd cheat.c: added support for cheats with software list shortnames [Fabio Priuli] 2011-01-12 14:55:40 +00:00
Fabio Priuli
413967aa4f astring.h: fixed a duplicate name [Fabio Priuli] 2011-01-12 14:53:31 +00:00
Angelo Salese
5ce874f268 Haze: Perfan Girls speedup, no whatsnew 2011-01-11 15:54:22 +00:00
Angelo Salese
a7e62d2610 Copied from the bootleg, still doesn't work (change of direction that mustn't happen in grainbow) >.< 2011-01-11 15:06:27 +00:00
Angelo Salese
c586cdd513 Changed Multipede CPU to G658C02, no whatsnew 2011-01-11 00:57:18 +00:00
Couriersud
f420c226a4 Discrete sound system:
- all nodes are now class based
- removed all support for "legacy", i.e. procedural node functions.
- nodes are created using a class factory whose instances
  are set up in discrete blocks. There is no separation of
  node vs. module any longer.
- Custom modules are now just implemented like "normal" nodes.
- Converted all custom modules.
- Context variables can now be migrated to be private class members.
[Couriersud]
2011-01-11 00:21:43 +00:00
Brian Troha
825f1f4a92 Correct grom01.bin BAD_DUMP in Golden Par Golf [MASH] 2011-01-10 21:19:59 +00:00
Scott Stone
861aa50ba2 Fixed some input issues in meosism, vasara, vasara2 and twineag2 (ssv.c) [Tafoid] 2011-01-10 20:59:05 +00:00