Commit Graph

83419 Commits

Author SHA1 Message Date
AJR
848b631613 input_sdlcommon.cpp: Move devmap_init down into class 2022-06-18 10:08:43 -04:00
Michael Zapf
ce439f4434 ti99: Fixed segfaults on termination; use 1800 as default for CRU base. 2022-06-18 13:44:11 +02:00
arbee
7a1f9eb674 bus/nubus: Fixed mode selection for RasterOps ColorBoard 264. [R. Belmont] 2022-06-17 23:04:36 -04:00
Vas Crabb
b2c13bc407 bus/nubus: Fixed Apple 4•8 NuBus video card screen base address in 24-bit mode. 2022-06-18 06:27:05 +10:00
Vas Crabb
685d47fe5e bus/nubus: Fixed aspect ratio of portrait screen, and fixed mc30 regression. 2022-06-18 05:58:30 +10:00
Vas Crabb
6afc168d54 bus/nubus, bus/sbus: Removed a redundant parameter, modernised endian helpers. 2022-06-18 04:00:14 +10:00
Vas Crabb
bf0c459df0 hp2640.cpp: Fixed some uninitialised memory accesses. 2022-06-18 00:44:21 +10: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
AJR
8c7b122713 m6809: Add support for stepping out 2022-06-16 19:13:41 -04:00
Andrew Green
62de252337
machine.h: The bookkeeping assert was checking the wrong entity. (#9938)
nice find
2022-06-16 21:48:44 +02: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
AJR
b1a3c44e47 kp64.cpp: Better workaround 2022-06-16 10:00:43 -04:00
hap
32c507d34d toprollr: fix bigsprite layer in cocktail mode 2022-06-16 14:55:47 +02:00
Scott Stone
9fe0f17f1b spectrum_cass.xml: Fixed duplicate label/case issue 2022-06-16 08:33:42 -04:00
hap
3c2fd50061 audio/cclimber: fix off-by-1 problem when looping 2022-06-16 14:15:30 +02:00
Olivier Galibert
9305f188a5 hng64/kp64: two 6.25MHz timers are not a good idea. Hack them out for now, someone interested can try to understand what's really going on 2022-06-16 11:12:03 +02:00
Patrick Mackinlay
184259c82d labtam: improved interrupt map logic 2022-06-16 15:01:49 +07:00
AJR
e7fe75fd5c i8xc51gb: Correct SFR address of ACON for disassembly 2022-06-15 22:31:01 -04:00
AJR
6ac79db5bc zombraid: Fix regression from b911bd29a5 2022-06-15 21:09:52 -04:00
Vas Crabb
8a36fece69 emu/schedule.cpp: Fixed regressions with some temporary timers. 2022-06-16 07:07:15 +10:00
Ivan Vangelista
fbc6caa94f New working clones
------------------
Butterfly Video Game (version A00) [Ioannis Bampoulas]

New machines marked as NOT_WORKING
----------------------------------
Sea Devil [Ioannis Bampoulas]
Space Liner [Ioannis Bampoulas]

New clones marked as NOT_WORKING
--------------------------------
Speedway (set 2) [Ioannis Bampoulas]

- namcos23.cpp: confirmed set finfurl2j is FFS1 Ver.A [Guru]
2022-06-15 22:13:14 +02:00
hap
784fb9529a fex68k: increase board delay a bit 2022-06-15 20:02:55 +02:00
hap
aa611124ed schedule.h: silence compiler warning in non-debug build 2022-06-15 19:53:12 +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
Mitchell Hancock
d345b7ec2c
igs17.cpp: Fixed demo sounds DIP switch (#9933) 2022-06-15 19:14:54 +02:00
hap
92cde07a35 New clones marked as NOT_WORKING
--------------------------------
TV Game 8080 [anonymous, Jay Gallagher]
2022-06-15 16:58:06 +02:00
angelosa
03bd5fd363 sshangha.cpp: fix pf1 tilemap paging size, necessary for sshangha end credits to be displayed properly 2022-06-15 16:36:51 +02:00
Olivier Galibert
67dee6278c ics2115: Cleanup timer code 2022-06-15 15:23:56 +02:00
Olivier Galibert
1ded6ae6d6 ics2115: make fast timers less expensive 2022-06-15 15:03:03 +02:00
Curt Coder
5982daf102 x37: Added PAL dumps and titles from Luxor source code. [Dataindustrier AB DIAB Intressegrupp, Curt Coder] 2022-06-15 15:17:40 +03:00
Curt Coder
4a469dcafc abc1600: Added FPU PAL dump, and PAL titles from Luxor source code. [Dataindustrier AB DIAB Intressegrupp, Curt Coder] 2022-06-15 15:17:40 +03:00
Olivier Galibert
d9a5dde8c6 pgm: merge the two halves of the latches, remove overeager synchronizing 2022-06-15 13:17:05 +02:00
AJR
02b4120cdb cpu16: Minor disassembly formatting fix for branch destinations 2022-06-15 07:15:43 -04:00
AJR
0acebba107 osdcomm.h: Remove a few unimportant 64-bit functions 2022-06-15 07:12:20 -04:00
npwoods
699630ed16
osdcore.h: Changed osd_subst_env to accept a std::string_view and return a std::string. (#9928) 2022-06-15 20:57:23 +10:00
couriersud
fe1e26a9fb
sound.cpp: Fix missed samples due to state save (#9917) (#9918)
* sound.cpp: Fix missed samples due to state save (#9917)

The PR address #9917. A save state may occur between time slices.
Sound devices through sound.cpp are updated during a timer call every
20ms. When the state is saved, these devices are not updated to the
current machine time. Consequently after a state load the devices have
have a "time lag" since in postload buffer end time is forced to
machine time.
This change will save the last buffer end time so that all outstanding
samples are processed.

This is a core change. I tested it on some drivers. This needs a very
thorough review and I post the PR primarily to document a possible
solution.

* sound.cpp: use "stream.sound_stream" as module name for save_item

* sound.cpp: use presave handler to store end_time()
2022-06-15 12:39:00 +02:00
David Haywood
ac042242b7
mpu4: move some crystal specifics into crystal state, remove some unneccessary parts of the bootleg chr emuation (#9932) 2022-06-15 06:37:26 -04:00
hap
2d43dbb5f3 igs022 handle_command_6d: don't do unneeded work on strings when logging is disabled 2022-06-15 11:39:10 +02:00
Robbbert
2ed18f65e7 fixes for mpu4/arcade.flt, and jp.cpp/mame.lst. 2022-06-15 19:09:41 +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
Miodrag Milanovic
62fd9b344d Cleanup using state object 2022-06-15 08:29:55 +02:00
Vas Crabb
321bdd5e58 More miscellaneous cleanup:
spectrum.cpp: Removed a member from the base state class that's only
used by certain Soviet clones.  There seems to be some copy/pasted code
in the clone drivers - pehaps they can share some of the implementation.

spec128.cpp: Moved the Spectrum 128 state class declaration to the
corresponding header.

Reduced redundancy in a few fruit machine layouts.
2022-06-15 15:45:08 +10:00
AJR
496055720b e132xs: Cleanups
- Add helper functions for double-word register accesses and multiplication
- Make 16-bit multiplications signed for EHCMULD and EHCMACD
- Correct typo in comments
2022-06-14 21:09:22 -04:00
Vas Crabb
9c53786b92 rohga.cpp: Correct nitrobal protection device. 2022-06-15 07:59:47 +10:00
Vas Crabb
960c3bc1e8 rohga.cpp: Got rid of leftovers in wizdfire config.
I clearly shouldn't be programming at this point.
2022-06-15 07:47:32 +10:00
Vas Crabb
eb8fd9ac8e rohga.cpp: Got rid of leftover in rohga machine config. 2022-06-15 07:35:07 +10:00
Vas Crabb
7604944670 rohga.cpp, seta.cpp: More cleanup.
* seta.cpp: Split a bit more off from base class.
* roha.cpp: Factored out common machine configuration.
2022-06-15 07:27:45 +10:00
Vas Crabb
b911bd29a5 Cleaned up a few more legacy callbacks. 2022-06-15 06:21:56 +10:00