Commit Graph

53022 Commits

Author SHA1 Message Date
Iñigo Martínez
dbd213a763 nes.xml: added information about Super Mario Bros. PCB. 2017-08-01 10:02:22 +02: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
AJR
1709d9a38c galpanic.cpp, kaneko16.cpp: Disentangle dependencies (nw) 2017-07-31 08:20:50 -04:00
AJR
1693a7cb38 kchamp: Stupid device finder (nw) 2017-07-31 07:39:55 -04:00
AJR
e4046d7f73 samsmem.cpp: Add 74LS259 (nw) 2017-07-31 01:00:45 -04:00
briantro
e22d86fde4 shangha3.cpp: Fix typo (nw) 2017-07-30 22:50:05 -05:00
briantro
5178e59dc1 shangha3.cpp: Better document Hebereke no Popoon (nw) 2017-07-30 22:41:23 -05:00
AJR
ba013a5e2a xtal.h: Value from PCB photo (nw) 2017-07-30 22:51:32 -04:00
angelosa
3d1ec3d9c6 MT #06259 2017-07-31 04:42:11 +02:00
cracyc
83adc109e7 plugins/data: add marp scores [Carl] 2017-07-30 21:33:23 -05:00
AJR
25e6589df6 isbc8630: Add 74LS259 "status register" (only partly implemented) 2017-07-30 21:47:40 -04:00
AJR
bf7704122c kchamp: DAC identification (nw) 2017-07-30 20:35:02 -04:00
AJR
dcb9fd57d4 Note this too (nw) 2017-07-30 19:44:12 -04:00
AJR
afe7fe0787 mario: Add coin counters and 74LS259 2017-07-30 19:39:09 -04:00
Nathan Woods
cc544e98c4 Imgtool: Removed silly intermediate 'const char *' (nw) 2017-07-31 08:32:09 +10:00
Ashura-X
0f05dff728 Update strings.po (#2526)
Translations updated
--------------------
Portuguese (Brazil)
2017-07-31 08:30:40 +10:00
angelosa
4d7b24c303 csplayh5.cpp: dipswitches (nw) 2017-07-30 23:02:00 +02:00
Ted Green
e512c4192a voodoo_pci: Update comments for pci config registers. (nw) 2017-07-30 13:34:01 -06:00
angelosa
357817b134 New NOT_WORKING machines
------------------------
Sengoku Mahjong Kurenai Otome-tai [Ralph Wallace, system11, The Dumping Union]
Nurete Mitaino... - Net Idol Hen [Ralph Wallace, system11, The Dumping Union]
Konnano Hajimete! [Ralph Wallace, system11, The Dumping Union]
2017-07-30 21:16:15 +02:00
Bavarese
9551023313 Rainbow-100: use Z80SIO instead of Z80DART; make UCSD Pascal boot again (#2524)
Incorporates change from Z80DART to Z80SIO proposed by Edstrom. Also make UCSD Pascal boot again.
2017-07-30 14:37:49 -04:00
Ted Green
bb252484f1 atlantis: Use standard way of handling keypad inputs. (nw) 2017-07-30 12:25:22 -06:00
Ted Green
06ad987a19 vegas: Mark nbanfl rom as BAD_DUMP and add patch to fix. Correct DIPs for gauntdl and roadburn. (nw) 2017-07-30 11:48:17 -06:00
Stiletto
454eb68f42 (nw)
(nw)
2017-07-30 13:45:39 -04:00
yz70s
5ebe819cce In the windows debugger log window add a Log/Clear menu to remove all logged messages (nw) 2017-07-30 19:09:59 +02:00
Ted Green
4c5b847938 seattle: Set proper blitz99 dip settings and add gearshift to calspeed. Fixes MT 00975 (calspeed). 2017-07-30 10:53:52 -06:00
Nathan Woods
6b76e4ad57 Imgtool: Vas Feedback: Changed another charconverter access (nw) 2017-07-30 21:59:33 +10:00
Nathan Woods
c04cc60702 Imgtool: Eliminated Imgtool-specific rand() function 2017-07-30 21:58:58 +10:00
briantro
a547f50134 new working clone - B.Rap Boys Special (World)
New Clone Added
-----------------------------------------
B.Rap Boys Special (World) [Phill @NES4Life]
2017-07-30 01:06:30 -05:00
Robbbert
6d365c12cb Merge branch 'master' of https://github.com/mamedev/mame 2017-07-30 15:30:04 +10:00
Robbbert
1fe256cda5 (nw) Housekeeping. 2017-07-30 15:29:05 +10:00
npwoods
aca90520de Imgtool: Merged normalize_filename() into cannonicalize_path(), C++-ification (#2527) 2017-07-30 15:16:45 +10:00
hap
3076e3a22b hh_sm510: fix a copypaste error (nw) 2017-07-30 01:02:30 +02:00
hap
c8c3f073f9 hh*: added output finder (nw) 2017-07-29 21:58:31 +02:00