summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/minimaws/lib/lxparse.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-03kill some dead code (nw) David Haywood2-9/+0
2017-08-03new working software list addition briantro1-0/+14
New working software list additions ----------------------------------- apple2: Nightmare Gallery [Ian B.]
2017-08-03new WORKING clones added: David Haywood2-7/+37
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-04stupid typos (nw) Vas Crabb2-2/+2
2017-08-03jvc_dsk: Improve support for headerless OS-9 images Dirk Best1-6/+25
2017-08-03minimaws: add machine feature status flags and slot card selection with live ↵ Vas Crabb8-22/+585
update
2017-08-03jvc_dsk: Autodetect double sided floppy images without header, fixes #2405 Dirk Best1-1/+9
2017-08-03MT #06641 angelosa2-8/+4
2017-08-03misc housekeeping / one-liners David Haywood3-3/+2
- 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-03trident: Fix ISA card shortname (nw) mahlemiut1-1/+1
2017-08-02Coco FDC: Fix MT06640 (possibly also MT06639) Dirk Best1-1/+2
2017-08-02a590: Correct filenames, add undumped 4.6 and 5.92 versions. Dirk Best1-22/+34
2017-08-02royalmah: completed dip-switches for mjifb and clones (MT05608) (nw) Ivan Vangelista1-45/+48
2017-08-02New working software list addition Ivan Vangelista1-1/+12
------------------------------------------------ lynx: Crystal Mines II - Buried Treasure (Euro, USA) [anonymous]
2017-08-02jp.cpp: More sample banks (nw) AJR1-5/+5
2017-08-02column, not row (nw) hap1-1/+1
2017-08-02hh_sm510: add note for another kdribble bug (nw) hap1-0/+2
2017-08-02Load slot info in minimaws (not exposed yet), fix up some problems with Vas Crabb22-111/+187
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-02fix up input_merger - it needs to save, and it's passive so no reset Vas Crabb2-6/+9
2017-08-02jp.cpp: Add 74LS259 latches and ADPCM sound system used by some games AJR1-89/+210
2017-08-02fix -sleep Vas Crabb1-1/+1
2017-08-01Mark some ISA bus devices as imperfect or unimplemented (nw) Lord-Nightmare2-0/+2
2017-08-02more const, get rid of forced sleep (nw) Vas Crabb1-16/+7
2017-08-01cps1.cpp: correct dip-switches for sf2accp2 (MT05277) (nw) Ivan Vangelista1-1/+37
2017-08-01dbz.cpp: fixed some dip-switches for dbz (MT05788) (nw) Ivan Vangelista1-6/+11
2017-08-01pacman.cpp: partial dip switches for pengojpm (MT05945) (nw) Ivan Vangelista1-17/+15
2017-08-02[Imgtool] C++-ification of imgtool_forkent structure Nathan Woods6-60/+93
2017-08-02rather crude way to override cache control header (nw) Vas Crabb1-20/+20
2017-08-01hmcs40/sm510: can just get rid of next_pc tables, sorry for likely merge ↵ hap2-52/+6
conflct (nw)
2017-08-02minimaws web mode enhancements: Vas Crabb8-89/+491
* 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-01hmcs40: Workaround related to MT #6638; this disables a poorly implemented ↵ AJR1-0/+7
disassembly feature to prevent assertion failures and crashes when debugging drivers using HD44801 (nw)
2017-08-01Revert "Attempted fix for QT debugger (nw)" Vas Crabb1-2/+2
This reverts commit d8b1cb0191e530180995c5c9f0cb890cf96cf95c.
2017-08-01This is too contentious, please put it up for review Vas Crabb34-750/+676
Revert "Changes to debugger memory address translation" This reverts commit bb0964f9a284b15851773f5428bd602ca01cc28b.
2017-08-01Attempted fix for QT debugger (nw) AJR1-2/+2
2017-08-01Create explicit i386dasm include for x86 DRC (nw) AJR5-5/+10
2017-08-01need this for debug trace logging on DRC cores (nw) Vas Crabb1-1/+1
2017-08-01SAM6883: Fixed a bug by which VDG addressing incorrectly honored the page bit Nathan Woods2-6/+1
This affected the CoCo/Dragon family of drivers Special thanks to Ciaran Anscomb for identifying this problem
2017-08-01Changes to debugger memory address translation AJR34-676/+750
- 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-07-31ds2404: Provide full chip name and standard oscillator frequency (nw) AJR2-2/+2
2017-07-31Fix single build for i386-based drivers (nw) AJR1-1/+1
2017-07-31Partially fix MT #04528 angelosa1-10/+17
2017-08-01Translation Update BraiNKilleRGR1-79/+98
2017-08-01Add "minimaws" sample script demonstrating how to do some tasks with Vas Crabb12-30/+952
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-07-31v25: Make IDB register state visible to debugger AJR2-0/+7
2017-07-31blazeon, wingforc: Shadowing RAM with ROM in sound CPU map can't be right AJR1-1/+2
2017-07-31ghox: HD647180X memory mapping note (nw) AJR1-4/+3
2017-07-31kaneko16.cpp: Further organizational cleanups (nw) AJR4-53/+46
2017-07-31add HD647180X MCU dumps to Whoopee and Ghox, allowing for sound emulation ↵ David Haywood2-121/+38
in both of them. This also fixes the high score table background in Ghox, which was also MCU related [Team Caps0ff]
2017-07-31galpanic.cpp, kaneko16.cpp: Disentangle dependencies (nw) AJR2-4/+2
2017-07-31kchamp: Stupid device finder (nw) AJR1-1/+1