Commit Graph

4310 Commits

Author SHA1 Message Date
fulivi
153f096fd6
Added support for Intel ISIS-II filesystem (#10367)
* fs_isis: support for Intel ISIS-II filesystem added

* fs_isis: fix after CI failure

* fs_isis: adapted to changes in 5499683a23

* all.cpp: fixed amount of ws
2022-10-15 11:02:48 +02:00
Brian Johnson
604d40c826
bus/epson_qx: Added YM2149-based sound card for the Epson QX-10. (#10400) 2022-10-15 03:33:31 +11:00
AJR
6c1e5da058 unkts: Hook up new skeleton CPU device 2022-10-12 13:22:26 -04:00
AJR
8f2beee479 unidasm: Add Nios II disassembler 2022-10-11 21:42:57 -04:00
Brian Johnson
b4ecb617be
bus/epson_qx: Added hard disk support for the Epson QX-10. (#10378)
* Added IDE hard disk option board.
* Added ComFiler CR-1510 option board.
2022-10-08 00:05:28 +11:00
Vas Crabb
f4b23f1737 bus/gameboy: Moved MBC3/MBC30 to their own file as separate devices.
New working software list additions
-----------------------------------
gbcolor.xml: Juéduì Wǔlì (China), Wàixīng Tànxiǎn zhī Xīngqiú Dàzhàn (China) [Robyn A1200, taizou]
2022-10-04 12:51:33 +11:00
Olivier Galibert
71f1f480fd m68000: split the header to make future semi-indenpendant implementations sane 2022-09-30 10:58:31 +02:00
Olivier Galibert
f9870d6f02 ap2_dsk: Move the applesauce formats in their own file
as_dsk: Create a common base class, merge what is currently identical
2022-09-28 17:44:09 +02:00
AJR
60a3acb970 Move UTF8_xxx string literal macros to new header in lib/util 2022-09-25 22:23:29 -04:00
arbee
a9cdc7d7c2 Fix missed build file from previous commits. [R. Belmont] 2022-09-24 20:32:06 -04:00
arbee
1651ed37c0 apple2: final removal of Apple II support for the legacy floppy system. [R. Belmont] 2022-09-24 20:18:35 -04:00
arbee
f9adf9ffaa sonydriv.cpp: retired. [R. Belmont] 2022-09-22 22:17:28 -04:00
Olivier Galibert
ab4680981d mtu130: Implement the banking using the actual sequencer prom 2022-09-20 23:06:26 +02:00
0kmg
a9b22a67ea
Renamed n2a03 to rp2a03 throughout source tree. (#10343) 2022-09-20 05:43:55 +10:00
Vas Crabb
76541e8c81 Debugger updates:
Made closing the Qt debugger console window hide all debugger windows
and run the emulated machine (debugger windows will be shown on next
user break or breakpoint hit).  This matches the behaviour of the Win32
and Cocoa debuggers.

Made Qt debugger clean up its windows on exit rather than on subsequent
starts.  This fixes GitHub #9789.

Made Qt debugger less reliant on global variables, and made code to save
and load configuration a bit less convoluted.  It still needs more
refactoring on this front, but it's in slightly better shape now.

Made Qt debugger a bit less crashy on invalid configuration.  Still
plenty of ways to crash it, but every little bit counts.

Made Qt debugger do less comparisons on menu item names and object
names - it might be possible to localise one day.

Moved all the C++ debugger implementations into namespaces.  They're
using awfully generic class names, so it's about time.
2022-09-20 04:22:51 +10:00
Vas Crabb
796d8d6720 bus/gameboy: Fixes for multi-game cartridges.
* Reset the system from a timer callback for the Vast Fame/SL/J.Y.
  Company multi-game cartridges.  This fixes games on gbcolor.
* Reset system when leaving configuration mode for GBCK003.  Fixes most
  issues with games.
* Moved GBCK003 to its own source file, and added notes for both
  multi-game cartridge types.
2022-09-19 03:26:16 +10:00
Vas Crabb
33f2b34198 bus/gameboy: Added partial support for some Chinese multi-game cartridges.
Cartridge RAM features are not implemented yet.

New working software list items
---------------------
gbcolor.xml: New Super Color 145 in 1 (China) [taizou, Vas Crabb]
2022-09-18 06:05:43 +10:00
Vas Crabb
c76cf754b3 debugger/win: Added capability to save/restore window arrangement.
* Format is mostly compatible with the Cocoa debugger, besides reversed
  vertical positioning.
* Made Qt debugger more compatible with configuration format used by
  Win32 and Cocoa debuggers.
* emu/config.cpp: Preserve elements with no registered handlers in
  default and system configuation files.
2022-09-16 22:23:34 +10:00
hap
ad338bd3e7 source org: move gmaster to handheld folder 2022-09-16 00:18:00 +02:00
smf-
5acbdb2e86 fix visual studio builds after bdb9404c08 2022-09-15 18:22:03 +01:00
smf-
bdb9404c08 fixes for clang 15.0 on windows [smf] 2022-09-15 13:39:13 +01:00
Vas Crabb
f9728327f8 More miscellaneous fixes:
* Fixed tiny build for consolidated driver files.
* tools/unidasm.cpp: Capture big objects by reference in lambdas.
* misc/oneshot.cpp: Fixed unsigned comparison to zero bugs.
2022-09-14 04:46:58 +10:00
Vas Crabb
5db7ffb86a Reimplemented Game Boy and Mega Duck cartridge slots:
Allow cartridges to install themselves rather than putting accesses
through trampolines.  Use memory banks even when they aren't installed
directly, as it exposes script bindings and declares intent.

Added support for MBC6 Flash, and MBC7 two-axis accelerometer and 128*16
or 256*16 serial EEPROM.  Added basic support for Game Boy Camera image
capture (various M64282FP processing features are not implemented).
Improved MBC3 real-time clock emulation.

Added basic support for Hudson Soft HuC-1 cartridges (infrared I/O not
supported) and HuC-3 cartridges (real-time clock and infrared I/O not
supported).

Added full support for Vast Fame VF001 cartridges.

Separated Mega Duck flat and banked ROM cartridge types, and allowed
software list items to specify whether a cartridge has fixed and
selectable 16K banks or a single selectable 32K bank.

Added support for RAM sizes smaller than 8K that will be mirrored in the
0xA000-0xBFFF area.  Implemented correct ROM mapping for sizes that are
not powers of two.  Corrected size of MBC2 internal static RAM.

Added support for various hypothetical cartridge wirings, such as MBC5
with outer ROM banking for up to 128M, M161 and Wisdom Tree cartridges
with flat RAM, and MBC1 or MBC5 with fewer than the maximum number of
inner ROM bank lines used.

Fixed logo spoofing logic for many pirate cartridges, including Rocket
Games, Sachen MMC1 and MMC2, Sintax, Li Cheng, and Niutoude.  Identified
fine bank mask register for GBCK003 board.

Added basic support for GBX format ROM images.  Added heuristic for
detecting raw dumps of M161 cartridge images.  Removed unreliable
unlicensed cartridge detection heuristics - these need to be
reimplemented in a better way.

Software list items promoted to working
---------------------------------------
gameboy.xml:
Game Boy Camera (Europe, USA)
Game Boy Camera Gold (USA)
Pocket Camera (Japan, Rev 1)
gbcolor.xml:
Command Master (Japan)
Kirby Tilt 'n' Tumble (USA)
Korokoro Kirby (Japan)
Street Hero (Taiwan)
Thunder Blast Man (Europe)
4 in 1 + 8 in 1 (World, 4B-001)
4 in 1 + 8 in 1 (World, 4B-002)
4 in 1 + 8 in 1 + 16 in 1 (World, 4B-005)
4 in 1 + 8 in 1 (World, 4B-007)
31 in 1 Mighty Mix (Taiwan)
31-in-1 Mighty Mix (Australia)
Nǚwáng Gédòu 2000 (Taiwan)
Chāojí Gédòu 2001 Alpha (Taiwan)
Gédòu Jiàn Shén - Soul Falchion (Taiwan)
2022-09-13 06:27:33 +10:00
Olivier Galibert
2da17be127 mtu130: Add support for the datamover (68k board) 2022-09-11 11:56:36 +02:00
0kmg
1e85658dd3
bus/nes_ctrl: Added Sharp Cassette Interface AN-300SL device. (#10318)
Clones promoted to working
--------------------------
Sharp My Computer Terebi C1 [kmg]
2022-09-10 12:13:29 -04:00
AJR
d90da03d0e Add skeleton devices for MPS-1200 & MPS-1250 IEC printers 2022-09-08 19:10:34 -04:00
AJR
a7be70a183 Add preliminary M50734 emulation 2022-09-07 09:14:06 -04:00
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