Commit Graph

53053 Commits

Author SHA1 Message Date
David Haywood
da158f1311 fix MT 06644 2017-08-05 14:18:57 +01:00
David Haywood
91ea8d7ad0 kill some dead code (nw) 2017-08-03 22:31:06 +01:00
David Haywood
cbc39e5990 new WORKING clones added:
DoDonPachi III (World, 2002.05.15 Master Ver) [neohyphengeo productions]

note, 'new parent' as technically it's the newest non-Japan set (actually the only non-Japan set) and is actually newer than the original Japanese release (but older than Black Label)  Some may disagree with this designation but it follows 'MAME standard'
2017-08-03 17:42:52 +01:00
Vas Crabb
9cfafa722e stupid typos (nw) 2017-08-04 02:04:26 +10:00
Dirk Best
c10471e7ec jvc_dsk: Improve support for headerless OS-9 images 2017-08-03 16:05:08 +02:00
Vas Crabb
8eb07ffe97 minimaws: add machine feature status flags and slot card selection with live update 2017-08-03 23:38:22 +10:00
Dirk Best
224cfaeb6a jvc_dsk: Autodetect double sided floppy images without header, fixes #2405 2017-08-03 13:09:52 +02:00
Scott Stone
a3952f7167 Merge pull request #2542 from DavidHaywood/030817
misc housekeeping / one-liners
2017-08-02 22:50:12 -04:00
angelosa
6f4fcd6e12 MT #06641 2017-08-03 04:25:15 +02:00
David Haywood
1ef36d6916 misc housekeeping / one-liners
- removed am already dumped game from the undumped list in balsente.cpp
 - change copy+pasted comment in hangzo to better reflect that the tiles are not encrypted
 - fixed typo in ghox memory map
2017-08-03 02:58:44 +01:00
mahlemiut
d320ebddda trident: Fix ISA card shortname (nw) 2017-08-03 13:17:15 +12:00
Dirk Best
7972f7fb8b Coco FDC: Fix MT06640 (possibly also MT06639) 2017-08-02 23:29:03 +02:00
Dirk Best
d89c9ef51b a590: Correct filenames, add undumped 4.6 and 5.92 versions. 2017-08-02 23:28:58 +02:00
Ivan Vangelista
cf8f0150b3 royalmah: completed dip-switches for mjifb and clones (MT05608) (nw) 2017-08-02 18:17:43 +02:00
Ivan Vangelista
d524010551 New working software list addition
------------------------------------------------
lynx: Crystal Mines II - Buried Treasure (Euro, USA) [anonymous]
2017-08-02 18:06:14 +02:00
AJR
6c3ba2ea95 jp.cpp: More sample banks (nw) 2017-08-02 11:47:06 -04:00
hap
a6e8f9a008 column, not row (nw) 2017-08-02 17:43:25 +02:00
hap
fff4fd0c0e hh_sm510: add note for another kdribble bug (nw) 2017-08-02 17:42:16 +02:00
Vas Crabb
c85c7c4c15 Load slot info in minimaws (not exposed yet), fix up some problems with
slots uncovered

(nw) It seems at some point someone didn't realise that choosing the
same option from a SLOT_INTERFACE in multiple slots creates multiple
instances of the same device type, and this got copy/pasted everywhere.
2017-08-02 20:13:13 +10:00
Vas Crabb
bcef3c0445 fix up input_merger - it needs to save, and it's passive so no reset 2017-08-02 17:37:24 +10:00
AJR
ff27668eac jp.cpp: Add 74LS259 latches and ADPCM sound system used by some games 2017-08-02 00:20:17 -04:00
Vas Crabb
53e5439884 fix -sleep 2017-08-02 04:06:04 +10:00
Lord-Nightmare
42f2f9051b Mark some ISA bus devices as imperfect or unimplemented (nw) 2017-08-01 14:03:35 -04:00
Vas Crabb
a19a685621 more const, get rid of forced sleep (nw) 2017-08-02 03:33:02 +10:00
Ivan Vangelista
ecad41a8ec cps1.cpp: correct dip-switches for sf2accp2 (MT05277) (nw) 2017-08-01 18:40:27 +02:00
Ivan Vangelista
9b40004e5d dbz.cpp: fixed some dip-switches for dbz (MT05788) (nw) 2017-08-01 18:38:57 +02:00
Ivan Vangelista
8cbd0f641d pacman.cpp: partial dip switches for pengojpm (MT05945) (nw) 2017-08-01 18:37:30 +02:00
Nathan Woods
7e8707f496 [Imgtool] C++-ification of imgtool_forkent structure 2017-08-02 01:07:47 +10:00
Vas Crabb
5d6815b6de rather crude way to override cache control header (nw) 2017-08-02 01:02:07 +10:00
hap
fe87fa37b4 hmcs40/sm510: can just get rid of next_pc tables, sorry for likely merge conflct (nw) 2017-08-01 16:54:44 +02:00
Vas Crabb
14642adc5a minimaws web mode enhancements:
* Support serving static assets, use for stylesheet, script and images
* Better error pages, reject unsupported HTTP methods
* Replace lists with sortable tables with more detail (click headings to sort)
* Add pages for exploring source files, link from machine pages
 - Can start from full source file list at http://localhost:8080/sourcefile/

(nw) JavaScript performance can drop when sorting really big tables,
e.g. the list of all source files, or the list of machines in some of
the fruit machine drivers.  This update doesn't expose machine/device
information, just consolidating what's there.  The wsgiref server is
adding headers to prevent caching, I'll look for a workaround.
2017-08-02 00:41:09 +10:00
AJR
46a221b95e hmcs40: Workaround related to MT #6638; this disables a poorly implemented disassembly feature to prevent assertion failures and crashes when debugging drivers using HD44801 (nw) 2017-08-01 08:17:06 -04:00
Vas Crabb
8a1ba16a8f Revert "Attempted fix for QT debugger (nw)"
This reverts commit d8b1cb0191.
2017-08-01 15:20:17 +10:00
Vas Crabb
1e8c0b23c3 This is too contentious, please put it up for review
Revert "Changes to debugger memory address translation"

This reverts commit bb0964f9a2.
2017-08-01 15:19:44 +10:00
AJR
d8b1cb0191 Attempted fix for QT debugger (nw) 2017-08-01 01:01:48 -04:00
AJR
ac06279df0 Create explicit i386dasm include for x86 DRC (nw) 2017-08-01 00:55:59 -04:00
Vas Crabb
01decf78b0 need this for debug trace logging on DRC cores (nw) 2017-08-01 14:37:05 +10:00
Nathan Woods
c9b47bd56c SAM6883: Fixed a bug by which VDG addressing incorrectly honored the page bit
This affected the CoCo/Dragon family of drivers

Special thanks to Ciaran Anscomb for identifying this problem
2017-08-01 14:27:16 +10:00
AJR
bb0964f9a2 Changes to debugger memory address translation
- memory_translate now returns an address space number rather a boolean flag, permitting addresses in part of one space to map to an entirely different space. This is primarily intended to help MCUs which have blocks of internal memory that can be dynamically remapped, but may also allow for more accurate emulation of MMUs that drive multiple external address spaces, since the old limit of four address spaces per MAME device has been lifted.
- memory_translate has also been made a const method, in spite of a couple of badly behaved CPU cores that can't honestly treat it as one.
- The (read|write)_(byte|word|dword|qword|memory|opcode) accessors have been transferred from debugger_cpu to device_memory_interface, with somewhat modified arguments corresponding to the translate function it calls through to if requested.
2017-08-01 00:21:19 -04:00
AJR
d050ba956e ds2404: Provide full chip name and standard oscillator frequency (nw) 2017-07-31 20:05:18 -04:00
AJR
3b4315a4b5 Fix single build for i386-based drivers (nw) 2017-07-31 19:53:12 -04:00
angelosa
9fad357fe7 Partially fix MT #04528 2017-07-31 23:56:14 +02:00
BraiNKilleRGR
73f8e21160 Translation Update 2017-08-01 03:29:48 +10:00
Vas Crabb
8981b40bd9 Add "minimaws" sample script demonstrating how to do some tasks with
output from -listxml verb.  Compatible with Python 2.7 or Python 3.
Requires at least SQLite 3.6.19 for foreign key support.

This serves a few purposes:
* Demonstrating some things that can be done with -listxml output
* Providing a reference implementation for useful queries
* Helping ensure our XML output isn't completely useless
* Providing additional queries over MAME's auxiliary verbs
* Proper glob support unlike the broken implementation in MAME right now

Right now, it's a bit ugly to use.  You can only load into a completely
clean database, and you need to manually create the schema.  I'll
address this later.  The default database filename is minimaws.sqlite3
(you can override this with --database before the verb on the command
line).  Loading isn't particularly fast, but query performance is very
good.

Create a database first:
rm -f minimaws.sqlite3
sqlite3 minimaws.sqlite3 < scripts/minimaws/schema.sql

Now you can load it using a MAME binary or XML output (use one of these
options, not both):
python scripts/minimaws/minimaws.py load --executable ./mame
python scripts/minimaws/minimaws.py load --file mame0188.xml

Once that's done you can do queries:
python scripts/minimaws/minimaws.py listfull
python scripts/minimaws/minimaws.py listclones "*cmast*"
python scripts/minimaws/minimaws.py listsource "*mous*"
python scripts/minimaws/minimaws.py listbrothers "intl*"

These work much like the equivalent MAME verbs, but without the overhead
of loading MAME's static data.  But there's one already query that you
can't easily do with MAME:
python scripts/minimaws/minimaws.py listaffected "src/devices/cpu/m6805/*" src/devices/sound/qsound.cpp

This will list all runnable systems that use a device defined in any
file under devices/cpu/m6805 or in devices/sound/qsound.cpp (you can
specify and arbitrary number of files or glob patterns).  This may be
useful for planning regression tests.

Another thing this does (that gives rise to the name) is serving
information over HTTP.  It's implemented as a WSGI, and it mainly uses
GET requests.  This means it can run hosted in Apache mod_wsgi, or
cached by Apache mod_proxy, Squid, nginx, or something else.  It can
also run out-of-the-box using wsgiref.simple_server components.  The
default port is 8080 but this can be changed with the --port option.

Start the web server with the serve verb (stop it with keyboard
interrupt ^C or similar):
python scripts/minimaws/minimaws.py serve

Right now it's rather crude, and doesn't list devices for you.  This
means you have to know the shortname of a machine to get a useful URL.

For example, you can look at a driver and see its parent set and the
devices it references:
http://localhost:8080/machine/kof2000n

Or you can look at a device, and see the devices it refereces, as well
as the devices/systems that reference it:
http://localhost:8080/machine/zac1b11142

The links between devices/systems are clickable.  They might 404 on you
if you used a single-driver build with broken parent/clone
relationships, but they should all work in a full build that passes
validation.

There's still a lot to do.  In particular I want to demonstrate how to
do live DIP switch preview and dynamic slot discovery.  But I've already
discovered stuff in the -listxml output that's less than ideal with
this, so it's helping.
2017-08-01 02:55:25 +10:00
AJR
456fd5e422 v25: Make IDB register state visible to debugger 2017-07-31 12:11:09 -04:00
AJR
30231ff7ec blazeon, wingforc: Shadowing RAM with ROM in sound CPU map can't be right 2017-07-31 11:01:59 -04:00
AJR
018b5bce85 ghox: HD647180X memory mapping note (nw) 2017-07-31 09:23:50 -04:00
ajrhacker
6217982ffd Merge pull request #2535 from DavidHaywood/250717
add HD647180X MCU dumps to Whoopee and Ghox  [Team Caps0ff]
2017-07-31 09:19:52 -04:00
AJR
8ab2685217 kaneko16.cpp: Further organizational cleanups (nw) 2017-07-31 08:47:50 -04:00
David Haywood
69b31e3b7b add HD647180X MCU dumps to Whoopee and Ghox, allowing for sound emulation in both of them. This also fixes the high score table background in Ghox, which was also MCU related [Team Caps0ff] 2017-07-31 13:31:38 +01:00