Commit Graph

1125 Commits

Author SHA1 Message Date
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
Nigel Barnes
26d94f2275 cfa3000: Added input devices on userport, analogue, and 1MHz bus. 2017-11-20 13:22:08 +00:00
Nigel Barnes
c25af26b01 bbc: Added ARM Evaluation System co-processor device. 2017-11-20 13:22:08 +00:00
Dirk Best
a5a8e0cbdb einstein: Improve interrupts, add WIP Speculator support
Also removes a bogus character in the initial centronics output.
2017-11-20 01:37:42 +01:00
David Haywood
7d0279601f split pgm2 up into drivers/video, correct main ram size, make some notes etc. 2017-11-17 18:25:36 +00:00
Patrick Mackinlay
f87cc5c671 28fxxx: initial commit for new flash memory device (#2805)
Implementation of 28F010 and family flash memory devices. These are not compatible with the JEDEC-standard flash command protocol implemented in intelfsh.
2017-11-16 23:53:02 +11:00
Vas Crabb
46c4dfb5f9 z80sio updates:
* Don't use device_serial_interface for transmit - it can't support sync modes, on-the-fly register updates, and other weirdness.
* Better modelling of 1-deep transmit queue.
* Better RTS/CTS behaviour.
* Completely overhauled interrupt logic - vectors should be correct for most async modes.
* Implemented different auto-reset receive errors in MPSC vs SIO.
* Implemented SDLC transmission including bit stuffing, transmit CRC, abort, and underrun/end-of-message behaviour.

Added an SDLC consumer device that logs SNA frame headers and data.
2017-11-16 22:22:20 +11:00
hap
7a900dd692 i8085: moved opcode macros to main file, will convert these to functions (nw) 2017-11-14 16:55:12 +01:00
hap
2e857fa8bd rename misleading i8085cpu.h to i8085ops.hxx (nw) 2017-11-14 03:02:39 +01:00
Curt Coder
c2cf2f7504 tmc600: Added Euro bus skeleton. [Curt Coder] 2017-11-11 14:02:22 +02:00
Dirk Best
58b5eab4a8 einstein: Add support for the Silicon Disc RAM drive
Enable it with "-pipe silicon_disc" and use it as drive 3.
2017-11-09 01:13:08 +01:00
Nigel Barnes
e40f2551aa electron: Added Acorn Plus 1 expansion device
- moved cart slots from machine to plus1
- replaced OS ROM with good dump
2017-11-08 20:42:09 +00:00
Nigel Barnes
780340b355 bbcb: Added Computer Village 1797 FDC (LVL Dos), not working. 2017-11-06 21:42:13 +00:00
Dirk Best
faeedc757c einstein: Major cleanup, add a ADC0844 device
The analogue joystick is now emulated. Also fixed a few minor issues
with the memory map.

This also adds a generic Z80 dasisy chain device, for use in drivers
with non-Z80 peripherals.
2017-11-06 20:47:38 +01:00
arbee
bd7cbf196c apple2: preliminary support for AE TransWarp accelerator card [R. Belmont, Apple II Documentation Project] 2017-11-03 21:50:59 -04:00
Dirk Best
346a935839 einstein: Add support for mouse connected to the user port
Enable with "-user mouse" and try it with "-flop1 mouseart".
2017-11-01 09:51:36 +01:00
arbee
07de0d575d apple2: preliminary support for "SSB Apple" speech board [R. Belmont, Apple II Documentation Project] 2017-10-31 21:50:32 -04:00
Dirk Best
908529aa32 einstein: Add bus interface for the user port and emulate speech cart 2017-10-31 11:46:53 +01:00
Dirk Best
4ee376d989 einstein: Move pipe bus to its own directory 2017-10-31 11:46:47 +01:00
Dirk Best
09f25df20d einstein: Create "Tatung Pipe" bus and convert 80 column device
Use "mame einstein -pipe tk02" to attach the 80 column device.

* Removed no longer needed einstei2 driver
* Added cursor rendering to the 80 column device
* Added support for the alternate character set (use dip switch to
change)
* Cleaned up and added save state support to the 80 column device
2017-10-28 17:36:29 +02:00
R. Belmont
fb20279b92 Merge pull request #2749 from fulivi/hp80_dev04
HP85: support for I/O slots & HP-IB interface module
2017-10-25 15:39:55 -04:00
fulivi
bd7800c9a6 hp85: support for I/O slots added. Emulation of HP82937 module added. 2017-10-25 16:25:42 +02:00
Patrick Mackinlay
fa45a71bce interpro: expansion bus/slots and keyboard
* added basic support for the system bus variously referred to as SR, SR bus, SRX and CBUS
* added an initial GT graphics card implementation, only supports the video ram and ramdac for now, but sufficient to boot the diagnostic monitor in graphics mode
* added a high-level emulation of the InterPro keyboard
2017-10-23 19:05:25 +07:00
Vas Crabb
4c29419cab srcclean (nw) 2017-10-22 12:34:30 +11:00
David Haywood
b8feed7929 use slot device for gamate cartridge slot, do protection handling there (it's a mapper chip in the cartridge)
protection handled etc. written from scratch based on notes from Kevtris and Peter

banking in the slot system seems somewhat archaic compared to proper modern banking, but this is how all other drivers I saw using slot roms did it.
2017-10-20 12:14:23 +11:00
Patrick Mackinlay
9a68224e4a bt459: new device
Used in InterPro graphics boards.
2017-10-19 19:36:01 +07:00
David Haywood
7851b3786c Preliminary SH3 / SH4 recompiler [David Haywood] (#2711) 2017-10-11 22:23:26 +02:00
Nigel Barnes
a02ec54132 bbc: Added Torch Z80 Communicator as Tube slot device. 2017-10-11 12:03:01 +01:00
angelosa
d4f7cfd631 saturn.cpp: Moved SCU related functions inside a device [Angelo Salese] 2017-10-09 22:24:14 +02:00
Joakim Larsson Edström
ec326352ff Merge pull request #2695 from shattered/_eef7cb7
vme_hcpu30: Besta HCPU30 VME board, skeleton driver.
2017-10-08 02:49:31 +02:00
Curt Coder
fa612073a6 abc800: Added skeleton for Databoard 4112-23 floppy disk controller. [Curt Coder] 2017-10-04 21:21:37 +03:00
Curt Coder
ec017ff2f5 abc800: Fixed Turbo Kontroller name to UNI DISK and identified CPU type. [Curt Coder] 2017-10-03 23:36:37 +03:00
fulivi
70d6a5addd Support for HP85 tapes added to imgtool (#2688) 2017-10-03 23:14:15 +11:00
Sergey Svishchev
1483853c0e vme_hcpu30: Besta HCPU30 VME board, skeleton driver. 2017-10-03 01:05:56 +03:00
David Haywood
c0ee79f3db use 'sh' instead of 'superh' 2017-10-02 19:47:35 +01:00
David Haywood
48aabf4122 move sh2 / sh4 to a folder called superh 2017-10-02 17:31:38 +01:00
AJR
da7cd69f88 Remove timer_device from emu.h and move it out of src/emu (nw) 2017-10-01 22:46:42 -04:00
Nigel Barnes
a65015f5cb abc310: Added 80286 2nd processor. 2017-10-02 02:00:21 +01:00
AJR
83d5618b34 am9513: New device 2017-09-22 01:35:51 -04:00
Dirk Best
c7d1aeb956 deco32: Improvements and cleanups
* Emulate LC7535 based volume control for Dragon Gun board based games
* Add DSW3 and DIP locations to Captain Avenger
* Reorganize driver and start cleaning it up (in progress)
2017-09-22 03:51:24 +02:00
angelosa
e3ccbe1852 Wrote a new device for TA7630, hooked it up to buggychl.cpp (nw) 2017-09-22 02:01:42 +02:00
Nigel Barnes
cdde9d6814 spectrum: Added expansion slot, and devices:
- ZX Interface 1 (not working)
- ZX Interface 2
- Fuller Box
- Kempston Joystick Interface (moved from driver)
- Didaktik Melodik
- Mikro-Plus (Shadow of the Unicorn)
- Protek Joystick Interface
- Currah MicroSlot
- Currah MicroSpeech [Thomas Busse]
- Currah MicroSource

spec128: Added expansion slot, and devices:
- ZX Interface 1 (not working)
- ZX Interface 2
- Kempston Joystick Interface (moved from driver)
- Mikro-Plus (Shadow of the Unicorn)
- Protek Joystick Interface
- Spectrum +2 Test Software
2017-09-21 23:08:50 +01:00
npwoods
3d553eda60 Attempted to sanitize/rationalize how we access UTF-8 command line arguments (#2532)
Specifically, this creates a call osd_get_command_line() that returns UTF-8 command line arguments as std::vector<std::string>.  On non-Windows platforms, this does nothing more than build the vector.  On Windows, this invokes GetCommandLineW() and CommandLineToArgvW().  This also attempts to unwind usage of wmain()/_tmain() on Windows, which is not standard.

Related to this, this fixes a bug in Imgtool; specifically, non-7 bit ASCII was not being handled correctly in Windows.

This is really an admission that the way that Windows handles Unicode and command line arguments sucks, and it is my belief that having a wmain() or _tmain() declaration specific for Windows is a worse solution.  C'est la vie.

I'm very open to the idea that src/osd/osdcore.[cpp|h] is not the best place to do this.  Let me know if I should move it.
2017-09-18 20:28:53 -04:00
Sven Schnelle
5216b5414f hp9k_3xx: add 98603 ROM card
Even if BASIC doesn't boot yet it's handy to have the ROM card in the code
and BASIC in the software list.
2017-09-06 03:03:51 +10:00
arbee
c39d66b671 apple2: Preliminary support for the Synetix SuperSprite card. [Golden Child, R. Belmont] 2017-08-30 21:11:18 -04:00
fulivi
05c792eee7 hp85: support of opt. ROMs (#2604)
* hp85: added support for optional ROM cartridges. Started optional ROM
sw list (not finished).
* hp85: refactored mapping of opt. ROMs according to cuavas' comments
2017-08-29 21:45:36 +10:00
Nigel Barnes
d9297807e2 bbc: Added various 2nd processors as Tube slot devices:
- Acorn 6502 2nd Processor, Acorn 65C102 Co-Processor, Acorn Z80 2nd Processor, Acorn 80186 Co-Processor, Casper 68000 2nd Processor
2017-08-25 20:03:44 +01:00
Nigel Barnes
c967171c7a tube: New TUBE device. Acorn Tube ULA for use in Acorn 2nd Processors 2017-08-25 20:03:44 +01:00