Commit Graph

4383 Commits

Author SHA1 Message Date
Olivier Galibert
ef8ac6eee8 * new WORKING machine
----
MTU-130 [Olivier Galibert, David Williams, Disk Blitz, Eric Wright]
2022-09-06 19:04:46 +02:00
Vas Crabb
051c380fd1 Patched up some gaps in functionality and fixed some bugs.
ui: Added some missing functionality:
* Added an option to copy input device IDs to the relevant menus.
* Added an item for setting the software lists files path (-hashpath) to
  the folder setup menu.
* Allow pasting text from clipboard in most places that allow typing
  (searching, entering filenames, entering barcodes).
* Changed the software selection menu heading to be a bit less
  misleading.
* Made barcode menu less eager to rebuild itself unnecessarily, and
  removed some confusing and apparently pointless code.

Exposed more Lua bindings:
* Added low-level palette objects.
* Added indexed bitmap types.
* Added a bitmap method for extracting pixels from a rectangular area as a
  packed binary string.
* Changed screen device pixels method to return width and height in
  addition to the pixels.

osd: Added some functionality and cleaned up a little:
* Added a function for copying text to the clipboard.
* Moved function for converting Windows error codes to standard error
  conditions to winutil.cpp so it can be used from more places.
* Removed duplicate declaration of osd_get_clipboard_text and made the
  function noexcept (including fixing implementations).
* Made macOS implementation of osd_get_clipboard_text skip the encoding
  conversion if it finds UTF-8 text first.
* Changed the default -uimodekey setting so it doesn't lose the "not
  shift" that stops the default from interfering with UI paste.

Various bug fixes:
* util/unicode.cpp: Fixed the version of utf8_from_uchar that returns
  std::string blowing up on invalid codepoints.
* util/bitmap.h: Fixed wrapping constructors for indexed bitmaps taking
  the wrong parameter type (nothing was using them before).
* util/bitmap.cpp: Fixed potential use-after-free issues with bitmap
  palettes.
* emu/input.cpp, emu/inputdev.cpp: Log 1-based device numbers, matching
  what's shown in the internal UI and used in tokens in CFG files.
* emu/emumem.cpp: Added the bank tag to a fatal error message where it
  was missing.

docs: Reworked and expanded documentation on configuring stable
controller IDs.

For translators, the changes are quite minor:
* There's a menu item for copying a device ID to the clipboard, and
  associated success/failure messages.
* There's the menu item for setting the software list file search path.
* One of the lines in the software selection menu heading has changes as
  it could be interpreted as implying it showed a software list name.
2022-09-02 08:55:16 +10:00
Michael R. Furman
46ecd84148
formats/fdos_dsk.cpp: Added FDOS disk format for the SWTPC 6800. (#10273)
Allows the SWTPC 6800 machine to boot FDOS in MAME using Mike Douglas'
FDOSMPS.DSK, and to read/write other available disk images.
2022-08-28 07:07:30 +10:00
Vas Crabb
14e0582083 Miscellaneous fixes:
* util/ioprocsvec.h: Fixed truncating when a write doesn't reach the end
  of stream. [F.Ulivi]
* floptool.cpp: Fixed reversed error checking logic. [F.Ulivi]
* Fixed SUBTARGET=tiny build (required Sega encrypted CPUs to be added).
2022-08-28 01:12:08 +10:00
npwoods
695a9eb091
Initial FAT file system support for Floptool (#9119)
* Initial FAT file system support for Floptool

Current Limitations:
- Read only
- Only supports floppy disks
- No FAT32 support
- No Long Filenames Support
2022-08-25 14:48:45 -04:00
Patrick Mackinlay
361f9f487c mn1610: new disassembler 2022-08-25 16:07:11 +07:00
Vas Crabb
74fa8ec158 -nintendo/gb.cpp: Use taps to handle the boot ROM overlay.
-Moved some stuff out of misc and skeleton:
* Moved Innovative Concepts machines to their own project.
* Moved various things out of skeleton to existing company projects.
2022-08-24 03:45:50 +10:00
Ivan Vangelista
f8dd800d3d bus.lua, machine.lua: fixed a couple of entries 2022-08-21 20:01:29 +02:00
David Haywood
7d346689de
Greatly improve Monon Color emulation (#10158)
* added emulation of required/used AXC51 / AX208 extended operations
* added preliminary emulation of required/used AXC51 / AX208 features
* added support for many Monon specific features, such as the video controller
* most games are playable, those not requiring a card/badge scanner to function at all are promoted
* no music, as it's contained in a game specific MCU under a glob on each cart
2022-08-21 01:33:41 +02:00
Paul-Arnold
0a18e66463
misc/magicard.cpp: Added required devices and default NVRAM contents. (#9970)
* cpu/pic16c5x: Expose driven lines to I/O handlers in mask.
* machine/ds1207.cpp: Added DS1207 Time Key device.
* machine/msm6242.cpp: Fixed interrupt output pulse duration.
* machine/scc66470.cpp: Added Philips SCC66470 Video and System controller device.

Machines promoted to working
-------------------------------
Puzzle Me!
Lucky 7 (Impera) V04/91a

Clones promoted to working
-------------------------------
Magic Card Export 94 (V2.11a, set 3)
Magic Card - Wien (Sicherheitsversion 1.2)
unknown Poker 'TE06'
2022-08-18 23:41:08 +10:00
Michael R. Furman
0ef256b317
formats/cp68_dsk.cpp: Added CP/68 disk format for SWTPC 6800. (#10178) 2022-08-13 23:18:48 +10:00
Vas Crabb
1c4c29aff6 Tweaked MAME icon:
* Use flat gradient style rather than embossed edges.
* Made rightmost stroke of the M thicker.
* Use a dark border to emphasise the outline on light backgrounds.
* Use flat style without anti-aliasing up to 64*64.
* Manually tweaked small sizes to preserve sharp mitres.
2022-08-07 02:47:19 +10:00
hap
f9725bbe95 tms1000: added tms2xxx skeleton devices 2022-08-05 20:57:38 +02:00
Brice Onken
7add0628c5
machine/spifi3.cpp: Implemented HP 1TV3-0302 SPIFI3 SCSI controller. (#10137) 2022-08-05 20:49:51 +10:00
holub
c92c0c967f
sinclair/atm.cpp: Got ATM Turbo 2 mostly working. (#10149)
Implemented memory banking, video modes, palette and COVOX.

Machines promoted to working
--------------------------
MicroART ATM-Turbo 2
2022-08-05 01:41:30 +10:00
0kmg
744493d3ac
bus/pce_ctrl: Added support for Coconuts Japan Pachinko Controller CJPC-102. (#10165)
For all controllers, added %p player specifier, made device_input_ports() protected, and moved initializations from headers to constructors.
2022-08-05 01:08:48 +10:00
AJR
c19f2c5d46 a800: Add support for the ICD R-Time 8 cartridge 2022-07-30 15:36:04 -04:00
David Haywood
d08013cc66
cloned the mcs51 core as axc51, stripped it back, will allow monon work to continue without making a mess of the original mcs51 core. (#10140)
* cloned the mcs51 core as axc51, stripped it back, will allow monon work to continue without making a mess of the original mcs51 core.

* remove some redundant bits

* replace SFR table with AXC51 / AX208 one, removing some other functionality which is not the same on this series

* remove some other bits that are redundant now we're not trying to support other mcs51 models in the axc core
2022-07-28 14:53:34 -04:00
Patrick Mackinlay
9540628cd5 am9516: new device 2022-07-20 19:47:39 +07:00
Patrick Mackinlay
1a6147aeb9 opus100pm: add opus 108pm isa bus card 2022-07-11 14:14:45 +07:00
Vas Crabb
ba98284097 Minor cleanup:
* Don't put full path to target resources in generated version resource
  file.
* apple/sonora.cpp: Only #include "emu.h" as first thing in .cpp file to
  avoid PCH issues.
* taito/rbisland.cpp: Cleaned up a few details.
2022-07-11 01:25:39 +10:00
Vas Crabb
b55671d63a bgfx: Re-built shaders for crt-geom update. 2022-07-07 20:04:22 +10:00
Vas Crabb
5a984699b3 Fail earlier in the build process if SOURCES= specifies no files containing system definitions 2022-07-07 11:54:01 +10:00
Frederic Cambus
624793eac8
Added support for building with Clang on OpenBSD. (#10028) 2022-07-04 03:54:58 +10:00
Thomas Klausner
174e6bdf44
genie: Explicitly set LinkSupportCircularDependencies for NetBSD. (#10020)
Fixes GitHub #10011.
2022-07-04 03:51:04 +10:00
AJR
21c3c10564 Seta X1-001 sprite device cleanup
- Use 16-bit pointer for sprite RAM storage (despite some systems only having 8-bit CPUs)
- Rename device and move to src/devices
- Clean up variable naming in associated drivers
- neobattl: Add DIP switch locations
- krzybowl: Reduce clocks to match known XTAL value
2022-07-01 23:14:45 -04:00
Vas Crabb
6176c84768 Added CI job to check for likely mame.lst errors. 2022-07-02 04:57:25 +10:00
Olivier Galibert
96e24fc56b There is only one Sega 2022-07-01 17:44:39 +02:00
Olivier Galibert
2e8c8a3792 Move avgdvg into devices 2022-07-01 16:23:31 +02:00
Vas Crabb
4b66663afb Allow leaving off the src/<target>/ prefix in SOURCES= 2022-07-01 23:19:10 +10:00
Vas Crabb
f04d9d605c Assume any src/<target>/* folder containing C++ source is a project. Only 'shared' is special-cased. 2022-07-01 22:55:52 +10:00
hap
81727a9409 source org: let's merge the pc folders, also remove misc_ from chess/handheld because i can't make up my mind 2022-07-01 14:18:03 +02:00
Olivier Galibert
1271b8eb74 Change sssr to the more known ussr 2022-07-01 12:47:05 +02:00
Miodrag Milanovic
1bf5abd693 Moving "special" to "sssr" 2022-07-01 09:49:04 +02:00
hap
a440615091 source org: latin letters for cccp 2022-07-01 00:06:24 +02:00
Miodrag Milanovic
67909e4530 Moved radio->cccp, merged couple of small into -> sfrj for ex Yugoslavia companies 2022-06-30 13:31:19 +02:00
Miodrag Milanovic
b0fa78a721 Fix compile 2022-06-30 12:26:54 +02:00
npwoods
ab3a5e1df7
Created a CBM DOS file system driver and added it to the 1541 implementation (#9922) 2022-06-30 09:25:50 +02:00
hap
feebaaf053 source org: rename ascii to msx 2022-06-29 21:25:21 +02:00
hap
36ffcf47ba source org: rename cbm to commodore 2022-06-29 18:54:46 +02:00
hap
dc5faa73bb source org: rename aci to appliedconcepts, hegener to hegenerglaser 2022-06-29 18:35:11 +02:00
hap
2108cb2593 source org: rename mb to miltonbradley, let's move the vectrex to this folder 2022-06-29 17:46:47 +02:00
hap
4dcb8c0b04 source org: create a misc_chess folder 2022-06-29 17:33:29 +02:00
hap
bd97560ea9 source org: merge intv with mattel 2022-06-29 17:14:37 +02:00
hap
71fcb2c354 source org: rename fairch to fairchild 2022-06-29 17:08:04 +02:00
hap
0bdc4c8e26 source org: rename handheld to misc_handheld and move some files over 2022-06-29 17:06:07 +02:00
Vas Crabb
c51c443be1 -Added support for directory names in SOURCES=
-Retired the messshared project (combined with shared).

-bus/nubus: Added table of video modes for Mac monitor sense values.
2022-06-30 00:37:49 +10:00
hap
307f0ab11b source org: merge terminal with cccp 2022-06-29 15:53:47 +02:00
hap
43adbb3453 source org: merge veb with ddr 2022-06-29 15:49:03 +02:00
hap
f35f1c30e1 source org: move odyssey2 driver to philips folder 2022-06-29 15:29:37 +02:00
hap
f4d278a215 source org: merge elektronika with cccp 2022-06-29 15:25:19 +02:00
hap
7a434982fb source org: move kr1601rr1 earom chip device to devices/machine 2022-06-29 15:14:17 +02:00
AJR
5d31d021d2 mame.lua: Add missing machine
* thunderl: Remove unused input ports
2022-06-28 18:16:53 -04:00
AJR
21efb0e47c Start moving devices out of src/mame/shared to more appropriate places 2022-06-28 14:41:16 -04:00
Vas Crabb
871837b123 More quality of life features for new source layout:
Added support for wildcards in .flt filter files.  You'll need to quote
them to avoid /* being parsed as a comment initiator, like "seta/*.cpp"
on a line including the quotes.

Added an XSLT filter for listing system driver sources, like
mame -lx | xsltproc scripts/xslt/list-system-sources.xslt

Converted the ci subtarget (which isn't really used much) into a .flt
rather than .lua and .lst files.
2022-06-29 01:29:04 +10:00
Miodrag Milanović
1442ceeb5a
Prevent src/devices from inadvertently including headers from src/mame. (#9996) 2022-06-28 19:04:31 +10:00
Vas Crabb
513e30cbbb Added make opions for filter file, adjusted source path display.
Added SOURCEFILTER option to specify a driver filter file in your make
options, e.g. like make SUBTARGET=custom SOURCEFILTER=mydrivers.flt (or
put it in your useroptions.mak if you'll be using it a lot).  It
functions more-or-less like SOURCES on steroids.

Changed the way system/device source file paths are displayed to suit
the new source layout better.  INI file loading hasn't changed, that
still just uses the base file name.

Added overlooked trigger to src/bus.lua to include NES controller bus if
the NES zapper sensor is needed.
2022-06-28 16:33:06 +10:00
Vas Crabb
77525a0d0f Converted nl subtarget to use a filter rather than a script and driver list. 2022-06-28 01:47:00 +10:00
Vas Crabb
ab6237da82 Eliminated cross dependencies between driver projects.
Driver projects now use globs to search for files.  There's less effort
editing the Lua files when things are moved around.  Remember it won't
automatically pick up a change, so if you add/remove/change files, you
should touch makefile to get it to find the change.

Driver projects no longer get the top-level MAME directory as an include
path.  This means you need to think about how you structure things and
not introduce nasty circular dependencies.

Subtarget projects can now be generated entirely from .flt files without
the need for separate Lua scripts and .lst files.  This has been done
for the arcade, mess and virtual targets.  It effectively works like a
SOURCES= build on a large scale.  This means you need to organise things
so the dependency genrators can find them.

There's an issue with the mess subtarget right now.  For some reason,
decmate2.cpp isn't picking up the dependency on the PDP8 CPU core for
the HD6120 device.  I'll debug it later
2022-06-27 18:06:20 +10:00
Vas Crabb
06a3054900 Reduced project cross-dependencies, slightly improved renaming script. 2022-06-27 17:06:39 +10:00
Vas Crabb
38fed2ff78 bus/nubus: Got rid of CRTC hacks in Macintosh Display Card emulation.
* Changed name of cards for slot selection to "mdc48" and "mdc824" as
  they're unrelated to the later 8*24 GC card.
* Also cleaned up code substantially and got rid of artificial
  differences between Display Card 4*8 and 8*24.
* Moved lists of NuBus and SE/30 PDS cards to a common place.
* Got some class declarations out of headers to reduce recompiles.
2022-06-25 10:27:36 +10:00
Vas Crabb
af97d42dd3 bus/nubus: More Mac video card improvements.
Started implementing the Macintosh Display Card CRTC.  It gives correct
resolutions, although refresh rates are incorrect.  Added machine
configuration settings allowing several monitors to be selected.

Implemented the Macintosh Display Card's packed RGB mode.  The
base/stride in RGB mode make more sense with this implemented.

Cleaned up the code for the SuperMac Spectrum cards, and fixed the
garbage at the bottom of the screen on the Spectrum/8.

Put a layout with views for common monitor aspect ratios in a place
where cards can use it.  This is especially useful for the NuBus cards
that can support portrait monitors.
2022-06-24 07:05:48 +10:00
AJR
e50b51fe78 pc_kbd: Add emulation of Cherry G80-1500 keyboard, minus smartcard reader 2022-06-23 08:24:58 -04:00
Vas Crabb
449f65cfc4 bus/nubus: More improvements to SuperMac Spectrum video cards.
Factored CRTC and shift register out of Spectrum/8 and added to Spectrum
PDQ.  Fixes video mode selection and resolution for Spectrum PDQ.

Implemented vertical interrupt position, stride, line offset and clock
source registers for Spectrum PDQ.  Added a hack to work around line end
control not being understood.  Also added save state support.

Slightly modernised the Macintosh Display Card (JMFB) device code.

Initialised some driver state class members that were causing System 7
to fail to see files. [Ivan Vangelista]
2022-06-23 07:05:46 +10:00
Nigel Barnes
1ebcd7cfd5 bus/archimedes/podule: Added Hard Disk podules (not working).
- Acorn AKD52 Hard Disc Podule
- Computerware Hard Disk Podule
- Morley Electronics Hard Disc Podule
- Watford Electronics Archimedes Hard Disk Podule
2022-06-22 21:40:55 +01:00
Ivan Vangelista
89d81a5b51 New machines marked as NOT_WORKING
----------------------------------
unknown Zilec game on Blue Print hardware [Andy Walker (of AW Electronics) , Dr. Alan Meades , Hammy, Porchy]
2022-06-21 18:25:47 +02:00
Ivan Vangelista
e6477ba68c New working software list additions
-----------------------------------
a2600.xml: Asteroids (PAL, rev. 06) [Guru]

Clones promoted to working
----------------------------
Super Treasure Island (Italy, v1.6) [Ivan Vangelista]

- tankbust.cpp: used finders, logmacro and other small cleanups
2022-06-20 17:02:12 +02:00
Vas Crabb
60179d8c95 Acknowledge presence of circular dependencies to keep GNU ld happy on Linux. 2022-06-17 23:51:57 +10:00
AJR
3a66b9211f mc68hc11z1, cfp1080s: Separate source file for MCU; add numerous logging stubs 2022-06-16 20:35:41 -04:00
Vas Crabb
94c22aaf78 More scheduler optimisation, Visual Studio build fixes, and cleanup.
emu/schedule.cpp: Fixed a few more pessimising assumptions.  Gains a few
percent in Ketsui and SNES SuperFX.

util/endianness.h: Added some more operations on endian-swizzlers.
Changed a few more drivers to use them.

sun2.cpp: Fixed uninitialised variable that could cause corrupt video.

Fixed some issues with Visual Studio project generation after the
changes to Windows resource creation.
2022-06-17 05:36:24 +10:00
Ivan Vangelista
662747fb22 Clones promoted to working
----------------------------
Borderline (Tranquillizer Gun conversion) [anonymous]

New working clones
------------------
Beta Force [anonymous]

- astinvad.cpp, rollerg.cpp, shootout.cpp: used finders, derived classes and other minor cleanups
2022-06-16 17:12:19 +02:00
Vas Crabb
1964365f34 Optimisation, and baby steps towards untangling stuff:
Optimised the scheduler's handling of unscheduled timers - gives a 50%
performance improvement in some timer-heavy drivers.

Added better endianness swizzling helpers.

Got rid of some of the OSD input modules' dependence on concrete input
classes from emu.
2022-06-16 03:32:46 +10:00
David Haywood
468ba897f6
MPU4 refactoring, reverse engineering, notes etc. (#9893)
* Moved protection simulation to devices, and got more games to boot.
* Corrected lamp output mapping for most games.
* Correctly identified more games, and removed bad dumps.
* Organised sets better, and cleaned up some of the implementation.
2022-06-15 16:35:16 +10:00
Vas Crabb
d8854e4e55 Updated scripts to support SOURCES= builds after the reorganisation happens. 2022-06-15 05:07:09 +10:00
Olivier Galibert
e76d23fc73 saa7191: Move to devices/machine too 2022-06-14 12:07:55 +02:00
Olivier Galibert
58650bd681 at, cammu: kick upstairs too 2022-06-14 12:07:55 +02:00
Vas Crabb
540426ea91 Various cleanups:
* vsystem.cpp: Modernised code a little.
* upscope.cpp: Put code in anonymous namespace.
* Reduced redundancy in more fruit machine layouts.
2022-06-14 17:24:46 +10:00
Ivan Vangelista
e1d00b62ba New machines marked as NOT_WORKING
----------------------------------
Magic Touch [Ivan Vangelista]
2022-06-13 22:56:46 +02:00
Olivier Galibert
ec1cdc738c archimedes_keyb: also kick upstairs in devices/machine 2022-06-13 19:14:39 +02:00
Olivier Galibert
0ed8bbcab7 fm_scsi: kick upstairs in devices/machine 2022-06-13 19:14:39 +02:00
Curt Coder
2cce99c452 New machines marked as NOT_WORKING
----------------------------------
Luxor X37 (prototype) [Dataindustrier AB DIAB Intressegrupp, Curt Coder]

New NOT_WORKING software list additions
---------------------------------------
x37_flop: ABCenix, cremount [Dataindustrier AB DIAB Intressegrupp, Curt Coder]
2022-06-13 15:20:58 +03:00
Vas Crabb
74fe6e9d5c -Got rid of some legacy MESS support glue.
* Got rid of the special-casing for the "mess" subtarget name.
* Got rid of the MESS-specific Windows resources, emuator info source
  and man page.
* Added subtarget name to the internal name and original name in Windows
  resources.

-ui: Put the system-specific items on the input settings menu together,
 and fixed the crosshair visibility settings.
2022-06-13 16:53:23 +10:00
Vas Crabb
f47f9c3db3
ui, docs: Added menus to fill a couple of gaps, improved consistency. (#9915)
Added menus for controlling toggle inputs, and showing recognised input
devices and control state.  Moved input menu options off main menu to a
submenu, as there are a lot of them now.

Moved menu heading drawing into base class, added headings to more
menus, and made headings more consistent with the menu items used to
reach them.  Also made terminology more consistent.

Changed the default names for buttons and hat switches/D-pads to use
1-based numbering.  DirectInput still returns 0-based button numbers for
some devices.

Removed local copy of MinGW xaudio2.h as it’s now included in the MSYS2
package.  Also fixed building the DirectSound sound output module with
the SDL OSD on Windows - the Windows headers are sensitive to include
order.

Started adding documentation for menus, to hopefully help people find
menus they remember seeing but can't recall how to access.

For translators, this makes terminology more consistent.  In particular:
* "Settings" is preferred over "configuration" in a number of places, as
  the latter can be construed as referring specifically to settings
  stored in .cfg files in the cfg_directory folder.  Also, references to
  saving machine configuration could be interpreted as relating to the
  settings on the "Machine Configuration" menu.
* The controls on host input devices (e.g. keys, buttons, joystick axes)
  are referred to as "controls", while emulated inputs are referred to
  as "inputs".
* The menus for assigning host controls to emulated inputs are called
  "input assignments" menus to distinguish them from other input
  settings menus.
* Combinations of controls that can be assigned to emulated inputs are
  referred to as "combinations" rather than "sequences".
* The potentially confusing term "ROM set" has been removed altogether.
  Use "short name" to refer to a device or system's identifier.
* "System" is used in almost places to refer to a complete, runnable
  system rather than "Machine".
* "Driver" is now only used to refer to source files where systems or
  devices are defined - it is no longer used to refer to individual
  systems.
* A few more menus have message context for the messages.  This makes it
  a bit easier to guess where the messages are used.  It also means you
  can use different translations in different places if necessary (e.g.
  if the same English text should be translated differently as an item
  in one menu and as a heading in another).
2022-06-11 21:47:19 +10:00
hap
5214d7f31c mess.lua: place hh_ collection drivers and their subclasses together 2022-06-11 11:22:23 +02:00
hap
f37ea30bfc rename headonb.cpp to efg8080.cpp 2022-06-10 20:25:59 +02:00
arbee
7534ecd5f6 New machines added as MACHINE_NOT_WORKING
-----------------------------------------
M3001 [Darksoft, Team Europe, R. Belmont]
M4001 [Darksoft, Team Europe, R. Belmont]
2022-06-10 11:22:47 -04:00
hap
63e595ae36 pong: remove obsolete external version 2022-06-10 15:27:19 +02:00
Robbbert
6e1ea31cc3 Fixed MESS build. 2022-06-10 00:39:17 +10:00
Olivier Galibert
df182a28b9 Cleanup of the source files lists for src/mame:
- Every file in src/mame/{includes,drivers,audio,machine} with the
  exception of konamiic.txt has to appear in one and only one of the
  projects of arcade.lua or mess.lua (ignoring mameshared)

- Files in mameshared must exist in mame.lua
2022-06-09 15:02:29 +02:00
MooglyGuy
c046ba26c0
cpu/dps56156, plygonet.cpp: DSP56156 fixes and plygonet.cpp cleanup: (#9894) [Ryan Holtz]
* cpu/dsp56156: Fixed ANDI, fixed BFCLR errata, fixed DEC24 not affecting flags.
* cpu/dsp56156: Added proper devcb_write16 for Port C output.
* plygonet.cpp: Fixed banking and tightened up VRAM access.
* plygonet.cpp: Account for endianness in tilemap accesses.
* plygonet.cpp: Switched to logmacro, merged into one file, and general code cleanup.
2022-06-09 03:26:49 +10:00
Olivier Galibert
4fdaa5733a How did the CI manage to compile already? 2022-06-08 18:50:21 +02:00
Olivier Galibert
673dc793b1 Remove header file that doesn't exist anymore from tiny.lua and ci.lua 2022-06-08 18:44:34 +02:00
hap
35df8085b7 segas16sb: move isgsm driver to its own file 2022-06-06 13:46:52 +02:00
Miodrag Milanovic
da0cf02007 New working clones
------------------
RC2014 Micro [Miodrag Milanovic]
SC203 - Modular Z180 Computer [Miodrag Milanovic]
SC105 - Modular Backplane (RC2014) [Miodrag Milanovic]
SC112 - Modular Backplane (RC2014) [Miodrag Milanovic]
SC116 - Modular Backplane (RC2014) [Miodrag Milanovic]
SC133 - Modular Backplane (RC2014) [Miodrag Milanovic]
2022-06-06 13:37:08 +02:00
Miodrag Milanović
b26c4ed848
Z180 ASCI (#9762)
New working machines
-----------------------------------
Micromint SB180 [Miodrag Milanovic]

-z180: implemented ASCI serial communication [Miodrag Milanovic]
-tim011: hookup serial keyboard [Miodrag Milanovic]

-20pacgal:  Add support for terminal
2022-06-06 10:48:41 +02:00
arbee
536755e380 apple2: support for the Excel-9 6809 card, which runs Flex09. [Rob Justice, R. Belmont] 2022-06-05 22:27:26 -04:00
ClawGrip
472a7150ed
New NOT_WORKING machine (#9862)
* New NOT_WORKING machine
-----------------------------------
Frenzy Express [Museo del Recreativo]
2022-06-05 17:39:05 -04:00
Vas Crabb
ea1e51636c Adjust toolchain versions for triggering workarounds:
* Make netlist/plib noexcept issue workaround trigger for clang 8 or
  Apple clang 11.0.0.
* Disable lifetime DSE optimisation for GCC 10.2 (this may be an issue
  in GNU libstdc++ rather than GCC itself - using compiler version as a
  proxy for standard library version is bad, but it's the path of least
  resistance for now).
2022-06-06 04:00:02 +10:00
Vas Crabb
62c35fe3ce
8080bw.cpp, mw8080bw.cpp: Some cleanup/untangling: (#9884)
Updated Space Invaders C.V. and Space Invaders Part II input definitions
based on schematics and manuals.

Got Space Invaders specific stuff out of the Midway 8080 B/W base class.

Got some of the game-specific stuff out of the _8080bw_state class.
It's still a bit of a mess because sound hardware is implemented in the
driver classes so some games pull in a more derived class than they
really should just for sound handlers.

Got rid of the duplicate joystick inputs in rollingc.

Fixed cocktail mode input and DIP switches in a few games.
2022-06-05 23:37:21 +10:00
Nigel Barnes
e0b3f53210 bus/bbc/userport: Added SD Card, and SD Turbo interfaces (not working). 2022-06-05 12:06:40 +01:00
Nigel Barnes
3a49ac4301 bus/bbc/modem: Added Master Extra User Port device. 2022-06-05 12:06:40 +01:00
Nigel Barnes
2094666305 New working software list additions
-----------------------------------
electron_cart: ElkSD Plus 1 [Ramtop, Nigel Barnes]
bbcm_cart: Master SD [Ramptop, Nigel Barnes]
2022-06-05 12:06:40 +01:00
Nigel Barnes
b788307114 bus/electron: Added the ElkSD64 and ElkSD128 Electron SD interfaces. 2022-06-05 12:06:40 +01:00
arbee
ce212a5e9a New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Tinker Bell [Darksoft, Team Europe, R. Belmont]

segam1.cpp: removed and games merged into the new segasm1.cpp. [R. Belmont]
2022-06-04 21:19:44 -04:00
AJR
fd82da23ef europc, europc2: Low-level emulation of built-in keyboard 2022-06-04 21:10:12 -04:00
eientei95
7ae12dd2c7
gokidetor.cpp: Rename Gokidetor to La Cucaracha (#9883) 2022-06-03 09:57:06 +02:00
ClawGrip
30d83ab08b
New NOT_WORKING machines (#9881)
------------------------------
Tom's Adventures [Museo del Recreativo]
Ice Cold Beer (ICE) [Museo del Recreativo]
2022-06-02 10:33:21 -04:00
Patrick Mackinlay
5a3533b277 labtam: add 8086 vdu comm board [Xolod] 2022-05-31 17:24:02 +07:00
AJR
f6994d2d42 kl5c80a12: Add KP64 timer/counter units to emulation 2022-05-30 17:35:10 -04:00
AJR
439bc76f2b New machines marked as NOT_WORKING
----------------------------------
Tektronix 4319 Graphics Workstation [Bitsavers]
2022-05-28 18:05:28 -04:00
AJR
5419785337 mess.lua: Fix full build after 2538377cf8 2022-05-27 22:05:59 -04:00
Ivan Vangelista
899966bca0 New working clones
------------------
Nostromo [anonymous]
Samurai (World) [anonymous, SNESNESCUBE64]
Super Ship [anonymous]

- gotya.cpp: minor cleanups

- hyprduel.cpp: used standard ROM loading macros
2022-05-27 22:29:03 +02:00
hap
812eab4a1b New working machines
--------------------
Micon-Kit Part II [hap, anonymous, Jay Gallagher]
2022-05-27 16:29:40 +02:00
Patrick Mackinlay
2538377cf8 New machines marked as NOT_WORKING
---
Labtam 3000 [Xolod]
2022-05-27 15:53:32 +07:00
Ivan Vangelista
f3e93eff6a New clones marked as NOT_WORKING
--------------------------------
Dead or Alive (Model 2A) [Trol]

- arkanoid.cpp, snk.cpp: minor documentation updates

- funworld.cpp: demoted multiwina to MIG

- jack.cpp: corrected ROM lables [Brian Troha]

- nmk16.cpp: fixed missing sprites in attract mode for tdragonb3, thanks to info from hammy

- sidearms.cpp: dumped PROMs, added hardware info and correcte clocks for Turtle Ship [Guru]

- vamphalf.cpp: improved hardware info [Guru]

- xain.cpp: corrected audio CPU clock to match measurements

- yunsun16.cpp: used standard ROM loading macros and other minor cleanups
2022-05-27 06:31:12 +02:00
AJR
a683ea2d1a Add ymqy70.cpp to mess.lua and mess.flt 2022-05-26 22:15:29 -04:00
Vas Crabb
9ce44fa048 osd: Cleaned up Windows API usage a little.
* Bumped target windows version to 6.0.0 (Vista).
* Use WRL COM pointers to manage some COM-like objects.
* Cleaned up logging in DirectSound module.
* Cleaned up includes in Windows input modules.
* Switched to Common Item Dialogs in Windows debugger.
* Replaced disabled code that never really worked with a TODO comment.
2022-05-26 03:07:28 +10:00
Patrick Mackinlay
f28212d524 labtam: labtam 3000 z80 sbc work in progress [Xolod] 2022-05-25 19:27:55 +07:00
Patrick Mackinlay
91f886d371 labtam: rename 3232 device 2022-05-25 19:18:29 +07:00
David Haywood
e6f8c9cae7
new WORKING machines (#9819)
------
Marble Madness II (prototype) [anonymous]
2022-05-25 02:02:32 +10:00
yz70s
deddb5626c Remove spurious /wx option from prjects generated for visual studio
With that warnings as errors were always enabled even if option
NOWERROR=1 was specified
2022-05-23 20:13:38 +02:00
Angelo Salese
e6180e3510
Initial work towards a sis630 based chipset driver (#9635)
- Add more or less complete implementations of sis630_host, sis950_lpc, sis630_gui, sis5513_ide, sis7001_usb, sis7018_audio, sis900_eth devices;
- Removed gamecstl.cpp in favour to the new sis630.cpp driver;
- i386.cpp: enable CMOV feature for Pentium III and 4;
- i386.cpp: add PSN stub feature for Pentium III;

New machines marked as NOT_WORKING
----------------------------------
Shuttle MS-11 [Angelo Salese, archive.org]
2022-05-23 17:27:33 +02:00
Vas Crabb
3984f8f883 srcclean in preparation for release 2022-05-22 09:36:01 +10:00
couriersud
324f9d44d5
netlist: More c++, less macros, added support for cspell (#9794)
- More c++, less macros
  * Significantly reduced the use of unused_var and replaced it with
    [[maybe_unused]]
  * use enum class in ppmf.h

- Changes to testing code in ptest.h
  * Catch exceptions in more places
  * The verbosity of the output can now be controlled
  * Display of test stats totals

- added support for cspell
- fixed various typos
- fixed SUBTARGET=nl build
- fixed more file permissions
- srcclean and add fix_permissions target to netlist makefile
2022-05-22 01:16:50 +10:00
smf-
988a9b974a partial revert of 68ebb786d1 2022-05-20 16:31:52 +01:00
smf-
68ebb786d1 Added Z80 Video Pak cartridge to Commodore 64. [smf]
Fixed XL-80 cartridge lower case and inverse video [smf]
2022-05-20 15:06:04 +01:00
Patrick Mackinlay
56702e4217 labtam3232: new card skeleton 2022-05-20 14:55:29 +07:00
AJR
aa66b4a013 atarist.cpp: Split out video and blitter as separate devices 2022-05-19 15:21:55 -04:00
couriersud
0c258c9d70
netlist: Fixes to address PR #9752 and issue #8590 / EMSCRIPTEN (#9773)
netlist: pointer to member function code 

- Address PR #9752 and issue #8590
- change comments in ppmf.h
- add support for function desciptors (IA64)
- sizeof(size_t) may be different on build targets
  make plib::hash use uint64 to ensure consistent static solver
  hashes across platforms (EMSCRIPTEN)
- Moved constructor and member functions outside the class declaration
  with the exception of "call" member functions.
- Updated comment on accessing RDX
- Added more test cases

* Removed execution bit on certain files
I have separated out the raw processing code into `ppmf.cpp`. I have
also taken first steps to clean the abi identification.

The code submitted now supports:

a) The unknown virtual inheritance case with specific code for MSVC for
simple (i.e. scalar, void, reference, pointer) return types using the
optimized code. This is the test case only supported under MSVC and
which should return 7. Please have a look at the code. Basically
m_vptr_offset is an index into a pointer table. It needs to be
multiplied by `sizeof(void *)`.

b) If you enable PPMF_EXPERIMENTAL complex return type member functions
for MSVC will also use the optimized code path. This is explained in
detail in the code in ppmf, including caveats and possible solutions.

c) Enabling PPMF_USE_MAME_DELEGATES will use `src/lib/util/delegate.h`
as a replacement for `ppmf.h`. This allows to run the same tests
(`nltool -c tests` from standalone build) as for the ppmf code.

d) The code now also supports `clang-cl`

e) sizeof(size_t) may be different on build targets.

Make plib::hash use uint64 to ensure consistent static solver hashes
across platforms. This fixes loading static solvers (if enabled) on
EMSCRIPTEN.
2022-05-19 19:40:00 +02:00
Nigel Barnes
b81f68eb66 mtx.cpp: New expansion devices CFX System and MAGROM.
- Added Reset keys and joystick ports.
- Re-implemented cartridge slot as external ROMPAK device.
2022-05-18 21:07:44 +01:00
smf-
33f069cac0 fix for building with clang 14 as asmjit uses | & operators on bools [smf] 2022-05-18 18:39:43 +01:00
Miodrag Milanović
6d595718f5
bus/rc2014 code review fixes (#9768)
* Unmap I/O space on bus reset and install I/O on card reset.
* Cleaned up code.
2022-05-17 05:12:28 +10:00
SomeRandomGuyIdk
e9ff2dd85a
JPM SRU fruit machine improvements (#9632)
jpmsru.cpp: Fleshed out I/O and added layouts.

machine/steppers.cpp: Added JPM SRU 200-step pattern.

audio/fruitsamples.cpp: Added device for simulated fruit machine sounds.
2022-05-17 04:43:37 +10:00
Vas Crabb
a3ee45c94c scripts: Improve str_to_version again.
Don't treat hypen and dot as the same thing - it will cause issues with
pacakge revisions.  Cleaned up some Lua code as well.

Also show warnings about potentially uninitialised stuff with GCC 12,
just don't make them fatal errors.
2022-05-17 03:16:54 +10:00
Ivan Vangelista
1f8af0c190 - goldstar.cpp: decrypted cb3c, needs correct address map
- gstriker.cpp: used finder for memory bank and other small cleanups
2022-05-16 18:10:34 +02:00
sairuk
a68e611f07
fix version detection in str_to_version (#9767) 2022-05-16 10:49:09 -04:00
Miodrag Milanović
36204d73da
RC2014 (#9759)
New working clones
------------------
RC2014 Mini with CP/M Upgrade [Miodrag Milanovic]


-rc2014: added RTC, IDE, FDC and Sound module, fix memory and i/o mapping, proper flash mapping
2022-05-15 18:58:59 +02:00
Nigel Barnes
3377ee1d79 bus/bbc/internal: Added the Memex-B20 board. 2022-05-15 16:15:00 +01:00
Ivan Vangelista
b3225de898 vball.cpp: used finder for memory bank and other small cleanups 2022-05-14 08:12:49 +02:00
Vas Crabb
cd30211883 tait8741.cpp: Removed old simulation of Gladiator MCUs (unused for a while now). 2022-05-14 13:13:29 +10:00
arbee
f6b18012bc mips3: Fixed error flagged by GCC 12 [Ryan Holtz, R. Belmont] 2022-05-11 21:30:46 -04:00
arbee
a5647347df Initial GCC 12 support for Fedora 36. [R. Belmont] 2022-05-11 17:26:57 -04:00
Ivan Vangelista
eb6d21a2a4 New working clones
------------------
Space Invaders' gambling game (unencrypted) [Jorge Silva]
2022-05-10 21:58:44 +02:00
Miodrag Milanović
437f504eef
RC2014 (#9716)
New working machines
--------------------
RC2014 Classic [Miodrag Milanovic]
RC2014 Pro [Miodrag Milanovic]
RC2014 Classic II [Miodrag Milanovic]
RC2014 Zed [Miodrag Milanovic]
RC2014 Zed Pro [Miodrag Milanovic]
2022-05-10 15:03:30 +02:00
Ivan Vangelista
56e2cdf453 - nmk16.cpp: added hardware info and corrected ROM labels for Acrobat Mission [Guru]
- paradise.cpp: used finders, templates and other small cleanups
2022-05-09 20:12:56 +02:00
Sandro Ronco
b2aa336249 Z88: added serial port and NVRAM support. [Sandro Ronco] 2022-05-08 14:00:53 +02:00
Vas Crabb
fe8e132efa
cps2.cpp: Added TOURNAMENT board communication simulation. (#9699) [Vas Crabb, Darksoft, Gregory Lewandowski] 2022-05-06 14:03:57 +10:00
Ivan Vangelista
fa38329177 New working clones
------------------
Batsugun (older, set 2) [buffi]
Dogyuun (oldest set) [buffi]

- pacland.cpp: used finders and other small cleanups
2022-05-05 18:07:35 +02:00
AJR
c0ace34b7e New disassemblers for unidasm: hp2100, hp21mx, v620, v75 2022-05-04 23:54:46 -04:00
Roberto Fresca
8ffa5ef1d9 New working machines
--------------------
Hot Chilli (95103, v0104) [Roberto Fresca, Grull Osgo, Matt B]
2022-05-04 19:50:44 +02:00
couriersud
a8fe401275
Suppress compile warnings in asmjit with GCC 7. (#9675) 2022-05-04 04:44:44 +10:00
Ivan Vangelista
d601cd0245 firetrap.cpp: used finders, templates and other small cleanups 2022-05-03 18:11:23 +02:00
Ivan Vangelista
7c576840d6 New machines marked as NOT_WORKING
----------------------------------
Neo Print - Popeye (Japan) (T4i 3.04) [buffi]
Neo Print - European Version (World) (T4i 2.00) [buffi]
Rally Point 2 [coolmod]

- toaplan2.cpp: added a note about a different ROM configuration found for sstrikerk [buffi]
2022-05-02 18:03:38 +02:00
hap
9e76c4c65a New working machines
--------------------
Scrabble Lexor - Computer Word Game [hap, Sean Riddle]
2022-05-01 23:08:07 +02:00
Miodrag Milanović
394107b576
-tim011.cpp: Hooked up floppy drives properly. (#9649)
* Hooked up floppy drives and controller properly, and implemented video display.
* formats/tim011_dsk.cpp: Added TIM 011 floppy image format.

-machine/upd765.cpp: If waiting for additional command bytes, treat a data register read as an open bus write (tested on real hardware) and always trigger the DRQ line even if in nodma mode. [Carl

-cpu/z180: Added callbacks for tend; decrement bcr1 when DMA channel 1 is active. [Carl]
2022-05-02 04:45:47 +10:00
couriersud
9d77923b93
Fixed SUBTARGET=nl build. (#9662) 2022-05-02 03:47:01 +10:00
hap
4511b20768 rename hh_amis2k driver to wildfire 2022-05-01 12:07:26 +02:00
Ivan Vangelista
72de111bf2 - appoooh.cpp: finders and other small cleanups
- royalmah.cpp: corrected year for ichiban
2022-04-27 21:51:19 +02:00
Ivan Vangelista
fb30007f9e brkthru.cpp, gunsmoke.cpp, bfm_adr2.cpp: used finders and other small cleanups 2022-04-26 20:32:28 +02:00
Ivan Vangelista
d9a7c47e2f New clones marked as NOT_WORKING
--------------------------------
Bad Lands (Modular System) [Eduardo Anay, ClawGrip]
2022-04-23 09:54:38 +02:00
Ivan Vangelista
f55b17b07f New clones marked as NOT_WORKING
--------------------------------
Slap Fight (Modular System) [Eduardo Anay, ClawGrip]
2022-04-21 18:04:08 +02:00
Angelo Salese
e383606922
pc8801.cpp: major groundwork cleanups (#9533)
* pc80s31k.cpp: minor XTAL cleanup

* pc8801.cpp: reduce signature name fns

* pc8801.cpp: separate dictionary and CD-ROM later model use into own state machines

* pc8801.cpp: clean input ports a bit

* pc8801.cpp: bulk printf -> logerror

* pc8801.cpp: misc cleanups

* pc8801.cpp: more misc cleanups

* pc8801.cpp: initial batch of exporting PC8801-31 to a separate device

* pc8801_31.cpp: document register map, add machine ID

* pc8801.cpp: fix configuration mistake for CPU speed

* pc8801.cpp: add base diplocations, massage documentation of ports $30, $31, $40, misc cleanups

* pc8801.cpp: fix mouse cursor jump bugs, remove deprecated PORT_RESET usage;
pc8801.cpp: rework and extend expansion slot descriptions;

* pc8801.cpp: add note about extended FH keyboards

* pc8801.cpp: add dip positions for BASIC dips

* pc8801_31.cpp: add stub SCSI bus controller

* pc8801.cpp: blind fix kanji LV2 hookup

* pc8801.cpp: use required_region_ptr for ROM regions, split kanji_lv2 to own one

* pc8801.cpp: move a few notes to XML

* pc8801_flop.xml: correct Digan no Maseki title

* pc8801.cpp: remove unneeded port $33 hookup (should be unmapped on all PC8801 variants)

* pc8801.cpp: initial implementation of interrupts using i8214 as base. Fixes at least yojukiko and bishojbg BGMs

* pc8801.cpp: add clock calculation for internal DAC1BIT, add reported V1 revision numbers for each romset.

* pc8801.cpp: move OPN/OPNA sound chip mounts to internal model types, add stereo mixing

* pc8801.cpp: add sound irq pending mechanism, particularly needed by Telenet games

* pc8801_flop.xml: update QA notes

* pc8801_flop.xml: more misc QA notes

* pc8801.cpp: improve irq semantics, connect rxrdy_irq_w signal

* pc8801.cpp: fix some irq regressions

* pc8801.cpp: make OPNA a bit less louder, QA checkpoint

* pc8801.cpp: fix broken link, unmapped I/O documentation

* pc8801.cpp: add JMB-X1 map, other minor notes

* pc8801_flop.xml: fix metalora title and manufacturer

* pc8801.cpp: minor cleanups

* pc8801.cpp: start inheriting from base pc8001_base_state, add initial hooks for actual 3301 + i8257 devices

* pc8801.cpp: fix port40_r reading mistake

* pc8801.cpp: fix 24kHz pixel clock

* pc8801.cpp: 3301 irq is tied to VRTC not INT

* upd3301.cpp: fix VRTC vblank/display bit timer

* pc8801.cpp: fix DMA readback

* upd3301.cpp: convert to logmasked

* upd3301.cpp: support for no attributes/no special control mode

* pc8801.cpp: simplify bitmap 3bpp drawing and add preliminary palette rasters

* pc8801.cpp: misc documentation updates

* upd3301.cpp: clear bitmap layer on FIFO reset

* i8214.cpp: PoC in separating INT ASSERT and CLEAR phases
pc8801.cpp: tie acknowledge to INT rather than inside callback. Avoids spurious irq regressions;

* upd3301.cpp: handle bitmaps as pure transparent;
pc8801.cpp: add BG Pal handling, honor transparency in all bitmap layers;

* pc8801.cpp: minor cleanups

* pc8801.cpp: better handling of bitmap fills

* pc8001.cpp: carry over attribute fetches between lines when 3301 is in color mode

* pc8801_flop.xml: update QA, move notes from main driver

* pc8801.cpp: implement colorized b&w graphic modes

* pc8801.cpp: cleanup obsolete functions

* pc8801.cpp: extend a bunch of notes

* pc8801.cpp: add boilerplate code for base irq mechanism

* pc8801.cpp: add expansion card support, with JMB-X1 (partly addresses #8709), PC-8801-23 and PCG-8100 as PoC examples.

* pc8801_exp.h: fix CI clang build

* pc8801_31.cpp: SW list hookup

New NOT_WORKING software list additions
---------------------------------------
pc8801_cdrom.xml: CD Takarabako [r09]

* pc8801.cpp: promote some romsets to parent

* pc8801.h: reinstate dummy initialization in state machines

* pc8801.cpp: save_item to all variables in state machines
2022-04-16 01:36:53 +02:00
Angelo Salese
444a6c6144
fruitpc.cpp: split gogostrk into own driver (paokaipc.cpp), remove legacy PCI header defined. (#9562) 2022-04-15 00:34:51 +02:00
Ivan Vangelista
935fe6b797 New machines marked as NOT_WORKING
----------------------------------
Super 97 (Ver. 1.00) [Ioannis Bampoulas]

- hexion.cpp: used finders and other small cleanups

- powerins.cpp: corrected one sprite ROM for powerinsc
2022-04-14 18:08:32 +02:00
Ivan Vangelista
c3a817660d kangaroo.cpp, shisen.cpp, skykid.cpp, spdodgeb.cpp: finders and other small cleanups 2022-04-13 16:45:53 +02:00
Robbbert
c8ab724056 Advision: merged 4 files into one. 2022-04-13 21:57:54 +10:00
Ivan Vangelista
ce68a1d711 New working clones
------------------
Blood Storm (v2.21) [coolmod]

angelkds.cpp, crgolf.cpp: finders and other small cleanups
2022-04-12 12:57:32 +02:00
Ivan Vangelista
926e59db2b labyrunr.cpp, pcktgal.cpp: used finders and other small cleanups 2022-04-11 18:23:03 +02:00
hap
efb0ba9dcd cpu.lua: fix typo from prev commit 2022-04-10 13:51:09 +02:00
hap
cd52b38151 rw5000: added b5500 2022-04-10 13:25:02 +02:00
ClawGrip
cf2982a769
New NOT_WORKING machines (#9531)
* New NOT_WORKING machines
---------------------------------------
Sport Damjes 1 [Sergio de electronicaVyS, ClawGrip]
2022-04-09 16:36:39 +02:00
Robbbert
89ee397622 c80: merged c80h into c80.cpp. Fixed random crash. Removed bogus 9th digit. Documented how to use the cassette. 2022-04-09 02:35:47 +10:00
Ivan Vangelista
df5962a0fb ajax.cpp, parodius.cpp: finders and other minor cleanups 2022-04-07 18:28:21 +02:00
Patrick Mackinlay
3c76a688d3 New machines marked as NOT_WORKING
---
Signetics SMVME2000 [Plamen Mihaylov]
2022-04-07 09:13:39 +07:00
Ivan Vangelista
869f8d51e8 - contra.cpp: added hardware infos [Guru]
- epos.cpp, ksayakyu.cpp: finder and other minor cleanups

- whitestar.cpp: used finder instead of tag lookup for memory bank
2022-04-06 18:05:10 +02:00
Robbbert
f32b43a5bf Merged s8a.cpp into s8.cpp 2022-04-06 19:37:13 +10:00
Vas Crabb
ae8634669a Apparently the issue with Sol and std::optional is a GCC version thing, not Linux vs MinGW.
Also, tidied up the test views in some more fruit machine layouts.
2022-04-06 04:15:25 +10:00
Ivan Vangelista
e00e52e972 - buggychl.cpp, himesiki.cpp, surpratk.cpp: finders and other small cleanups
- discrete.cpp, mac.cpp: initialized some variables which were causing problems

- centiped.cpp: added 82s153 dump for bullsdrt [chaneman]
2022-04-05 18:00:10 +02:00
Roberto Fresca
f06df38709 New working machines
--------------------
Le Pendu (Bilingue, Version 04) [Roberto Fresca, Grull Osgo, Jeff Hamelin]
2022-04-05 00:00:22 +02:00
Ivan Vangelista
143ea62682 - a1supply.cpp: dumped 2 more chips for tv21_3 [Siftware]
- bottom9.cpp: finders and other minor cleanups

- pc8001.cpp: initialized a variable which was causing problems in regression testing and actually save some states

- seta.cpp: used correct ROM for daiohp2, fixes various GFX glitches
2022-04-04 18:16:50 +02:00
Vas Crabb
ea30ec72f4 Disable lifetime dead store elimination for Linux GCC builds.
This will hopefully work around the very unhelpful uninitialised
variable warning that seems to be triggered by using Sol's get function
with std::optional<T> or sol::optional<T> on Linux.
2022-04-03 14:34:38 +10:00
Vas Crabb
c4f9ff9790 -util/corealloc.h: Reduced make_unique_clear to a single variant for POD arrays.
* Enabled GCC lifetime dead store elimination optimisation.
* emu/device.h: Don't pre-clear memory for drivers.  Ivan Vangelista
  fixed at least the majority of things that crashed outright, and
  Robbbert initialised variables that coverity complained about.  It's
  unlikely anything will break due to this.
* sound/discrete.h: Explicitly initialise members of discrete "devices"
  to zero.  I don't see a way around doing this in headers due to the
  macro soup used to build the constructors.
* sound/mos6581.cpp: Moved creation of the SID core to device_start and
  explictly initialised members of the SID core structures.  These
  structures are in internal headers, so they won't cause downstream
  recompiles.

-Lua engine: Made I/O port manager type_seq a bit more tolerant of
 omitted arguments.
2022-04-03 02:53:19 +10:00
Ivan Vangelista
976ec5da28 contra.cpp, gng.cpp: finders and other small cleanups 2022-04-01 17:59:14 +02:00
Olivier Galibert
e4564eb99a cdrom_file: classify. Could use more internal work, but it's a step 2022-04-01 11:36:55 +02:00
AJR
f5d61ddcbe New machines market as NOT_WORKING
----------------------------------
Waldorf Electronics MiniWorks 4-Pole [DBWBP]
2022-03-31 14:06:29 -04:00
hap
334120cd95 New working machines
--------------------
10R (Rockwell) [hap, Sean Riddle]
12R (Rockwell) [hap, Sean Riddle]
2022-03-31 19:25:08 +02:00
Ivan Vangelista
11c85437d5 goal92.cpp: finders and other small cleanups 2022-03-31 18:04:12 +02:00
Patrick Mackinlay
ab69b13e03 New machines marked as NOT_WORKING
---
Intel iSBC 660 System Chassis
2022-03-31 17:53:06 +07:00
Patrick Mackinlay
d016a6d409 isbc8024: new multibus card with unknown firmware [Andy Welburn] 2022-03-31 17:50:30 +07:00
Ivan Vangelista
b278453e76 galpanic.cpp, hcastle.cpp, tbowl.cpp: finders and other minor cleanups 2022-03-31 08:26:40 +02:00
Ivan Vangelista
b4873d059e cbasebal.cpp, vendetta.cpp: finders and other small cleanups 2022-03-29 18:03:43 +02:00
hap
9d9ec1a2f7 rw5000: add a5500 2022-03-29 15:14:55 +02:00
hap
f876dd8241 rw5000: add a5000/a5900 2022-03-29 01:43:47 +02:00
hap
eb7bfe8450 b5000: rename base class to rw5000 2022-03-28 23:52:01 +02:00
Ivan Vangelista
19fe9e23a6 - diverboy.cpp, exzisus.cpp: finders, other minor cleanups
- various drivers: removed some custom GFX decodes in favor of the ones provided in emu/video/generic.cpp
2022-03-28 18:11:51 +02:00
ClawGrip
2a3c402cae
New NOT_WORKING software list additions (#9437)
* New NOT_WORKING software list additions

---------------------------
roland_tnsc1.xml:
  70's and 80's (TN-SC1-03) [Sean Riddle, ClawGrip]
2022-03-27 11:46:26 +11:00
MooglyGuy
06e60e848f
Time Traveler (set 1) - promoted to working (#9468) [Ryan Holtz]
* machine/laserdsc.cpp: Added functionality to retrieve if a disc is CAV.
* machine/ldv4200hle.cpp: Added high-level Pioneer LD-V4200 player emulation.

Machines promoted to working
----------------------------
Time Traveler (set 1) [Ryan Holtz, Matt O, ld-decode Team]
2022-03-27 00:41:51 +11:00
ClawGrip
81930264fa
New NOT_WORKING machines (#9466)
* New NOT_WORKING machines

---------------------------------
Basketball (Benchmark Games, set 1) [Museo del Recreativo, ClawGrip]
Ten Strike Classic [Museo del Recreativo, ClawGrip]

New NOT_WORKING clones
---------------------------------
Basketball (Benchmark Games, set 2) [Museo del Recreativo, ClawGrip]
2022-03-26 21:55:23 +11:00
Ivan Vangelista
62b74558d1 - capbowl.cpp: used finders and other small cleanups
- system1.cpp: added hardware infos for pitfall2 [Guru]
2022-03-24 18:19:22 +01:00
Ivan Vangelista
18bdf245a2 New machines marked as NOT_WORKING
----------------------------------
Gun Shot [Museo del Recreativo]

- blktiger.cpp: used finders and some other small cleanups
2022-03-23 18:46:47 +01:00
Ivan Vangelista
064cd262a6 - a1supply.cpp: dumped most missing PROMs for tv21_3 [Siftware]
- blktiger.cpp, nmk16.cpp: added some hardware infos. Corrected blktiger MCU clock [Guru]

- wc90.cpp, wc90b.cpp: used finders, small cleanups
2022-03-21 19:28:14 +01:00
Brian Johnson
9a6faae734
qx10: add multifont option card (#9286) 2022-03-20 23:31:38 -04:00
hap
6a91b86301 New machines marked as NOT_WORKING
----------------------------------
18R (Rockwell) [hap, Sean Riddle]
2022-03-20 20:51:47 +01:00
Michael Zapf
f2ddee6df3 ti99: New expansion card "TIPI". 2022-03-20 20:03:51 +01:00
hap
8b8bb2fa75 b5000: add b6000, b6100 2022-03-20 00:19:50 +01:00
Ivan Vangelista
994b8d18ee New working clones
------------------
Monsters World 2 (bootleg of Super Pang) [Recreativas.org, David Torres, ClawGrip]
2022-03-19 15:27:20 +01:00
Nigel Barnes
3e438cde6c bus/archimedes/podule: Added MIDI devices:
- EMR MIDI 2 Interface
- EMR MIDI 4 Interface
2022-03-17 22:17:14 +00:00
Nigel Barnes
08882ee89e bus/archimedes/econet: Added MIDI devices:
- The Serial Port MIDI Interface
- The Serial Port Sampler and MIDI Interface
2022-03-17 22:17:14 +00:00
Ivan Vangelista
cf6d818f67 yunsung8.cpp: made use of finders and views, other minor cleanups 2022-03-17 18:16:00 +01:00
0kmg
acca7d5898
bus/nes_ctrl: Split zapper sensor off as a reusable device. (#9417) 2022-03-17 12:29:56 -04:00
hap
2dab71e7e0 add b5000 cpu core file placeholders 2022-03-17 14:07:17 +01:00
shattered
f280e06e4a
New machines marked as NOT_WORKING (#9356)
------------------------
Elektronika MK-98
2022-03-17 04:53:46 +11:00
Ivan Vangelista
7c7bab4dd0 fastlane.cpp, flkatck.cpp: used finders and arrays where applicable, other minor cleanups 2022-03-16 18:02:37 +01:00
Ivan Vangelista
c074526b03 xxmissio.cpp: used finder for memory bank, other minor cleanups 2022-03-15 18:04:19 +01:00
arbee
935380746d Add missing cpu.lua entries for the rest of the SM5* family. Fixes single-driver builds. [R. Belmont] 2022-03-14 22:21:18 -04:00
hap
5efd366143 nes: added R.O.B. 2022-03-15 00:10:17 +01:00
Ivan Vangelista
c56bac05ed New working clones
------------------
Ridge Racer (Rev. RR2 Ver.B, World) [Jim Kingery, Brian Troha, The Dumping Union]
Ridge Racer 2 (Rev. RRS8, World) [Jim Kingery, Brian Troha, The Dumping Union]
Ace Driver: Victory Lap (Rev. ADV2 Ver.B, World) [Jim Kingery, Brian Troha, The Dumping Union]

- Namco System 22 driver updates  [Jim Kingery, Brian Troha, The Dumping Union]
* Sets redumped/verified: ridgeracb, ridgera2, raverace, raveracj, victlapa
* ROM labels corrected by set: ridgeracb, ridgeraca, victlapa
* Parent renaming: raveracw --> raverace, acedrvrw --> acedrive, victlapw --> victlap

- model2.cpp: some updates regarding board numbers [Guru]

- goindol.cpp: used finder for memory bank, other small cleanups
2022-03-14 16:49:42 +01:00
npwoods
2df5b5a1f0
Adding 'FORMATS["COCO_RAWDSK"] = true' to mess.lua (#9412) 2022-03-14 11:27:15 +01:00
Ivan Vangelista
a7225d8818 - model2.cpp: dumped IO board ROM for srallycdx [Guru]
- quizpun2.cpp, tail2nos.cpp: used finder for memory bank, small cleanups

- aerofgt.cpp, cop01.cpp, dacholer.cpp, galivan.cpp, pzletime.cpp, taxidriv.cpp, terracre.cpp, welltris.cpp: removed some custom GFX decodes in favor of the ones provided in emu/video/generic.cpp
2022-03-12 08:10:34 +01:00
Patrick Mackinlay
2b5755845b pcmx2: boot to monitor
* refactored into cards
* boots to firmware monitor
2022-03-11 19:37:55 +07:00
Ivan Vangelista
cec6cd7bd8 New clones marked as NOT_WORKING
--------------------------------
Dead or Alive (Export, Model 2A, Revision A) [Guru]

- hnayayoi.cpp: corrected clocks and dips [MORIYA]
2022-03-09 17:21:43 +01:00
Ivan Vangelista
074d55b403 - megazone.cpp: added PCB infos and some notes about the megazonea set [Guru]
- snesb.cpp, snesb51.cpp: moved fatfurspb from the former to the latter. Also patched out protection for ffight3b for now [hammy]
2022-03-08 18:18:41 +01:00
Ivan Vangelista
7cea1be0e1 New machines marked as NOT_WORKING
----------------------------------
unknown game on TrueSys hardware [Jorge Silva]

New clones marked as NOT_WORKING
--------------------------------
Royal Card (stealth with NES multigame, set 2) [Jorge Silva]
2022-03-04 18:02:59 +01:00
Dirk Best
1ee864dd4e New machines marked as NOT_WORKING
----------------------------------
Liberty Electronics Freedom 120/Aspect 100 [Bitsavers]
2022-03-04 13:47:15 +01:00
Patrick Mackinlay
89b850c9d9 ns32382: new device 2022-03-04 12:36:33 +07:00
Ivan Vangelista
c444dd44cf - jailbrek.cpp: dumped PALs and added PCB info for jailbrekb [Guru]
- thedeep.cpp, welltris.cpp: used finder for memory bank and other minor cleanups
2022-03-01 16:39:42 +01:00
Nigel Barnes
42910ab7b6 bus/bbc/joyport: Added the Master Compact mouse. 2022-02-27 16:23:03 +00:00
hap
8b530b872d rendlay: remove led8seg_gts1 2022-02-26 18:40:59 +01:00
hap
f657eff363 New machines marked as NOT_WORKING
----------------------------------
Computer Chess (Conic, model 7013) [hap, Berger]
2022-02-25 23:04:39 +01:00
Vas Crabb
0a1c686c8e Disabled clang warnings again - only the GCC ones should be re-enabled. 2022-02-24 16:42:30 +11:00
Vas Crabb
e539b09943 Re-enabled some compiler warnings and cleaned up some Python scripts a little. 2022-02-24 16:35:13 +11:00
Angelo Salese
deff4306c5
amiga.cpp: modernization changes (#9263)
Structural changes:

- amiga_copper.cpp: convert to device, added copins implementation as debugging mailbox, convert to logmacro.h;
- 8364_paula.cpp: convert audio implementation accessors from switch-case to per-channel maps;
- amiga.cpp: convert OCS/ECS/AGA chipset flavours to address_map_bank_device, currently using the older custom_chip_r/_w as a legacy trampoline that will be progressively removed once that we have working implementations of Agnus/Denise and derivatives;
- akiko.cpp: convert to logmacro.h;
- amigafdc.cpp: better elaborate QA notes, add "Trackdisk" to device long name as officially referred by Amiga SDK:
- amiga.cpp: kicked off an amiga_demos.xml SW list hookup;

Adds the following implementation detail changes:
- amigaaga.cpp: fix sprites and bitplanes in dualpf modes, fixes at very least cd32:dstreets on gameplay;
- amigaaga.cpp: fix BPLCON0 when planes == 7 is set, fixes title screen GFXs in surfninj;
- amigaaga.cpp: use HAM6 when not in AGA mode, fixes colors in cdtv:townona when run with CD32 system;
- amigaaga.cpp: fix sprite control fetches when FMODE != 0, fixes at very least Digger AGA sprites display;
- amigaaga.cpp: add extended bitplane delay hooks;
- amigaaga.cpp: fix HAM8 when in HIRES mode, fixes at least roadkill title and car screens;
- amiga.cpp: allow LOF bit to be set by writing bit 15 on VPOSW, fix roadkill AGA boot;
- amigaaga.cpp: implement Extra Half-Brite mode, used by bblow_a main menu
- amiga.cpp: disallow blitter address writes to go beyond the allocated chip RAM, fixes OCS sockid and AGA sockid_a drawing spurious filled tiles on playfield;
- amiga.cpp, amigaaga.cpp: workaround most GFX pitch corruptions, caused by implicit DDFSTOP overrunning width loop;
- amiga.cpp: allow DDFSTRT and DDFSTOP to read bit 2 in lores mode, fix swordsod GFX pitch in gameplay;
- amiga.cpp: use pf2pri for non-dual playfield, fixes alfred player sprite visibility;
- akiko.cpp: subq command adds +2 in command buffer, fixes cdtv:defcrown hardlock emulation;
- amigaaga.cpp: implement bscan2;
- amiga.cpp: disable floppy drive default for CD32;
- cubo.cpp: add inputs to eldoralg/odeontw/odeontw2;
- amiga.cpp: allow CD32 to read CDTV titles from SW list;

New NOT_WORKING software list additions
---------------------------------------
cdtv.xml: 17 Bit - Collection for Amiga CDTV, 17 Bit - Continuation Disc,
A Bun for Barney (USA), Advanced Military Systems (Europe),
American Heritage Illustrated Encyclopedic Dictionary (USA, 1991a Edition),
Barney Bear Goes to School (USA), Cinderella - The Original Fairy Tale (USA),
Defender of the Crown CDTV (Europe), Deutschland Kompakt (Germany),
Fantastic Voyage (USA), Garden Fax - Garden Plants (USA),
Garden Fax - Trees, Shrubs, Roses, and Conifers (USA),
Language TV - English (France), Lemmings (Europe), Log!cal (Europe),
Mud Puddle (USA, Multi 5), Pandora's CD v1.0 (alt), Psycho Killer (U2A2020UA),
CDTV Demo Disc (Europe), Raffles (Sweden),
Snoopy - The Case of the Missing Blanket (Sweden), Team Yankee (Europe),
The Curse of Ra (Germany),
The Demo Collection for Amiga CDTV (Europe, Black Disc),
The Hutchinson Encyclopedia (Europe),
The New Basics Electronic Cookbook (USA, 1991a Edition),
Time Table of History - Business, Politics & Media (USA, 1991a Edition),
Trivial Pursuit - The CDTV Edition (Europe, v1.0a),
Turrican (Germany, alt), Turrican II: The Final Fight (Germany, alt),
Welcome to CDTV Multimedia (USA, CDRM-499000), Wrath of the Demon (USA),
Xenon 2 - Megablast (Eng, Fra, Ger, Ita), Ten on Ten Compilation [redump.org]
2022-02-22 00:20:36 +01:00
Nigel Barnes
72340954af New working clones
------------------
BBC Micro Model B (Norway) [Nigel Barnes]

New clones marked as NOT_WORKING
--------------------------------
Cisco SIST1 Terminal [Nigel Barnes]
2022-02-19 17:08:09 +00:00
Nigel Barnes
8b7d833599 bus/coco: Added Glenside IDE Adapter. 2022-02-19 17:08:08 +00:00
Robbbert
e9a12d0915 Merged s6a.cpp into s6.cpp 2022-02-18 15:45:19 +11:00
Patrick Mackinlay
250660cd51 New machines marked as NOT_WORKING
---
Siemens PC-MX2 [Plamen Mihaylov]
2022-02-18 10:31:00 +07:00
Robbbert
5668cd4d79 Fixed the build: novadesitec 2022-02-18 08:30:31 +11:00
Ivan Vangelista
dff9fb40a9 New machines marked as NOT_WORKING
----------------------------------
unknown game on FR004 hardware (set 1) [Jorge Silva]
unknown game on FR009 hardware [Jorge Silva]

New clones marked as NOT_WORKING
--------------------------------
unknown game on FR004 hardware (set 2) [Jorge Silva]
unknown game on FR004 hardware (set 3) [Jorge Silva]
unknown game on FR004 hardware (set 4) [Jorge Silva]
2022-02-17 18:17:36 +01:00
Robbbert
ab8b7e7fad Merged de_3b.cpp into de_3.cpp 2022-02-18 00:34:46 +11:00
Ivan Vangelista
62e5373535 New machines marked as NOT_WORKING
----------------------------------
unknown PMC game [Mike Coates]

New clones marked as NOT_WORKING
--------------------------------
Boa Sorte! (Golden Poker prequel HW) [Jorge Silva]

- galaxian.cpp: added correct dip switches for redufob3 and dip locations for the redufo bootlegs [Guru]
2022-02-16 21:40:27 +01:00
0kmg
21be925eb4
Fixed arcade build, really. (#9306) 2022-02-16 08:20:54 +11:00
0kmg
60ce729181
Fixed arcade build. (#9305) 2022-02-16 07:34:58 +11:00
Patrick Mackinlay
e4588d1f45 asmjit: mame integration 2022-02-13 21:26:55 +07:00
Robbbert
c9fe51d17c merged white_mod.cpp into whitestar.cpp 2022-02-13 01:49:31 +11:00
Vas Crabb
a185091855
Addressed some Lua scripting pitfalls. (#9294)
Addressed pure virtual function call crash on end of emulation session
if you haven't explicitly removed all address space taps, memory
corruption on end of emulation session if you haven't explicitly removed
all address space change notifiers, and symbol being garbage-collected
out from under you while you have parsed expressions or other symbol
tables that depend on them.

Removed the copy constructor for parsed expressions as the underlying
C++ copy constructor appears to be broken, and simplified symbol table
constructors.  Also made symbol table add methods return the new entry
to avoid the need for an extra lookup.

Fixed breakpoint/watchpoint objects being inappropriately copied into
the tables returned by bplist() and wplist(), allowing the enabled
property to be modifiable for breakpoint and watchpoint objects in Lua.

Fixed drivers and devices causing a new memory pass-through handler to
be allocated on each soft reset, and fixed multiple instances of taps
being installed in the event the machine is reset before the tap is
removed.

Added classes for managing broadcast subscriptions, and adapted address
spaces to use this for change notifications.
2022-02-12 04:10:39 +11:00
ksherlock
69271581e6
bus/a2bus: Added Apple II 3.5" Disk Controller Card. (#9215)
Apple II 3.5" Disk Controller Card, Apple P/N A0076LL/A, Announced July 1991, Released March 1992. $149.95 MSRP
2022-02-09 04:00:32 +11:00
Brian Johnson
8b5307cee0
bus/epson_qx, qx10.cpp: Added Epson QX-10 expansion bus. (#9241) 2022-02-09 03:36:14 +11:00
987123879113
99404ddd2d
x76f041/x76f100/zs01: Implement new operations and security features (#9137)
* x76f100: Implement security features

* x76f041: Implement security features

* zs01: Implement security features

* ksys573: Update security flash data

* k573mcal: Add master calendar for initializing security cassettes

* zs01: Update comment about unknown serial
2022-02-07 19:13:24 -05:00
Curt Coder
8099d46984 abc1600: Added sector dump floppy image format. [Curt Coder] 2022-02-07 09:28:14 +02:00
Ivan Vangelista
75b7b857af New machines marked as NOT_WORKING
----------------------------------
Color Match [Jorge Silva]
Sport Memory [Jorge Silva]

- 391in1.cpp: dumped flash ROM and EEPROM for pokrwild [Jorge Silva]
2022-02-03 18:20:48 +01:00