Commit Graph

75895 Commits

Author SHA1 Message Date
Justin Kerk
56f30e3ca0 Remove embed files unintentionally added to Emscripten build 2020-09-28 10:04:36 -07:00
hap
03216ce4d1 New working software list additions
-----------------------------------
videopac: Killer Bees! (US, prototype, set 1), Killer Bees! (US, prototype, set 2), Killer Bees! (US, plus, prototype), Des Chiffres et des Lettres (France), Freedom Fighters! (US, plus, prototype), Linguaduc (Europe, prototype), The Adventures of Sherlock Holmes (US, prototype), Sound Tool (Europe), Terminal Program (US, prototype), Attack of the Timelord! (US, plus, prototype) [René van den Enden (Rene_G7400)]
2020-09-28 18:39:30 +02:00
AJR
84d4b2ab67 Fix clang build [-Werror,-Wunused-const-variable] 2020-09-28 10:20:06 -04:00
Vas Crabb
dfe9d6ff8e konamigv.cpp: Added option to use joystick/button inputs for weddingr.
Control panel type can be selected in service mode.  This allows playing
with joystick/button inputs, and also allows the completely unused
second and third button inputs to be tested in service mode.  It's still
possible to navigate service mode and correct the control panel setting
if the wrong type is selected.
2020-09-28 23:50:38 +10:00
Patrick Mackinlay
388dbc211c mess.lua: forgot to add ceres 2020-09-28 19:01:44 +07:00
Michael Zapf
a246155098 Fixed BQ4847 to always return 0 for its register 15; required for proper chip detection. 2020-09-28 13:10:34 +02:00
Vas Crabb
4dc5e3fc62 bus/bbc: remove remaining stream_sample_t 2020-09-28 20:44:35 +10:00
Patrick Mackinlay
0df758f2b1 New machines marked as NOT_WORKING
---
ETH Ceres-1 [Bitsavers]
2020-09-28 16:36:54 +07:00
Patrick Mackinlay
a04be9d78a ns32000: templatize on data bus width 2020-09-28 15:53:49 +07:00
Vas Crabb
5d32cad8ca Don't clear memory before constructing devices, with the exception of drivers for now.
This substantially reduces the overhead of running -validate, -romident,
etc. and brings us a little closer to not needing to disable lifetime
dead store elimination optimisations.  There are likely to be some
issues that weren't fixed while this was still on a branch, so everyone
be alert.
2020-09-28 18:01:02 +10:00
Patrick Mackinlay
e706c64e28 m3002: expose irq callback 2020-09-28 14:48:52 +07:00
Patrick Mackinlay
691ae61446 am9519: has no clock input 2020-09-28 14:47:32 +07:00
Dirk Best
3df57871cb New working machines
--------------------
Gondomania (World) [Brian Troha, TeamEurope, The Dumping Union, Dirk Best]
2020-09-28 09:37:50 +02:00
Aaron Giles
7b8913fefa
Complete sound modernization of remaining devices. Legacy callbacks and stream_sample_t removed. (#7297)
* a2mcms/coco_ssc/gus/cassette/floppy/8364_paula/laserdsc/s2636/spg2xx_audio/arcadia/channelf/cmi01a/cps3/dai_snd: Update to new stream callbacks

* dsbz80/elan_eu3a05/exidy/exidy440/flower/geebee/gomoku/gridlee: Update to new stream callbacks

* hyprolyb/lynx/micro3d/phoenix/pleiads/polepos: Update to new sound stream callback

* redbaron/segag80r/segausb/seibu/snk6502/socrates/special/svis_snd: Update to new stream callbacks.

* tiamc1/turrett/tvc/tx1/vboy/vc4000: Update to new stream callbacks

* warpwarp/wiping/wswan/xavix/esq1/istrebiteli/milton6805/pv1000/mega32x/gic: Update to new stream callback

* sound: Remove legacy stream support and stream_sample_t

* * gomoku/wiping: Remove silly mixer tables in favor of math

* micro3d: Remove tiny vectors in favor of fixed arrays

* phoenix: Went back to std::unique_ptr array for LFSR

* wiping: Fixed the scale factor.
2020-09-28 13:46:58 +10:00
Vas Crabb
52514f1acd -bus/hp_dio/hp98544.cpp: Don't crash when cursor is outside screen area.
-imagedev/picture.cpp: Get rid of indirection to the bitmap.
2020-09-28 13:33:30 +10:00
arbee
264d0d19e0 mac128: possible fix for out-of-bounds ROM access [R. Belmont] 2020-09-27 20:02:47 -04:00
arbee
f6b3dcdb25 mac: fix crash regression on macqd700 [R. Belmont] 2020-09-27 19:23:30 -04:00
ajrhacker
b89c07596f
Merge pull request #7298 from ksherlock/picture_image_device_get_bitmap
picture_image_device::get_bitmap can return a null reference
2020-09-27 15:23:32 -04:00
Kelvin Sherlock
fcacca9a41 picture_image_device::get_bitmap was returning a possibly-null reference
null references are not valid/undefined in C++ so compilers like to
eliminate the null pointer check.

switched to returning a pointer instead.
2020-09-27 11:22:22 -04:00
couriersud
81c484197b netlist: Fix astro blaster sonar sound
* Also fix two singular matrices being created.
2020-09-27 13:21:32 +02:00
Emmanuel Vadot
e996e148f3
FreeBSD fixes (#7295)
* psixptty: Fix for FreeBSD

We need to check for __FreeBSD__ not __FreeBSD_kernel__

* FreeBSD: Use gl includes from pkg-config

FreeBSD doesn't install the includes from 3rdparty software in a default
location so use pkg-config to get the correct path.

* FreeBSD: genieos is named simple bsd
2020-09-27 20:41:14 +10:00
Vas Crabb
a1d35e5abf Cleaned up bitmap API.
Made const-qualified pixel accessors (pix, pixt, raw_pixptr) return
const-qualified references/pointers to pixesl, and added non-const
versions.  This makes bitmap more like standard library containers where
const protects the content as well as the dimensions.

Made the templated pixt accessor protected - having it public makes it
too easy to inadvertently get a pointer to the wrong location.

Removed the pix(8|16|32|64) accessors from the specific bitmaps.  You
could only use the "correct" one anyway, and having the "incorrect" ones
available prevented explicit instantiations of the class template
because the static assertions would fail.  You can still see the pixel
type in the bitmap class names, and you can't assign the result of
&pix(y, x) to the wrong kind of pointer without a cast.

Added fill member functions to the specific bitmap template, and added
a explicit instantiations.  This allows the bitmap size check to be
skipped on most bitmap fills, although the clipping check is still
there.  Also fixed a couple of places that were trying to fill an
indexed 16-bit bitmap with rgb_t::black() exposed by this (replaced with
zero to get the same net effect).  The explicit template instantiations
in the .cpp file mean the compiler can inline the function if necessary,
but don't need to generate a local out-of-line body if it chooses not
to.

Extended the size of the fill value parameter in the base bitmap class
to 64 bits so it works correctly for 64-bit bitmaps.

Fixed places where IE15 and VGM visualiser weren't accounting for row
bytes potentially being larger than width.

Fixed an off-by-one in an HP-DIO card where it was treating the Topcat
cursor right edge as exclusive.

Updated everything to work with the API changes, reduced the scope of
many variables, added more const, and replaced a few fill/copy loops
with stuff from <algorithm>.
2020-09-27 14:00:42 +10:00
Vas Crabb
d294948a3b microtan.cpp: Swap a couple of default key mappings to better reflect layout. 2020-09-27 12:56:38 +10:00
Vas Crabb
6e807013c5 Disable SOUND_DEBUG for non-debug builds, and srcclean 2020-09-27 11:00:56 +10:00
ArcadeShadow
7dad0f4f58 ibm5150 - New working software list additions
Added: 4D Sports Driving (3.5", Euro), 4D Sports Driving (5.25", Euro)
Redumped: [stunts] (the old one has a modified OEM ID)
Misc: [stunts] and [stunts35] are now clones of [4dsdrv] ; Renamed developer info on [cadaver], [menace], [caveugh], [indycrus35], [serenia], [kingqst], [mineshft]
2020-09-26 16:12:32 -07:00
r09
d30af607c2
fmtowns_cd.xml: 3 new dumps, 5 replacements, railtycn/lipsadv3 floppies (#7281)
* fmtowns_cd.xml: 3 new dumps, 5 replacements, railtycn floppy

- New dumps (working):

NHK Eigo de Asobo Vol. 3 - Bernard no Amusement Park [redump.org]
Oshiete Noobow [sampson]
Z's Triphony DigitalCraft Towns (HMB-212) [redump.org]

- Replaced entries with dumps from redump.org:

Burai Kanketsu-hen
Jealousy
Kindan no Ketsuzoku
Lunatic Dawn II
Necronomicon

- Added floppy disk dump to Railroad Tycoon and promoted to working [anonymous]

* fmtowns_cd.xml: add recreated floppy image for lipsadv3
2020-09-26 17:55:43 -04:00
Darkstar
3a810a6e08 ibm5150.xml: Add Fire & Forget 2 2020-09-26 14:37:43 -07:00
Justin Kerk
b492a243cf ibm5170.xml: Fix validity check 2020-09-26 14:33:54 -07:00
Davide Cavalca
f9dce10bb3
ibm5170: new software list addition (#7227)
New working software list additions
-----------------------------------
ibm5170: DOOM (1.2, Shareware for BBS SysOps)  [Davide Cavalca]
2020-09-26 21:27:41 +00:00
AJR
c9920a0314 omti8621: Add as standard 16-bit ISA device 2020-09-26 17:19:26 -04:00
ArcadeShadow
f848c3b901 ibm5170 - New working software list additions
Added: In Extremis, Mega lo Mania (Germany)
Redumped: The Humans (3.5" DD) (redump disk 1 - game is now working)
2020-09-26 14:01:41 -07:00
yz70s
5f93f1ba04 nforcepc/xbox: set values for various configuration space pci registers 2020-09-26 19:55:59 +02:00
AJR
ac99753eb6 omti8621: Reimplement FDC rate selection 2020-09-26 13:19:47 -04:00
Robbbert
2baeac95fc mbee: marked mbee as MNW, because the keyboard broke a few months ago. 2020-09-27 03:04:45 +10:00
Vas Crabb
b38ffb6bff Changed some sound devices back to using std::unique_ptr<T []> for
things that don't need to change size.

Using a std::vector has additional overhead for keeping the size and
allocated size, and it means you can inadvertently resize it.  Also, if
you register one for save state then cause it to reallocate, very bad
things happen.

Fixed some mixed tab/space indents in sound/mm5837.h

Changed namco_163.cpp to have registers as an array in the device, since
there aren't many of them, and also restored zeroing them on start.
2020-09-27 01:24:38 +10:00
Robbbert
59ae905ee3 x1: various keyboard fixes
- added support for capslock and control

- default to lowercase like real machine

- fixed Z not shifting

- fixed missing natural keys
2020-09-26 23:57:10 +10:00
arbee
3af6cad398 seibuspi: allow recovery if MAME is exited during the initial flash process [R. Belmont] 2020-09-26 08:42:50 -04:00
Robbbert
7121fab8d0 vixen: various natural key fixes 2020-09-26 21:35:29 +10:00
Robbbert
27507f3fca vidbrain: added function keys as natural keys; added notes. 2020-09-26 20:48:09 +10:00
Ivan Vangelista
05b9af367f nmk16.cpp: removed unintendedly committed line 2020-09-26 08:40:47 +02:00
Ivan Vangelista
2887d50408 nmk16.cpp: dumped mask ROMs for tdragon3h [hammy] 2020-09-26 08:34:48 +02:00
Robbbert
437b5e08e6 tmc600: a few natural keyboard corrections. 2020-09-26 15:11:06 +10:00
AJR
98f6fde104 Add abs, bit, s8, s16, s32 functions to debugger 2020-09-25 23:01:33 -04:00
AJR
78612bd01f ymf271: Modernize save state registration; allow disabling of side effects for reading 2020-09-25 20:33:25 -04:00
couriersud
15ea16e149 netlist: minor code cleanup.
* a number of minor fixes leading to an increase of 570% to 588% on
pongf.
* admittedly micro optimization.
* Includes some comments why certain decisions have been taken.
2020-09-25 21:44:54 +02:00
AJR
dcc2781365 mc6845: Fix off-by-one error in calculating bottom of DE window 2020-09-25 14:50:04 -04:00
Robbbert
e6ae875069 d6800: cleaned up keyboard code 2020-09-26 03:41:22 +10:00
Robbbert
96e86eb9b9 ti85: fixed typo 2020-09-26 03:29:10 +10:00
Robbbert
6280ffba40 spc1000: added directional natural keys 2020-09-26 02:48:15 +10:00
lfantoniosi
206b44fa25
imd_dsk: Fix bug when changing IMD image [lfantoniosi] (#7289)
* Fix bug when changing IMD image

These arrays weren't zeroed when changing a IMD disk for saving.
2020-09-25 12:27:07 -04:00