Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the BEXT instruction #8

Merged
merged 1 commit into from Oct 25, 2014
Merged

Support for the BEXT instruction #8

merged 1 commit into from Oct 25, 2014

Conversation

plgDavid
Copy link
Contributor

The BEXT instruction is needed for the Unisonic Champion driver which I'm building.
The Intellivision doesn't need it since its EBCA0, EBCA1,EBCA2 and EBCA3 pins are grounded.
The method used was a suggestion from RB

The BEXT instruction is needed for the Unisonic Champion driver which I'm building.
The Intellivision doesn't need it since its EBCA0, EBCA1,EBCA2 and EBCA3 pins are grounded.
The method used was a suggestion from RB
@mmicko mmicko merged commit 754a24b into mamedev:master Oct 25, 2014
@ghost ghost mentioned this pull request Jul 11, 2017
daveshah1 pushed a commit to daveshah1/mame that referenced this pull request Feb 7, 2018
Remove the Nag/Info/Warning options
@MASHinfo MASHinfo mentioned this pull request Aug 27, 2018
couriersud referenced this pull request Apr 17, 2019
Adjust warning levels and fix a number of topics identified.
ajrhacker pushed a commit that referenced this pull request Sep 18, 2019
* add driver + roms

* Revert "Merge branch 'slammast-bootleg' into master"

This reverts commit 13846b391dcb0041ee56b90e8140bc58eb0c4c78, reversing
changes made to 23d2e67c0f658edb4ab588cd19de9bd62586d349.

Undo merge

* merge upstream (#8)

* aristmk5.cpp: added MACHINE_IMPERFECT_TIMING flag, since games run twice as fast as they should (nw)

* more SEGA FD1089 changes (nw)

* Mark empty PLD dumps from protected devices as NO_DUMP (nw)

For 18CV8 PLDs

* fs3216: Add X2212 dump [Bitsavers]
- Fix X2212 recall and store mixup (nw)

* New NSCSI device for WD33C9x SCSI Controllers (#4449)

* New NSCSI device for WD33C9x SCSI Controllers

Add a new NSCSI device model for the WD33C9x family of SCSI Controllers.

* Add missing shortname calls to logging lines

Add missing shortname calls to logging lines

* Correct spaces -> tabs

Correct spaces -> tabs

* at.cpp: Correct Compaq Portable names to show up ... (#4443)

* at.cpp: Correct Compaq Portable names to show up when an incomplete name is entered on the command line.

* compc.cpp: Moved appropriate comments over from pc.cpp.

* pc.cpp: Reorganised for easier readability, updated comments, added Eagle Spirit PC, Compaq Portable and CDP MPC 1600

* pc.cpp: Added ITT XTRA. Boots and works, despite keyboard error. Dump of original graphics card is missing.

* wd33c9x: somebody dropped this (nw)

* Fix clang build [-Werror,-Wreorder] (nw)

* ym2148: Flag framing errors; add error reset command; misc. small changes

* msx: Use input merger device for IRQ (nw)

* Keep track of which SDL input subsystems were initialized (nw)

* new working clone - Bubble 2000 v1.2

New Working Clone Added
------------------------------------------
Bubble 2000 V1.2 [Kevin Eshbach, The Dumping Union]

* tetrisp2.cpp: Show version number for World set of Tetris Plus 2 & add comment about v2.7 (nw)

* mips1: fix stupid tlb error (nw)

* speglsht.cpp : Typo

* additional documentation on compiling MAME (nw)

* New working machine added
-----------
Black Jack (Nintendo Game & Watch) [algestam]

* dcs: Fixed ram bank mapping in Denver DCS audio (nw)

* voodoo: Add some pre-defined rasterizers for sf2049se (nw)

* Games promoted to WORKING
San Francisco Rush 2049
Clones promoted to WORKING
San Francisco Rush 2049: Special Edition

* taito_en: Eliminate set_input_line_vector (nw)

* new working clone - Tetris Plus 2 v2.7

Turns out v2.7 WAS dumped.... in 2002!!!

New Working Clone Added
--------------------------------------
Tetris Plus 2 (World, V2.7) [Team Japump!!!]

* tecmosys.cpp: Modify game name / description based on suggestions by fellow devs (nw)

* New NOT_WORKING clone

-------------------------------
Pang (bootleg, set 6) [ClawGrip, Recreativas.org, The Dumping Union]

* Add 'pangbp' (nw)

* pc.cpp: Marked the Compaq Portable video ROM as BAD_DUMP.

* 68307: More accurate emulation of internal priority interrupt controller

* 68340: Preliminary cleanups (nw)

* ds3100: Preliminary full implementation of DEC DC7085 quad UART. [R. Belmont]

* bfm_sc4.cpp, ymz280b.cpp: Reduce logging spam (nw)

* (nw) We have a separate manufacturer field.

I've tried to dig up marketing material for systems to check:
* The "Eagle PC" really was marketed as "Eagle PC" with various submodels (e.g. "Spirit", "II" and "Turbo").
* "ITT XTRA" was marketed using that name.
* The IBM 5550 line was marketed as the "5550" (not "IBM 5550" and not "PC 5550").
* Columbia Data Products did not use "CDP" in the marketing name for the MPC 1600.

* gsword.cpp: update notes (nw)

* minor bugfix and cleanup (#4456)

Fixes leader lamp

* hh_sm510: code review bjack (nw)

* Fix compile. (nw)

* Fix SUBTARGET=nl build. (nw)

* Add gitignore to src/lib/netlist. (nw)

Also clean up doxygen genereated files in netlist makefile.

* Add some example XSLTs that operate on -listxml output

* srcclean: treat *.xslt as XML (nw)

* 68340: Interrupt overhaul
- Interrupts are now properly acknowledged and arbitrated. (Many remain unimplemented.)
- Interrupts are no longer automatically cleared upon acknowledgment except for the Programmable Interrupt Timer.
- Timer unit clears COM and sets TC and TO in the status register on applicable conditions.
- Timer unit's confusion of IE0 (TC IRQ enable) with IE2 (TO IRQ enable) has been sorted out.

* 68340: One further note (nw)

* Case sensitivity training for INI (nw) (#4455)

* Case sensitivity training for INI (nw)

The world is not 100% Windows, so case sensitvity is needed.

* Further standardization of the formatting (nw)

More to go...

* Pass 2 of new formatting wave (nw)

More to go, though.

* wave 3 of formatting cleanup (nw)

Further adjustments and cleanups, including unwanted tabs.

* Correct filtering instructions (nw)

* aristmk5.cpp: promoted some games to working after testing by Hehihachi_73 (nw)

* new not working clone
-----------------------------------
Tank Force (bootleg) [hammy, The Dumping Union]

* WD33C9X: More consistent interrupts, restructuring, and clean ups (#4457)

* New NSCSI device for WD33C9x SCSI Controllers

Add a new NSCSI device model for the WD33C9x family of SCSI Controllers.

* Add missing shortname calls to logging lines

Add missing shortname calls to logging lines

* Correct spaces -> tabs

Correct spaces -> tabs

* WD33C9X: More consistent interrupts, restructuring, and clean ups

This set of changes can get as far as partitioning and formating a disk for IRIX, but installation still isn't working.

* Accidentally merged this in...reverting...

Accidentally merged this in...reverting...

* -devices/sound/msm5205: Removed unused MCFG_MSM6585 macros, nw

-audio/irem, drivers/appoooh, cabal, chinsan, combatsc, crgolf, dacholer, darius, ddragon, de_2: Removed MACHINE_CONFIG macros, nw

-drivers/ashnojoe, battlera: Removed MACHINE_CONFIG macros and updated to use non-legacy MSM5205 VCK callback, nw

* SEGA FD1089 changes; missed this one (nw)

* gundhara lives dip is actually +1 for all settings (nw)

* mips1: fix coprocessor exceptions (nw)

* set the coprocessor error number in the cause register
* corrected side-effect handling in address translation
* added logging for RISC/os system calls

* mips: rx2030 boots RISC/os

Rx2030 systems now boot RISC/os (with FPU disabled) from an existing hard disk image, but require an unimplemented MIPS keyboard emulation to log in. Clean installation requires either SCSI tape emulation or support for a MIPS-only network boot protocol.

* wd33c9x: Handle disconnect command properly. Fixes fatalerror in ip225015 with new wd core. nw

* indy_indigo2: Switch to using new wd33c9x core, nw

* aristmk5.cpp: updated flags as requested in comments to the previous commit (nw)

* wd33c9x.cpp: fixed validation error: Device wd33c93.cpp(wd33c93) short name is a duplicate of wd33c9x.cpp(wd33c93)  (nw)

* comport:  Fix size to match image's hashes so that proper auditing can take place (nw)

* Make informational verbs a bit more consistent, reduce copy/pasted code, a slight performance improvement for reading localisation files, and more documentation clean-up/correction/clarification

* (nw) one shouldn't copy/paste spelling errors; also clean up some comments

* New working machine added
-----------
Game & Watch: Manhole (new wide screen) [algestam]

* gameboy.xml: Add alternate game serials (nw)

* nscsi_harddisk_device: track the current block LBA on writes (#4463)

* nscsi_harddisk_device: track the current block LBA on writes

* nscsi_harddisk_device: track the current block LBA on writes

* wd33x9c: Checkpoint commit for co-debugging

* ashnojoe: Fixed audio regression, nw

* ashnojoe: Missed include file, nw

* -drivers/discoboy, docastle, drmicro, dynax, fcrash, firetrap, fromance, gladiatr, gsword, hnayayoi, hyperspt, jangout: Removed MACHINE_CONFIG macros, nw

* sm510: added bs1 pin blinking (nw)

* xbox: move at devices into mcpx_lpc pci device (nw)
More to come.

* specpdq: Start fixing blitting ops [O. Galibert]

* specpdq: Fix backwards copy [O. Galibert]

* Duh (nw)

* thomson.cpp: Fix a few typos (nw)

* mbc55x: Shuffle code around in preparation for serial keyboard emulation; remove unnecessary debug command (nw)

* mbc55x: Rewrite keyboard as HLE serial device

* i8251: Protect some members no longer subjected to hacky public use (nw)

* gbcolor.xml: Add alternate game serials (nw)  (#4467)

* gbcolor.xml: Add alternate game serials (nw)

* gba.xml: Fix typo (nw)

* leapster.xml: New NOT_WORKING software list additions [TeamEurope, ClawGrip] (#4466)

* leapster.xml: New NOT_WORKING software list additions [TeamEurope, ClawGrip]

---------------------
500-12202-A - La Conquista de los Numeros (Spa)
500-12206-A - Don Lápiz - Aprender a Dibujar y Escribir
500-12210-A - Spider-Man - El Caso de Las Letras Revueltas (Spa)
500-12227-A - Buscando a Nemo
500-12259-A - El Laberinto de las Letras (Spa)

* Add parent-clone relationship (nw)

* leapster.cpp: Add Spanish BIOS v1.0 [Sean Riddle, ClawGrip] (#4458)

* leapster.cpp: Add Spanish BIOS v1.0 [Sean Riddle, ClawGrip]

* Fix string (nt)

* new NOT WORKING : Play TV Football 2 [Sean Riddle, Peter Wilhelmsen] (note, vii.cpp, not XaviX) + Baseball 3 + Huntin' 3 (Elan HW) (#4462)

* new NOT WORKING : Play TV Football 2 [Sean Riddle, Peter Wilhelmsen] (note, vii.cpp, not XaviX)

* note (nw)

* kill off old cricket hack, add logging function to calculate crc showing in header for radica games for easy verification

* better comment (nw)

* basketball seems to have been fixed at some point, remove old notes (nw)

* new NOT WORKING
Play TV Baseball 3 [Sean Riddle, Peter Wilhelmsen, David Haywood]
Play TV Huntin' 3 [Sean Riddle, Peter Wilhelmsen, David Haywood]

(need work on the hardware emulation and inputs)

* (nw)

* (nw)

* cps3.cpp : Updates (#4442)

* cps3.cpp : Add save states, Convert drawing routine restricted to cliprect rectangle
cps3.h : Use private:

* cps3.cpp : Add draw case when fullscreen zoom is 100%

* cps3.h : Minor updates

* psikyo.cpp: Minor corrections (nw)

out of whatsnew:

changed s1945jn to s1945nj to reflect it's a direct clone s1945n, standardizing clone name format.
s1945bl - added note about single bit difference in spritelut graphics data
Battle K-Road (Korea) set config default to Korea "for use in" notice

* fs3216: Green screen and some attributes (nw)

* mbc55x_kbd: The trouble with Unicode (nw)

* battlera: Hopefully fix audio regression, nw

* -sound/msm5205: Removed MCFG macros, nw

-drivers/jantotsu, joctronic, jp, kchamp, klax, kungfur, kurukuru, lucky74, lwings, mermaid, mgavegas, mitchell, mjkjidai, ojankohs, opwolf, pachifev, pcktgal, rastan, rmhaihai, sf, sothello, srmp2, suprgolf, system16, taito_log, tehkanwc, topspeed, trackfld, tubep, wacky_gator, wc90b, yunsung8: Removed MACHINE_CONFIG macros, nw

-machine/pce_cd: Removed MACHINE_CONFIG macro, nw

* mbc55x_kbd: Add PF1-PF10, Ins/Del and Break keys

* mbc55x_kbd: Better guess at INS code (nw)

* specpdq: Better boundaries, still some pattern offset issues [O. Galibert]

* mips1: fix Clang compile (nw)

* leapster.xml:  Fix crc32 hash for spidermns (nw)

* FixFreq code maintenance and add rgb channel functionality. (nw)

* Implement sub-pixel horizontal resolution. (nw)

This is not yet used and missing static initialization interface.
Electron beams in CRTs are not discrete. They are continous on a
scanline. This modification allows a higher horizontal resolution to
better model "subpixel" timing.

* diserial: Make is_receiver_register_full and is_transmit_register_empty const and inline (nw)

* ds128x.cpp: add device ds12885ext same as ds12885 but 256 bytes ram (nw)

* xbox.cpp: rename pci device mcpx_lpc to mcpx_isalpc (nw)
Also add mc1885ext device as rtc.

* mbc55x_kbd: Fix / key; improve documentation again (nw)

* new NOT WORKING ClickStart [Sean Riddle, Clawgrip, TeamEurope] + a Software List for it (#4473)

* new NOT WORKING ClickStart [Sean Riddle, Clawgrip, TeamEurope] + a Software List for it

seems to be something missing, jumps to outside of code area, maybe secondary small internal ROM of CPU.  I did think the dumps were half size for various reasons, but there is a checksum in the footer of each one that matches the data (even if another checksum in the header for some of them we can't match)  Possible BIOS is wrong tho as that checksum in the footer doesn't match by quite a significant amount.

most games show something just by putting a 'RET' opcode in the upper areas it attempts to jump to.

Ryan credited in driver since it's more or less just a stripped down copy of vsmile.cpp

* more correct (although does less now because of extra checks in new code) (nw)

* (nw)

* (nw)

* Add new driver to mess.flt (nw)

* oric.cpp: fixed MT07197 (nw)

* spg2xx+vsmile: Started hooking up a control pad. 7x/Bx handshaking and 55 heartbeat works, but no controls respond yet. nw

* Improve readability. (nw)

* Minor bug fixes and refactoring. (nw)

* new NOT WORKING (JAKKS Pacific stuff)
WWE (JAKKS Pacific TV Game) [Sean Riddle]
Fantastic Four (JAKKS Pacific TV Game) [Sean Riddle]
Justice League (JAKKS Pacific TV Game) [Sean Riddle]

WWE doesn't render any sprites other than the backgrounds once you get past the 'loading' screen
Fantastic Four seems playable but has severe performance issues as the video code isn't optimized for scanline drawing / isn't using cliprect properly (runs about 10-15% speed in places) can probably be promoted once that's fixed
Justice League might actually be working, just need to test it more.

Need to find out how to get into the hidden test menus to run the ROM checks etc.

* test mode notes (nw)

* (nw)

* documentation (nw)

* (nw)

* (nw)

* note (nw)

* v102: Add serial ports and prepare for serial keyboard (nw)

* -clickstart: Favor specific values over rand(), nw

-devices/cpu/unsp: Added a function to get current chip-select state, nw

-devicesp/machine/spg2xx: Various changes: [Ryan Holtz]
 * Added 4kHz/2kHz/1kHz/1Hz timers.
 * Added ADC read callback.
 * Fixed a bug with floating GPIO inputs.

Clickstart games now generally get to the title screen or main menu, other than Bob The Builder, which is missing some graphics. nw

* v102: Add preliminary keyboard emulation

* v102: Fix "multiple screens" error (nw)

* spg2xx: Switched to scanline-based rendering, nw

* spg2xx: Turn debugging features back off, nw

* v102_kbd: More likely Caps Lock (nw)

* nes_vt: APU improvements (#4476)

* nes_vt: Add support for second APU and VT03 PCM

* nes_vt: Add support for VT3x PCM in DGUN2573, etc

* nes_vt_apu: Tidy up after rebase (nw)

Signed-off-by: David Shah <dave@ds0.me>

* nes_vt_apu: Add IRQ support

Signed-off-by: David Shah <dave@ds0.me>

* nes_vt_apu: Remove debug printing (nw)

* nes_vt_apu: Fix indentation (nw)

* knightsb : improved graphics [wonder199999]

* Minor metadata updates of neogeo games (#4472)

* Minor metadata updates of neogeo games
Correct year, publisher/developer, Add notes, Related to title screen, staff roll, etc.
AES release of razion is exists

* neopcb.cpp : Minor spacing fix

* neogeo.xml : Sync to neogeo.cpp metadata

* srmp6.cpp : Updates
Use buffered_spriteram16 for sprite ram, Use shorter type values, Fix namings, Add notes, Fix color fading, Minor corrections, Add save states, Reduce runtime tag lookups, Minor code style fixes, Simplified gfxdecode

* galastrm.cpp : Device'fied TC0110PCR, Reduce duplicate, ACCESSING_BITs, Unnesessary Runtime tag lookups, handlers, pointers

* Tidy constructor of ds12885 device (nw)

* remove some MCFG macros that were barely used any more (nw)

* Fix compile. (nw)

* More c++ alignment. pstring now behaves like std::string. (nw)

This change removes all string extensions like trim, rpad, left, right,
... from pstring and replaces them by function templates.
This aligns a lot better with the intentions of the standard library.

* sf2mdta : improved graphics [wonder199999]

* Always call send_complete_cb, even if no adapter is present (nw) (#4477)

* p8k: My mistake (nw)

* (nw) cps3 : made some members protected to fix hbmame issue

* (nw) fixed compile error in netlist.

* (nw) timelimt : fixed hbmame problem

* v102: Remove remnant (nw)

* get rid of the rest of the digfx MCFG as well (nw)

* Code maintenance and fix for "pure virtual call" error. (nw)

* New working machine added
-----------
Game & Watch: Lifeboat [algestam]

* nes ppu: don't use float on cycles_to_attotime (nw)

* hh_sm510: gnw_lboat directional controls are separate buttons (nw)

* Use the same mcpx_isalpc device in both nforcepc and xbox (nw)
Also use new smbus_logger device in nforcepc to log smbus accesses

* capbowl: can't multiply attotime with float (nw)

* Code maintenance. (nw)

* Code maintenance and bug fixes. (nw)

Rewrote and simplified tiny bits. Fixed inappropriate use of
netlist_sig_t for non-boolean values.

* fix MSVC (llvm toolset) compile (nw)

- conditionally uninitialised variables in PortAudio;
- floats passed to attotime;
- unsigned->signed enums (this one is technically still wrong)

* (nw) nforcepc : fixed validation error; added SHA1s.

* ds5k133: Preliminary LANCE DMA hookup [R. Belmont]

If you can parse this comment from the Linux driver, please help :)

 * The IOASIC LANCE devices use a shared memory region.  This region
 * as seen from the CPU is (max) 128 kB long and has to be on an 128 kB
 * boundary.  The LANCE sees this as a 64 kB long continuous memory
 * region.
 *
 * The LANCE's DMA address is used as an index in this buffer and DMA
 * takes place in bursts of eight 16-bit words which are packed into
 * four 32-bit words by the IOASIC.  This leads to a strange padding:
 * 16 bytes of valid data followed by a 16 byte gap :-(.

I get the first part, which is that since the DMA engine works in words and
LANCE works in half-words that each half-word for LANCE is packed into one
word from the CPU's point of view.  The second part not so much.

* add C++ standard library headers for things that are used (nw)

* housekeeping (nw)

* aic6250: silence logging
* am9517a: silence logging
* ncr5390: remove mcfg and unneeded read/write handler wrappers
* interpro: use regular read/write handlers
* next: de-mcfg ncr5390
* sun4: de-mcfg ncr5390

* neogeo_spr.cpp : Simplified xzoom checking, Reduce unnecessary line

* devices/bus/neogeo/cmc.cpp, rom.cpp : Implement NVRAM
Both jockeygp, vliner has battery-backed RAM, Correct this

* snes: Fix crash when no cartridge has been loaded

* (nw) nforcepc : suggestion of Haze; also fix typos while we're there

* hh_sm510: found tinday model number (nw)

* netlist wip: 7474, 7497, test driver

* sblaster: DMA fixes for SB Pro and SB16

* Fix reported crash. (nw)

* Fix reset order for nets. (nw)

* mappy.cpp - Fix palette typo which corrects MAPPY title logo (nw)

* (nw) fixed crash in sf2b

* Fix clang build [-Wc++11-narrowing] (nw)

This also adds an explicit type to the enum, so MSVC should be happy with this way as well.

* Fix netlist logs. (nw)

* Rewrote 7497 device. (nw)

The 7497 device should now work as described in the TI datasheet. This
datasheet contains an internal schematic with details on gates and D
flip flops used.

* smc91c9x: Refactor code. WIP. (nw)

* hh_sm510: Added gnw_climber PCB label (nw) (#4489)

* vii.cpp:

new NOT WORKING
Mattel Classic Sports [Sean Riddle]
Dora the Explorer (JAKKS Pacific TV Game) [Sean Riddle]

kludge handling of invalid size writes to DMA so that Dora the Explorer doesn't trash all of RAM + registers

new SOFTWARE LIST
JAKKS Pacific 'NK' Game Keys

(Dora has corrupt gfx, probably the bad DMAs should do something, Mattel Classic Sports gives a black screen)

xavix.cpp:

new NOT WORKING
e-kara Pro Headset (US, includes 3 songs) [Sean Riddle]
Super Dash Ball (Japan) [Sean Riddle,  Peter Wilhelmsen]
Gururin World (Japan) [Sean Riddle, Peter Wilhelmsen]

disable active raster interrupts if raster interrupt enable is turned off, and add preliminary shifter register emulation, needed for 3D stages in Gururin World [David Haywood]

(Pro Headset works as well as other e-Kara stuff, marked as NOT WORKING due to lack of microphone and sound emulation issues, Super Dash Ball needs trackballs hooking up, Gururin World needs analog cycle looking up)

rad_eu3a14.cpp:

tied tilemap dimensions to tile sizes to improve Huntin'3 map screen [David Haywood]

* hpc3: Silence debug logging, nw

* new not working clones
-------------------------------------------------------------
Moon Fire - Jackpot Carnival (30164211, Queensland) [Heihachi_73]
Where's the Gold (20184811, Queensland) [Heihachi_73]

aristmk6.cpp: added a bios set [Heihachi_73]

* smc91c9x: Added initial MAC filter and fixed multicast address filtering. WIP. (nw)

* -spg2xx: Various changes: [Ryan Holtz]

 * Adjusted UART receive behavior to flag an available byte only at the specified baud rate.
 * Added separate UART baud rate calculation for SPG24x vs. SPG28x.
 * Adjusted ADC behavior to flag an IRQ when the relevant data bit is set, not when register bit is newly set.
 * Added separate logging for FIQ registers.
 * Added logging for SIO registers.

-clickstart: Added preliminary mouse hookup. Only accepts a mouse update once, ignores further updates. Needs further investigation. (nw)

* promoted to WORKING : Super Dash Ball (Japan) [Sean Riddle, Peter Wilhelmsen, ShouTime, David Haywood]

* uts20, uts10: Keyboard emulation and more
- Add custom keyboard port and emulate most of the Expanded Typewriter Keyboard
- Add unidirectional printer port
- Use addressable latch devices to control various things, including disabling display during RAM test
- Hack to pass non-volatile memory test on uts10

* Machines promoted to working

--------
Fantastic Four (JAKKS Pacific TV Game) [David Haywood, Ryan Holtz]

spg2xx: Fixed regression with Y-flipped tilemap tiles (nw)

* Fun World Quiz: Switch manufacturer to Fun World.

Out of WN... Oehlinger is not a company, just a guy inside Fun World that climbed to CEO of PhotoPlay.
He left some strings with his last name in some programs and claims to be the CEO and owner of Funworld Ag...

* Fixed tp1983 and 7497 and added 7497 dip version. (nw)

The schematic for the tp1983 contains an error. R19 is connected to GND.
This will never work since when Q goes low, the reset pulse will dead
lock Q to low. R19 needs to be connected to VCC (5V). This will generate
the proper, high-pass filtered pulse.

Further fixes for the 7497 as well.

* New working machines

--------------------
WWE (JAKKS Pacific TV Game) [Sean Riddle, David Haywood, Ryan Holtz]

spg2xx: Treat 0-length sprite DMA as 0x400 words. Fixes sprites in clikstrt bobbuild and jak_wwe. [Ryan Holtz]

* uts_kbd/extw: Identify more function keys and layout options (nw)

* midwayic: Make initial serial number random (nw)

* srmp6.cpp : Add video reference

* nile.cpp : Add save states (#4495)

* ncr5390: various improvements (nw)

DMA/DRQ handling is simplified and hopefully more correct.
Tested working with mips, interpro and sun4.
* added 16 bit dma for ncr53c94
* added reset atn command
* refactored dma/drq code
* avoid a hang in disconnected selection

* mips1: magic number removal and more logging (nw)

* mips: rx3230 scsi dma (nw)

* Revert midwayic: Make initial serial number random. No linking for you! (nw)

This reverts commit 70b83845641c46b93f182d5ea41190502d14c79e.

* C++ and minor performance optimizations. (nw)

* vic4567.h: removed MCFG macros. Nothing uses this device anymore, anyway (nw)

* aristmk5.cpp: load and config setchips only for the US sets  (nw)

* This took a whole ten minutes to implement. What an undue burden. (nw)

* new working clone
-------------------------------------
Top Secret (Japan, revision B) [FabC]

* devices/video: some MCFG macro removal (nw)

* new NOT_WORKING clone
---------------------
Samba De Amigo (Rev A) [f205v]

* Improve type safety on string->numeric conversions. (nw)

Also fixed an issue with 7497.

./nltool -t 5 -f src/mame/machine/nl_tp1983.cpp -v

now runs again.

* Move information where it belongs ... into the drivers. (nw)

* upd765: Add output callback for unit/drive select lines (nw)

This is intended for future use by machines in which the US/DS lines are neither directly connected to the drives nor wholly disconnected from them.

* (nw) housekeeping
(nw) idk how a black screen can be considered working, but what would I know.

* nscsi_bus: request sense fix (nw)

* request sense returns minimum of allocated length or available data (or 4 bytes)
* set the additional length properly
* fix some magic numbers

* nscsi_hd: stubs some mode pages (nw)

The mips systems complain if hard disks don't support these pages and allow mode select on some of them.
* add stubs for some mode pages
* detect and report an error for unsupported pages
* accept and ignore mode select command

* z80scc: don't spam interrupt state (nw)

* wd33c9x: Fix non-dma data retrieval [O. Galibert]
nscsi_cd: Add the read TOC command, fix inquiry [O. Galibert]

* Major formatting update for command line options, copyright/version update (#4470)

* Update copyrights and docs revision (nw)

Updates copyright on existing 2018 entries to 2019 (and one 2016)
Updates the docs compilation script to MAME 0.205 and 2019 copyright.

* Further formatting overhauling (nw)

Clamp to 80 column where possible; it makes it easier to track errant
line breaks, etc.
Also begin standardizing tab formatting and two spaces after period.

* Further corrections to command line materials (nw)

* More adjustments for Cuavas (nw)

Getting closer to acceptable.

* more command line doc cleanup (nw)

* 8x300: Cleanup and expansion
- Latch at most one IV input per instruction
- Fix output behavior of some opcodes that selected the wrong IV bank or wrong value to write
- Add 8X305 type
- Emulate additional 8X305 registers
- Add address latching callback

* 8x300: Fix IV destination masking (nw)

* wd33c93: Fix select-and-transfer, now jojo is exactly as broken as everybody else [O. Galibert]

* src/devices: more MCFG macros removal (nw)

* uts_kbd/extw: More notes (nw)

* Refactoring and bug fixes. (nw)

* Fix stuntcyc regression. (nw)

* clickstart: Added rudimentary keyboard support. Game still stops responding after one packet. nw

* spg2xx: Various optimizations, more than doubles the performance on my system, nw

* vii: Added save_item calls, nw

* 2018 -> 2019 changes (nw)

* 2018 -> 2019 changes (nw)

* (nw) fixed my breakage in mess build

* 5% performance improvement for breakout from a single device. (nw)

* Forgot this one. (nw)

* Fix reset members. (nw)

* Fix clang error: extraneous template parameter list in template specialization [-Werror] (nw)

* i386/i486ops.hxx: Note on old change (nw)

* a2bus: Simplify and consolidate DMA handlers now that address_space is no longer tied to disabling side effects (nw)

* uts20 : added screen 2 (disp 1-2 key works now)

* fs3216: Vector PROM dumped [Al Kossow]

* fs3216: First draft of MMU (nw)

* fs3216: Looks like fetching FC2 on the 68000 works after all (nw)

* ioc2: Reworked PIT8254 clocking, nw

* mips3: Fixed fastram accesses and COP0 exception handling. [Ryan Holtz]

* aristmk5.cpp: improved inputs for baddog, multidrw. Adjusted baddog.lay accordingly. [Heihachi_73]

* Move NL_KEEP_STATISTICS from netlist_types to the individual use cases.
(nw)

* better documentation for compiling on Windows (nw)

* europc: Onboard FDC is a WD37C65 (nw)

* europc, europc2: Add dump of ZC86115P keyboard controller [rfka01, lvr]

* src/devices: some more MCFG macros removal (nw)

* new not working machine
--------------------------------------------
Twinkle Tale (bootleg of Megadrive version) [FabC]

* make INI file loading examples match current behaviour at least (nw)

* pce.xml: Fix typo (nw) (#4498)

* Fix clang-8 warnings. (nw)

* Revert "merge upstream (#8)"

This reverts commit ed4786bc02ad8a13792e2e130e97d91322d6f331.

* merge upstream (#24)

* vic20: Removed deprecated code. (nw)

* avgdvg.cpp : Updates
Remove hardcoded tags, Runtime tag lookups, Simplify handlers, Reduce unnecessary lines, Fix spacings, Some code styles, Namings, Use shorter / correct type values

* New working clone added (#5091)

----------
Merry Cook [algestam]

New machine marked as NOT_WORKING
----------------------------------
Game & Watch: Chef [algestam]

* Autofire plugin: Save/load fixes (#5093)

* Fixed bugs related to reloading roms

Soft resets would reload autofire settings without saving them first, causing the settings to be lost. This commit adds a check to only reload from the settings file if loading a different rom than before.

Hard resets would leave bad references lying around, causing MAME to crash under certain circumstances (i.e. resetting while in the edit menu and entering the menu again). This commit makes sure to properly clean up and reinitialize menu and button states when resetting.

* Used set_folder to avoid hardcoding plugin name in settings path

* Bumped autofire plugin version

* audio/jaguar.cpp : Correct timer related to DSP

* wizzquiz: Don't know how this escaped modernization (nw)

* walk386sx, walk386dx: Notes (nw)

* jaguar.cpp : Updates
Correct gpu timer rate related to gpu clock, Fix notes, Fix crash cause in 68ec020 cpu games (all 68ec020 based games are HDD based, no bankswitched ROMs)

* walk386*: Better notes (nw)

* punchout: Use generic gfx_layouts

* (nw) pro80 : improved cassette

* MT 07332

* pzletime: Split palettes, convert screen update to RGB32

* ui/menu.cpp: Privatize a few variables (nw)

* new working clone
------------------------------------------------
Ms. Pac-Man (Impeuropex bootleg) [Corrado Tomaselli]

* ui/menu.cpp: Provide more helpers (nw)

* abc80: Super Smartaid WIP. (nw)

* iwm: Sad but true (nw)

* jaguar.cpp : Updates
Add palette device for precalculated YCC color lookup, Fix spacings, Fix notes, Reduce unnecessary lines

* Preliminary emulation of ASC-88 SCSI adapter [AJR, minuszerodegrees.net]

* fcombat.cpp : Updates
Simplify handlers, Reduce runtime tag lookups, Unnecessary lines, Fix namings, Spacings, Use shorter / correct type values

* asc88: Corrections and notes (nw)

* Revert ac0d80ee which broke both Mac OS and HP-UX [R. Belmont]

* igs022.cpp : Updates
Reduce hardcoded tags, Runtime tag lookups, Unnecessary pointers, Unnecessary lines, Use shorter / correct type values

* r4000: sgi ide fixes (nw)

Corrects some TLB diagnostic errors (remaining ones require implementing a data cache), and the FPU "underflow" test (really an unimplemented instruction exception, not an  underflow) by checking for denormalized or quiet NaN operands for all floating point arithmetic instructions..

* momoko.cpp : Updates
Simplify handlers, Reduce runtime tag lookups, Unnecessary lines, Fix namings, Spacings, Use shorter / correct type values

* r4000: fix brain damage (nw)

* mosaic.cpp: decapped PIC for mosaic [Caps0ff, caius, The Dumping Union]

(nw) not hooked up yet, is someone is interested please go ahead

* m68000: fixed the real MMU problem Domain/OS was having; Mac still works. [Hans Ostermeyer]

* 3c505: fixed Apollo dip switch labels [Hans Ostermeyer]

* trkfldch / my1stddr - don't just blow up at least (nw)  (#5102)

* trkfldch / my1stddr - don't just blow up at least (nw)

* unimportant rubbish (nw)

* nonsense (nw)

* basically nothing (nw)

* possible irq reg (nw)

* outside irq (nw)

* looking at register use (nw)

* WOZ and Cleanly Cracked updates for May 2019 (nw) (#5097)

* Update Apple II softlists to May 20th 2019 (nw)

This includes a couple of dupe removals found using a new workflow that may help speed things up a bit at the same time as helping prevent these dupes from happening.

* Correct Big Book Maker Tall Tales entry, remove duplicate (nw)

* Update Apple II softlists to May 22nd 2019 (nw)

Fixes:
More missing metadata corrected
Remove incorrect dump of Tink Tonk disk side B
Correct title on Dunzhin

Add cleanly cracked:
Design Your Own Train, Designaaaurus 2.12, Destroyer, Developing Basic Writing Skills Level 1, Developing Basic Writing Skills Level 2, Diagramming Grammatical Relationships, Dug Dug (Datasoft), Dino Spell, Dinosaur Days, Discover, Discovering the Scientific Method, Diskovery Word Bird, Dividing Fractions, Division Made Easy, Division of 1, 2, 3 Digits by 1 Digit Numerals No Remainders, Division One Digit Divisor No Renaming, Division One-Digit Divisor One Renaming, Division Shooting Gallery v1.5, Dogs and Puppies, Donald Duck's Playground, Dondra - A New Beginning, Don't Quote Me and Adjective Scramble, Double 'N' Trouble, Double Trouble, Dr. Peet's Talk-Writer, Dr. Peet's Talk-Writer ABC Discovery, Dragon Fire, Dragon Mix (1982), Dragon Mix (Revision 0), Dragon's Keep, Drug Alert, Drug Alert (Revision 0), Early Bird, Early Discoveries - Observation and Classification, Early Elementary, Early Emerging Rules - Negation, Early Emerging Rules - Plurals, Early Games - Matchmaker, Early Games - Music, Early Heroes of the Bible, Early Skills (Version 06.06.86), Earth Orbit Stations, Earthquake San Francisco 1906, EasyGraph

Add new WOZ originals:

Cutthroats R23, Trinity R11, Stationfall R107

* Fix naming conventions on WOZ files (nw)

Done once, won't need to happen again.

* pc.cpp: Add Nixdorf PC-01, genpc.cpp: new BIOS version (#5100)

* New working software list additions
-----------------------------------
ibm5170: The Final ChessCard [hap]

* finalchs: company official name is Tasc anyway, not TASC (nw)

* (nw) validation

* my1stddr - some ugly stuff to pave way for real improvements (proves it is running etc.) (nw) (#5104)

* my1stddr - some ugly stuff to pave way for real improvements (proves it is running etc.)

* log stuff (nw)

* log notes (nw)

* there's a pointer to the spritelist in the regs, make a note of it (nw)

* (nw) a5105 : added cassette read per schematic, but not working

* (nw) mosaic.cpp: Correct clock speed for PIC chip

* (nw) segas16b.cpp: Add in Sega ID# for Tough Turf

* (nw) segas24.cpp: Sega ID#s for Hot Rod

* dcclubj, quizmeku: Add board IDs (nw)

* MT 07334: microtan: out of memory when trying to run BASIC

* quizo: Clean up VRAM banking and screen update, convert to RGB32

* quizo: Further improvements

- Clean up ROM banking
- Use XTAL values
- Add COIN2 and document more dip switches

* amiga: Convert screen update routine to RGB32 (nw)

* Improve sorting of items for machine input menu. Inputs of the same type are sorted by name, and keyboard keys are sorted by their assigned character codes (if any).

* hh_sm510: sean found 1st gen g&w mcu pinout matches sm5a (nw)

* ncr5380n: Misc. updates (nw)
- Remove fake device clock from configuration
- Allow some read side effects to be disabled
- Separate device type for 53C80, which has a few functional differences and is used in various Apple products
- Add hsscsi to apple2e and apple2gs slot options

* ncr5380n: Clarify note (nw)

* inputmap: fix gcc compile(unused variable) (nw)

* inputmap.cpp: Further cleanup (nw)

* bbusters.cpp: added coin counters (nw)

* bbusters: That's not a parallel EEPROM type (nw)

* MT 07335: comx35p,comx35n: cannot load a cassette

* at.cpp: One more set separated out (nw)

* at.cpp: Separate out and document this unknown motherboard (nw)

* cntsteer.cpp: improve colors (nw)

* Fix accidental sprite color regression (nw)

* at.cpp: Separate yet another set (nw)

lm103s: Correct system and set name (nw)

* specpls3_flop.xml: New additions

Added a correct dump of Coin-Op Hits, dumped by Dlfrsilver (known dump had missing sectors in tracks).
Also, small fixes in publisher names.

* Update specpls3_flop.xml

*  my1stddr improved gfx (nw) (#5105)

* identifying more sprite bits (nw)

* my1stddr improved gfx (nw)

* some alt tile bases for reference (nw)

* tweak (nw)

* this is promising (nw)

* mac: fixed missing audio for SE and Classic. [R. Belmont]

* Update specpls3_flop.xml

* New machines added as MACHINE_NOT_WORKING

MegaTouch XL Titanium (version r0?, cracked) [C. Ward, R. Belmont]

* at/toptek286: Tentative motherboard identification; split ROMs (nw)

* -r4000: Added bus error functionality. [Ryan Holtz]

-newport: Fixed VRAM tests and several fast-clear bugs. [Ryan Holtz]

-hpc3: Fixed several SGI IDE tests. [Ryan Holtz]

-ioc2: Added stubs for modern PS/2 keyboard controller, nw

* Fixed arcade build

* (nw) Fix Arcade build

* (nw) Makes no difference but be accurate with read Mosaic PIC clock

* at.cpp: Note source of dumps that were split (nw)

* new not working clones
---------------------------------------------
Dolphin Treasure (0101250V, Queensland) [Dam0, Heihachi_73]
Indian Dreaming (0101340V, Queensland) [Dam0, Heihachi_73]

* (nw) Poly8813 : new roms

* arm: missing copyright holder (nw)

* (nw) poly8813 : updated note

* Fix clang error: reference to non-static member function must be called; did you mean to call it with no arguments? (nw)

* krokha: new working machine.

* -newport: Improved handling of COLORHOST mode bit. [Ryan Holtz]

* (nw) poly880 : added speaker, fixed NMI circuit, fixed keyboard, hooked up daisy chain.

* -newport: Fixed 4bpp color mode, nw

* coco2: Converted all coco/dragon extension devices to use cts handlers.

* at/ht286: Split out another BIOS, or rather a duplicate (nw)

* my1stddr / trkfldch progress (nw) (#5110)

* my1stddr - 8x8 decode (nw)

* make trkfldch show stuff (nw)

* misplace (nw)

* New clones marked as NOT_WORKING

New clones marked as NOT_WORKING
--------------------------------
Cycle Warriors [Sugoi Helsinki]

* fix screen_device::update_now() when drawing partial lines (#5109)

-screen: Fixed update_now() when drawing partial lines. [Enik Land]

-screen: Fixed pixel-access functions to use the current bitmap. [Enik Land]

* New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Ensoniq TS-10 [R. Belmont, DBWBP.com]
Ensoniq TS-12 [R. Belmont, DBWBP.com]

* (nw) Housekeeping

* fixed typo in afm outputs

* Fix multipak rom switching (#5112)

* Start fixing OS9 disk handling

* Call ROM update handler if Multi-Pak switch is changed. Virtually or physically.

* I need to figure out why these keep getting reverted in my feature branches.

* i386: fix enter insn (nw)

* -newport: Fixed pixel format conversion on HOSTRW access. [Ryan Holtz]

* srcclean (nw)

* starrider: few more notes (nw)

* add focus next/previous input types, will be hooked up later (nw)

* Bally -35 Pinball
Fix recent AS2888 sound board audio regression playing wrong tones
Change default sound board test switch that conflicted with in game service switch

*  my1stddr / trkfldch - palette, dma improvements (nw) (#5114)

* my1stddr - palette, dma improvements

* better decode (nw)

* Hp9845: added 98046 module emulation (#5115)

* hp9845: fixed handling of optional ROMs (nw)

* z80sio: massive enhancement to Z80 SIO driven by HP98046 test sw

* hp9845: implemented the HP98046 serial I/O module

* ts10/ts12: main screen turn on (nw)

* leapfrog_leappad_cart.xml: New NOT_WORKING software list additions

---------------------------
Leap 1 - Reading - Disney/Pixar Finding Nemo (UK) [Team Europe]
Leap Start - Pre Reading Storybook - Disney's The Lion King (UK) [Team Europe]
Leap 2 - Reading - Disney/Pixar Monsters, Inc. (UK) [Team Europe]
Phonics Programme - Lesson 3 - Short Vowels o and e - A Day at Moss Lake (UK) [Team Europe]
The Amazing Spider-Man (UK) [Team Europe]
Disney's Bounce, Tigger, Bounce (UK) [Team Europe]
Leap-Start - Pre Reading - Tutter's Tiny Trip (UK) [Team Europe]

Also renamed a set a fixed some descriptions and parent-clone relationships (nw)

* -newport: Fixed Fastclear mode again, nw

* z80netf: Fix error in keyboard configuration (was broken since 0.196)

* mc68340: Fix interrupt vectoring

* mc68340: Fix interrupt vectoring

* z80netf: Fix error in keyboard configuration (was broken since 0.196)

* mc68340: correct MC68340 baud rate calculation [R. Belmont]

*  trkfldch / my1stddr tilemap stuff (nw)  (#5117)

* trkfldch / my1stddr tilemap stuff (nw)

* select bits for bg tilebase (nw)

* dinetwork: Add loopback control (nw)

* esqmr: improved RAM, ROM, and device mapping.  Programs run farther but don't boot yet. [R. Belmont]

* trkfldch - alt bg tile format (nw) (#5118)

* small changes (nw)

* alt tile format (nw)

* New NOT_WORKING software list additions
---------------------------------------
ibm5170: The ChessMachine (Installer V3.0) [hap]
ibm5170: The ChessMachine (Installer V2.2) [hap]

* -newport: Fixed Fastclear mode again, nw

* aristmk6.cpp: added a new bios dump [Dam0, Heihachi_73]

* new not working machine
-----------------------------------------------
Master [Stefan Fettes]

* ibm5170.xml: fixed validation (nw)

* finalchs: add rom v3.6 (nw)

* stvvdp1.cpp: reinstate notes (nw)

* stvvdp2.cpp: obvious disclaimer for this too (nw)

* -newport: Added Display Control Bus timeout. Prevents Presenter board from being erroneously detected. [Ryan Holtz]

-sgi_mc: Fixed VDMA TLB which caused corrupt bitmap transfers. [Ryan Holtz]

* Machine promoted to working
----------
Game & Watch: Chef [Sean Riddle, Mr. Do]

* hh_sm510: segment id fix (nw) (#5120)

* trkfldch / my1stddr - support DMA group size + step/skip size values (nw) (#5119)

* trkfldch / my1stddr - support DMA group size + step/skip size values (nw)

* '3rd layer' notes (nw)

* another guess (nw)

* fix hammer throw gfx (nw)

* register notes (nw)

* New working software list additions
-----------------------------------
ibm5170: The Final ChessCard (Installer v2.0/Program v1.9) [hap, voelkx]

* bagman.cpp:  Changed pickin to use an 8-way joystick as it should be per notes from original board owners.  Also, added confirmed bonus life DIP and updated locations to match same notes. [Mark Spaeth, Tafoid]

* ampro: Various additions (nw)
- Simplify handlers
- Add parallel printer port
- Add second serial port
- Add SCSI interface
- Add various line connections (several commented out because jumpers are not installed by default)

wd_fdc: Add fake output callback for floppy ready line (nw)

* New device: UPD7004 ADC

* bbusters: Update gun handling, fixes MT07333

- Use UPD7004 device
- Adjust gun limits to the factory defaults
- Remove no longer needed default eeproms

Calibration in service mode now also works and doesn't cause the game to 
refuse to boot.

* Fix subtle memory subsystem bug [O. Galibert]

* esqmr.cpp: Map the OTTOs (nw)

* New working software list additions
-----------------------------------
fm7_cass: The Stars [Elroy van Tamelen]

* trkfldch / my1stddr various notes / updates (nw) (#5121)

* sprite x flip (nw)

* sprite tweaks (nw)

* old (nw)

* note (nw)

* begin to change drawing (nw)

* cliprect stuff (nw)

* foo (nw)

* usage notes, slight refactors (nw)

* more notes, gave trkfldch its own inputs (nw)

* turn this back off (nw)

* -newport: Various fixes. [Ryan Holtz]

 * Fixed COLORI shift when cross-initialized by COLORRED.
 * Fixed RGB vs. CI fast-clear handling.
 * Fixed incorrect octant calculation for lines.

* SGI GIO rename to GIO64 (#5125)

-gio: Renamed GIO slot device implementation to GIO64, nw

* mc68340: Timer improvements
- Fix prescaler calculation
- Handle various reset behaviors
- TOUT changes recorded in status register
- Better handling of COM flag and compare register being zero
- Reload not immediately after reaching zero but on next cycle

* -hal2: Various changes. [Ryan Holtz]

 * Added handling for different frequency rates.
 * Moved DAC devices into HAL2 from HPC3.
 * Added readback of DAC parameters.
 * Fixed stereo DAC playback.

* -newport: Various fixes. [Ryan Holtz]

 * Fixed handling of COLORI register alternate access.
 * Added suport for RAMDAC gamma LUT.

* fix gcc 8.3.0 compiler misleading indent warning (nw)

* Overhaul to advanced gun instructions (nw)

This cleans up spelling and other issues in the original text.

This work is still prototype and will probably require fine-tuning between Vas and myself.

* (nw) fixed the build.

* (nw) ampro: hopefully fix compile problem on osx

* (nw) my bad.. :(

* Sanity prevailed (nw)

There are some bugs, probably linked to the sample counter (I thought
it was a frame counter for a start...).  But at least the code is not
aneurysm-provoking anymore.

One thing to do would be to turn the k573dio into a
device_mixer_interface to have the connection to the speakers done at
the driver device level.  Volunteers?

* Sanity prevailed (nw)

There are some bugs, probably linked to the sample counter (I thought
it was a frame counter for a start...).  But at least the code is not
aneurysm-provoking anymore.

One thing to do would be to turn the k573dio into a
device_mixer_interface to have the connection to the speakers done at
the driver device level.  Volunteers?

* clean up some stuff (nw)

* -newport: Fixed source buffer shift when blending is enabled. [Ryan Holtz]

* fix indentation gone wrong (nw)

* -Removed sbus and gio64 buses since they aren't up to his majesty AJR's bar of quality, nw

* Add libxi-dev to Travis Config

* Revert "-Removed sbus and gio64 buses..."

This reverts commit 3207d504fed679163f0489e2b763eda8c4139b23.

* sbus: Eliminate tag hacking (nw)

* gio64: Get rid of strcmp hacks; decouple interrupts from HPC3 device (nw)

* cntsteer.cpp: fix sprite colors and magnify feature

* kill redundant note (nw)

* pk8020.cpp: Add printer port

* arm: blocking irq here isnt right, this fixes chessmachine isa card lockup (nw)

* chessm: ram device only allows root ":ram" to be configured (nw)

* new NOT WORKING skeleton ------ Telex 277-D

* chessm: add ram/cpu config (nw)

* pet.cpp: Use input merger device for IRQ (nw)

* (nw) leland.cpp: Correct remaining ROM names for Off Road Track PAK sets.

* at_keybc: minor tweaks (nw)

* resolve aux irq callback
* renamed mouse to aux
* added logging and some notes
* added a Compaq rom dump

* carpolo.cpp: partial fix for MT07343 (nw)

Controls now work but I wasn't able to fix the missing collision detection without reverting the INTERRUPT_GEN_MEMBER to device_timer change.

* tutankhm: small cleanup (nw)

* carpolo: put timer tick in vblank again, fixes collision detection (nw)

* version bump (nw)

* New working software list additions
-----------------------------------
ibm5170: The ChessMachine (v3.1, The King v2.20) [hap, fhub]

* konmedal.cpp: added PROMs dumps for shuriboy [TeamEurope, rod_wod, The Dumping Union]

* arm: add back wrong interrupt handling and make it an option (nw)

* simpl156: should work ok without arm nested irq hack now (nw)

* new NOT_WORKING clone
---------------------
Mushiking The King Of Beetle (2K3 2ND Ver. 1.002-, World) [f205v]

* deco156: update irq handler same as simpl156 (nw)

* arm: disable nested irq hack again for testing (nw)

* Change autofire config directory to homepath (#5129)

* Revert "Used set_folder to avoid hardcoding plugin name in settings path"

This reverts commit 76884986fd8630f81cfc838aa42f264fdcec2ea9.

* Changed autofire config directory to homepath

* Bumped autofire plugin version

* trkfldch / my1stddr - some heavy refactor / reorganization based on current knowledge (nw) (#5124)

* note updates (nw)

* no (nw)

* refactors (nw)

* more refactor (nw)

* fix log (nw)

* bit use note (nw)

* note about use (nw)

* register use notes (nw)

* notes, possible timer irq (nw)

*  New WORKING machines  (#5122)

* New WORKING machines

---------------------------------------------------------
Pink Jelly [ClawGrip]
VT03 Sound Test [ClawGrip]

New NOT_WORKING machines
---------------------------------------------------------
Pinball [ClawGrip]
Boxing [ClawGrip]

(nw) All those programs came from the official VT SDK from V.R. Technology. I'm not sure about the flags, as being demo programs I'm not sure what they should really do or look like. At least "Pink Jelly" looks better on the emulator bundled with the VRT VT SDK than on MAME.

* Add 'pinkjelly', 'vtpinball', 'vtboxing' and 'vtsndtest' (nw)

* Change game names (nw)

* -sgi_mc: Delay VDMA kickoff by a few ticks. Needed to make a 100Mhz Indy happy. nw

* New NOT_WORKING machines

------------
Indy (R4600, 100MHz) [Ryan Holtz]

-indy_indigo2: Renamed sets, converted to use BIOSes, added B4 stepping of Indy boot PROM. [Ryan Holtz]

* chessm: forgot to copypaste new checksum (nw)

* sbus: Fix device card installation (nw)

* z80scc: Reduce gratuitous logging (nw)

* (nw) telex277d: correction to note

* New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Fuusen Pentai [R. Belmont, Chris Penny, The Dumping Union]

* hpc3: Disaggregate and decouple from other devices as much as is currently practical; move interrupt inputs to ioc2; add lots of callbacks (nw)

* hle_mouse: high-level emulation of PS/2 mouse

* jazz: hook up the mouse (nw)

* ioc2: hook up the mouse (nw)

* hle_mouse: minor fixes (nw)

The Indy/Indigo² issue appears to be related wait states or other unemulated delays on the driver side, and not a problem with this device or at_keybc.

* ioc2: irix needs the aux irq too (nw)

* new machines marked as NOT WORKING
---
Goldart (Spain) [Morten Kirkegaard, Ryan Holtz, Clawgrip, David Haywood, Roberto Fresca, Peter Wilhelmsen]

video hardware is bitmap based, but seems to have some control registers so palette etc. is set outside of the actual writes, might also disagree with how the ds5002fp core does memory addressing slightly as some bits seem to be fetched from the wrong places.  ds5002fp dump we have is good enough to run the attract mode on PCB, only 2 suspicious bytes.

* missing changes (nw) (#5132)

* new working clone
--------------------------------------------------
Thunder & Lightning (bootleg with Tetris sound, set 2) [Bliep]

* New machines marked as NOT_WORKING
----------------------------------
Systel System 100 [Al Kossow, Bitsavers]

* wd_fdc: Don't let the absence of the new callback break the device (nw)

* systel1.cpp: There is an interrupt (nw)

* arm: use standard_irq_callback (nw)

* systel100: Switch out boot ROM for more RAM (nw)

* systel100: Display characters on screen (nw)

i8275: Cancel out reverse video for hidden attribute characters

* systel100: Found the switch (nw)

* Manufacturer name fix (nw)

* i8257: Clarification (nw)

* (nw) Correct Sega ID# for Golden Axe

* systel100: Boot from floppy (nw)

* added shared chessmachine device for Mephisto risc, chessmachine EC, chessmachine DR (nw)

* chessmachine: add sync on one side (nw)

* chessmachine: device was in wrong folder and forgot to update compile script (nw)

* systel100: Add keyboard (nw)

* konmedal: correct K52109 hookup and tile banking for shuriboy and fuusenpn [R. Belmont]

* wd_fdc: Emulate writes to master reset line; allow read side effects to be disabled (nw)

* systel100: Improve floppy control (nw)

* oricext/jasmin: Use addressable latch device (nw)

* systel100: Correct clocks (nw)

* wd_fdc: Adopt new mr_w handler in various drivers (nw)

* itt9216: Note undumped 8741A (nw)

* new WORKING machine
===================
Bikkuri Pro Wrestling [Angelo Salese]

* apple2: Added the //e version of the AE Vulcan IDE card [SPK, R. Belmont]

* nb1413m3.cpp: kill nb1413m3 busy flag publicness, kill busyflag hack in threeds (nw)

* unixpc.cpp: Add FDC reset; slight conceptual cleanup (nw)

* cpu/jaguar/*.cpp : Updates
Add notes, Reduce defines, Simplify handlers, Use shorter / correct type values, Reduce unnecessary lines, Remove register_postload
jaguar.cpp : Fix metadata, Correct XTAL frequency

* cpu/jaguar/jaguar.cpp : Additional notes

* imgtool: MT 6693 wip, solves mess_hd issue (nw)

* (nw) spc1000 : small cleanup

* terminal.cpp: Sort out the other UPIs (nw)

* polgar: add note (nw)

* itt9216: Separate into skeleton driver (nw)

* fix arcade compile (nw)

* z80sio: fixed a few regressions in systems with z80sio/i8274

* New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Rhythm Nation (v01.01.04) [R. Belmont, ClawGrip, ArcadeVintage, Recreativas.org, The Dumping Union]

* konmedal: fixed vis region, colors, and priorities for shuriboy [R. Belmont]

* Revert "merge upstream (#24)" (#25)

This reverts commit d73ddb33beaf80a4e1433cb6c41f97ec77b13bbe.

* add sf2cems6 u104 pal dump
rb6502 pushed a commit that referenced this pull request Apr 13, 2020
* add driver + roms

* Revert "Merge branch 'slammast-bootleg' into master"

This reverts commit 13846b391dcb0041ee56b90e8140bc58eb0c4c78, reversing
changes made to 23d2e67c0f658edb4ab588cd19de9bd62586d349.

Undo merge

* merge upstream (#8)

* aristmk5.cpp: added MACHINE_IMPERFECT_TIMING flag, since games run twice as fast as they should (nw)

* more SEGA FD1089 changes (nw)

* Mark empty PLD dumps from protected devices as NO_DUMP (nw)

For 18CV8 PLDs

* fs3216: Add X2212 dump [Bitsavers]
- Fix X2212 recall and store mixup (nw)

* New NSCSI device for WD33C9x SCSI Controllers (#4449)

* New NSCSI device for WD33C9x SCSI Controllers

Add a new NSCSI device model for the WD33C9x family of SCSI Controllers.

* Add missing shortname calls to logging lines

Add missing shortname calls to logging lines

* Correct spaces -> tabs

Correct spaces -> tabs

* at.cpp: Correct Compaq Portable names to show up ... (#4443)

* at.cpp: Correct Compaq Portable names to show up when an incomplete name is entered on the command line.

* compc.cpp: Moved appropriate comments over from pc.cpp.

* pc.cpp: Reorganised for easier readability, updated comments, added Eagle Spirit PC, Compaq Portable and CDP MPC 1600

* pc.cpp: Added ITT XTRA. Boots and works, despite keyboard error. Dump of original graphics card is missing.

* wd33c9x: somebody dropped this (nw)

* Fix clang build [-Werror,-Wreorder] (nw)

* ym2148: Flag framing errors; add error reset command; misc. small changes

* msx: Use input merger device for IRQ (nw)

* Keep track of which SDL input subsystems were initialized (nw)

* new working clone - Bubble 2000 v1.2

New Working Clone Added
------------------------------------------
Bubble 2000 V1.2 [Kevin Eshbach, The Dumping Union]

* tetrisp2.cpp: Show version number for World set of Tetris Plus 2 & add comment about v2.7 (nw)

* mips1: fix stupid tlb error (nw)

* speglsht.cpp : Typo

* additional documentation on compiling MAME (nw)

* New working machine added
-----------
Black Jack (Nintendo Game & Watch) [algestam]

* dcs: Fixed ram bank mapping in Denver DCS audio (nw)

* voodoo: Add some pre-defined rasterizers for sf2049se (nw)

* Games promoted to WORKING
San Francisco Rush 2049
Clones promoted to WORKING
San Francisco Rush 2049: Special Edition

* taito_en: Eliminate set_input_line_vector (nw)

* new working clone - Tetris Plus 2 v2.7

Turns out v2.7 WAS dumped.... in 2002!!!

New Working Clone Added
--------------------------------------
Tetris Plus 2 (World, V2.7) [Team Japump!!!]

* tecmosys.cpp: Modify game name / description based on suggestions by fellow devs (nw)

* New NOT_WORKING clone

-------------------------------
Pang (bootleg, set 6) [ClawGrip, Recreativas.org, The Dumping Union]

* Add 'pangbp' (nw)

* pc.cpp: Marked the Compaq Portable video ROM as BAD_DUMP.

* 68307: More accurate emulation of internal priority interrupt controller

* 68340: Preliminary cleanups (nw)

* ds3100: Preliminary full implementation of DEC DC7085 quad UART. [R. Belmont]

* bfm_sc4.cpp, ymz280b.cpp: Reduce logging spam (nw)

* (nw) We have a separate manufacturer field.

I've tried to dig up marketing material for systems to check:
* The "Eagle PC" really was marketed as "Eagle PC" with various submodels (e.g. "Spirit", "II" and "Turbo").
* "ITT XTRA" was marketed using that name.
* The IBM 5550 line was marketed as the "5550" (not "IBM 5550" and not "PC 5550").
* Columbia Data Products did not use "CDP" in the marketing name for the MPC 1600.

* gsword.cpp: update notes (nw)

* minor bugfix and cleanup (#4456)

Fixes leader lamp

* hh_sm510: code review bjack (nw)

* Fix compile. (nw)

* Fix SUBTARGET=nl build. (nw)

* Add gitignore to src/lib/netlist. (nw)

Also clean up doxygen genereated files in netlist makefile.

* Add some example XSLTs that operate on -listxml output

* srcclean: treat *.xslt as XML (nw)

* 68340: Interrupt overhaul
- Interrupts are now properly acknowledged and arbitrated. (Many remain unimplemented.)
- Interrupts are no longer automatically cleared upon acknowledgment except for the Programmable Interrupt Timer.
- Timer unit clears COM and sets TC and TO in the status register on applicable conditions.
- Timer unit's confusion of IE0 (TC IRQ enable) with IE2 (TO IRQ enable) has been sorted out.

* 68340: One further note (nw)

* Case sensitivity training for INI (nw) (#4455)

* Case sensitivity training for INI (nw)

The world is not 100% Windows, so case sensitvity is needed.

* Further standardization of the formatting (nw)

More to go...

* Pass 2 of new formatting wave (nw)

More to go, though.

* wave 3 of formatting cleanup (nw)

Further adjustments and cleanups, including unwanted tabs.

* Correct filtering instructions (nw)

* aristmk5.cpp: promoted some games to working after testing by Hehihachi_73 (nw)

* new not working clone
-----------------------------------
Tank Force (bootleg) [hammy, The Dumping Union]

* WD33C9X: More consistent interrupts, restructuring, and clean ups (#4457)

* New NSCSI device for WD33C9x SCSI Controllers

Add a new NSCSI device model for the WD33C9x family of SCSI Controllers.

* Add missing shortname calls to logging lines

Add missing shortname calls to logging lines

* Correct spaces -> tabs

Correct spaces -> tabs

* WD33C9X: More consistent interrupts, restructuring, and clean ups

This set of changes can get as far as partitioning and formating a disk for IRIX, but installation still isn't working.

* Accidentally merged this in...reverting...

Accidentally merged this in...reverting...

* -devices/sound/msm5205: Removed unused MCFG_MSM6585 macros, nw

-audio/irem, drivers/appoooh, cabal, chinsan, combatsc, crgolf, dacholer, darius, ddragon, de_2: Removed MACHINE_CONFIG macros, nw

-drivers/ashnojoe, battlera: Removed MACHINE_CONFIG macros and updated to use non-legacy MSM5205 VCK callback, nw

* SEGA FD1089 changes; missed this one (nw)

* gundhara lives dip is actually +1 for all settings (nw)

* mips1: fix coprocessor exceptions (nw)

* set the coprocessor error number in the cause register
* corrected side-effect handling in address translation
* added logging for RISC/os system calls

* mips: rx2030 boots RISC/os

Rx2030 systems now boot RISC/os (with FPU disabled) from an existing hard disk image, but require an unimplemented MIPS keyboard emulation to log in. Clean installation requires either SCSI tape emulation or support for a MIPS-only network boot protocol.

* wd33c9x: Handle disconnect command properly. Fixes fatalerror in ip225015 with new wd core. nw

* indy_indigo2: Switch to using new wd33c9x core, nw

* aristmk5.cpp: updated flags as requested in comments to the previous commit (nw)

* wd33c9x.cpp: fixed validation error: Device wd33c93.cpp(wd33c93) short name is a duplicate of wd33c9x.cpp(wd33c93)  (nw)

* comport:  Fix size to match image's hashes so that proper auditing can take place (nw)

* Make informational verbs a bit more consistent, reduce copy/pasted code, a slight performance improvement for reading localisation files, and more documentation clean-up/correction/clarification

* (nw) one shouldn't copy/paste spelling errors; also clean up some comments

* New working machine added
-----------
Game & Watch: Manhole (new wide screen) [algestam]

* gameboy.xml: Add alternate game serials (nw)

* nscsi_harddisk_device: track the current block LBA on writes (#4463)

* nscsi_harddisk_device: track the current block LBA on writes

* nscsi_harddisk_device: track the current block LBA on writes

* wd33x9c: Checkpoint commit for co-debugging

* ashnojoe: Fixed audio regression, nw

* ashnojoe: Missed include file, nw

* -drivers/discoboy, docastle, drmicro, dynax, fcrash, firetrap, fromance, gladiatr, gsword, hnayayoi, hyperspt, jangout: Removed MACHINE_CONFIG macros, nw

* sm510: added bs1 pin blinking (nw)

* xbox: move at devices into mcpx_lpc pci device (nw)
More to come.

* specpdq: Start fixing blitting ops [O. Galibert]

* specpdq: Fix backwards copy [O. Galibert]

* Duh (nw)

* thomson.cpp: Fix a few typos (nw)

* mbc55x: Shuffle code around in preparation for serial keyboard emulation; remove unnecessary debug command (nw)

* mbc55x: Rewrite keyboard as HLE serial device

* i8251: Protect some members no longer subjected to hacky public use (nw)

* gbcolor.xml: Add alternate game serials (nw)  (#4467)

* gbcolor.xml: Add alternate game serials (nw)

* gba.xml: Fix typo (nw)

* leapster.xml: New NOT_WORKING software list additions [TeamEurope, ClawGrip] (#4466)

* leapster.xml: New NOT_WORKING software list additions [TeamEurope, ClawGrip]

---------------------
500-12202-A - La Conquista de los Numeros (Spa)
500-12206-A - Don Lápiz - Aprender a Dibujar y Escribir
500-12210-A - Spider-Man - El Caso de Las Letras Revueltas (Spa)
500-12227-A - Buscando a Nemo
500-12259-A - El Laberinto de las Letras (Spa)

* Add parent-clone relationship (nw)

* leapster.cpp: Add Spanish BIOS v1.0 [Sean Riddle, ClawGrip] (#4458)

* leapster.cpp: Add Spanish BIOS v1.0 [Sean Riddle, ClawGrip]

* Fix string (nt)

* new NOT WORKING : Play TV Football 2 [Sean Riddle, Peter Wilhelmsen] (note, vii.cpp, not XaviX) + Baseball 3 + Huntin' 3 (Elan HW) (#4462)

* new NOT WORKING : Play TV Football 2 [Sean Riddle, Peter Wilhelmsen] (note, vii.cpp, not XaviX)

* note (nw)

* kill off old cricket hack, add logging function to calculate crc showing in header for radica games for easy verification

* better comment (nw)

* basketball seems to have been fixed at some point, remove old notes (nw)

* new NOT WORKING
Play TV Baseball 3 [Sean Riddle, Peter Wilhelmsen, David Haywood]
Play TV Huntin' 3 [Sean Riddle, Peter Wilhelmsen, David Haywood]

(need work on the hardware emulation and inputs)

* (nw)

* (nw)

* cps3.cpp : Updates (#4442)

* cps3.cpp : Add save states, Convert drawing routine restricted to cliprect rectangle
cps3.h : Use private:

* cps3.cpp : Add draw case when fullscreen zoom is 100%

* cps3.h : Minor updates

* psikyo.cpp: Minor corrections (nw)

out of whatsnew:

changed s1945jn to s1945nj to reflect it's a direct clone s1945n, standardizing clone name format.
s1945bl - added note about single bit difference in spritelut graphics data
Battle K-Road (Korea) set config default to Korea "for use in" notice

* fs3216: Green screen and some attributes (nw)

* mbc55x_kbd: The trouble with Unicode (nw)

* battlera: Hopefully fix audio regression, nw

* -sound/msm5205: Removed MCFG macros, nw

-drivers/jantotsu, joctronic, jp, kchamp, klax, kungfur, kurukuru, lucky74, lwings, mermaid, mgavegas, mitchell, mjkjidai, ojankohs, opwolf, pachifev, pcktgal, rastan, rmhaihai, sf, sothello, srmp2, suprgolf, system16, taito_log, tehkanwc, topspeed, trackfld, tubep, wacky_gator, wc90b, yunsung8: Removed MACHINE_CONFIG macros, nw

-machine/pce_cd: Removed MACHINE_CONFIG macro, nw

* mbc55x_kbd: Add PF1-PF10, Ins/Del and Break keys

* mbc55x_kbd: Better guess at INS code (nw)

* specpdq: Better boundaries, still some pattern offset issues [O. Galibert]

* mips1: fix Clang compile (nw)

* leapster.xml:  Fix crc32 hash for spidermns (nw)

* FixFreq code maintenance and add rgb channel functionality. (nw)

* Implement sub-pixel horizontal resolution. (nw)

This is not yet used and missing static initialization interface.
Electron beams in CRTs are not discrete. They are continous on a
scanline. This modification allows a higher horizontal resolution to
better model "subpixel" timing.

* diserial: Make is_receiver_register_full and is_transmit_register_empty const and inline (nw)

* ds128x.cpp: add device ds12885ext same as ds12885 but 256 bytes ram (nw)

* xbox.cpp: rename pci device mcpx_lpc to mcpx_isalpc (nw)
Also add mc1885ext device as rtc.

* mbc55x_kbd: Fix / key; improve documentation again (nw)

* new NOT WORKING ClickStart [Sean Riddle, Clawgrip, TeamEurope] + a Software List for it (#4473)

* new NOT WORKING ClickStart [Sean Riddle, Clawgrip, TeamEurope] + a Software List for it

seems to be something missing, jumps to outside of code area, maybe secondary small internal ROM of CPU.  I did think the dumps were half size for various reasons, but there is a checksum in the footer of each one that matches the data (even if another checksum in the header for some of them we can't match)  Possible BIOS is wrong tho as that checksum in the footer doesn't match by quite a significant amount.

most games show something just by putting a 'RET' opcode in the upper areas it attempts to jump to.

Ryan credited in driver since it's more or less just a stripped down copy of vsmile.cpp

* more correct (although does less now because of extra checks in new code) (nw)

* (nw)

* (nw)

* Add new driver to mess.flt (nw)

* oric.cpp: fixed MT07197 (nw)

* spg2xx+vsmile: Started hooking up a control pad. 7x/Bx handshaking and 55 heartbeat works, but no controls respond yet. nw

* Improve readability. (nw)

* Minor bug fixes and refactoring. (nw)

* new NOT WORKING (JAKKS Pacific stuff)
WWE (JAKKS Pacific TV Game) [Sean Riddle]
Fantastic Four (JAKKS Pacific TV Game) [Sean Riddle]
Justice League (JAKKS Pacific TV Game) [Sean Riddle]

WWE doesn't render any sprites other than the backgrounds once you get past the 'loading' screen
Fantastic Four seems playable but has severe performance issues as the video code isn't optimized for scanline drawing / isn't using cliprect properly (runs about 10-15% speed in places) can probably be promoted once that's fixed
Justice League might actually be working, just need to test it more.

Need to find out how to get into the hidden test menus to run the ROM checks etc.

* test mode notes (nw)

* (nw)

* documentation (nw)

* (nw)

* (nw)

* note (nw)

* v102: Add serial ports and prepare for serial keyboard (nw)

* -clickstart: Favor specific values over rand(), nw

-devices/cpu/unsp: Added a function to get current chip-select state, nw

-devicesp/machine/spg2xx: Various changes: [Ryan Holtz]
 * Added 4kHz/2kHz/1kHz/1Hz timers.
 * Added ADC read callback.
 * Fixed a bug with floating GPIO inputs.

Clickstart games now generally get to the title screen or main menu, other than Bob The Builder, which is missing some graphics. nw

* v102: Add preliminary keyboard emulation

* v102: Fix "multiple screens" error (nw)

* spg2xx: Switched to scanline-based rendering, nw

* spg2xx: Turn debugging features back off, nw

* v102_kbd: More likely Caps Lock (nw)

* nes_vt: APU improvements (#4476)

* nes_vt: Add support for second APU and VT03 PCM

* nes_vt: Add support for VT3x PCM in DGUN2573, etc

* nes_vt_apu: Tidy up after rebase (nw)

Signed-off-by: David Shah <dave@ds0.me>

* nes_vt_apu: Add IRQ support

Signed-off-by: David Shah <dave@ds0.me>

* nes_vt_apu: Remove debug printing (nw)

* nes_vt_apu: Fix indentation (nw)

* knightsb : improved graphics [wonder199999]

* Minor metadata updates of neogeo games (#4472)

* Minor metadata updates of neogeo games
Correct year, publisher/developer, Add notes, Related to title screen, staff roll, etc.
AES release of razion is exists

* neopcb.cpp : Minor spacing fix

* neogeo.xml : Sync to neogeo.cpp metadata

* srmp6.cpp : Updates
Use buffered_spriteram16 for sprite ram, Use shorter type values, Fix namings, Add notes, Fix color fading, Minor corrections, Add save states, Reduce runtime tag lookups, Minor code style fixes, Simplified gfxdecode

* galastrm.cpp : Device'fied TC0110PCR, Reduce duplicate, ACCESSING_BITs, Unnesessary Runtime tag lookups, handlers, pointers

* Tidy constructor of ds12885 device (nw)

* remove some MCFG macros that were barely used any more (nw)

* Fix compile. (nw)

* More c++ alignment. pstring now behaves like std::string. (nw)

This change removes all string extensions like trim, rpad, left, right,
... from pstring and replaces them by function templates.
This aligns a lot better with the intentions of the standard library.

* sf2mdta : improved graphics [wonder199999]

* Always call send_complete_cb, even if no adapter is present (nw) (#4477)

* p8k: My mistake (nw)

* (nw) cps3 : made some members protected to fix hbmame issue

* (nw) fixed compile error in netlist.

* (nw) timelimt : fixed hbmame problem

* v102: Remove remnant (nw)

* get rid of the rest of the digfx MCFG as well (nw)

* Code maintenance and fix for "pure virtual call" error. (nw)

* New working machine added
-----------
Game & Watch: Lifeboat [algestam]

* nes ppu: don't use float on cycles_to_attotime (nw)

* hh_sm510: gnw_lboat directional controls are separate buttons (nw)

* Use the same mcpx_isalpc device in both nforcepc and xbox (nw)
Also use new smbus_logger device in nforcepc to log smbus accesses

* capbowl: can't multiply attotime with float (nw)

* Code maintenance. (nw)

* Code maintenance and bug fixes. (nw)

Rewrote and simplified tiny bits. Fixed inappropriate use of
netlist_sig_t for non-boolean values.

* fix MSVC (llvm toolset) compile (nw)

- conditionally uninitialised variables in PortAudio;
- floats passed to attotime;
- unsigned->signed enums (this one is technically still wrong)

* (nw) nforcepc : fixed validation error; added SHA1s.

* ds5k133: Preliminary LANCE DMA hookup [R. Belmont]

If you can parse this comment from the Linux driver, please help :)

 * The IOASIC LANCE devices use a shared memory region.  This region
 * as seen from the CPU is (max) 128 kB long and has to be on an 128 kB
 * boundary.  The LANCE sees this as a 64 kB long continuous memory
 * region.
 *
 * The LANCE's DMA address is used as an index in this buffer and DMA
 * takes place in bursts of eight 16-bit words which are packed into
 * four 32-bit words by the IOASIC.  This leads to a strange padding:
 * 16 bytes of valid data followed by a 16 byte gap :-(.

I get the first part, which is that since the DMA engine works in words and
LANCE works in half-words that each half-word for LANCE is packed into one
word from the CPU's point of view.  The second part not so much.

* add C++ standard library headers for things that are used (nw)

* housekeeping (nw)

* aic6250: silence logging
* am9517a: silence logging
* ncr5390: remove mcfg and unneeded read/write handler wrappers
* interpro: use regular read/write handlers
* next: de-mcfg ncr5390
* sun4: de-mcfg ncr5390

* neogeo_spr.cpp : Simplified xzoom checking, Reduce unnecessary line

* devices/bus/neogeo/cmc.cpp, rom.cpp : Implement NVRAM
Both jockeygp, vliner has battery-backed RAM, Correct this

* snes: Fix crash when no cartridge has been loaded

* (nw) nforcepc : suggestion of Haze; also fix typos while we're there

* hh_sm510: found tinday model number (nw)

* netlist wip: 7474, 7497, test driver

* sblaster: DMA fixes for SB Pro and SB16

* Fix reported crash. (nw)

* Fix reset order for nets. (nw)

* mappy.cpp - Fix palette typo which corrects MAPPY title logo (nw)

* (nw) fixed crash in sf2b

* Fix clang build [-Wc++11-narrowing] (nw)

This also adds an explicit type to the enum, so MSVC should be happy with this way as well.

* Fix netlist logs. (nw)

* Rewrote 7497 device. (nw)

The 7497 device should now work as described in the TI datasheet. This
datasheet contains an internal schematic with details on gates and D
flip flops used.

* smc91c9x: Refactor code. WIP. (nw)

* hh_sm510: Added gnw_climber PCB label (nw) (#4489)

* vii.cpp:

new NOT WORKING
Mattel Classic Sports [Sean Riddle]
Dora the Explorer (JAKKS Pacific TV Game) [Sean Riddle]

kludge handling of invalid size writes to DMA so that Dora the Explorer doesn't trash all of RAM + registers

new SOFTWARE LIST
JAKKS Pacific 'NK' Game Keys

(Dora has corrupt gfx, probably the bad DMAs should do something, Mattel Classic Sports gives a black screen)

xavix.cpp:

new NOT WORKING
e-kara Pro Headset (US, includes 3 songs) [Sean Riddle]
Super Dash Ball (Japan) [Sean Riddle,  Peter Wilhelmsen]
Gururin World (Japan) [Sean Riddle, Peter Wilhelmsen]

disable active raster interrupts if raster interrupt enable is turned off, and add preliminary shifter register emulation, needed for 3D stages in Gururin World [David Haywood]

(Pro Headset works as well as other e-Kara stuff, marked as NOT WORKING due to lack of microphone and sound emulation issues, Super Dash Ball needs trackballs hooking up, Gururin World needs analog cycle looking up)

rad_eu3a14.cpp:

tied tilemap dimensions to tile sizes to improve Huntin'3 map screen [David Haywood]

* hpc3: Silence debug logging, nw

* new not working clones
-------------------------------------------------------------
Moon Fire - Jackpot Carnival (30164211, Queensland) [Heihachi_73]
Where's the Gold (20184811, Queensland) [Heihachi_73]

aristmk6.cpp: added a bios set [Heihachi_73]

* smc91c9x: Added initial MAC filter and fixed multicast address filtering. WIP. (nw)

* -spg2xx: Various changes: [Ryan Holtz]

 * Adjusted UART receive behavior to flag an available byte only at the specified baud rate.
 * Added separate UART baud rate calculation for SPG24x vs. SPG28x.
 * Adjusted ADC behavior to flag an IRQ when the relevant data bit is set, not when register bit is newly set.
 * Added separate logging for FIQ registers.
 * Added logging for SIO registers.

-clickstart: Added preliminary mouse hookup. Only accepts a mouse update once, ignores further updates. Needs further investigation. (nw)

* promoted to WORKING : Super Dash Ball (Japan) [Sean Riddle, Peter Wilhelmsen, ShouTime, David Haywood]

* uts20, uts10: Keyboard emulation and more
- Add custom keyboard port and emulate most of the Expanded Typewriter Keyboard
- Add unidirectional printer port
- Use addressable latch devices to control various things, including disabling display during RAM test
- Hack to pass non-volatile memory test on uts10

* Machines promoted to working

--------
Fantastic Four (JAKKS Pacific TV Game) [David Haywood, Ryan Holtz]

spg2xx: Fixed regression with Y-flipped tilemap tiles (nw)

* Fun World Quiz: Switch manufacturer to Fun World.

Out of WN... Oehlinger is not a company, just a guy inside Fun World that climbed to CEO of PhotoPlay.
He left some strings with his last name in some programs and claims to be the CEO and owner of Funworld Ag...

* Fixed tp1983 and 7497 and added 7497 dip version. (nw)

The schematic for the tp1983 contains an error. R19 is connected to GND.
This will never work since when Q goes low, the reset pulse will dead
lock Q to low. R19 needs to be connected to VCC (5V). This will generate
the proper, high-pass filtered pulse.

Further fixes for the 7497 as well.

* New working machines

--------------------
WWE (JAKKS Pacific TV Game) [Sean Riddle, David Haywood, Ryan Holtz]

spg2xx: Treat 0-length sprite DMA as 0x400 words. Fixes sprites in clikstrt bobbuild and jak_wwe. [Ryan Holtz]

* uts_kbd/extw: Identify more function keys and layout options (nw)

* midwayic: Make initial serial number random (nw)

* srmp6.cpp : Add video reference

* nile.cpp : Add save states (#4495)

* ncr5390: various improvements (nw)

DMA/DRQ handling is simplified and hopefully more correct.
Tested working with mips, interpro and sun4.
* added 16 bit dma for ncr53c94
* added reset atn command
* refactored dma/drq code
* avoid a hang in disconnected selection

* mips1: magic number removal and more logging (nw)

* mips: rx3230 scsi dma (nw)

* Revert midwayic: Make initial serial number random. No linking for you! (nw)

This reverts commit 70b83845641c46b93f182d5ea41190502d14c79e.

* C++ and minor performance optimizations. (nw)

* vic4567.h: removed MCFG macros. Nothing uses this device anymore, anyway (nw)

* aristmk5.cpp: load and config setchips only for the US sets  (nw)

* This took a whole ten minutes to implement. What an undue burden. (nw)

* new working clone
-------------------------------------
Top Secret (Japan, revision B) [FabC]

* devices/video: some MCFG macro removal (nw)

* new NOT_WORKING clone
---------------------
Samba De Amigo (Rev A) [f205v]

* Improve type safety on string->numeric conversions. (nw)

Also fixed an issue with 7497.

./nltool -t 5 -f src/mame/machine/nl_tp1983.cpp -v

now runs again.

* Move information where it belongs ... into the drivers. (nw)

* upd765: Add output callback for unit/drive select lines (nw)

This is intended for future use by machines in which the US/DS lines are neither directly connected to the drives nor wholly disconnected from them.

* (nw) housekeeping
(nw) idk how a black screen can be considered working, but what would I know.

* nscsi_bus: request sense fix (nw)

* request sense returns minimum of allocated length or available data (or 4 bytes)
* set the additional length properly
* fix some magic numbers

* nscsi_hd: stubs some mode pages (nw)

The mips systems complain if hard disks don't support these pages and allow mode select on some of them.
* add stubs for some mode pages
* detect and report an error for unsupported pages
* accept and ignore mode select command

* z80scc: don't spam interrupt state (nw)

* wd33c9x: Fix non-dma data retrieval [O. Galibert]
nscsi_cd: Add the read TOC command, fix inquiry [O. Galibert]

* Major formatting update for command line options, copyright/version update (#4470)

* Update copyrights and docs revision (nw)

Updates copyright on existing 2018 entries to 2019 (and one 2016)
Updates the docs compilation script to MAME 0.205 and 2019 copyright.

* Further formatting overhauling (nw)

Clamp to 80 column where possible; it makes it easier to track errant
line breaks, etc.
Also begin standardizing tab formatting and two spaces after period.

* Further corrections to command line materials (nw)

* More adjustments for Cuavas (nw)

Getting closer to acceptable.

* more command line doc cleanup (nw)

* 8x300: Cleanup and expansion
- Latch at most one IV input per instruction
- Fix output behavior of some opcodes that selected the wrong IV bank or wrong value to write
- Add 8X305 type
- Emulate additional 8X305 registers
- Add address latching callback

* 8x300: Fix IV destination masking (nw)

* wd33c93: Fix select-and-transfer, now jojo is exactly as broken as everybody else [O. Galibert]

* src/devices: more MCFG macros removal (nw)

* uts_kbd/extw: More notes (nw)

* Refactoring and bug fixes. (nw)

* Fix stuntcyc regression. (nw)

* clickstart: Added rudimentary keyboard support. Game still stops responding after one packet. nw

* spg2xx: Various optimizations, more than doubles the performance on my system, nw

* vii: Added save_item calls, nw

* 2018 -> 2019 changes (nw)

* 2018 -> 2019 changes (nw)

* (nw) fixed my breakage in mess build

* 5% performance improvement for breakout from a single device. (nw)

* Forgot this one. (nw)

* Fix reset members. (nw)

* Fix clang error: extraneous template parameter list in template specialization [-Werror] (nw)

* i386/i486ops.hxx: Note on old change (nw)

* a2bus: Simplify and consolidate DMA handlers now that address_space is no longer tied to disabling side effects (nw)

* uts20 : added screen 2 (disp 1-2 key works now)

* fs3216: Vector PROM dumped [Al Kossow]

* fs3216: First draft of MMU (nw)

* fs3216: Looks like fetching FC2 on the 68000 works after all (nw)

* ioc2: Reworked PIT8254 clocking, nw

* mips3: Fixed fastram accesses and COP0 exception handling. [Ryan Holtz]

* aristmk5.cpp: improved inputs for baddog, multidrw. Adjusted baddog.lay accordingly. [Heihachi_73]

* Move NL_KEEP_STATISTICS from netlist_types to the individual use cases.
(nw)

* better documentation for compiling on Windows (nw)

* europc: Onboard FDC is a WD37C65 (nw)

* europc, europc2: Add dump of ZC86115P keyboard controller [rfka01, lvr]

* src/devices: some more MCFG macros removal (nw)

* new not working machine
--------------------------------------------
Twinkle Tale (bootleg of Megadrive version) [FabC]

* make INI file loading examples match current behaviour at least (nw)

* pce.xml: Fix typo (nw) (#4498)

* Fix clang-8 warnings. (nw)

* Revert "merge upstream (#8)"

This reverts commit ed4786bc02ad8a13792e2e130e97d91322d6f331.

* merge upstream (#24)

* vic20: Removed deprecated code. (nw)

* avgdvg.cpp : Updates
Remove hardcoded tags, Runtime tag lookups, Simplify handlers, Reduce unnecessary lines, Fix spacings, Some code styles, Namings, Use shorter / correct type values

* New working clone added (#5091)

----------
Merry Cook [algestam]

New machine marked as NOT_WORKING
----------------------------------
Game & Watch: Chef [algestam]

* Autofire plugin: Save/load fixes (#5093)

* Fixed bugs related to reloading roms

Soft resets would reload autofire settings without saving them first, causing the settings to be lost. This commit adds a check to only reload from the settings file if loading a different rom than before.

Hard resets would leave bad references lying around, causing MAME to crash under certain circumstances (i.e. resetting while in the edit menu and entering the menu again). This commit makes sure to properly clean up and reinitialize menu and button states when resetting.

* Used set_folder to avoid hardcoding plugin name in settings path

* Bumped autofire plugin version

* audio/jaguar.cpp : Correct timer related to DSP

* wizzquiz: Don't know how this escaped modernization (nw)

* walk386sx, walk386dx: Notes (nw)

* jaguar.cpp : Updates
Correct gpu timer rate related to gpu clock, Fix notes, Fix crash cause in 68ec020 cpu games (all 68ec020 based games are HDD based, no bankswitched ROMs)

* walk386*: Better notes (nw)

* punchout: Use generic gfx_layouts

* (nw) pro80 : improved cassette

* MT 07332

* pzletime: Split palettes, convert screen update to RGB32

* ui/menu.cpp: Privatize a few variables (nw)

* new working clone
------------------------------------------------
Ms. Pac-Man (Impeuropex bootleg) [Corrado Tomaselli]

* ui/menu.cpp: Provide more helpers (nw)

* abc80: Super Smartaid WIP. (nw)

* iwm: Sad but true (nw)

* jaguar.cpp : Updates
Add palette device for precalculated YCC color lookup, Fix spacings, Fix notes, Reduce unnecessary lines

* Preliminary emulation of ASC-88 SCSI adapter [AJR, minuszerodegrees.net]

* fcombat.cpp : Updates
Simplify handlers, Reduce runtime tag lookups, Unnecessary lines, Fix namings, Spacings, Use shorter / correct type values

* asc88: Corrections and notes (nw)

* Revert ac0d80ee which broke both Mac OS and HP-UX [R. Belmont]

* igs022.cpp : Updates
Reduce hardcoded tags, Runtime tag lookups, Unnecessary pointers, Unnecessary lines, Use shorter / correct type values

* r4000: sgi ide fixes (nw)

Corrects some TLB diagnostic errors (remaining ones require implementing a data cache), and the FPU "underflow" test (really an unimplemented instruction exception, not an  underflow) by checking for denormalized or quiet NaN operands for all floating point arithmetic instructions..

* momoko.cpp : Updates
Simplify handlers, Reduce runtime tag lookups, Unnecessary lines, Fix namings, Spacings, Use shorter / correct type values

* r4000: fix brain damage (nw)

* mosaic.cpp: decapped PIC for mosaic [Caps0ff, caius, The Dumping Union]

(nw) not hooked up yet, is someone is interested please go ahead

* m68000: fixed the real MMU problem Domain/OS was having; Mac still works. [Hans Ostermeyer]

* 3c505: fixed Apollo dip switch labels [Hans Ostermeyer]

* trkfldch / my1stddr - don't just blow up at least (nw)  (#5102)

* trkfldch / my1stddr - don't just blow up at least (nw)

* unimportant rubbish (nw)

* nonsense (nw)

* basically nothing (nw)

* possible irq reg (nw)

* outside irq (nw)

* looking at register use (nw)

* WOZ and Cleanly Cracked updates for May 2019 (nw) (#5097)

* Update Apple II softlists to May 20th 2019 (nw)

This includes a couple of dupe removals found using a new workflow that may help speed things up a bit at the same time as helping prevent these dupes from happening.

* Correct Big Book Maker Tall Tales entry, remove duplicate (nw)

* Update Apple II softlists to May 22nd 2019 (nw)

Fixes:
More missing metadata corrected
Remove incorrect dump of Tink Tonk disk side B
Correct title on Dunzhin

Add cleanly cracked:
Design Your Own Train, Designaaaurus 2.12, Destroyer, Developing Basic Writing Skills Level 1, Developing Basic Writing Skills Level 2, Diagramming Grammatical Relationships, Dug Dug (Datasoft), Dino Spell, Dinosaur Days, Discover, Discovering the Scientific Method, Diskovery Word Bird, Dividing Fractions, Division Made Easy, Division of 1, 2, 3 Digits by 1 Digit Numerals No Remainders, Division One Digit Divisor No Renaming, Division One-Digit Divisor One Renaming, Division Shooting Gallery v1.5, Dogs and Puppies, Donald Duck's Playground, Dondra - A New Beginning, Don't Quote Me and Adjective Scramble, Double 'N' Trouble, Double Trouble, Dr. Peet's Talk-Writer, Dr. Peet's Talk-Writer ABC Discovery, Dragon Fire, Dragon Mix (1982), Dragon Mix (Revision 0), Dragon's Keep, Drug Alert, Drug Alert (Revision 0), Early Bird, Early Discoveries - Observation and Classification, Early Elementary, Early Emerging Rules - Negation, Early Emerging Rules - Plurals, Early Games - Matchmaker, Early Games - Music, Early Heroes of the Bible, Early Skills (Version 06.06.86), Earth Orbit Stations, Earthquake San Francisco 1906, EasyGraph

Add new WOZ originals:

Cutthroats R23, Trinity R11, Stationfall R107

* Fix naming conventions on WOZ files (nw)

Done once, won't need to happen again.

* pc.cpp: Add Nixdorf PC-01, genpc.cpp: new BIOS version (#5100)

* New working software list additions
-----------------------------------
ibm5170: The Final ChessCard [hap]

* finalchs: company official name is Tasc anyway, not TASC (nw)

* (nw) validation

* my1stddr - some ugly stuff to pave way for real improvements (proves it is running etc.) (nw) (#5104)

* my1stddr - some ugly stuff to pave way for real improvements (proves it is running etc.)

* log stuff (nw)

* log notes (nw)

* there's a pointer to the spritelist in the regs, make a note of it (nw)

* (nw) a5105 : added cassette read per schematic, but not working

* (nw) mosaic.cpp: Correct clock speed for PIC chip

* (nw) segas16b.cpp: Add in Sega ID# for Tough Turf

* (nw) segas24.cpp: Sega ID#s for Hot Rod

* dcclubj, quizmeku: Add board IDs (nw)

* MT 07334: microtan: out of memory when trying to run BASIC

* quizo: Clean up VRAM banking and screen update, convert to RGB32

* quizo: Further improvements

- Clean up ROM banking
- Use XTAL values
- Add COIN2 and document more dip switches

* amiga: Convert screen update routine to RGB32 (nw)

* Improve sorting of items for machine input menu. Inputs of the same type are sorted by name, and keyboard keys are sorted by their assigned character codes (if any).

* hh_sm510: sean found 1st gen g&w mcu pinout matches sm5a (nw)

* ncr5380n: Misc. updates (nw)
- Remove fake device clock from configuration
- Allow some read side effects to be disabled
- Separate device type for 53C80, which has a few functional differences and is used in various Apple products
- Add hsscsi to apple2e and apple2gs slot options

* ncr5380n: Clarify note (nw)

* inputmap: fix gcc compile(unused variable) (nw)

* inputmap.cpp: Further cleanup (nw)

* bbusters.cpp: added coin counters (nw)

* bbusters: That's not a parallel EEPROM type (nw)

* MT 07335: comx35p,comx35n: cannot load a cassette

* at.cpp: One more set separated out (nw)

* at.cpp: Separate out and document this unknown motherboard (nw)

* cntsteer.cpp: improve colors (nw)

* Fix accidental sprite color regression (nw)

* at.cpp: Separate yet another set (nw)

lm103s: Correct system and set name (nw)

* specpls3_flop.xml: New additions

Added a correct dump of Coin-Op Hits, dumped by Dlfrsilver (known dump had missing sectors in tracks).
Also, small fixes in publisher names.

* Update specpls3_flop.xml

*  my1stddr improved gfx (nw) (#5105)

* identifying more sprite bits (nw)

* my1stddr improved gfx (nw)

* some alt tile bases for reference (nw)

* tweak (nw)

* this is promising (nw)

* mac: fixed missing audio for SE and Classic. [R. Belmont]

* Update specpls3_flop.xml

* New machines added as MACHINE_NOT_WORKING

MegaTouch XL Titanium (version r0?, cracked) [C. Ward, R. Belmont]

* at/toptek286: Tentative motherboard identification; split ROMs (nw)

* -r4000: Added bus error functionality. [Ryan Holtz]

-newport: Fixed VRAM tests and several fast-clear bugs. [Ryan Holtz]

-hpc3: Fixed several SGI IDE tests. [Ryan Holtz]

-ioc2: Added stubs for modern PS/2 keyboard controller, nw

* Fixed arcade build

* (nw) Fix Arcade build

* (nw) Makes no difference but be accurate with read Mosaic PIC clock

* at.cpp: Note source of dumps that were split (nw)

* new not working clones
---------------------------------------------
Dolphin Treasure (0101250V, Queensland) [Dam0, Heihachi_73]
Indian Dreaming (0101340V, Queensland) [Dam0, Heihachi_73]

* (nw) Poly8813 : new roms

* arm: missing copyright holder (nw)

* (nw) poly8813 : updated note

* Fix clang error: reference to non-static member function must be called; did you mean to call it with no arguments? (nw)

* krokha: new working machine.

* -newport: Improved handling of COLORHOST mode bit. [Ryan Holtz]

* (nw) poly880 : added speaker, fixed NMI circuit, fixed keyboard, hooked up daisy chain.

* -newport: Fixed 4bpp color mode, nw

* coco2: Converted all coco/dragon extension devices to use cts handlers.

* at/ht286: Split out another BIOS, or rather a duplicate (nw)

* my1stddr / trkfldch progress (nw) (#5110)

* my1stddr - 8x8 decode (nw)

* make trkfldch show stuff (nw)

* misplace (nw)

* New clones marked as NOT_WORKING

New clones marked as NOT_WORKING
--------------------------------
Cycle Warriors [Sugoi Helsinki]

* fix screen_device::update_now() when drawing partial lines (#5109)

-screen: Fixed update_now() when drawing partial lines. [Enik Land]

-screen: Fixed pixel-access functions to use the current bitmap. [Enik Land]

* New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Ensoniq TS-10 [R. Belmont, DBWBP.com]
Ensoniq TS-12 [R. Belmont, DBWBP.com]

* (nw) Housekeeping

* fixed typo in afm outputs

* Fix multipak rom switching (#5112)

* Start fixing OS9 disk handling

* Call ROM update handler if Multi-Pak switch is changed. Virtually or physically.

* I need to figure out why these keep getting reverted in my feature branches.

* i386: fix enter insn (nw)

* -newport: Fixed pixel format conversion on HOSTRW access. [Ryan Holtz]

* srcclean (nw)

* starrider: few more notes (nw)

* add focus next/previous input types, will be hooked up later (nw)

* Bally -35 Pinball
Fix recent AS2888 sound board audio regression playing wrong tones
Change default sound board test switch that conflicted with in game service switch

*  my1stddr / trkfldch - palette, dma improvements (nw) (#5114)

* my1stddr - palette, dma improvements

* better decode (nw)

* Hp9845: added 98046 module emulation (#5115)

* hp9845: fixed handling of optional ROMs (nw)

* z80sio: massive enhancement to Z80 SIO driven by HP98046 test sw

* hp9845: implemented the HP98046 serial I/O module

* ts10/ts12: main screen turn on (nw)

* leapfrog_leappad_cart.xml: New NOT_WORKING software list additions

---------------------------
Leap 1 - Reading - Disney/Pixar Finding Nemo (UK) [Team Europe]
Leap Start - Pre Reading Storybook - Disney's The Lion King (UK) [Team Europe]
Leap 2 - Reading - Disney/Pixar Monsters, Inc. (UK) [Team Europe]
Phonics Programme - Lesson 3 - Short Vowels o and e - A Day at Moss Lake (UK) [Team Europe]
The Amazing Spider-Man (UK) [Team Europe]
Disney's Bounce, Tigger, Bounce (UK) [Team Europe]
Leap-Start - Pre Reading - Tutter's Tiny Trip (UK) [Team Europe]

Also renamed a set a fixed some descriptions and parent-clone relationships (nw)

* -newport: Fixed Fastclear mode again, nw

* z80netf: Fix error in keyboard configuration (was broken since 0.196)

* mc68340: Fix interrupt vectoring

* mc68340: Fix interrupt vectoring

* z80netf: Fix error in keyboard configuration (was broken since 0.196)

* mc68340: correct MC68340 baud rate calculation [R. Belmont]

*  trkfldch / my1stddr tilemap stuff (nw)  (#5117)

* trkfldch / my1stddr tilemap stuff (nw)

* select bits for bg tilebase (nw)

* dinetwork: Add loopback control (nw)

* esqmr: improved RAM, ROM, and device mapping.  Programs run farther but don't boot yet. [R. Belmont]

* trkfldch - alt bg tile format (nw) (#5118)

* small changes (nw)

* alt tile format (nw)

* New NOT_WORKING software list additions
---------------------------------------
ibm5170: The ChessMachine (Installer V3.0) [hap]
ibm5170: The ChessMachine (Installer V2.2) [hap]

* -newport: Fixed Fastclear mode again, nw

* aristmk6.cpp: added a new bios dump [Dam0, Heihachi_73]

* new not working machine
-----------------------------------------------
Master [Stefan Fettes]

* ibm5170.xml: fixed validation (nw)

* finalchs: add rom v3.6 (nw)

* stvvdp1.cpp: reinstate notes (nw)

* stvvdp2.cpp: obvious disclaimer for this too (nw)

* -newport: Added Display Control Bus timeout. Prevents Presenter board from being erroneously detected. [Ryan Holtz]

-sgi_mc: Fixed VDMA TLB which caused corrupt bitmap transfers. [Ryan Holtz]

* Machine promoted to working
----------
Game & Watch: Chef [Sean Riddle, Mr. Do]

* hh_sm510: segment id fix (nw) (#5120)

* trkfldch / my1stddr - support DMA group size + step/skip size values (nw) (#5119)

* trkfldch / my1stddr - support DMA group size + step/skip size values (nw)

* '3rd layer' notes (nw)

* another guess (nw)

* fix hammer throw gfx (nw)

* register notes (nw)

* New working software list additions
-----------------------------------
ibm5170: The Final ChessCard (Installer v2.0/Program v1.9) [hap, voelkx]

* bagman.cpp:  Changed pickin to use an 8-way joystick as it should be per notes from original board owners.  Also, added confirmed bonus life DIP and updated locations to match same notes. [Mark Spaeth, Tafoid]

* ampro: Various additions (nw)
- Simplify handlers
- Add parallel printer port
- Add second serial port
- Add SCSI interface
- Add various line connections (several commented out because jumpers are not installed by default)

wd_fdc: Add fake output callback for floppy ready line (nw)

* New device: UPD7004 ADC

* bbusters: Update gun handling, fixes MT07333

- Use UPD7004 device
- Adjust gun limits to the factory defaults
- Remove no longer needed default eeproms

Calibration in service mode now also works and doesn't cause the game to 
refuse to boot.

* Fix subtle memory subsystem bug [O. Galibert]

* esqmr.cpp: Map the OTTOs (nw)

* New working software list additions
-----------------------------------
fm7_cass: The Stars [Elroy van Tamelen]

* trkfldch / my1stddr various notes / updates (nw) (#5121)

* sprite x flip (nw)

* sprite tweaks (nw)

* old (nw)

* note (nw)

* begin to change drawing (nw)

* cliprect stuff (nw)

* foo (nw)

* usage notes, slight refactors (nw)

* more notes, gave trkfldch its own inputs (nw)

* turn this back off (nw)

* -newport: Various fixes. [Ryan Holtz]

 * Fixed COLORI shift when cross-initialized by COLORRED.
 * Fixed RGB vs. CI fast-clear handling.
 * Fixed incorrect octant calculation for lines.

* SGI GIO rename to GIO64 (#5125)

-gio: Renamed GIO slot device implementation to GIO64, nw

* mc68340: Timer improvements
- Fix prescaler calculation
- Handle various reset behaviors
- TOUT changes recorded in status register
- Better handling of COM flag and compare register being zero
- Reload not immediately after reaching zero but on next cycle

* -hal2: Various changes. [Ryan Holtz]

 * Added handling for different frequency rates.
 * Moved DAC devices into HAL2 from HPC3.
 * Added readback of DAC parameters.
 * Fixed stereo DAC playback.

* -newport: Various fixes. [Ryan Holtz]

 * Fixed handling of COLORI register alternate access.
 * Added suport for RAMDAC gamma LUT.

* fix gcc 8.3.0 compiler misleading indent warning (nw)

* Overhaul to advanced gun instructions (nw)

This cleans up spelling and other issues in the original text.

This work is still prototype and will probably require fine-tuning between Vas and myself.

* (nw) fixed the build.

* (nw) ampro: hopefully fix compile problem on osx

* (nw) my bad.. :(

* Sanity prevailed (nw)

There are some bugs, probably linked to the sample counter (I thought
it was a frame counter for a start...).  But at least the code is not
aneurysm-provoking anymore.

One thing to do would be to turn the k573dio into a
device_mixer_interface to have the connection to the speakers done at
the driver device level.  Volunteers?

* Sanity prevailed (nw)

There are some bugs, probably linked to the sample counter (I thought
it was a frame counter for a start...).  But at least the code is not
aneurysm-provoking anymore.

One thing to do would be to turn the k573dio into a
device_mixer_interface to have the connection to the speakers done at
the driver device level.  Volunteers?

* clean up some stuff (nw)

* -newport: Fixed source buffer shift when blending is enabled. [Ryan Holtz]

* fix indentation gone wrong (nw)

* -Removed sbus and gio64 buses since they aren't up to his majesty AJR's bar of quality, nw

* Add libxi-dev to Travis Config

* Revert "-Removed sbus and gio64 buses..."

This reverts commit 3207d504fed679163f0489e2b763eda8c4139b23.

* sbus: Eliminate tag hacking (nw)

* gio64: Get rid of strcmp hacks; decouple interrupts from HPC3 device (nw)

* cntsteer.cpp: fix sprite colors and magnify feature

* kill redundant note (nw)

* pk8020.cpp: Add printer port

* arm: blocking irq here isnt right, this fixes chessmachine isa card lockup (nw)

* chessm: ram device only allows root ":ram" to be configured (nw)

* new NOT WORKING skeleton ------ Telex 277-D

* chessm: add ram/cpu config (nw)

* pet.cpp: Use input merger device for IRQ (nw)

* (nw) leland.cpp: Correct remaining ROM names for Off Road Track PAK sets.

* at_keybc: minor tweaks (nw)

* resolve aux irq callback
* renamed mouse to aux
* added logging and some notes
* added a Compaq rom dump

* carpolo.cpp: partial fix for MT07343 (nw)

Controls now work but I wasn't able to fix the missing collision detection without reverting the INTERRUPT_GEN_MEMBER to device_timer change.

* tutankhm: small cleanup (nw)

* carpolo: put timer tick in vblank again, fixes collision detection (nw)

* version bump (nw)

* New working software list additions
-----------------------------------
ibm5170: The ChessMachine (v3.1, The King v2.20) [hap, fhub]

* konmedal.cpp: added PROMs dumps for shuriboy [TeamEurope, rod_wod, The Dumping Union]

* arm: add back wrong interrupt handling and make it an option (nw)

* simpl156: should work ok without arm nested irq hack now (nw)

* new NOT_WORKING clone
---------------------
Mushiking The King Of Beetle (2K3 2ND Ver. 1.002-, World) [f205v]

* deco156: update irq handler same as simpl156 (nw)

* arm: disable nested irq hack again for testing (nw)

* Change autofire config directory to homepath (#5129)

* Revert "Used set_folder to avoid hardcoding plugin name in settings path"

This reverts commit 76884986fd8630f81cfc838aa42f264fdcec2ea9.

* Changed autofire config directory to homepath

* Bumped autofire plugin version

* trkfldch / my1stddr - some heavy refactor / reorganization based on current knowledge (nw) (#5124)

* note updates (nw)

* no (nw)

* refactors (nw)

* more refactor (nw)

* fix log (nw)

* bit use note (nw)

* note about use (nw)

* register use notes (nw)

* notes, possible timer irq (nw)

*  New WORKING machines  (#5122)

* New WORKING machines

---------------------------------------------------------
Pink Jelly [ClawGrip]
VT03 Sound Test [ClawGrip]

New NOT_WORKING machines
---------------------------------------------------------
Pinball [ClawGrip]
Boxing [ClawGrip]

(nw) All those programs came from the official VT SDK from V.R. Technology. I'm not sure about the flags, as being demo programs I'm not sure what they should really do or look like. At least "Pink Jelly" looks better on the emulator bundled with the VRT VT SDK than on MAME.

* Add 'pinkjelly', 'vtpinball', 'vtboxing' and 'vtsndtest' (nw)

* Change game names (nw)

* -sgi_mc: Delay VDMA kickoff by a few ticks. Needed to make a 100Mhz Indy happy. nw

* New NOT_WORKING machines

------------
Indy (R4600, 100MHz) [Ryan Holtz]

-indy_indigo2: Renamed sets, converted to use BIOSes, added B4 stepping of Indy boot PROM. [Ryan Holtz]

* chessm: forgot to copypaste new checksum (nw)

* sbus: Fix device card installation (nw)

* z80scc: Reduce gratuitous logging (nw)

* (nw) telex277d: correction to note

* New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Fuusen Pentai [R. Belmont, Chris Penny, The Dumping Union]

* hpc3: Disaggregate and decouple from other devices as much as is currently practical; move interrupt inputs to ioc2; add lots of callbacks (nw)

* hle_mouse: high-level emulation of PS/2 mouse

* jazz: hook up the mouse (nw)

* ioc2: hook up the mouse (nw)

* hle_mouse: minor fixes (nw)

The Indy/Indigo² issue appears to be related wait states or other unemulated delays on the driver side, and not a problem with this device or at_keybc.

* ioc2: irix needs the aux irq too (nw)

* new machines marked as NOT WORKING
---
Goldart (Spain) [Morten Kirkegaard, Ryan Holtz, Clawgrip, David Haywood, Roberto Fresca, Peter Wilhelmsen]

video hardware is bitmap based, but seems to have some control registers so palette etc. is set outside of the actual writes, might also disagree with how the ds5002fp core does memory addressing slightly as some bits seem to be fetched from the wrong places.  ds5002fp dump we have is good enough to run the attract mode on PCB, only 2 suspicious bytes.

* missing changes (nw) (#5132)

* new working clone
--------------------------------------------------
Thunder & Lightning (bootleg with Tetris sound, set 2) [Bliep]

* New machines marked as NOT_WORKING
----------------------------------
Systel System 100 [Al Kossow, Bitsavers]

* wd_fdc: Don't let the absence of the new callback break the device (nw)

* systel1.cpp: There is an interrupt (nw)

* arm: use standard_irq_callback (nw)

* systel100: Switch out boot ROM for more RAM (nw)

* systel100: Display characters on screen (nw)

i8275: Cancel out reverse video for hidden attribute characters

* systel100: Found the switch (nw)

* Manufacturer name fix (nw)

* i8257: Clarification (nw)

* (nw) Correct Sega ID# for Golden Axe

* systel100: Boot from floppy (nw)

* added shared chessmachine device for Mephisto risc, chessmachine EC, chessmachine DR (nw)

* chessmachine: add sync on one side (nw)

* chessmachine: device was in wrong folder and forgot to update compile script (nw)

* systel100: Add keyboard (nw)

* konmedal: correct K52109 hookup and tile banking for shuriboy and fuusenpn [R. Belmont]

* wd_fdc: Emulate writes to master reset line; allow read side effects to be disabled (nw)

* systel100: Improve floppy control (nw)

* oricext/jasmin: Use addressable latch device (nw)

* systel100: Correct clocks (nw)

* wd_fdc: Adopt new mr_w handler in various drivers (nw)

* itt9216: Note undumped 8741A (nw)

* new WORKING machine
===================
Bikkuri Pro Wrestling [Angelo Salese]

* apple2: Added the //e version of the AE Vulcan IDE card [SPK, R. Belmont]

* nb1413m3.cpp: kill nb1413m3 busy flag publicness, kill busyflag hack in threeds (nw)

* unixpc.cpp: Add FDC reset; slight conceptual cleanup (nw)

* cpu/jaguar/*.cpp : Updates
Add notes, Reduce defines, Simplify handlers, Use shorter / correct type values, Reduce unnecessary lines, Remove register_postload
jaguar.cpp : Fix metadata, Correct XTAL frequency

* cpu/jaguar/jaguar.cpp : Additional notes

* imgtool: MT 6693 wip, solves mess_hd issue (nw)

* (nw) spc1000 : small cleanup

* terminal.cpp: Sort out the other UPIs (nw)

* polgar: add note (nw)

* itt9216: Separate into skeleton driver (nw)

* fix arcade compile (nw)

* z80sio: fixed a few regressions in systems with z80sio/i8274

* New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Rhythm Nation (v01.01.04) [R. Belmont, ClawGrip, ArcadeVintage, Recreativas.org, The Dumping Union]

* konmedal: fixed vis region, colors, and priorities for shuriboy [R. Belmont]

* Revert "merge upstream (#24)" (#25)

This reverts commit d73ddb33beaf80a4e1433cb6c41f97ec77b13bbe.

* added ghouls demo sound dipsw

* added new pang3 bootleg set: pang3b3

* added cps-b-03 id register

* added pang3 cp1bf1 mapper

* some pang 3 security chip notes

* an irq4 note

* added kod kd29b dump

* added wof d9k1 dump

* added punisher ps63b dump + mapper

* added dino cd63b mapper

* added slammast mb63b mapper

* tidy-up after testing

* added more mstreet6 pals

* verify kenseim pal

* added jurassic99

* added dynwar TK24B1 mapper

* added jurassic99 gfx roms

* add better dinopic sprite renderer

* tidy classes a bit

* added jurassic99 sound rom

* confirmed clocks

* added varth, varthr1 VA24B mapper

* added ganbare GBPR2 mapper

* added ffightj(1-4) S222B mapper

* added 1941j YI22B mapper

* added mswordj MS22B mapper

* added chikij CK22B mapper

* added kodja KD22B dump + mapper

* added knightsja KR22B dump + mapper

* fix kodja KD22B

* sort sf2en

* sort strideruc pals

* cworld2j, pnickj notes

* verify mtwins CK24B

* verified QAD63B, TN2292 pals

* added cworld2j Q522B dump + mapper

* added willowj WL22B dump + mapper

* final tidy-up after testing

* fixed conflicts

* fix formatting
@mizapf mizapf mentioned this pull request May 20, 2020
ajrhacker added a commit that referenced this pull request Nov 17, 2022
…ixes maclc not booting. (The code tries to flush the instruction cache by adding #8 to the old value of CACR, which doesn't work if CI reads back as 1.)
angelosa added a commit that referenced this pull request Jun 10, 2023
-------------------------------
a800.xml: Atrax #1, Atrax #2, Atrax #3, Atrax #4, Atrax #5, Atrax #6, Atrax #8, Atrax #9, Atrax #10, Atrax #11, Atrax #12, Atrax #13, Atrax #15 [Atarimania]
a800.xml: Prince of Persia (AtariMAX i/f), Prince of Persia (SIC! i/f) [AtariAge]

New software list items marked not working
------------------------------------------
a800.xml: Atrax #14, Atrax #16 [Atarimania]
lkundrak added a commit to lkundrak/mame-altos586 that referenced this pull request Oct 29, 2023
Otherwise imgtool gets unhappy with IMD images:

  Starting program: ./imgtool identify ./altos586/SDX-586.IMD
  ...
  Program received signal SIGSEGV, Segmentation fault.
  0x0000000000000000 in ?? ()
  (gdb) bt
  #0  0x0000000000000000 in ?? ()
  mamedev#1  0x000000000025d426 in bml3_diskimage_open (image=..., dummy=...)
      at .../src/tools/imgtool/modules/bml3.cpp:520
  mamedev#2  0x000000000024807d in imgtool_floppy_open_internal (stream=..., image=...)
      at .../src/tools/imgtool/iflopimg.cpp:83
  mamedev#3  imgtool_floppy_open (image=..., stream=...)
      at .../src/tools/imgtool/iflopimg.cpp:101
  mamedev#4  0x000000000024bbdf in imgtool::image::internal_open
      (module=module@entry=0x302320, filename="./altos586/SDX-586.IMD",
      read_or_write=read_or_write@entry=0, createopts=createopts@entry=0x0,
      outimg=std::unique_ptr<imgtool::image> = {...})
      at .../src/tools/imgtool/imgtool.cpp:986
  mamedev#5  0x000000000024bd19 in imgtool::image::open (module=module@entry=0x302320,
      filename="./altos586/SDX-586.IMD", read_or_write=read_or_write@entry=0,
      outimg=std::unique_ptr<imgtool::image> = {...})
      at .../src/tools/imgtool/imgtool.cpp:1010
  mamedev#6  0x0000000000250413 in evaluate_module (fname=fname@entry=0x2fa610
      "./altos586/SDX-586.IMD", module=0x302320, result=@0x7fffffffd4dc: 0)
      at .../src/tools/imgtool/imgtool.cpp:271
  mamedev#7  0x000000000025075f in imgtool::image::identify_file (fname=0x2fa610
      "./altos586/SDX-586.IMD", modules=modules@entry=0x7fffffffd5d0, count=127,
      count@entry=128)
      at/usr/include/c++/13/bits/unique_ptr.h:199
  mamedev#8  0x000000000025382e in cmd_identify (c=0x229d50 <cmds+400>, argc=<optimized
      out>, argv=0x7fffffffda00)
      at .../src/tools/imgtool/main.cpp:578
  mamedev#9  0x0000000000253efc in main (argc=3, argv=0x7fffffffd9f0)
      at .../src/tools/imgtool/main.cpp:939
  (gdb) up
  mamedev#1  0x000000000025d426 in bml3_diskimage_open (image=..., dummy=...)
      at .../src/tools/imgtool/modules/bml3.cpp:520
  520             int sectors_per_track = callbacks->get_sectors_per_track(floppy, 0, 20);
  (gdb) print *callbacks
  $2 = {read_sector = 0x28de1c <imd_read_sector(...)>,
      write_sector = 0x0,
      read_indexed_sector = 0x28de03 <imd_read_indexed_sector(...)>,
      write_indexed_sector = 0x28de35 <imd_write_indexed_sector(...)>,
      read_track = 0x0,
      write_track = 0x0,
      format_track = 0x0,
      post_format = 0x0,
      get_heads_per_disk = 0x28dfef <imd_get_heads_per_disk(...)>,
      get_tracks_per_disk = 0x28dfff <imd_get_tracks_per_disk(...)>,
      get_sectors_per_track = 0x0,
      get_track_size = 0x0,
      get_sector_length = 0x28dd1c <imd_get_sector_length(...)>,
      get_indexed_sector_info = 0x28d95c <imd_get_indexed_sector_info(...)>,
      get_track_data_offset = 0x0}
  (gdb)

With patch applied:

  $ ./imgtool identify ./altos586/SDX-586.IMD

  imd_vzdos IMD floppy disk image (VZ-DOS format)
  imd_dgndos IMD floppy disk image (Dragon DOS format)
lkundrak added a commit to lkundrak/mame-altos586 that referenced this pull request Oct 29, 2023
Otherwise imgtool gets unhappy with IMD images:

  Starting program: ./imgtool identify ./altos586/SDX-586.IMD
  ...
  Program received signal SIGSEGV, Segmentation fault.
  0x0000000000000000 in ?? ()
  (gdb) bt
  #0  0x0000000000000000 in ?? ()
  mamedev#1  0x000000000025d426 in bml3_diskimage_open (image=..., dummy=...)
      at .../src/tools/imgtool/modules/bml3.cpp:520
  mamedev#2  0x000000000024807d in imgtool_floppy_open_internal (stream=..., image=...)
      at .../src/tools/imgtool/iflopimg.cpp:83
  mamedev#3  imgtool_floppy_open (image=..., stream=...)
      at .../src/tools/imgtool/iflopimg.cpp:101
  mamedev#4  0x000000000024bbdf in imgtool::image::internal_open
      (module=module@entry=0x302320, filename="./altos586/SDX-586.IMD",
      read_or_write=read_or_write@entry=0, createopts=createopts@entry=0x0,
      outimg=std::unique_ptr<imgtool::image> = {...})
      at .../src/tools/imgtool/imgtool.cpp:986
  mamedev#5  0x000000000024bd19 in imgtool::image::open (module=module@entry=0x302320,
      filename="./altos586/SDX-586.IMD", read_or_write=read_or_write@entry=0,
      outimg=std::unique_ptr<imgtool::image> = {...})
      at .../src/tools/imgtool/imgtool.cpp:1010
  mamedev#6  0x0000000000250413 in evaluate_module (fname=fname@entry=0x2fa610
      "./altos586/SDX-586.IMD", module=0x302320, result=@0x7fffffffd4dc: 0)
      at .../src/tools/imgtool/imgtool.cpp:271
  mamedev#7  0x000000000025075f in imgtool::image::identify_file (fname=0x2fa610
      "./altos586/SDX-586.IMD", modules=modules@entry=0x7fffffffd5d0, count=127,
      count@entry=128)
      at/usr/include/c++/13/bits/unique_ptr.h:199
  mamedev#8  0x000000000025382e in cmd_identify (c=0x229d50 <cmds+400>, argc=<optimized
      out>, argv=0x7fffffffda00)
      at .../src/tools/imgtool/main.cpp:578
  mamedev#9  0x0000000000253efc in main (argc=3, argv=0x7fffffffd9f0)
      at .../src/tools/imgtool/main.cpp:939
  (gdb) up
  mamedev#1  0x000000000025d426 in bml3_diskimage_open (image=..., dummy=...)
      at .../src/tools/imgtool/modules/bml3.cpp:520
  520             int sectors_per_track = callbacks->get_sectors_per_track(floppy, 0, 20);
  (gdb) print *callbacks
  $2 = {read_sector = 0x28de1c <imd_read_sector(...)>,
      write_sector = 0x0,
      read_indexed_sector = 0x28de03 <imd_read_indexed_sector(...)>,
      write_indexed_sector = 0x28de35 <imd_write_indexed_sector(...)>,
      read_track = 0x0,
      write_track = 0x0,
      format_track = 0x0,
      post_format = 0x0,
      get_heads_per_disk = 0x28dfef <imd_get_heads_per_disk(...)>,
      get_tracks_per_disk = 0x28dfff <imd_get_tracks_per_disk(...)>,
      get_sectors_per_track = 0x0,
      get_track_size = 0x0,
      get_sector_length = 0x28dd1c <imd_get_sector_length(...)>,
      get_indexed_sector_info = 0x28d95c <imd_get_indexed_sector_info(...)>,
      get_track_data_offset = 0x0}
  (gdb)

With patch applied:

  $ ./imgtool identify ./altos586/SDX-586.IMD

  imd_vzdos IMD floppy disk image (VZ-DOS format)
  imd_dgndos IMD floppy disk image (Dragon DOS format)
lkundrak added a commit to lkundrak/mame-altos586 that referenced this pull request Oct 29, 2023
…er_track()

The crash:

  Starting program: ./imgtool identify ./altos586/SDX-586.IMD
  ...
  Program received signal SIGSEGV, Segmentation fault.
  0x0000000000000000 in ?? ()
  (gdb) bt
  #0  0x0000000000000000 in ?? ()
  mamedev#1  0x000000000025d426 in bml3_diskimage_open (image=..., dummy=...)
      at .../src/tools/imgtool/modules/bml3.cpp:520
  mamedev#2  0x000000000024807d in imgtool_floppy_open_internal (stream=..., image=...)
      at .../src/tools/imgtool/iflopimg.cpp:83
  mamedev#3  imgtool_floppy_open (image=..., stream=...)
      at .../src/tools/imgtool/iflopimg.cpp:101
  mamedev#4  0x000000000024bbdf in imgtool::image::internal_open
      (module=module@entry=0x302320, filename="./altos586/SDX-586.IMD",
      read_or_write=read_or_write@entry=0, createopts=createopts@entry=0x0,
      outimg=std::unique_ptr<imgtool::image> = {...})
      at .../src/tools/imgtool/imgtool.cpp:986
  mamedev#5  0x000000000024bd19 in imgtool::image::open (module=module@entry=0x302320,
      filename="./altos586/SDX-586.IMD", read_or_write=read_or_write@entry=0,
      outimg=std::unique_ptr<imgtool::image> = {...})
      at .../src/tools/imgtool/imgtool.cpp:1010
  mamedev#6  0x0000000000250413 in evaluate_module (fname=fname@entry=0x2fa610
      "./altos586/SDX-586.IMD", module=0x302320, result=@0x7fffffffd4dc: 0)
      at .../src/tools/imgtool/imgtool.cpp:271
  mamedev#7  0x000000000025075f in imgtool::image::identify_file (fname=0x2fa610
      "./altos586/SDX-586.IMD", modules=modules@entry=0x7fffffffd5d0, count=127,
      count@entry=128)
      at/usr/include/c++/13/bits/unique_ptr.h:199
  mamedev#8  0x000000000025382e in cmd_identify (c=0x229d50 <cmds+400>, argc=<optimized
      out>, argv=0x7fffffffda00)
      at .../src/tools/imgtool/main.cpp:578
  mamedev#9  0x0000000000253efc in main (argc=3, argv=0x7fffffffd9f0)
      at .../src/tools/imgtool/main.cpp:939
  (gdb) up
  mamedev#1  0x000000000025d426 in bml3_diskimage_open (image=..., dummy=...)
      at .../src/tools/imgtool/modules/bml3.cpp:520
  520             int sectors_per_track = callbacks->get_sectors_per_track(floppy, 0, 20);
  (gdb) print *callbacks
  $2 = {read_sector = 0x28de1c <imd_read_sector(...)>,
      write_sector = 0x0,
      read_indexed_sector = 0x28de03 <imd_read_indexed_sector(...)>,
      write_indexed_sector = 0x28de35 <imd_write_indexed_sector(...)>,
      read_track = 0x0,
      write_track = 0x0,
      format_track = 0x0,
      post_format = 0x0,
      get_heads_per_disk = 0x28dfef <imd_get_heads_per_disk(...)>,
      get_tracks_per_disk = 0x28dfff <imd_get_tracks_per_disk(...)>,
      get_sectors_per_track = 0x0,
      get_track_size = 0x0,
      get_sector_length = 0x28dd1c <imd_get_sector_length(...)>,
      get_indexed_sector_info = 0x28d95c <imd_get_indexed_sector_info(...)>,
      get_track_data_offset = 0x0}
  (gdb)

With patch applied:

  $ ./imgtool identify ./altos586/SDX-586.IMD

  imd_vzdos IMD floppy disk image (VZ-DOS format)
  imd_dgndos IMD floppy disk image (Dragon DOS format)
lkundrak added a commit to lkundrak/mame-altos586 that referenced this pull request Oct 29, 2023
…er_track()

The crash:

  Starting program: ./imgtool identify ./altos586/SDX-586.IMD
  ...
  Program received signal SIGSEGV, Segmentation fault.
  0x0000000000000000 in ?? ()
  (gdb) bt
  #0  0x0000000000000000 in ?? ()
  mamedev#1  0x000000000025d426 in bml3_diskimage_open (image=..., dummy=...)
      at .../src/tools/imgtool/modules/bml3.cpp:520
  mamedev#2  0x000000000024807d in imgtool_floppy_open_internal (stream=..., image=...)
      at .../src/tools/imgtool/iflopimg.cpp:83
  mamedev#3  imgtool_floppy_open (image=..., stream=...)
      at .../src/tools/imgtool/iflopimg.cpp:101
  mamedev#4  0x000000000024bbdf in imgtool::image::internal_open
      (module=module@entry=0x302320, filename="./altos586/SDX-586.IMD",
      read_or_write=read_or_write@entry=0, createopts=createopts@entry=0x0,
      outimg=std::unique_ptr<imgtool::image> = {...})
      at .../src/tools/imgtool/imgtool.cpp:986
  mamedev#5  0x000000000024bd19 in imgtool::image::open (module=module@entry=0x302320,
      filename="./altos586/SDX-586.IMD", read_or_write=read_or_write@entry=0,
      outimg=std::unique_ptr<imgtool::image> = {...})
      at .../src/tools/imgtool/imgtool.cpp:1010
  mamedev#6  0x0000000000250413 in evaluate_module (fname=fname@entry=0x2fa610
      "./altos586/SDX-586.IMD", module=0x302320, result=@0x7fffffffd4dc: 0)
      at .../src/tools/imgtool/imgtool.cpp:271
  mamedev#7  0x000000000025075f in imgtool::image::identify_file (fname=0x2fa610
      "./altos586/SDX-586.IMD", modules=modules@entry=0x7fffffffd5d0, count=127,
      count@entry=128)
      at/usr/include/c++/13/bits/unique_ptr.h:199
  mamedev#8  0x000000000025382e in cmd_identify (c=0x229d50 <cmds+400>, argc=<optimized
      out>, argv=0x7fffffffda00)
      at .../src/tools/imgtool/main.cpp:578
  mamedev#9  0x0000000000253efc in main (argc=3, argv=0x7fffffffd9f0)
      at .../src/tools/imgtool/main.cpp:939
  (gdb) up
  mamedev#1  0x000000000025d426 in bml3_diskimage_open (image=..., dummy=...)
      at .../src/tools/imgtool/modules/bml3.cpp:520
  520             int sectors_per_track = callbacks->get_sectors_per_track(floppy, 0, 20);
  (gdb) print *callbacks
  $2 = {read_sector = 0x28de1c <imd_read_sector(...)>,
      write_sector = 0x0,
      read_indexed_sector = 0x28de03 <imd_read_indexed_sector(...)>,
      write_indexed_sector = 0x28de35 <imd_write_indexed_sector(...)>,
      read_track = 0x0,
      write_track = 0x0,
      format_track = 0x0,
      post_format = 0x0,
      get_heads_per_disk = 0x28dfef <imd_get_heads_per_disk(...)>,
      get_tracks_per_disk = 0x28dfff <imd_get_tracks_per_disk(...)>,
      get_sectors_per_track = 0x0,
      get_track_size = 0x0,
      get_sector_length = 0x28dd1c <imd_get_sector_length(...)>,
      get_indexed_sector_info = 0x28d95c <imd_get_indexed_sector_info(...)>,
      get_track_data_offset = 0x0}
  (gdb)

With patch applied:

  $ ./imgtool identify ./altos586/SDX-586.IMD

  imd_vzdos IMD floppy disk image (VZ-DOS format)
  imd_dgndos IMD floppy disk image (Dragon DOS format)
mizapf referenced this pull request May 1, 2024
* Feed mouse/pen/touch pointer events through UI input manager with Win32 and SDL.
* Started migrating UI code to use new API and reworking mouse/touch interaction.
* emu/render.cpp: Support pressing multiple clickable layout items simultaneously.
* emu/render.cpp: Allow UI elements to be drawn in any window.
* emu/rendlay.cpp, luaengine_render.cpp: Added layout view events for pointer input.
* ui/ui.cpp: Allow the UI handler to control pointer display.
* ui/analogipt.cpp: Added mouse/touch and more keys for navigating field state list.
* ui/menu.cpp: Use vertical swipe to scroll and horizontal swipe to adjust.
* ui/menu.cpp: Draw after processing input - greatly improves responsiveness.
* ui/menu.cpp: Ignore keyboard/gamepad input during pointer actions.
* ui/selmenu.cpp: Made left/right info pane arrows repeat when held.
* ui/selmenu.cpp: Use middle click to move keyboard focus.
* ui/selmenu.cpp: Let filter list scroll if it's too tall, and use a bit of horizontal padding.
* ui/selmenu.cpp: Improved divider sizing.
* ui/state.cpp: Don't allow clicks to pass through the confirm deletion prompt to the menu.
* ui/simpleselgame.cpp: Fixed error message display and graphics/sound status not showing.
* ui/simpleselgame.cpp: Allow tap/click to dismiss error message.
* ui/utils.cpp: Show UI for choice filters when there are no choices - it's less confusing.
* modules/input/input_sdl.cpp: Made scaling for mouse scroll better match RawInput and DirectInput.
* modules/input/input_rawinput.cpp: Added support for horizontal scroll axis.
* modules/input/input_win32.cpp: Added support for scroll axes and more buttons to mouse/lightgun.
* modules/debugger/debugimgui.cpp: Don't fight over events with the UI manager - it breaks menus.
* osd/windows/window.cpp: Translate mouse position to window cooridinates for scroll wheel events.
* osd/sdl/window.cpp: Supply last mouse position for scroll wheel events if possible.
* scripts/build/complay.py: Made zero input mask an error - it was only being used to block clicks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants