Commit Graph

1172 Commits

Author SHA1 Message Date
Patrick Mackinlay
4f9ef3e373 softfloat3: fix msvc build (nw) (#3566)
* softfloat3: fix msvc build (nw)

Is this how we do these things? I assume we don't touch the library code itself, and have to "fix" any problems via this header instead?

* softfloat3: do we like this better? (nw)

* softfloat3: it gets the hose again (nw)

* softfloat3: sonofa (nw)
2018-05-14 09:18:24 -04:00
arbee
62be291842 Initial import of SoftFloat release 3E [R. Belmont]
This is a pre-usage import so everyone can get things in line for various compilers.  GCC/Clang should be OK on most targets as-is;
MSVC may need to edit 3rdparty/softfloat3/build/MAME/build.h to conform.  Please report failure/success with various compilers.
2018-05-13 19:52:33 -04:00
hap
0fae49dc31 sm5*: added sm530 disasm (nw) 2018-05-12 17:37:41 +02:00
Sven Schnelle
e6b55ad7a6 Add topcat asic (#3558)
* add topcat template

HP topcat was an ASIC used on HP900/300 graphics cards.

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* hook up topcat asic to HP98544

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* topcat: add basic configuration macros for fb planes, height and width

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* hp98544: move logic to topcat video driver

Preparation to support multi plane graphic cards
like the HP98543/98545/98547.

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* xtal: add 35.904MHz XTAL
2018-05-11 17:17:55 -04:00
Patrick Mackinlay
bd9f203b65 interpro: slotify mouse (nw) (#3543)
* interpro: slotify mouse (nw)

Needed to make the mouse a slot device to enable it to be connected to graphics boards under development.

* add validity check (nw)
2018-05-11 16:25:42 +10:00
Patrick Mackinlay
1373f80b74 bt45x: new devices (#3536)
* bt45x: new devices

Basic implementation of various Brooktree RAMDAC devices. Two of these (bt457, bt458) are used by InterPro graphics boards currently under development, the others are unused/untested at this point.

* bt45x: tweak descriptions (nw)
2018-05-08 23:07:39 +10:00
Sergey Svishchev
f9304e5ff9 gridcomp: hook up TMS9914 GPIB controller (nw) 2018-05-06 22:01:14 +10:00
Michael Zapf
7adec69c08 ti99_2: New WORKING driver. New and verified ROM dumps, re-implementation, fixes. 2018-05-05 22:26:39 +02:00
Nigel Barnes
a1bcf4035f bbc: Added Beeb Speech Synthesiser device. 2018-05-04 22:09:41 +01:00
David Haywood
6627a9e480 start looking at the extra opcodes in the SSD 2000 type XaviX chip (s… (#3514)
* start looking at the extra opcodes in the SSD 2000 type XaviX chip (seems some undocumented 6502 opcodes are replaced with more custom ones)

* (nw)

* the xavix memory mapping gets stranger with each piece of new evidence (nw)
2018-05-04 12:22:18 -04:00
Nigel Barnes
1e76d5fd5e bbc: Added various pointer devices on userport:
- AMX Mouse
- Acorn Master 512 Mouse
- Marconi RB2 Tracker Ball
2018-05-04 12:41:01 +01:00
AJR
20f49a2f4e Rename machine/latch.* to machine/output_latch.* (nw)
- Use device_resolve_objects to resolve callbacks in output_latch_device (nw)

Note that this renaming is not just for human convenience; genie seems to get confused by modifications to a header called latch.h and decides to recompile everything involving gen_latch.h as well.
2018-05-02 00:05:32 -04:00
yz70s
c663e1d7cc New device, SMSC FDC37C93x Plug and Play Compatible Ultra I/O Controller ! [Samuele Zannoli]
It is not complete yet but the floppy disk and keyboard work and is enough to boot the m55hi-plus motherboard.
2018-04-27 09:43:50 +02:00
Bavarese
88b77caea7 (PC-ISA): Add Lba enhancer card (28 bit LBA) (#3465)
* Create lbaenhancer.cpp

* Create lbaenhancer (header file)

* Update isa_cards.cpp (storage section)

* Update isa_cards (lba_gen added to SLOT_INTERFACE)

* Update bus.lua

* Update lbaenhancer.cpp

* Update isa_cards.cpp

* Update lbaenhancer.h

* Update lbaenhancer.cpp

* Update lbaenhancer.cpp

* Update lbaenhancer.cpp

* Update lbaenhancer.cpp 

device_reset() changed to make sure ROM is installed only once. Old solution used a static variable and was unsafe.

* Update lbaenhancer.h

Add variable to ensure ROM is only installed once per session.

* Update lbaenhancer.cpp

* Update lbaenhancer: CONFNAME

jumpers, not DIPs.

* Update lbaenhancer (spacing)
2018-04-26 21:34:01 -04:00
fulivi
c7fd7ad2c8 hp_ipc: added HPIB interface chip & remotizer device 2018-04-26 16:27:47 +02:00
Curt Coder
9b7c48de6a vic10: Added MultiMAX cartridge skeleton. [Curt Coder] 2018-04-24 16:59:50 +03:00
mooglyguy
5ae175ff11 vp415 skeleton updates, nw 2018-04-18 19:17:11 +02:00
Vas Crabb
d79226cc3d Revert "(PC-ISA): Add Action Replay card for DOS (1994) (#3445)"
This reverts commit ff815797c9.
2018-04-17 22:04:10 +10:00
Bavarese
ff815797c9 (PC-ISA): Add Action Replay card for DOS (1994) (#3445)
* Allow write protect of a banked segment

* Allow write protect of a banked segment

* Create Action Replay driver for DOS

* Create Action Replay driver (header file)

* Update bus.lua

* Update isa_cards.cpp

* (white space changes)
2018-04-16 17:00:49 -04:00
Sven Schnelle
5832c7c2de split up hp98603 basic rom card
The 98603A and 98603B cards have different base addresses and sizes
for the rom region. Split up the cards so that we can boot HP BASIC 4
and HP BASIC 5.1.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
2018-04-16 15:11:26 +02:00
Ryan Holtz
c2c576dad4 Added skeleton SAA1403 device, nw 2018-04-13 21:04:46 +02:00
mooglyguy
593340af38 -vp415: Skeleton driver for Philips VP415 LV-ROM Player. Includes basic device implementation of Fujitsu MB88303 Television Display Controller. [Ryan Holtz] 2018-04-13 18:25:35 +02:00
Patrick Mackinlay
3a8d630ab4 interpro: skeleton for keyboard lle (nw) 2018-04-14 01:12:22 +10:00
Olivier Galibert
1d338061af mb86233/4 rewrite [O. Galibert]
model1: Use the real 315-5573 Virtua Racing coprocessor program [Team Caps0ff]
model2: Rewamp the coprocessors communications [O. Galibert]
2018-04-05 15:01:26 +02:00
Sven Schnelle
d9a631daa2 hp9k_3xx: add 98644 async serial card 2018-04-04 21:45:46 +02:00
R. Belmont
f772e0ea5a
Merge pull request #3419 from JoakimLarsson/sad8852_2
NEW non working ISA16 card: Ericsson Information Systems IBM3270/5250…
2018-04-03 11:16:30 -04:00
joakim
bdaad5598e NEW non working ISA16 card: Ericsson Information Systems IBM3270/5250 terminal adapter card 2018-04-02 21:44:32 +02:00
Michael Zapf
fda26ee7dd ti99: Hexbus floppy system; logging updates 2018-03-31 00:38:31 +02:00
Nigel Barnes
d295e418c4 electron: Added Mega Games Cartridge device. 2018-03-30 12:58:31 +01:00
Justin Kerk
50c373be6f Fixed issues with CHD loading under Emscripten. [Justin Kerk] 2018-03-28 04:35:34 +00:00
Vas Crabb
010155a3c5 Reshuffle some stuff:
* Move around the debugger hooks to get a small but measurable performance increase
* Remove emucore from external tools
* Improve performance of DSP16 interpreter a little by generating six variants of execution loop
2018-03-28 05:25:15 +11:00
Julian Sikorski
9a154947d1 Added possibility of building using system pugixml 2018-03-27 10:19:22 +11:00
Vas Crabb
1c3684787c get rid of dioutput - it's only used in one place, and it upset GCC on Linux debug builds for some reason 2018-03-25 04:31:07 +11:00
Vas Crabb
08dde5eb0a srcclean and regenerate localisations (nw) 2018-03-25 02:03:24 +11:00
Ariane Fugmann
2ad88fd875 M1COMM: Add preliminary MB89374 emulation (#3378)
* M1COMM: Add preliminary MB89374 emulation (nw)

* M1COMM: moved knowns roms to device. (nw)

* MB89374: arrays and savestates (nw)
2018-03-24 08:40:45 -04:00
Nigel Barnes
7ad824c85b New machines marked as NOT_WORKING
----------------------------------
Poly Proteus (Standalone) [Nigel Barnes, Andrew Trotman]
2018-03-21 20:53:11 +00:00
Vas Crabb
b787818d0c dsp16: move most core state into DRC cache - keeps a lot of details out of the main header (DRC is still stubbed out) (nw) 2018-03-21 21:01:36 +11:00
Vas Crabb
724c602fd5 prettier way of adding DRC framework on-demand (nw) 2018-03-20 20:27:49 +11:00
fulivi
2e4c96157d IEEE-488 remotizer device (#3241)
* remote488: work started

* remote488: fixed a crash when using socketed bitbangers on Linux machines

* remote488: added ieee-488 remotizer device

* remote488: added remotizer devices to ieee-488 buses of HP9845 & HP85

* remote488: added missing emu.h inclusion

* Revert "remote488: fixed a crash when using socketed bitbangers on Linux machines"

This reverts commit edfeb1768ec332ccdb77584e272d93b756819c41.

* remote488: nudge..

* remote488: no longer use locale-dependent functions, added commas and
semicolons as msg separators, improved use of util::string_format
2018-03-18 05:20:00 +11:00
Dirk Best
3ffd6b839f uPD934G: Preliminary emulation 2018-03-17 09:10:18 +01:00
Vas Crabb
5976a48035 dsp16: start adding recompiler boilerplate (nw) 2018-03-17 06:51:50 +11:00
Vas Crabb
245f822e7d use more constexpr and literal classes in UML to give compiler more optimisation opportunities (nw) 2018-03-17 00:58:54 +11:00
angelosa
bb11fbd2bd Blind faith fixed long names for almost all CPUs (nw)
mb86235.cpp: renamed pcs_ptr into pcp, and added a file for future interpreter core (nw)
2018-03-15 18:07:39 +01:00
Vas Crabb
3f67473bb4 QSound LLE available with a 3-character change 2018-03-16 02:27:24 +11:00
Vas Crabb
0bf88bda8f Cycle-accurate DSP16 core (disabled in QSound for performance reasons) 2018-03-15 19:02:43 +11:00
Olivier Galibert
b9ac659837 Fuck genie, Enhanced edition (nw) 2018-03-12 19:14:29 +01:00
Vas Crabb
7c9d75df13 forgot these are listed explicitly (nw) 2018-03-12 19:26:36 +11:00
Justin Kerk
1f80e58a10 Disable multithreading on the Emscripten target as it is not currently supported. Fixes e.g. drivers using discrete audio components. [Justin Kerk] 2018-03-06 07:39:05 +00:00
R. Belmont
5ffc8a79a4
Merge pull request #3266 from JoakimLarsson/diablo_1
WIP: Diablo printer CPU
2018-02-28 14:03:10 -05:00
Vas Crabb
8dad4881f6 srcclean (nw) 2018-02-25 01:34:04 +11:00
joakim
35a7f3e628 WIP: Diablo printer CPU 2018-02-24 02:32:36 +01:00
AJR
1a157c0600 Create RST interrupt buffer device 2018-02-18 20:59:06 -05:00
Olivier Galibert
109e2dadb8 NUON disassembler [O. Galibert] 2018-02-18 22:56:53 +01:00
Joakim Larsson Edström
df5a232104
Merge pull request #3208 from JoakimLarsson/cadabc_1
CAD ABC mouse/hi-res card
2018-02-14 23:26:07 +01:00
Joakim Larsson Edstrom
fea4a1294b cadmouse.cpp: NEW non working mouse/hi-res unit for the abcbus [Valgrind] 2018-02-14 22:05:38 +01:00
Sergey Svishchev
8fef96dbd9 agat7: add serial/parallel interface card, hardcoded into Agat-Author configuration for now. 2018-02-13 23:16:48 +03:00
cracyc
3195ba191d am9519: add am9519 uic device [Carl] 2018-02-10 14:23:30 -06:00
Julian Sikorski
8cc758355d Enable use of system-wide asio, glm and rapidjson (#3172)
* Fixed building using system utf8proc

* Fixed building using system portaudio

* Allow using system-wide asio headers (1.11.0 or higher required).

* Allow using system-wide glm headers

* Allow using system-wide rapidjson headers
2018-02-08 16:06:25 -05:00
David Haywood
1e09ab0ceb create derived 6502 type for XaviX because it has at least one custom… (#3154)
* create derived 6502 type for XaviX because it has at least one custom 4-byte opcode that doesn't fit any other type.
treating that opcode as NOP for now.

have a feeling it might be something to do with the other integrated hardware, might be 'execute co-processor code chain at this address' or something similar
It isn't a standard JSL (Jump Subroutine Long)  like the SNES cpu opcode in the same place as this, it seems to point at some code-like structures tho)
could also be a secondary operation mode with different encoding like ARM's Thumb mode tho I guess.

We currently only have a single XaviX based dump (taitons1) but there are more on the way.  I'm going to see if the code flow makes any sense at all with these missing, or if any of it gives a clue as to what they should actually do.

* xavix - let's call these callf and retf then

after further investigation these are some kind of extra 'long jump' subroutine / task handlers, the 0x80 also being a custom opcode was throwing me off trying to identify them before.

looks like they might have been hacking 65816 features into the regular 6502 core?

* prepare for extra address bits (nw)

* better program flow (nw)
2018-02-02 14:34:12 -05:00
Nigel Barnes
91da52721e electron: Added cartridge devices for:
- P.R.E.S. Advanced Plus 3/4
- Advanced Quarter Meg Ram
- Cumana Floppy Disk System
- Sound Expansion
- Sound Expansion v3
- Stop Press 64
- Solidisk EFS

New working software list additions
-----------------------------------
electron_cart: Solidisk EFS 2.1E

New NOT_WORKING software list additions
---------------------------------------
electron_cart: Stop Press 64

Software list items promoted to working
---------------------------------------
electron_cart: Advanced Plus 3, Advanced Quarter Meg RAM, Slogger Electron Disk System, Sound Expansion v3
2018-01-31 18:38:05 +00:00
David Haywood
ff61c2c50d framework for adding 'gamebooster' (need to figure out how it actually works / maps tho) (#3134)
* fix/tidy tvboy driver (nw)

* missed file (nw)

* framework for adding 'gamebooster'  (need to figure out how it actually works / maps tho) (nw)
(code based on zx spectrum expansion port code)

* (nw)

* lost a line (nw)

* allow it to run (nw)

* continued work (nw)

* mame64 psj -parallel gamebooster -cart tetris  now works

* rm outdated (nw)

* remove unneeded code (nw)

* limit accesses, log unexpected ones, might have custom banking (nw)

* write bytes in an order that keeps the gb code happier , sml boots (nw)
2018-01-27 10:17:37 -05:00
Nigel Barnes
4143172f7c electron: Re-implemented cartridge slot device, and added cartridge devices:
- Standard cartridge (2x16K ROM)
- Advanced Battery-Backed RAM (ABR)
- Slogger Click
- Slogger Pegasus 400
2018-01-26 21:04:33 +00:00
Olivier Galibert
03ba80e0ef xtal.h is dead, long live to xtal.cpp [O. Galibert] 2018-01-23 10:25:25 +01:00
Luca Elia
9eca0c6c45 New device: SN54/74166 8-Bit Parallel-In/Serial-Out Shift Register [Dirk Best, Luca Elia] 2018-01-21 23:47:59 +01:00
mooglyguy
7f3f8fd245 -bgfx: Abstracted some view-related functions into bgfx_view class, nw 2018-01-13 22:13:38 +01:00
Vas Crabb
ba5715596a This causes huge changes in behaviour that can't be hand-waved away.
Revert "Removal of voltage_regulator_device (nw)"

This reverts commit 1af133752a.

Revert "New way to provide DAC reference inputs (nw)"

This reverts commit 1c6a7ab40c.
2018-01-13 02:06:27 +11:00
Nigel Barnes
8cd0b2545e electron: Added Rombox, Rombox+ expansion devices, and electron_rom software list. 2018-01-11 18:46:05 +00:00
AJR
1af133752a Removal of voltage_regulator_device (nw) 2018-01-10 02:11:25 -05:00
AJR
62da1dbe29 meters, ticket: Move these generic devices into src/devices (nw) 2018-01-09 15:14:04 -05:00
Ivan Vangelista
31ffaa7819 machine.lua: compile myb3k_kbd only when needed (nw) 2018-01-09 20:46:11 +01:00
Björn Moser
71074fe126 VS Compile Fix 2018-01-08 22:29:19 +00:00
arbee
1392b241cc mac: preliminary support for AE Quadralink 4-port serial [R. Belmont, Al Kossow] 2018-01-02 16:49:05 -05:00
AJR
64524a652c Add ER1400 serial EAROM device 2017-12-31 11:39:28 -05:00
mooglyguy
ce54579557 -e132xs: fix botched DRC merge, nw 2017-12-29 22:46:36 +01:00
mooglyguy
5d36ef2d30 fixed build errors, nw 2017-12-29 13:43:36 +01:00
smf-
a3f8dcf915 remove qtmain on windows, it conflicts with SDL2_Main (nw) 2017-12-26 23:06:03 +00:00
smf-
68b16a8808 added -lSDL2main to fix linking with gcc 7 [smf] 2017-12-26 11:11:50 +00:00
arbee
64d73e68aa Merge branch 'master' of https://github.com/mamedev/mame 2017-12-25 22:28:14 -05:00
arbee
aadaf0c303 mac: Support for "BootBug" NuBus remote debugger card [Al Kossow, R. Belmont] 2017-12-25 22:27:02 -05:00
Vas Crabb
25f84e3bf0 srcclean and manual cleanups (nw)
please people, remember to keep source UTF-8 and if you're committing on behalf of others, clean up indents to meet MAME conventions
anyone can run srcclean over a submission and see what will get hit
2017-12-24 15:03:04 +11:00
hap
e08f42a74e tms1000c: added correct microinstructions pla (nw) 2017-12-21 23:50:29 +01:00
cracyc
a3e4c79be6 i386: x87 bug fixes and FERR support [Andrey Merkulov]
i8087: separate 8087 device [Carl]
2017-12-16 14:24:24 -06:00
Joakim Larsson Edström
59824c1929
Merge pull request #2946 from JoakimLarsson/stepone_2
myb3k: WIP adding ISA bus, cards, devices and branded clones
2017-12-16 02:05:07 +01:00
Joakim Larsson Edstrom
3faf6ab474 myb3k: preliminary keyboard support for Ericsson step/one brand [Fredrik Ohrstrom] 2017-12-15 21:27:47 +01:00
Joakim Larsson Edstrom
2922b345d5 myb3k: Added three new ISA8 cards, one COM card and two FDC, specific for the MyBrain 3000 and its branded variants JB-3000 and Ericsson PC step/one 2017-12-15 21:21:26 +01:00
AJR
5334d77c78 Add Seals 8K SC Memory Board to S-100 bus emulation 2017-12-14 22:58:06 -05:00
Firehawke
9ece34eb21 Revert "Revert "Merge branch 'master' of https://github.com/mamedev/mame""
This reverts commit 54155441e9.
2017-12-13 21:31:27 -07:00
Firehawke
54155441e9 Revert "Merge branch 'master' of https://github.com/mamedev/mame"
This reverts commit f537428e5a, reversing
changes made to 0d70d79810.
2017-12-13 21:01:10 -07:00
AJR
141f2364cc New generic ripple counter device 2017-12-10 09:06:41 -05:00
Sergey Svishchev
00c9b62a24 agat7: 840KB floppy HLE; minor fixes -> mark WORKING (#2912)
* agat7: add port_char definitions to allow access from Lua, &c (nw)

* agat7: adapt "apple2: Break up handlers for C000-C07F range" (nw)

* agat7: timer and vblank interrupts (nw)

* agat7: HLE of 840KB floppy controller, read-only (nw)

* agat7: memory expansion wip (nw)

* agat7: update todo list, mark partially WORKING
2017-12-08 18:46:23 -05:00
mooglyguy
5d51e91100 no help = no hyperstone drc, nw 2017-12-06 21:51:34 +01:00
Patrick Mackinlay
ad9b6fe4e5 dp8510: new device
An implementation of the National Semiconductor DP8510 BITBLT Processing Unit. This is used on the InterPro GT family graphics boards, and this implementation seems to be correct enough to enable me to progress there, hence the PR. While I'd love to have another system to test against, I'm not aware of any other systems that ever used this device other than some NatSemi reference designs, which are not (yet) in MAME.
2017-12-06 18:58:55 +07:00
mooglyguy
bccc962b69 e132xs: initial work on drc, nw 2017-12-02 04:02:37 +01:00
mooglyguy
495df45315 e132xs: initial drc work, and templated conditional db/b, nw 2017-12-02 04:02:37 +01:00
AJR
112fbd83ab Clones promoted to working
--------------------------
SWTPC 6800 Computer System (with MIKBUG) [AJR]
2017-12-01 16:57:15 -05:00
Miodrag Milanovic
3917627494 Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic] 2017-12-01 13:22:27 +01:00
AJR
fc87d24cf6 swtpc: Preliminary SS-50 I/O bus 2017-11-30 19:37:07 -05:00
Olivier Galibert
6caef2579a dvdisasm: Overhaul [O. Galibert]
Disassemblers are now independant classes.  Not only the code is
cleaner, but unidasm has access to all the cpu cores again.  The
interface to the disassembly method has changed from byte buffers to
objects that give a result to read methods.  This also adds support
for lfsr and/or paged PCs.
2017-11-26 17:41:27 +01:00
hap
e7edf2e16a bus.lua: add some missing h files (nw) 2017-11-23 18:23:29 +01:00
angelosa
56828c2446 Rewritten Imagetek i4100 / i4220 / i4300 video display processor family, hooked it up to metro.cpp [Angelo Salese] 2017-11-21 07:06:03 +01:00