Commit Graph

1480 Commits

Author SHA1 Message Date
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
Nigel Barnes
5fdfce856e bbc: BeebSID slot device for the 1MHz bus. 2017-08-24 12:59:29 +01:00
Miso Kim
41e044ae01 Modification for Android build (NDK r14b, build-tools 21.1.2 and gradle 2.2.1) (#2585) 2017-08-23 13:09:38 +10:00
Felipe Corrêa da Silva Sanches
f2407286b1 new drivers for "Control ID x628" fingerprint-reader and for the NT7534 LCD controller (#2583)
* initial skelethon: ControlID X628 fingerprint reader
* first draft of an implementation of the NT7534 device (LCD controller)
* fix emulation of ControlID x628 + NT7534 LCD controller
* cidx628: fix LCD color palette on Control ID x628 driver
* Adding a header with details of the hardware. This is the first MAME driver with an LCD controlled by a NT7534 chip, so I wrote an initial implementation of that new device.
2017-08-23 11:53:00 +10:00
Vas Crabb
73107179b5 clean up some of the UI filter stuff, show list descriptions rather than names when choosing list to filter on (nw) 2017-08-18 18:26:26 +10:00
fulivi
4c5ed8b64b hp85: implemented tape drive 2017-08-16 10:38:22 +02:00
fulivi
480f865bcf hp9845: re-factored handling of HTI images into a dedicated format module 2017-08-16 10:38:22 +02:00
Dirk Best
75734b41f8 psi98: Add HLE ASCII keyboard and make it default
Keyboard input now works
2017-08-10 02:21:20 +02:00
Dirk Best
147f1d89b0 psi98: Add keyboard slot interface, create skeleton for keyboard 2017-08-10 01:42:10 +02:00
angelosa
952af08ca6 Added a very preliminary PC9801 AMD98 sound board emulation [Angelo Salese] 2017-08-06 03:23:41 +02:00
AJR
ac06279df0 Create explicit i386dasm include for x86 DRC (nw) 2017-08-01 00:55:59 -04:00
Vas Crabb
01decf78b0 need this for debug trace logging on DRC cores (nw) 2017-08-01 14:37:05 +10:00
AJR
3b4315a4b5 Fix single build for i386-based drivers (nw) 2017-07-31 19:53:12 -04:00
yz70s
5ebe819cce In the windows debugger log window add a Log/Clear menu to remove all logged messages (nw) 2017-07-30 19:09:59 +02:00
AJR
dab683e78f New 74LS259/9334/CD4099 devices
These humble 16-pin logic devices were commonly used in 8-bit arcade games to control coin counters/lockouts, IRQ flipflops, graphics banking, slave CPU reset lines, discrete audio triggers, screen flipping, serial EEPROMs and much else. Over 100 drivers and a few bus devices have been updated to use the new implementation, and a great deal of research has gone into documenting the physical location of these devices on actual PCBs in the source. Write handlers have been provided for both orthodox and somewhat less conventional memory mappings.

Incidental to this update, coin counters and/or lockouts have been added to Atari System 1 games, Basketball, Gauntlet, Gyruss, Hana Yayoi, Hole Land, Jr. Pac-Man, Mahjong Sisters, Pooyan, Roc'n Rope, Squash, Thunder Hoop, Time Limit, Time Pilot '84 and many others. This also cleans up coin counter behavior in Sauro and Rally Bike.

(nw) The purpose of committing this change, which has been several months in the making, early in the 0.189GIT cycle will be to allow time for fixing potential regressions; I've fixed a number of drivers that lost sound from this for various reasons (hnayayoi.cpp having missing or garbage ADPCM was particularly painful, since the three games in that driver all work slightly differently), but I can't test all affected drivers exhaustively. @Tafoid, don't bother running automated screen capture comparison tests on this, as many drivers are now expected to have the screen flipped for the first few seconds after reset.
2017-07-25 11:21:43 +10:00
Joshua Root
97d5034d1b Fix include path with USE_LIBSDL on macOS
The cflags will contain an include path ending in "SDL2", not just "SDL", and removing just the latter leaves a stray "2" on the end.
2017-07-22 22:27:34 +10:00
Joakim Larsson Edstrom
4ae48e9865 sda5708: NEW DEVICE Siemens SDA5708 8 character 7x5 dot matrix LED display (nw) 2017-07-17 13:45:16 +02:00
James Baicoianu
785e6f2fc9 Export soft_reset, hard_reset, exit, load, and save functions for Emscripten builds 2017-07-15 15:17:29 +10:00
James Baicoianu
15c2bb0c08 Fix save/load states in Emscripten build (#2470)
* Fix save/load states in Emscripten build
* Simplified Emscripten integration points
* Moved standalone JS functions to be static member functions of running_machine
* Improved Emscripten main loop
* Use convenience functions for cleaner code

As an added bonus, this now allows for proper shutdown of the running machine when running in the Emscripten environment - previously, attempts to exit the program were just being ignored.
2017-07-15 14:00:09 +10:00
Vas Crabb
7892bf71f9 intellec4: implement imm4-22 program/data storage module 2017-07-15 00:03:34 +10:00
Vas Crabb
641d0ac7a3 intellec4: implememnt PROM memory module 2017-07-13 18:34:57 +10:00
Vas Crabb
f1b30abacf intellec4: add high-speed paper tape reader card (installed in slot j7 by default, select with J command for loading BNPF/HEX) 2017-07-13 03:28:04 +10:00
Michael Zapf
7d98022797 ti99: Moved Hexbus one level up 2017-07-10 17:49:16 +02:00
Patrick Mackinlay
f91404a088 i82586: intel 82586/82596 ethernet controllers, skeleton only (nw) (#2456)
* i82586: initial commit, skeleton only

* oops (nw)

* i82586: added databook references

* use address space for memory access
2017-07-10 13:11:28 +02:00
Joakim Larsson Edström
28b8120788 Merge pull request #2452 from JoakimLarsson/fccpu1_3
New device: MC14411 Bit Rate Generator
2017-07-08 23:48:01 +02:00
fulivi
5201a7f6bf Begin of HP80 emulation (#2448)
What works:
* HP85A machine with 16K of RAM
* Capricorn CPU works
* Keyboard works (with minor issues)
* CRT text / graphics modes work (correct speed is not emulated yet so service ROM complaints)
* BASIC is usable

What is missing (and I'll have hopefully working soon):
* HW timers
* Beeper
* Integral printer
* DC100 cassette drive
* Extension ROMs
* I/O modules (especially the HPIB interface so that we can hook up floppy drives)
* Other models in the family (e.g. HP86)
2017-07-08 19:31:42 +10:00
Joakim Larsson Edstrom
4af3d0ac83 mc14411: NEW DEVICE Motorola MC14411 Bit Rate Generator 2017-07-08 00:14:06 +02:00
David Haywood
907115ed06 create c-chip device with correct CPU type in it and a bunch of notes (pinout etc.)
create a uPD78C11 derived CPU type for this purpose, with internal ROM map
use internal ROM map for other uPD78C10 chips as it's always present.
add missing NO_DUMP definitions to various games using C-Chips with correct size etc.
pump megablast through the device code as really all it ever does is bank the c-chip window and test the RAM.
2017-07-05 01:45:09 +01:00
Vas Crabb
3f44052c06 intlc440 improvements:
* Implemented front panel mode switches/LEDs and reset switch
* Added skeleton bus for "universal" slots and connected control lines

(nw) Default keyboard mapping is annoying because left shift, Z and X
are used both for typing into the TTY and switching program bank. You're
better off changing the mapping to make it less annoying or using a
socket and talking to it with telnet.
2017-07-01 18:03:01 +10:00
Brandon Munger
5836d9e48b r9751: Add initial SMIOC device (#2423) 2017-06-30 10:11:21 +10:00
cracyc
38436b340d pc9801: move cbus to bus and add WIP mpu401 [Carl] 2017-06-26 14:16:54 -05:00
Vas Crabb
5ada035d17 Rewrote 4004 core and disassembler:
* Renamed to MCS-40.
* Emulated 8-clock instruction cycle, interruptible at any point.
* Converted TEST input to an input line.
* Added SYNC and CM output lines.
* Added support for 4040 CY output, logical operations, extended registers, ROM banking and disassembly.
* Made I/O space mapping more flexible to support the variety of peripherals available.
* Notable missing features are 4040 interrupt and halt, and "program memory" space.
2017-06-27 04:25:18 +10:00
npwoods
1b28df0b39 Reintroduced a state save menu, take two (#2358)
* This turns the current state save feature to a menu; one can still press 0-9, but you can also browse a menu when loading and saving state

* Fixed some issues requested by Vas Crabb

* Updated state menu to support arbitrary character slots

* WIP, transitioned 'entry_char' to std::string

Still need to address Joystick and FR keyboard concerns

* Reimplemented state save support with joystick buttons

* Changed the state menu to be "code driven" rather than "character driven"

When the menu is displayed, it will look at the filenames, and translate them to a visual representation as per the user's locale

* Vas feedback
2017-06-25 12:48:13 +10:00
hap
bca24133da sm510: made KB1013VK12 device a clone of SM5A (nw) 2017-06-23 00:34:16 +02:00
mahlemiut
03f21234b8 - Add preliminary Yamaha YM3802 MIDI controller
- Add X68000 expansion device using the YM3802
2017-06-21 18:37:23 +12:00
arbee
8bf9290a1e hp9k_3xx: preliminary support for DIO and DIO-II buses and 98544 video card. [R. Belmont] 2017-06-20 21:40:03 -04:00
AJR
d046fd723f New device: TE7750 Super I/O Expander 2017-06-15 19:44:24 -04:00
Nigel Barnes
acdaf11b73 d64plus: Implemented banking of extra 64K, and 6845 with chargen. Machine promoted to WORKING.
dragon32: Added JCB Sound Extension cartridge.

dragon200e: Added correct keyboard.
2017-06-15 18:43:33 +01:00
Sergey Svishchev
24d016f62c New skeleton: GRiD Compass series 2017-06-06 21:29:43 +03:00
Michael Zapf
6e577c5465 ti99: Hexbus implementation; floppy HX5102 early WIP 2017-06-06 16:21:51 +02:00
arbee
876f0bb0b3 Initial support for SiS85c496/497 PCI chipset. [R. Belmont] 2017-06-05 22:26:49 -04:00
Olivier Galibert
cb29a590d0 Revert "state: Turns the current state save feature to a menu [Nathan Woods]"
This breaks saving a state from a joystick button, e.g. the
joy%i-%i.sta states, which are rather useful when you don't have a
keyboard handy.
2017-06-01 18:41:21 +02:00
npwoods
82974981a6 state: Turns the current state save feature to a menu [Nathan Woods]
* This turns the current state save feature to a menu; one can still press 0-9, but you can also browse a menu when loading and saving state

* Fixed some issues requested by Vas Crabb

* Updated state menu to support arbitrary character slots
2017-06-01 12:56:36 +02:00
npwoods
4d50a02111 CoCo: Overhaul to the cartridge slot subsystem and Speech/Sound Cartridge support [Nathan Woods, Tim Lindner] 2017-06-01 12:45:51 +02:00
tim lindner
2c2458bbac Added read support for the disk format SDF used in the CoCoSDC (#2345) 2017-05-31 16:23:49 +10:00
Vas Crabb
e892661905 srcclean (nw) 2017-05-28 13:40:48 +10:00
Vas Crabb
2d4ba2471d netlist: add a crude TTL schmitt trigger model and hook up in 1B11142
sound board, completing the tromba circuit

(nw) I'm not sure whether the model works properly or not, but in the
circuit where it's used, I don't think it can work properly with the
current TTL output model.  A capacitor is charged by the Q output of a
74LS74 flipflop (U3A) until the voltage passes the Schmitt trigger's
threshold, causing it to reset the flipflop.  However, the positive
trigger voltage of the Schmitt trigger is 1.6V, but our TTL output model
has a high output voltage of 1.0V (see nl_base.cpp:89).  I realise the
simplified model of TTL logic with high impedance inputs and outputs
behaving as though thery're loaded is convenient and fast to simulate,
but it's not detailed enough for applications like this where
7400-series chips are used in analog circuitry.  This is what held me up
last time I tried adding a netlist for this sound board.
2017-05-27 18:44:23 +10:00
couriersud
bc29593982 Netlist refactoring:
- OPENMP refactored. All OPENMP operations are now templatized in pomp.h
- We don't need thread-safe priority queue. Event code updating analog
outputs now runs outside the parallel code. 
(nw)
2017-05-27 00:11:14 +02:00
AJR
b201ad2cc0 Update cpu.lua properly (nw) 2017-05-26 17:20:31 -04:00
AJR
d1fb75b2e7 Quick and dirty split of most MC6801/MC6803/HD63701 features from base M6800 class (nw)
The code remains generally archaic and awful and in need of a sweeping rewrite. At least one static variable is no more.
2017-05-26 17:08:54 -04:00
Michael Zapf
347e8a4fb7 ti99: Created bus gromport, split monster file gromport 2017-05-25 16:01:23 +02:00
Michael Zapf
1e77ec65c1 ti99: Added console connector "ioport" with PEB as slot option 2017-05-25 00:34:17 +02:00
R. Belmont
fbd2e33023 Merge pull request #2332 from DavidHaywood/nesvt2
preliminary steps for basic VT03 (NES clone) support
2017-05-23 21:22:07 -04:00
Michael Zapf
50b20ddf23 ti99: Wrapped into namespaces; minor rearrangement 2017-05-23 23:22:06 +02:00
David Haywood
7eeae7892d basic VT03 support 2017-05-23 21:12:26 +01:00
Vas Crabb
96c9112785 general cleanup:
* move rarely-used output and pty interfaces out of emu.h
* consolidate and de-duplicate forward declarations, also remove some obsolete ones
* clean up more #include guard macros
* scope down a few more things

(nw) Everyone, please keep forward declarations for src/emu in src/emu/emufwd.h -
this will make it far easier to keep them in sync with declarations than having
them scattered through all the other files.
2017-05-23 15:01:11 +10:00
dankan1890
f09ba1e562 Fixed some inaccuracies in file names in lua scripts. 2017-05-21 15:22:03 +10:00
fulivi
e2b9e11da0 Hp9845: Support for HPI floppy format (#2310)
hp9845: Support for HPI floppy format [F. Ulivi, A.Kückes]
2017-05-16 09:52:31 +02:00
smf-
dc1dcd260b fix MSVC debug builds by specifying /bigobj (needed for mpu4). Release builds don't seem to require it. (nw) 2017-05-16 07:56:04 +01:00
Dirk Best
85c01f5721 New device: SN54/74166 8-Bit Parallel-In/Serial-Out Shift Register 2017-05-16 00:24:08 +02:00
cracyc
40e1e3e698 Merge pull request #2303 from cracyc/linenoise_new
linenoise work
2017-05-15 11:41:06 -05:00
tim lindner
239f178cfe Merge branch 'master' into games_master_cartridge 2017-05-14 13:35:43 -07:00
Vas Crabb
0f0d39ef81 Move static data out of devices into the device types. This is a significant change, so please pay attention.
The core changes are:
* Short name, full name and source file are no longer members of device_t, they are part of the device type
* MACHINE_COFIG_START no longer needs a driver class
* MACHINE_CONFIG_DERIVED_CLASS is no longer necessary
* Specify the state class you want in the GAME/COMP/CONS line
* The compiler will work out the base class where the driver init member is declared
* There is one static device type object per driver rather than one per machine configuration

Use DECLARE_DEVICE_TYPE or DECLARE_DEVICE_TYPE_NS to declare device type.
* DECLARE_DEVICE_TYPE forward-declares teh device type and class, and declares extern object finders.
* DECLARE_DEVICE_TYPE_NS is for devices classes in namespaces - it doesn't forward-declare the device type.

Use  DEFINE_DEVICE_TYPE or DEFINE_DEVICE_TYPE_NS to define device types.
* These macros declare storage for the static data, and instantiate the device type and device finder templates.

The rest of the changes are mostly just moving stuff out of headers that shouldn't be there, renaming stuff for consistency, and scoping stuff down where appropriate.

Things I've actually messed with substantially:
* More descriptive names for a lot of devices
* Untangled the fantasy sound from the driver state, which necessitates breaking up sound/flip writes
* Changed DECO BSMT2000 ready callback into a device delegate
* Untangled Microprose 3D noise from driver state
* Used object finders for CoCo multipak, KC85 D002, and Irem sound subdevices
* Started to get TI-99 stuff out of the TI-990 directory and arrange bus devices properly
* Started to break out common parts of Samsung ARM SoC devices
* Turned some of FM, SID, SCSP DSP, EPIC12 and Voodoo cores into something resmbling C++
* Tried to make Z180 table allocation/setup a bit safer
* Converted generic keyboard/terminal to not use WRITE8 - space/offset aren't relevant
* Dynamically allocate generic terminal buffer so derived devices (e.g. teleprinter) can specify size
* Imporved encapsulation of Z80DART channels
* Refactored the SPC7110 bit table generator loop to make it more readable
* Added wrappers for SNES PPU operations so members can be made protected
* Factored out some boilerplate for YM chips with PSG
* toaplan2 gfx
* stic/intv resolution
* Video System video
* Out Run/Y-board sprite alignment
* GIC video hookup
* Amstrad CPC ROM box members
* IQ151 ROM cart region
* MSX cart IRQ callback resolution time
* SMS passthrough control devices starting subslots

I've smoke-tested several drivers, but I've probably missed something.  Things I've missed will likely blow up spectacularly with failure to bind errors and the like.  Let me know if there's more subtle breakage (could have happened in FM or Voodoo).

And can everyone please, please try to keep stuff clean.  In particular, please stop polluting the global namespace.  Keep things out of headers that don't need to be there, and use things that can be scoped down rather than macros.
It feels like an uphill battle trying to get this stuff under control while more of it's added.
2017-05-14 21:44:11 +10:00
dankan1890
0e638ad0a2 Lua scripts cleanup. 2017-05-14 14:20:38 +10:00
cracyc
4ebc18aeec linenoise: replace linenoise-ng with a different port that is simpler and uses a different UTF8 parser [Carl]
plugins/console: better completions [Carl]
2017-05-13 16:57:47 -05:00
Ted Green
d2224d2eee vrc5074: Added new Nile 4 System Controller device 2017-05-13 14:30:06 -06:00
tim lindner
06d430fbcb Emulation of Games Master Cartridge 2017-05-13 13:29:53 -07:00
Lord-Nightmare
3d18cb2faa Add preliminary Sharp SM590 CPU core [Lord Nightmare, hap] 2017-05-09 14:24:39 -04:00
Olivier Galibert
2b066459bd k054321: Implement as a device [O. Galibert, Phil Bennett] 2017-04-25 19:54:17 +02:00
Vas Crabb
dac6dc4f62 srcclean (nw) 2017-04-23 12:27:42 +10:00
Nigel Barnes
735ab4f355 electron: Added Power Software joystick interface 2017-04-21 16:42:52 +01:00
AJR
0188b4e80b segaybd.cpp, srallyc: Add OKI MSM6253 device 2017-04-12 23:09:13 -04:00
cracyc
490d00afb7 ds1205: Add Dallas DS1205 Multikey [Carl] 2017-04-12 17:32:22 -05:00
AJR
32984a5a51 segaxbd.cpp: Rewrite CXD1095 as a device and also add it to megatech.cpp 2017-04-10 22:55:00 -04:00
AJR
5f29d0b1a3 Fix OS X tools build when MAME_DIR includes spaces (nw) 2017-04-09 10:36:18 -04:00
AJR
8fe18e9ecc New device interface for palettes
- Create device_palette_interface, which takes over most functionality from palette_device except for the initialization/decoding routines and RAM interface.
- Update screen_device and device_gfx_interface to use a device_palette_interface object rather than a palette_device. This necessitates slight alterations to a few drivers and devices.
- Modify v9938 and v9958 to use the new device_palette_interface rather than a subdevice. This entails breaking a cyclic dependency between device_video_interface and screen_device for this case.
2017-04-06 11:30:40 +10:00
Miodrag Milanovic
eb04392728 well issue is on any gcc 5.x (nw) 2017-03-30 08:50:24 +02:00
Miodrag Milanovic
3fff3faf6c proper fix (nw) 2017-03-30 08:36:15 +02:00
Miodrag Milanovic
0921d7aaae 2nd try (nw) 2017-03-29 18:14:35 +02:00
Miodrag Milanovic
456d9e3b47 Fix linux compile (nw) 2017-03-29 17:58:36 +02:00
Branimir Karadžić
49f7c99c77 Update BGFX and BX (nw) 2017-03-29 17:09:40 +02:00
Nigel Barnes
3ee922ace8 electron: Added First Byte joystick interface 2017-03-23 20:47:26 +00:00
Nigel Barnes
f224898523 archimedes: Added JFD floppy format as used by JASPP (Archimedes Software Preservation Project) 2017-03-23 20:47:26 +00:00
R. Belmont
8b9ef0b09e Merge pull request #2172 from kazblox/master
Additions/improvements to nes driver and softlist
2017-03-21 15:23:29 -04:00
kazblox
c488308495 nes: Add Subor Type 2 board. (nw)
nes: Fix debug output when reading iNES headers. (nw)

nes/ppu2c0x: Improved PAL clone timings. (nw)

nes/n2a03: Refactored clock definitions [includes other drivers using the
N2A03] (nw)

nes: Improved refresh rates and timings to reflect nesdev (nw)

nes: Softlist improvements and corrections [koko, mkgoogoo and others] (nw)

nes: Verified koko in the softlist as a good dump (nw)

nes: Softlist additions [subor5, subor6, subor10, subor11, subor13, doolybld]
(nw)

New not working machines added: Subor SB-486, M82 Display Unit (PAL) (nw)

nes: Marked drpcjr as NOT WORKING due to missing hardware. (nw)

New working machines added: Micro Genius IQ-501, Micro Genius IQ-502, Dendy Classic 2 (nw)

nes: marked dendy as a clone of iq501 (nw)
2017-03-21 07:46:36 -04:00
Miodrag Milanovic
ad2bedf06b Refactored HTTP handling to be easier to extend and use (nw) 2017-03-19 18:35:05 +01:00
Michael Zapf
5322568267 ti99/geneve: Bus mouse now a separate device, may also be used with evpc. 2017-03-19 00:22:33 +01:00
ajrhacker
1265aae040 Merge pull request #2154 from shattered/_b85368c
hp_ipc: de-skeletonize.
2017-03-16 23:35:15 -04:00
Sergey Svishchev
7d4d6382e7 hp_ipc: de-skeletonize. 2017-03-16 22:26:49 +03:00
Sergey Svishchev
7f12847c28 agat: split from apple2, implement basic agat7 hardware (take 2). 2017-03-16 18:16:52 +03:00
hap
7f5c0d8703 fix compile (nw) 2017-03-15 16:57:45 +01:00
R. Belmont
b72b363175 Merge pull request #2142 from shattered/_9a6d02f
ie15: convert to a device with frontends (take 2)
2017-03-15 10:47:12 -04:00
Sergey Svishchev
dc6b566136 ie15: convert to a device with frontends (standalone driver and rs232 slot device) (take 2) 2017-03-13 05:37:46 +03:00
Sergey Svishchev
8fd315da7e eurocom2, waveterm: new skeleton drivers (Eltec EurocomII SBC, PPG Waveterm A) 2017-03-12 17:17:06 +03:00
hap
3e867504c1 added hlcd0538 device (nw) 2017-03-10 16:44:33 +01:00
Vas Crabb
73e2a3f542 ti85.cpp: Convert TI-8x link port to a bus with emulated peripherals, should work with TI-82 and TI-85.
* tee allows two peripherals to be connected in parallel
* glinkhle is an RS232 (9600 8N1) adaptor
* bitsock sends raw assert/release line signals to/from a bitbanger device
* monospkr is a speaker connected between tip/ring in parallel and sleeve
* stereospkr is two speakers: left across tip and sleeve, right across ring and sleeve

Use glinkhle to make emulated calculators talk with cooked sockets, e.g.

    mame ti82 -linkport glinkhle -linkport:glinkhle:rs232 null_modem -bitb socket.127.0.0.1:2345

Use bitsock to make emulated calculators talk with cooked sockets, e.g.

    mame ti82 -linkport bitsock -bitb socket.127.0.0.1:2345

You can use tee to do stuff like listen to data activity for debugging purposes, e.g.

    mame ti82 -linkport tee -linkport:tee:a stereospkr -linkport:tee:b glinkhle -linkport:tee:b:glinkhle:rs232 null_modem -bitb socket.127.0.0.1:2345
2017-03-01 16:36:42 +11:00
Vas Crabb
6c23897483 Self-registering devices prep:
* Make device_creator a variable template and get rid of the ampersands
* Remove screen.h and speaker.h from emu.h and add where necessary
* Centralise instantiations of screen and speaker finder templates
* Add/standardise #include guards in many hearers
* Remove many redundant #includes
* Order #includesr to help catch headers that can't be #included alone

(nw) This changes #include order to be prefix, unit header if applicable
then other stuff roughly in order from most dependent to least dependent
library.  This helps catch headers that don't #include things that they
use.
2017-02-27 22:57:14 +11:00
Vas Crabb
ba8cbb9732 Revert "ie15: convert to a device with frontends (standalone driver and rs232…" 2017-02-27 17:43:31 +11:00
Sergey Svishchev
0b4832bdf3 ie15: convert to a device with frontends (standalone driver and rs232 slot device) 2017-02-27 00:16:35 +03:00
Mark Garlanger
9533352c6b Fix Heath H19 keyboard (#2066)
* Fix Heath H19 keyboard
* Fix how enable/disable of 25th line is handled.
* Updated to use internal ROM in MM5740.
2017-02-25 11:58:16 +11:00
ajrhacker
a0aa981a6e Merge pull request #2086 from kazblox/master
iNES Mapper 190 support, miscellanous cleanups in some drivers
2017-02-24 18:21:53 -05:00
Kaz
b9209aadbf nes: Add Magic Kid Googoo board. 2017-02-24 16:40:55 -05:00
Vas Crabb
8f15315a52 srcclean (nw) 2017-02-19 11:40:55 +11:00
R. Belmont
7b193346a8 Merge pull request #2068 from JoakimLarsson/prodigy_display
Prodigy display
2017-02-17 21:59:51 -05:00
couriersud
0716d96514 Reworked truthtables a bit.
- Moved 9312 and 74279 to ttl macro library.
- Renamed TTL_9312_* to DM9312. This is more appropriate.
- Fixed a number of warnings from latest ubuntu clang-5.0.
2017-02-17 20:10:15 +01:00
Joakim Larsson Edstrom
520e693dc2 prodigy: added new devices to script files 2017-02-17 09:05:30 +01:00
R. Belmont
1835b25d6d Merge pull request #2062 from shattered/_fb4f4dd
ms0515.cpp -- hook up keyboard and floppy, improve video emulation etc. (take 2)
2017-02-15 21:58:06 -05:00
Vas Crabb
fb087b6c92 Cherry-pick some features from self-registering drivers PoC:
* Use size_t for sizes and <algorithm> for algorithms
* Fix up some files that were getting linked into multiple libs
* Add missing virtual method to sh2 peripheral class
* Put shortname in driver struct for locality
* Use shared pointers in config LRU cache for safety
2017-02-16 12:20:35 +11:00
Sergey Svishchev
1837531d2d ms0515.cpp -- hook up keyboard and floppy, improve video emulation etc. 2017-02-13 22:09:31 +03:00
Olivier Galibert
a2557f1b02 Remove emu.h from headers (nw)
Per Vas' request.  If the compile fails for you (i'm thinking osx and
windows native debuggers here in particular), add '#include "emu.h"'
as first include of the cpp files that fail.

Due to our use of precompilation and forced inclusion, emu.h must be
included as the very first non-comment thing we do if we want to be
sure msvc compiles are identical to gcc/clang ones.  Doing it directly
instead of through an include increases the correctness probability by
a magnitude.
2017-02-11 18:31:20 +01:00
couriersud
9a71daa2e0 Make windows builds of nltool and nlwav understand unicode.
nltool and nlwav now use wmain, i.e. UNICODE main on windows. (nw)
2017-02-10 21:53:01 +01:00
couriersud
ab17457707 Make sure netlist includes are not found directly on include path.
Instead, they have to be prefixed by "netlist/". Removed unneeded link
librariers for nltool and nlwav along the way. (nw)
2017-02-10 21:52:09 +01:00
Miodrag Milanovic
d2d26c6771 added RGB unit testing (nw) 2017-02-09 11:19:36 +01:00
arbee
dd82e28c83 Get rid of now-deprecated a2lang (nw) 2017-02-06 21:24:56 -05:00
Curt Coder
f419eba57e vic20: Emulated the Data 20 Display Manager 40/80 column video cartridge. [Curt Coder] 2017-02-06 12:34:41 +02:00
Luca Elia
4170ed789e More complete Galaxy Games emulation: [Luca Elia]
- Created devices for the galaxy games carts (EEPROM + Flash + PIC) and the slot(s)
- Removed code patches and emulated the PIC communication and bank switching
- Converted the blitter to a device (cesblit.cpp)
- moved the Galaxy Games from tmaster.cpp to their own driver (galgames.cpp)

Provided the PIC code for all four StarPak cartridges [Keith M. Kolmos]

New working machines
--------------------
Galaxy Games StarPak 3
  [Keith M. Kolmos, Rod_Wod, Sean Sutton, Soren Skou Nielsen, Russell Howard, Francis Ramirez,
   Tourniquet, BrianT, coolmod, Smitdogg, The Dumping Union, Luca Elia]
2017-02-05 22:44:38 +01:00
ajrhacker
a59a5cbbb5 preliminary TLCS-870 disassembler - Work in Progress (#1967) 2017-02-05 16:36:06 -05:00
Miodrag Milanovic
18882607f9 Removed not needed files from bgfx build (nw) 2017-02-05 15:29:29 +01:00
Miodrag Milanovic
00ad4ab0ae Update build scripts, BX is now static library (nw) 2017-02-05 14:15:25 +01:00
Miodrag Milanovic
39370345d6 Remove some dependency between src/devices/ and src/mame (nw) 2017-02-05 12:46:44 +01:00
Vas Crabb
94e4c48732 Amiga keyboard updates:
* Put Amiga keyboard implementations in a namespace
* Factor out matrix keys to a common module shared by A500/A1200
* Make new German matrix based on US matrix with Alt-chars hooked up
* Remove outdated comment
2017-02-05 16:47:28 +11:00
Curt Coder
f626cefe85 c64: Emulated the PPP Speakeasy 64 (Votrax SC-01-A) cartridge. [Curt Coder] 2017-02-01 21:59:03 +02:00
Curt Coder
e4be985024 vic20: Emulated the PPP SpeakEasy (Votrax SC-01-A) cartridge. [Curt Coder] 2017-02-01 21:16:28 +02:00
Vas Crabb
06e22ce79d m6805: added skeleton CMOS devices
* Added m146805 and m68hc05 to unidasm
* Made opcode tables configurable in m6805_base_device, provided tables for HMOS, CMOS and HC families
* Implemented MUL instruction, made unimplemented STOP and WAIT raise fatal error
* Added skeleton MC68HC05C4 with RAM and ROM in correct locations in memory map
2017-01-30 23:10:51 +11:00
couriersud
c713f9ed1d Separate include file usage for netlist.
Device implementations (all cpp files in netlist/devices) now should
only include nl_base.h. 
Netlist implementation sources should only include "net_lib.h". 
Refactored netlist.h and netlist.cpp to avoid namespace congestion in
netlist.h.
Fixed VC2015 build. (nw)
2017-01-29 15:47:12 +01:00
Dirk Best
f2f55c1568 Amiga: Move and rename amiga sound device, add pinout and description 2017-01-29 12:42:58 +01:00
couriersud
5c88873a87 Cleanup of includes. (nw) 2017-01-27 15:22:17 +01:00
angelosa
4ba1c0f2ca Added stub Rainbow device (nw) 2017-01-26 17:52:11 +01:00
Julian Sikorski
4c6cae2570 Fixed building using system portaudio 2017-01-26 19:11:46 +11:00
Julian Sikorski
c50ddac28b Fixed building using system utf8proc 2017-01-26 09:28:21 +11:00
Vas Crabb
145cd1618f Merge tag 'mame0182' of https://github.com/mamedev/mame
MAME 0.182

Conflicts:
	src/mame/drivers/aristmk5.cpp
2017-01-25 12:21:30 +11:00
R. Belmont
5bb61a8965 Merge pull request #2016 from pmackinlay/interpro
Interpro
2017-01-24 14:02:51 -05:00
Patrick Mackinlay
875f3c9d12 initial pull request 2017-01-24 21:53:51 +07:00
Vas Crabb
192c09b374 comma (nw) 2017-01-23 19:42:19 +11:00
Vas Crabb
2d6477f872 This isn't behaving how I expect, investigate another time (nw) 2017-01-23 19:37:51 +11:00
Vas Crabb
110bc692fa portaudio needs COM (nw) 2017-01-23 19:12:47 +11:00
Dirk Best
189ac471b4 Convert the Amiga keyboards to a bus interface with slot devices 2017-01-22 11:51:09 +01:00
Vas Crabb
edf64df1db srcclean (nw) 2017-01-22 15:37:37 +11:00
Vas Crabb
f249941f3a Merge pull request #2007 from JoakimLarsson/miniforce
Miniforce and fccpu20 slot device
2017-01-22 15:25:55 +11:00
Joakim Larsson Edstrom
615b815259 Added fccpu20 to Miniforce as a VME card 2017-01-21 22:03:21 +01:00
hap
41e4bb5797 added hlcd0515 skeleton device (nw) 2017-01-21 01:46:33 +01:00
R. Belmont
da169d7fe0 Merge pull request #2002 from wilbertpol/hcd62121
hcd62121/cfx9850: several small cleanups (nw)
2017-01-20 15:29:12 -05:00
Vas Crabb
19a9122748 add logmacro.h inspired by Edstrom's log macros
* should be #included after other headers and after optionally #defining VERBOSE
* usage samples in z80scc.cpp and m68705.cpp

68705: add lots of logging to help trace issues
2017-01-20 16:53:12 +11:00
Wilbert Pol
fc16e06975 hcd62121: several small cleanups (nw) 2017-01-19 22:50:30 +01:00
couriersud
ca11021d73 Netlist:
- refactored reverse polish notation evaluator into own source files.
- added function parameter to current and voltage sources VS and CS.
  You can now use those to e.g. produce a sine wave.
- Changed code to allow devices to optionally be treated as dynamic or 
  timestepping devices.
[Couriersud]
2017-01-17 01:35:16 +01:00
Joakim Larsson Edström
976d3d5c7f Merge pull request #1990 from JoakimLarsson/mpcc_1
- WIP: Refactored device: MPCC 68561 (nw)
2017-01-16 23:55:05 +01:00
Joakim Larsson Edstrom
a2f105b8e4 - WIP: Refactored device: MPCC 68561 (nw)
- 68230 PIT: Added support for the PSR register, H1-H4 sense and direct pin levels
- WIP: fccpu20: added mpcc device and serial interface (nw)
2017-01-16 23:49:55 +01:00
Nigel Barnes
2188df0263 apd_dsk: new floppy format 'Archimedes Protected Disk' 2017-01-16 20:44:43 +00:00
Curt Coder
9d371eb5ba cop400: Properly separated COP444L from COP444C. [Curt Coder] 2017-01-16 22:06:11 +02:00
Curt Coder
af0805d848 cop400: Removed non-working, incomplete COP440 code. (nw) 2017-01-16 20:13:31 +02:00
intealls
e74399a722 fix msvc compile 2017-01-14 23:34:33 +01:00
couriersud
674077f89f Prepare source for consistent error message usage. (nw) 2017-01-14 16:35:57 +01:00
R. Belmont
32c13ad929 Merge pull request #1959 from intealls/pa_oct16
PortAudio library update and backend
2017-01-12 20:30:12 -05:00
Joakim Larsson Edstrom
be76377dcf New device: BIM 68153 2017-01-12 10:39:55 +01:00
Vas Crabb
02d69ca65a m6805: refactoring and improvements
* Moved 68705 devices into their own file.
* Made P3, P5 and U3 variants and made them load bootstrap ROMs.
* Implemented EPROM control (write is stubbed out with a logerror).
* Implemented differences for open drain I/O ports.

(nw) Base device with peripherals should really derive from the 6805
device directly, not the 68705 devices, as I/O ports are present on mask
devices (e.g. 6805P2).  All drivers and devices that were using
M68705_NEW have been changed to M68705P5 - someone who knows the drivers
better should fix them up.
2017-01-12 19:05:12 +11:00
inte alls
cd03a64284 Initial PortAudio backend with build script changes to support library version 20161030 2017-01-11 20:24:00 +01:00
couriersud
9d3d07b771 Move netlists into macro folder. (nw) 2017-01-09 00:28:31 +01:00
R. Belmont
4cd61d1c72 Merge pull request #1926 from fulivi/hp9845_dev9
HP9895 dual-floppy drive (WIP)
2017-01-05 15:07:40 -05:00
Joakim Larsson Edström
34c3e7866b Merge pull request #1927 from JoakimLarsson/vme_1
Converted fcisio1 and fcscsi1 boards to VME slot devices
2017-01-05 17:37:59 +01:00
Joakim Larsson Edstrom
52906f6ede - Force Computers VME boards: Converted fcisio1 and fcscsi1 board drivers to VME slot devices and added VME interface to the fccpu30 board driver
- hd63450.h: Added harness against multiple inclusions
- Cleaned up LOG macro usage
2017-01-05 17:34:07 +01:00
fulivi
5e2bf6ea13 hp9845: draft of HP9895 floppy drive. PHI passes POST. 2017-01-05 12:12:33 +01:00
couriersud
02c3f45bff Fix clang "-Wno-weak-vtables" warnings in netlist source. Refactored
code along the way. (nw)
2017-01-05 01:43:31 +01:00
Joakim Larsson Edström
7907229e28 Merge pull request #1922 from JoakimLarsson/vme1
VME: converted mvme350 board driver to slot device and a general cleanup
2017-01-04 20:31:55 +01:00
Joakim Larsson Edstrom
25a3e81a1f VME: converted mvme350 board driver to slot device and a general cleanup 2017-01-04 20:30:13 +01:00
couriersud
78ef96336e Added SIGFPE enabling code to plib/pexception.*. Moved plib exceptions
into these files as well. The code uses <cfenv> which is part of c++11
standard. Non-standard glib extensions are currently only used on linux
and (i386 or x86_64). (nw)
2017-01-04 18:01:22 +01:00
Miodrag Milanovic
63e3f48775 Added initial HTTP/HTTPS webserver/websocket server support (nw) 2017-01-04 16:15:57 +01:00
Joakim Larsson Edstrom
f6a7d59496 Moved and renamed mame/bus/vme files to devices/bus/vme for now 2017-01-02 13:55:34 +01:00
Nathan Woods
123ccb1790 Heh missed these too 2016-12-31 20:07:30 -05:00
Nathan Woods
4f08110c53 Introduced 'ext_lib("utf8proc")' to a number of the tools builds 2016-12-31 17:07:14 -05:00
Nathan Woods
5be1b8e6e0 Introduced utf8proc and created wrapper code to expose a prettier API 2016-12-31 11:17:07 -05:00
Brad Hughes
b47ec24df6 Move special windows.h include directives to build defines (nw) 2016-12-28 15:07:28 -05:00
couriersud
6eaa60953f Slightly better solution to the VME issue. (nw) 2016-12-28 15:58:30 +01:00
couriersud
301a967276 Fix linking issues due to VME commits. All vme bus objects files are now
in the mizar lib. This is suboptimal, but the code seems to
crossreference across object files and from the bus code into the driver
code. 
At least the source now links again. (nw)
2016-12-28 15:01:33 +01:00
couriersud
63f4e52dae Moved proxy code into separate file. (nw) 2016-12-28 13:48:48 +01:00
MooglyGuy
92820ea460 Merge pull request #1880 from JoakimLarsson/VME_1
-mzr8105: Added VME device and divided mzr8105 in board and card devices. [Edstrom]
2016-12-26 23:38:40 +01:00
Joakim Larsson Edstrom
9bfcd85cc3 Added VME device and divided mzr8105 in board and card devices. Naughty segfault needs to be fixed (nw) 2016-12-26 22:49:50 +01:00
MooglyGuy
fbb8ee0fe8 -netlist: Added 82S123 256-bit (32x8) TTL bipolar PROM. [Ryan Holtz] 2016-12-24 22:09:59 +01:00
therealmogminer@gmail.com
9c4c4d0a5b -netlist: Added 82S126 4kbit (512x8) TTL bipolar PROM. [Ryan Holtz] 2016-12-23 23:29:45 +01:00
Vas Crabb
f5bc78c211 netlist: Added 4316 bilateral switch pack. 2016-12-23 14:54:54 +11:00
therealmogminer@gmail.com
677aaaec3d -netlist: Added 74165, 74194, 7475, 7485, and DM9322 devices. [Ryan Holtz] 2016-12-22 19:39:52 +01:00
AJR
ff68193741 Overhaul of devcb (nw)
- Allow stringing multiple callbacks together recursively. Chained callbacks will be read or written in sequence, and each can be configured with its own type and mask/shift/XOR parameters.
- Chained input callbacks cannot have overlapping masks (there's no such thing as a free multiplex). Chained output callbacks have no such restriction.
- Remove the constant parameter for the LOGGER callback type: it makes no sense for output, was always zero in existing usage, and is now unnecessary with callback chaining.
- Change LOGGER behavior for writes to log the user-defined message only if the output as masked is nonzero. With callback chaining, this can be used to monitor when individual bits become active.
- Constant read callbacks can no longer have MCFG_DEVCB_XOR or MCFG_DEVCB_INVERT specified (makes no sense in this context).
- Add a MEMBANK callback type to allow output bits to be used for bank-switching.
- Add ASSERTLINE and CLEARLINE callback types that raise or lower an interrupt line if the selected bit of the written value is active. These are intended for where periodic or ready-pulse signals from devices are used to trigger IRQs that the CPU program will independently acknowledge.
- Add MCFG_DEVCB_BIT as shorthand for masking and shifting out an individual bit for a callback.
- Removed DEVCB_LINE_DISPATCH_<n>. Where we're going, we don't need line dispatcher devices.

The incompatibility of compilers with regard to post-C90 printf string formats is shockingly bad. There seems to be no easy way to format a 64-bit value and please both gcc and clang, let alone MSVC.
2016-12-21 15:20:54 -05:00
therealmogminer@gmail.com
66abfa8e6d -netlist: Added shared RAM pointer, for use by netlist RAM devices which need updating by non-netlist driver code. [Ryan Holtz]
-netlist: Added new devices: [Ryan Holtz]
 * Intel 2102A 1Kbit (1024 x 1) Static RAM
 * 74365 Hex Bus Driver with 3-State Outputs
 * Generic 2- and 3-terminal Tristate device
 * Note: Tristate device and 74365 do not actually tristate, they are simply a way of combining multiple outputs + chip enables.
2016-12-21 20:32:49 +01:00
therealmogminer@gmail.com
4a71e6bdcf -netlist: Added 74166 Parallel-Load 8-Bit Shift Register device. [Ryan Holtz] 2016-12-21 20:32:48 +01:00
therealmogminer@gmail.com
e3e38025c3 -netlist: Added 2716 16 Kbit (2 Kbit x 8) UV EPROM. [Ryan Holtz] 2016-12-21 20:32:47 +01:00
therealmogminer@gmail.com
32d0f10418 -netlist: Added 74174 Hex D-Type Flip-Flop with Clear [Ryan Holtz] 2016-12-21 20:32:47 +01:00
therealmogminer@gmail.com
19165cfbfd netlist: Added 82S126 1K-bit bipolar PROM device. [Ryan Holtz] 2016-12-21 20:32:47 +01:00
therealmogminer@gmail.com
72f4f2a20e netlist: Device additions: [Ryan Holtz]
* 74161 Synchronous 4-Bit Binary Counter with Clock
 * 7473 Dual Master-Slave J-K Flip-Flops with Clear and Complementary Outputs
 * Am2847 Quad 80-bit Static Shift Register
 * DM9334 8-bit Addressable Latch
2016-12-21 20:32:46 +01:00
Ville Linde
dbcf903c78 Added preliminary MB86235 recompiler [Ville Linde] 2016-12-17 22:09:09 +02:00
Joakim Larsson Edström
f34174de56 Added coco2 clone t4426 (nw) (#1819)
* Added coco2 clone t4426 (nw)
2016-12-16 14:37:33 +01:00
Vas Crabb
be26ac9abf coretmpl: add an associative LRU cache with map-like behaviour
selmenu: use LRU cache so icons don't all need to be reloaded on scroll

uismall.bdf: set default character for missing glyphs

rendfont.cpp:
* encapsulate many BDF and BDC handling details
* make file I/O 64-bit clean, check for allocation errors
* more solid BDF parser with error messages and trace logging
* fix heap smash when building bitmaps for BDF fonts
* extend BDC format to support high planes and default character
* render default character if glyph not found for BDF/BDC
2016-12-15 17:00:34 +11:00
Dirk Best
92ce7cd13c beezer: Rewrite driver
- Uses the standard 6840 PTM core for sound generation
- New MM583 Noise Generator device
- New DAC-76 DAC sound
- Use resistor network values for colors
- Use bankdev device for banking
2016-12-12 01:08:29 +01:00
Miodrag Milanovic
124f30dbbc Enable building projects that are separate of MAME but use same core and lives in separate git tree (nw) 2016-12-08 11:46:15 +01:00
R. Belmont
84f9def81f Merge pull request #1788 from ajrhacker/ls157
Create new 74LS157 device and hook it up to MSM5205 on Rastan
2016-12-02 16:13:12 -05:00
cracyc
5ad9b67e1d new not working
----------------
Dulmont Magnum [Carl, Dave Jones]

isbc: new isbc8630 sct set [Al Kossow]
2016-12-02 15:07:26 -06:00
AJR
5044432ff6 Create new 74LS157 device and hook it up to MSM5205 on Rastan 2016-12-02 06:59:45 -05:00
Dirk Best
d7ae91ffb2 Create an ef9369 device and use it for guab 2016-11-30 18:35:03 +01:00
Vas Crabb
7238415d1f srcclean (nw) 2016-11-27 09:56:49 +11:00
Miodrag Milanovic
dbbd5e9c98 As promised, removing this part of code since it is used for compilers check, no need for this to be in release (nw) 2016-11-23 08:37:05 +01:00
fulivi
a7ee0a41e9 hp9845: implemented 98034 module (HPIB interface) 2016-11-22 09:53:39 +01:00
Brad Hughes
f9a6e8711b Remove unneeded 7z file that is unsupported by UWP (nw) 2016-11-19 18:47:49 -05:00
Vas Crabb
bb99eba11d Update LZMA to 16.04 (security and portability fixes) 2016-11-18 20:37:20 +11:00
Vas Crabb
aef214ac80 Merge pull request #1718 from npwoods/dasmstream_nec
Changed the NEC disassembler to use 'std::ostream &' internally
2016-11-17 11:33:06 +11:00
Miodrag Milanovic
8e61a7d3d3 Added VS2017 support into project files (nw) 2016-11-16 21:00:29 +01:00
Miodrag Milanovic
47a05778bf Updated SDL2 to 2.0.5 (nw) 2016-11-16 16:28:01 +01:00
Nathan Woods
dc4086847a Put necv_dasm_one() into a header file 2016-11-16 08:07:33 -05:00
Miodrag Milanović
3d09d05647 Merge pull request #1676 from mmicko/testing
Add more applicable Catch testing framework. Converted all tests to be done properly by guideline. (nw)
2016-11-14 15:30:11 +01:00
Miodrag Milanovic
b73126e85a added OPTION_HOMEPATH to point to read/write folder,for now used by LUA scripts (nw)
Copied all needed files so plugins could be started under UWP
2016-11-12 15:27:22 +01:00
Miodrag Milanovic
75c6c0f059 Make executable for test follow rules for main file (nw)
Make normal notation for require (nw)
Split properly tests (nw)
2016-11-12 14:54:21 +01:00
Miodrag Milanovic
3c577aedb8 Converted existing test to catch framework (nw) 2016-11-12 11:12:11 +01:00
Brad Hughes
2e49823a06 Add basic keyboard input to UWP (nw) 2016-11-11 12:58:41 -05:00
Miodrag Milanovic
7c765ea147 No need for osd_malloc, osd_malloc_array and osd_free (nw)
MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
2016-11-11 16:12:01 +01:00
Miodrag Milanovic
46fa51e60e move asset files to proper place 2016-11-11 09:43:42 +01:00
Brad Hughes
bcabf45f08 UWP builds again but by no means working (nw) 2016-11-10 16:26:05 -05:00
Miodrag Milanovic
0f877e08b3 Fixed android build (nw) 2016-11-10 19:14:44 +01:00
Miodrag Milanovic
9c364cdfa9 Adding video and window code to UWP(nw) 2016-11-10 14:53:56 +01:00
Miodrag Milanovic
a18497e7a2 Some more work on UWP (nw) 2016-11-10 13:13:51 +01:00
Miodrag Milanovic
cddd8bbe7a Add more UWP support (nw) 2016-11-09 15:44:44 +01:00
Miodrag Milanovic
0d1f5b6be4 Make 3rdparty compile for UWP and start adding new OSD for UWP based on previous Brad work (nw) 2016-11-09 14:53:19 +01:00
Miodrag Milanovic
114aa294cd Fix some single driver builds (nw) 2016-11-08 12:28:56 +01:00
Miodrag Milanovic
cf4a8b9e03 resurected sqlite3 and lsqlite3 (nw) 2016-11-07 16:12:06 +01:00
Miodrag Milanovic
e2d2355352 Trying to do link fix (nw) 2016-11-07 14:47:17 +01:00
Miodrag Milanovic
de7e80804e Added ability to use ASIO in all core MAME parts (nw) 2016-11-07 10:47:27 +01:00
Miodrag Milanovic
fc58a0bec8 Added basic HTTP server, not active yet, based on ASIO example with small refactoring included (nw) 2016-11-07 10:42:23 +01:00
cracyc
2de04414ed plugins/console: add lua console [Carl] 2016-11-06 13:41:43 -06:00
R. Belmont
f05e7ffad0 Merge pull request #1637 from fulivi/hp9845_dev7
Hp9845: re-implemented 98035 module with a nanoprocessor driver
2016-11-05 14:22:46 -04:00
Miodrag Milanovic
421b5e2638 Added lua-linenoise by Carls request (nw) 2016-11-04 15:25:21 +01:00
Miodrag Milanovic
2682adc5d7 Fixed x64 builds with new luaengine on VS2015(nw) 2016-11-03 19:09:55 +01:00
fulivi
5f54097e53 nanoprocessor: initial support. Disassembler only is known to work at this point. 2016-11-03 14:52:41 +01:00
Miodrag Milanovic
e2d58b6a16 ASIO - header only mode (nw) 2016-11-02 14:34:06 +01:00
Justin Kerk
4efc19b68a Update bgfx shader path for Emscripten build (nw) 2016-11-01 06:11:18 +00:00
Miodrag Milanovic
73bdc2ab36 added non-legacy i82439tx and created a driver using it in pcipc (nw)
added vga hack to be able to test pcipc.cpp
pcipc -bios 3 and pcipctx can initialize more if 0xAA is written at 0x4f0
2016-10-30 17:40:04 +01:00
R. Belmont
86548bc507 Merge pull request #1557 from ajrhacker/inputdev
Polymorphize input_device and input_class; move to separate source fi…
2016-10-29 20:41:28 -04:00
Branimir Karadžić
a3b4058bf7 Updated BGFX and BX and recompiled shaders (nw) 2016-10-29 09:11:50 +02:00
Justin Kerk
b99be73f2d Experimental support for compiling to WebAssembly using Emscripten (not yet working) (nw) 2016-10-29 06:00:45 +00:00
therealmogminer@gmail.com
fc5fc6d4c2 New devices added
-----------------
7400 Quad 2-Input NAND Gate [Ryan Holtz]
7404 Hex Inverter [Ryan Holtz]
82S126/82S129 256x4-bit PROM [Ryan Holtz]
2016-10-28 20:08:21 +02:00
therealmogminer@gmail.com
c35c2a9cdc New devices added
-----------------
54/7416x Hex/Quad D Flip-Flops with Clear [Ryan Holtz]
9334/DM9334 8-Bit Addressable Latch [Ryan Holtz]
2016-10-28 02:37:23 +02:00
therealmogminer@gmail.com
93735cdf7e -core: Added 54/74160,161,162,163 device emulation. [Ryan Holtz] 2016-10-28 02:37:22 +02:00
therealmogminer@gmail.com
8225a140ee -hazeltin: Added preliminary video, still broken due to timing issues. [Ryan Holtz] 2016-10-27 13:46:42 +02:00
AJR
99c705f9de Polymorphize input_device and input_class; move to separate source file (nw) 2016-10-24 17:28:35 -04:00
Nathan Woods
293bfef845 Merging Konami disassembler with M6809/HD6309 disassemblers 2016-10-23 21:27:45 -04:00
Nathan Woods
81294aa08f Merged the M6809 and HD6309 disassemblers, and changed to properly use streams 2016-10-23 18:03:36 -04:00
Vas Crabb
129c0feeed srcclean (nw) 2016-10-23 22:36:24 +11:00
Miodrag Milanovic
f5d88ac12e fix VS build (noticed only when using MSBUILD=1) (nw) 2016-10-23 11:36:36 +02:00
Miodrag Milanovic
ddb290d5f6 NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
2016-10-22 13:13:17 +02:00
Miodrag Milanovic
e2f54f5333 Cleanup, TIMER_CALLBACK was only in unused parts (nw) 2016-10-21 16:26:22 +02:00
smf-
36944269bd DAC WIP, started documenting the DACs in use. [smf]
ataxx: Fixed missing sound channel caused by one dac not being hooked up and one dac being hooked up to two addresses.
bestbest: Fixed high pitch screech caused by incorrect addressing (two dacs weren't hooked up and two were hooked up to two addresses).
cchasm: Fixed static noise generation caused by feeding the same bit to both dacs.
cheekyms: Slightly improved sound by implementing sound triggers as 8 x 1 bit dacs instead of 1 x 8 bit dac.
galeb: Fixed sound by implementing it according to http://www.deltasoft.com.hr/retro/galebemu.htm & implemented enough of LOAD/SAVE to stop it hanging.
hard drivin: (all games in driver) Improved 12 bit controls, although centre still goes out of sync.
mea8000: Converted to a sound device.
megaphx: Fixed noisy samples due to wrong format.
microvsn: Fixed sound pitch caused by incorrect usage of write_signed8().
seicross: Changed to a 4 bit dac as samples are packed nibble.
spaceg: Preliminary sound using space invaders samples.
suna8: Changed to a 4 bit dac as samples are packed nibble.
vcombat: Fixed static during machine gun fire due to incorrect dc offset removal.
vectrex: Fixed noisy samples due to wrong format.
wheelfir: Fixed sound, eeprom & analogue steering wheel and brake pedal.
2016-10-17 16:04:02 +01:00
therealmogminer@gmail.com
8682c73305 -Added: Dallas DS1386-8K and DS1386-32K timekeepers (largely untested). [Ryan Holtz] 2016-10-16 01:49:06 +02:00
R. Belmont
326e4ba64c Merge pull request #1506 from fulivi/hp9845_dev6
Hp9845: added support of I/O cards
2016-10-13 14:05:19 -04:00
fulivi
561ded4524 hp9845: handling of I/O slots added. Implemented HP98035 RTC card. 2016-10-12 16:29:02 +02:00
Miodrag Milanovic
25ce0fdf9b console in separate class (nw) 2016-10-12 14:21:17 +02:00
Miodrag Milanovic
ac6256b3e5 media_identifier in separate file (nw) 2016-10-12 13:50:30 +02:00
Brad Hughes
fd94538c21 Changing spaces to tabs for fac14f5 (nw) 2016-10-09 19:51:12 -04:00
Brad Hughes
fac14f51d8 Fix SDL build on windows: asio.hpp requires _WIN32_WINNT (nw) 2016-10-09 19:45:17 -04:00
Miodrag Milanovic
3c4c4e08ed Initial work on console interface (nw)
Use Ctrl-Z to close console on any OS. To start use -console parameter
2016-10-09 14:38:41 +02:00
Miodrag Milanovic
3628549385 Added more warning disable to support compile on various clang versions (nw) 2016-10-08 09:37:31 +02:00
Miodrag Milanovic
31c8b10479 Fix compile (nw) 2016-10-07 14:56:47 +02:00
Miodrag Milanovic
c0a5494de5 Replaced code usage of libuv with asio library (nw) 2016-10-07 14:15:01 +02:00
AJR
f1b0dfe64a Separate natural keyboard support from ioport.cpp (nw) 2016-10-02 00:07:43 -04:00
angelosa
f4749d03f7 Base WatchDog Timer device 2016-09-27 18:36:59 +02:00
angelosa
f6ad513ab0 Written stub SH7604 BUS device (not hooked up to SH2 yet). 2016-09-27 16:21:54 +02:00
Vas Crabb
33b2c73395 srcclean (nw) 2016-09-26 04:51:59 +10:00
Nigel Barnes
6a19971bbe bbc: added opus challenger (floppy and ramdisc) device on 1mhz bus 2016-09-23 11:53:24 +01:00
Nigel Barnes
b396019b8c bbc: added joyport slot device to Master Compact, defaulting to joystick 2016-09-23 10:55:28 +01:00
Michael Zapf
2bf93a51e8 Added HxC HFE disk format. 2016-09-18 12:31:13 +02:00
Vas Crabb
76a6b78008 Merge pull request #1413 from npwoods/coco_dragon_fdc
CoCo and Dragon FDC code overhaul
2016-09-17 12:32:38 +10:00
Nathan Woods
a2daca9f9d Split CoCo and Dragon FDC code, added save state support, fixed regression introduced on the Dragon FDC from 0.154 and general cleanup. 2016-09-16 21:07:32 -04:00
R. Belmont
0ecea843d0 Merge pull request #1398 from fulivi/hp9845_tools
Imgtool now supports HP9845B tape image
2016-09-16 14:05:35 -04:00
Brad Hughes
d5ab804c2b Merge pull request #1403 from bradhugh/monitor_module
Convert OSD monitor info to modules plus add DXGI implementation
2016-09-16 13:51:18 -04:00
cracyc
8ab7875e89 mcd: add incomplete Mitsumi ISA CDROM emulation [Carl] 2016-09-16 10:07:34 -05:00
Brad Hughes
bf52d11826 Convert OSD monitor info to modules plus add DXGI implementation 2016-09-14 08:32:05 -04:00
Olivier Galibert
d8aa10fbc1 pcipc: sandbox for emulating a modern-ish pc (nw) 2016-09-12 11:55:16 +02:00
fulivi
0474948833 imgtool: WIP for hp9845 tape support 2016-09-10 15:52:06 +02:00
cracyc
9d101cad6a ui: remove datfile_manager (nw) 2016-09-06 22:11:01 -05:00
Curt Coder
c4d0fbc48b pc1512: Added mouse port slot interface. [Curt Coder] 2016-09-05 22:09:58 +03:00
Nigel Barnes
7ae7811ca1 bbc: moved joystick to analogue port slot device
- added Voltmace self-centering joysticks
2016-09-05 17:38:07 +01:00
Nigel Barnes
e7250d3c92 bbcb: moved fdc to slot device to support various controller boards:
- Acorn 8271 and 1770, supporting Acorn, Amcom, Watford DFS's
- Cumana QFS (8877a)
- Opus DDOS and EDOS (1770, 2793, 2791)
- Watford DDFS (1770 and 1772)
- removed fake bbcb1770 machine
2016-09-05 17:38:07 +01:00
Miodrag Milanovic
22df94bf67 Fix benchmarks build and google test build (nw) 2016-09-03 14:54:15 +02:00
Miodrag Milanovic
9a8964d5d0 Fix build (nw) 2016-09-03 13:53:44 +02:00
Nigel Barnes
2aed582096 electron: added Acorn Plus 3 expansion as slot device (floppy support)
- reset expansion devices on BREAK
- minor progress on M2501 device
2016-09-02 21:47:02 +01:00
Vas Crabb
234e91f9fb Add Lua-cleaning ability to srcclean 2016-08-30 14:57:38 +10:00
Miodrag Milanovic
62fe8b8980 some C++14 features are not supported by VS2013. VS2015 is free for home use so no need for legacy support (nw) 2016-08-27 11:15:38 +02:00
Vas Crabb
75be4dff5f While I'm causing full recompiles all the time, reduce necessary number of instantiations of parts of string formatting engine 2016-08-27 16:45:53 +10:00
therealmogminer@gmail.com
de19eb547f Added YM2203, YM3526, AY-3-8910, NES APU, DMG APU, K053260, and MultiPCM to vgmplay, nw 2016-08-18 16:09:12 +02:00
Curt Coder
e85958b647 compis: Created a bus for the graphics card slot. [Curt Coder] 2016-08-16 11:15:29 +03:00
Olivier Galibert
82c408f54c dirom: device_rom_interface for sound chips with rom/memory map alternative [O. Galibert] 2016-08-15 22:36:39 +02:00
Giuseppe Gorgoglione
318952746f gba: make video subsystem into a device
Additional info taken from http://problemkaputt.de/gbatek.htm
by Martin Korth
2016-08-15 19:23:16 +02:00
Miodrag Milanovic
4f84793a05 made proper formats compiled only if needed (nw) 2016-08-12 18:27:54 +02:00
Miodrag Milanovic
b966180061 Compile netlist and lua only if used (nw) 2016-08-12 15:03:45 +02:00
Nathan Woods
75f5be77b0 Changed how ROM_COPY and ROM_FILL are represented in tiny_rom_entry to be more how they were in the past
Turbosub had a ROM_COPY declaration with an expression ('ROM_COPY( "main_code", 0x18000 + 0x2000,...) and this simply did not work with the new model.  This required changing ROM_* declarations to more resemble how they used to be and to perform the conversion on load.
2016-08-11 17:16:35 -04:00
Curt Coder
8bf6e9ebb5 pofo: Added skeleton for PCD3311T sound chip. (nw) 2016-08-10 13:05:14 +03:00
Curt Coder
6673af1285 pofo: Added memory card slot interface and ROM/RAM cards. [Curt Coder] 2016-08-08 14:44:20 +03:00
Miodrag Milanović
f67311c5a5 Merge pull request #1180 from npwoods/split_softlist_code_redo
Redo of split of src/emu/softlist.[cpp|h]
2016-08-08 13:43:06 +02:00
Miodrag Milanovic
3917850b61 Update BX and BGFX (nw) 2016-08-06 14:20:16 +02:00
Nathan Woods
c77310389e Removed src/lib/util/cstrpool.[cpp|h]; it is no longer used 2016-08-05 08:29:32 -04:00
James Wallace
2fb36796fb Separation of the LDP-1450 laserdisc player to its own device. 2016-08-04 20:12:01 +01:00
Nathan Woods
f9db568146 Redo of split of src/emu/softlist.[cpp|h]
This is a redo of the split first submitted in #137, with the following differences:
* The newly refactored rom_entry data structure is used
* I've kept the refactored softlist code in src/emu, in order to defer the mechanical process of moving it
* I've kept includes of softlist[_dev].h out of diimage.h, so that changes to either do not trigger an emu.h recompilation
* Obviously, this goes against the latest master
2016-08-02 17:40:49 -04:00
Nathan Woods
ee302246c9 Changes rom_entry from a struct to a class, storing its strings as std::string and separated the declaration into a new header.
This should really be followed up by further changes to eliminate the usage of the weird accessor macros in favor of conventional C++
accessors
2016-08-01 08:01:34 -04:00
Vas Crabb
5fe3b907af make buffered serial a mixin to promote reuse [Vas Crabb] 2016-07-30 20:34:16 +10:00
Dirk Best
c597f40d83 apricot: create bus interface for the keyboard interface, make hle keyboard emulation a bus device 2016-07-30 11:17:07 +02:00
Dirk Best
412ca1644c apricot: move expansion bus to its own directory 2016-07-30 11:17:03 +02:00
Vas Crabb
eac2a1fcc5 Keyboard/terminal improvements: [Vas Crabb]
* Mark lots of things constexpr in attotime and turn macros into functions
* Add base classes for HLE matrix keyboard and buffered RS232 device
* Make generic keyboard/terminal more usable
* Keyboard has configurable typematic delay/rate
* Keyboard has selectable JIS/ANSI layout
* Keyboard handles simultaneous keypresses more intuitively
* Keyboard uses meta to set high bit
* Terminal has configurable auto LF on CR, auto CR on LF and local echo
* Terminal has audible bell
* Untangle Olivetti M20 keyboard from generic_keyboard
* Add notes to Olivetti M20 keyboard emulation
* Make Olivetti M20 keyboard match physical layout
* Untangle RM Nimbus keyboard from generic_keyboard
* Fix natural keyboard mode with RM Nimbus
* Untangle x68k keyboard from generic_keyboard
* Improve x68k key names and mapping
* Improve x68k typematic behaviour
* Untangle QX-10 keyboard from generic_keyboard
* Keep NGEN keyboard barely working
2016-07-27 21:59:32 +10:00
Nathan Woods
4aa0ab1724 Moved src/emu/hash.[cpp|h] into src/lib/util, and namespaced that code (and hashing.[cpp|h]) into util:: 2016-07-23 12:49:33 -04:00
Dirk Best
6b70c2a0e8 Add a device as proof of concept which merges several input lines into a common output line, supporting both active high and active low inputs 2016-07-23 15:33:15 +02:00
Miodrag Milanovic
a9e89e4f17 Fixed separate compile of drivers using sharc/ADSP21062 cpu (nw) 2016-07-23 11:10:17 +02:00
Vas Crabb
269e3f9976 Add an emulated Sun keyboard to RS232 adaptor [Vas Crabb] 2016-07-22 17:02:22 +10:00
Vas Crabb
e2774ba254 sunkbd: split up HLE into proper type 3, type 4 and type 5, hook up sun3 family keyboard, set default keyboard appropriately for different families [Vas Crabb] 2016-07-22 15:21:40 +10:00
Vas Crabb
19ce9fd41a Make Sun keyboard port its own bus [Vas Crabb] 2016-07-21 02:25:42 +10:00
Miodrag Milanovic
58f3467d59 temp for mingw gcc 6.1 till update bgfx code (nw) 2016-07-20 17:10:06 +02:00
Nigel Barnes
91fa0d4397 bbc: added preliminary slots for expansion 2016-07-18 17:00:40 +01:00
Olivier Galibert
4992a769c6 Merge pull request #1113 from shattered/_c600e49
poisk1: unbreak after "Memory fun" + add B623 sound card (skeleton) and basic softlist
2016-07-17 21:20:42 +02:00
Sergey Svishchev
810dd0af8c poisk1: B623 sound card (skeleton) and basic softlist 2016-07-17 20:08:31 +03:00
Vas Crabb
63477dd345 HLE serial keybord compatible with Sun Type 4/5/6 connected to sun4/sun4c [Vas Crabb]
The keyboard should communicate at 1,200 Baud, but due to bugs in the SCC
it's set to 9,600 Baud.  The sun4c machines program the Baud rate
generator dividers for the serial ports with 00:0e and the dividers for
the keyboard/mouse ports with 00:7e.  Therefore the ratio of Baud rates
should be (0x7e + 2) / (0x0e + 2) = 128 / 16 = 8.  However both the RS232
ports and the keyboard/mouse ports run at 9,600 Baud, when the
keyboard/mouse ports should run at 1,200 Baud (which is 1/8 of 9,600 which
matches the ratio of the divider values).

I've artificially limited the rate the keyboard can transmit at to be no
faster than it could at 1,200 Baud using a timer.  I can remove this hack
once we get correct SCC divider behaviour.

I attempted to hook up the SCC interrupts to level 12 as specified in the
SPARCstation-1 Programmer's Model in the table on Page 19.  No interrupts
seem to be generated, so either I've screwed this up somehow, the Sun
isn't enabling interrupts, or there's another bug in the SCC emulation.
Sorry if I've screwed it up - I won't be offended if someone replaces it
wholesale.

The keyboard receives the reset commands from the Sun and sends back the
self test pass response, but the SCC seems to get a buffer overrun error.
So it appears that the received data isn't being read out.  I haven't been
able to work out why.
2016-07-18 01:13:19 +10:00
Nigel Barnes
201dcedd2d fix mistake (nw) 2016-07-16 21:54:00 +01:00
Nigel Barnes
e7b79b1b52 New NOT WORKING machine
=======================
BT Merlin M2105  [Nigel Barnes]
2016-07-16 21:49:17 +01:00
Nigel Barnes
9104c9d523 renamed bbc_dsk to acorn_dsk
- split ssd/dsd formats
- added opus ddos format
- split adfs into oldmap and newmap formats for archimedes
- logging
2016-07-16 19:48:44 +01:00
R. Belmont
13c8e76cf7 Merge pull request #1093 from stevenc99/kfreebsd
GNU/kFreeBSD support
2016-07-16 06:09:32 -04:00
R. Belmont
72b19e0c25 Merge pull request #1072 from oxc/pkg_config_from_env
Take pkg-config path from env if defined
2016-07-16 06:04:52 -04:00
Vas Crabb
231bfb6237 UI refactoring: [Vas Crabb]
* .h -> .ipp for things that aren't really headers
* make more stuff in selmenu private
* move the remembered driver/software associated with the snap to the cache object
* start cleaning up constness in datfile manager - it's still a mess of non-const statics
2016-07-15 16:05:23 +10:00
Steven Chamberlain
ad91a1391c qtdbg: compile with -fPIC on freebsd also 2016-07-13 13:31:11 +01:00
Vas Crabb
32873fc1dd balance configuration macros in genie scripts 2016-07-13 20:25:11 +10:00
Nathan Woods
649e4c797b Split "widgets" code out of ui::menu::global_state into a separate module 2016-07-10 17:22:49 -04:00
Bernhard Frauendienst
cb5495f738 Take pkg-config path from env if defined 2016-07-09 22:49:30 +02:00
Vas Crabb
1abf53ca6a UI code refactoring: [Vas Crabb]
* Split out main menu and dat box drawing from base class
* Make a bunch of class statics proper per-machine persistent objects
* Object lifecycle fixes
2016-07-10 03:01:13 +10:00
Joakim Larsson Edstrom
1459d8316c New device: FGA-002 Force Gate Array, splitted out from fccpu30 driver, mostly a skeleton but most registers can be written and read back, 8 bit timer is implemented 2016-07-06 20:45:59 +02:00
Nathan Woods
c105b9d8a9 Split UI related to file creation from filesel.[cpp|h] into filecreate.[cpp|h] 2016-07-03 13:12:52 -04:00
Brad Hughes
f37865b329 Add a couple msys2 updated mingw headers to winsdk-override to support linux cross-compile with stock mingw-w64 (nw) 2016-07-02 16:03:01 -04:00
Jeffrey Clark
245b8d4163 android strip SDL lib (nw) 2016-06-30 16:26:44 -05:00
Olivier Galibert
ff2887100f ym2413: Isolate, objectify, integrate [O. Galibert] 2016-06-29 19:26:19 +02:00
Olivier Galibert
ded91ac888 ym2151: Isolate, objectify, integrate [O. Galibert] 2016-06-29 19:26:10 +02:00
Miodrag Milanovic
b6a6a03fa5 fix for Android build (nw) 2016-06-28 11:04:56 +02:00
Nathan Woods
5009b55430 Introduced src/lib/util/timeconv.[c|h], moved code from un7z.cpp into it, and implemented win_time_point_from_filetime() in terms of it 2016-06-26 08:12:07 -04:00
Vas Crabb
5cee9e9bc4 POSIX implementation for new directory read features, cleanup of Windows implementation, return directory handle as smart pointer, fix full build [Vas Crabb] 2016-06-25 03:35:23 +10:00
etabeta78
3177a9c3ed sg1000.cpp: many improvements [Enik Land]
- Create a SG-1000 expansion slot.
  - Hook up the SG-1000 expansion slot to sg1000.cpp and sms.cpp (sg1000m3).
  - Split the sk1100 code from sg1000.cpp and attach it to the new expansion slot.
  - Create a new FM Sound Unit device and attach it to the new expansion slot.
  - For the sc3000 driver, re-add sk1100 as a fixed SG-1000 expansion device.
  - Add sg1000 software list to sg1000m3 and Japanese/Korean SMS drivers.

sms.cpp: implemented some new findings [Enik Land]
  - Remove some mirrors for ports $DC/$DD on SMSJ based on Charles' hw tests.
  - Add basic C-Sync callback to 315_5124.cpp, based on Charles' hw tests.
  - Add built-in Rapid Fire (uses C-Sync) for SMSJ and Korean SMS1 drivers.
  - Add new SMS drivers due to XTAL differences:
            sms1br - Tec Toy Master System I (Brazil)
            sms2br - Tec Toy Master System II (Brazil)
            smsbr - Tec Toy Master System III Compact (Brazil)
            sms1paln - Tec Toy Master System I (PAL-N)
            sms2paln - Tec Toy Master System II (PAL-N)
            smspaln - Tec Toy Master System III Compact (PAL-N)
    Brazil is PAL-M TV system, but I decided to call it by the
    country name, seems to be better recognizable and for
    emulation looks more like a NTSC system. PAL-N is used
    in Argentina, Paraguay and Uruguay and looks closer to
    the European PAL system when compared to PAL-M.
2016-06-24 12:07:45 +02:00
therealmogminer@gmail.com
ff04ed4cc0 Convert SPARCv8 ops to document-described functionality 2016-06-23 14:20:24 +02:00
couriersud
c6e6911aed Netlist changes
- Replaced shared_ptr by unique_ptr. 
- Better seperation of setup_t and netlist_t. 
- Fixed bugs in rdtsc code. Refactored timer code. 
- Simplify conditional activation/deactivation. 
- Introduced HINT(device, hint) to clarify that hints are inheritent 
  and not specific to devices. 
- Added improved profiling support to netlist. Statistics output now
  proposes devices for which whole device activation/deactivation be
  disabled. No significant improvement for pong, but breakout
  experiences a 10% improvement. 
- Moved options code from include to cpp file.
- Minor modifications to 7493 and 9316
- Introduced perftime_t and perfcount_t for gathering statistics. These
  templates do not create any code if statistics are not kept.
- Make help2man ./nltool produce usuable output. 
- More truthtable refactoring. Removed half-finished code for internal
  state support. As implemented, this would have had no support for
  timing delays. 
[Couriersud]
2016-06-23 02:04:51 +02:00
Vas Crabb
32a75e7ae4 VIS I (UltraSPARC) and II (UltraSPARC III) for SPARC disassembler [Vas Crabb]
* Supports %gsr, all ops with exception of SIAM, and all ASI constants
* Use -arch sparcv9vis1 or -arch sparcv9vis2 with unidasm
2016-06-23 01:13:52 +10:00
Vas Crabb
a1625d2220 improve SPARC disassembler: [Vas Crabb]
* Support SPARCv9
* Allow plug-in ASI comments
* Fix format of some opcodes
* Produce clr synthetic
* Allow running in v7, v8 and v9 modes
2016-06-22 04:39:56 +10:00
Ted Green
aae1cbb6d3 atlantis: Update address mapping and add zeus2 video device (nw)
dcs: Update 2181 SYSCONTROL bits (nw)
adsp2100: Add more info for invalid register accesses (nw)
zeus2: New video device based on midzeus2 driver (nw)
2016-06-19 08:28:18 -06:00
therealmogminer@gmail.com
b4beaa37b7 Merge remote-tracking branch 'mainline/master' 2016-06-18 17:15:17 +02:00
Miodrag Milanovic
1d0e0ac12a remove all usages of tagmap 2016-06-18 15:32:15 +02:00
therealmogminer@gmail.com
6d50e3cb36 Add majority of SPARC integer ops 2016-06-18 13:37:06 +02:00
R. Belmont
11ed715659 Merge pull request #955 from belegdol/master
Made the way jpeglib.h is included more pretty
2016-06-17 14:26:57 -04:00
therealmogminer@gmail.com
579d4873a6 Initial MB86901 diassembler 2016-06-17 15:09:39 +02:00
Miodrag Milanovic
8c87ea208c Removed not needed files from compiling (nw) 2016-06-16 13:37:24 +02:00
Julian Sikorski
6208ca7d34 Made the way jpeglib.h is included more pretty 2016-06-15 22:26:56 +02:00
Curt Coder
f945016811 pofo: Expansion port slot interface WIP. (nw) 2016-06-15 10:55:18 +03:00
Vas Crabb
d479f0b4be Merge pull request #911 from GiuseppeGorgoglione/master
Three patches with code cleanups to the OSD layer [
Giuseppe Gorgoglione]
* Fix debugging code in font_dwrite.cpp
* Introduce dynamic_module
* Remove Direct3D abstraction layer
2016-06-15 14:52:19 +10:00
angelosa
3c030752cf Added bare-bones Sony LDP-1000 device (nw) 2016-06-14 19:50:43 +02:00
Nathan Woods
3c4f7e065c Refactored text layout code out of ui.cpp into a separate module 2016-06-13 05:54:16 -04:00
Miodrag Milanovic
65ab646965 Revert "More work on gameking 3 [PeT]"
This reverts commit 550175d8b8.
2016-06-12 17:38:03 +02:00
Miodrag Milanovic
550175d8b8 More work on gameking 3 [PeT] 2016-06-12 09:10:27 +02:00
Giuseppe Gorgoglione
58dc78b6eb Introduce dynamic_module
This is a central cross-platform facility to dynamically bind functions from shared libraries.
    Updated all OSD modules to use it.
2016-06-11 20:14:09 +02:00
smf-
f503c71934 and the missing device (nw) 2016-06-10 19:46:04 +01:00
Joakim Larsson Edstrom
c2d185b9e3 New driver for Force Computers CPU-30, WIP but starts up some diagnostics tests so a good milestone 2016-06-10 10:33:42 +02:00
Vas Crabb
93cd0cd40b Fix git version [Vas Crabb]
* git version is set by top-level make, not just when GENie runs
* can set IGNORE_GIT=1 for make to ignore git
* git ignored/unavailable uses "unknown" in version string
* mark modified trees as dirty
* note that version now comes from makefile
2016-06-10 00:36:29 +10:00
Miodrag Milanovic
ebd8e7d74b Added initial ninja support to use add MAKETYPE=ninja to compile command line (nw)
Custom build tasks are not yet working
2016-06-09 13:46:36 +02:00
Miodrag Milanovic
e8cb3e06d0 Updated GENie to latest (nw) 2016-06-08 20:42:23 +02:00
couriersud
81880659d2 - More code cleanup.
- Dead code removal and minor refactoring.
- Simplify. Align naming with stl. Fix somed pedantic warnings.
- More STL compatability.
- Remove ATTR_HOT and ATTR_COLD. Refactored netlist_time. 
- Fix long standing workaround which would ignore policy of change-only"
propagation.
- Rewrote for loops to use auto : semantics.
- Truthtable cleanup. (nw)
- Get rid of nl_math. Remove nl_util.h and moved contents to
plib/putil.h.
- Fix standalone build. Refactor ptypes.h. 
[Couriersud]
2016-06-07 21:44:15 +02:00
balr0g
b277908905 - Minor cosmetic refactoring. Added a "uninitialised array" template to
allow in-place creation (for increased locality) of netlist classes.
Main use is in truthtable class.
- Remove PLIB_NAMESPACE macros.
- Remove namespace macros. Use explicit namespace declarations.
- Moved device definitions into cpp files.
- Moved more device definitions into cpp files.
- New prefix "nlid" for include files flags purely internal include
files not to be leaked into userland. 
- Fix factory code.
2016-06-07 21:40:30 +02:00
Nigel Barnes
364ac3ea14 electron: added preliminary expansion port 2016-06-05 22:53:37 +01:00
Nigel Barnes
e4ea1303b3 e01: added acorn filestore floppy format and softlist 2016-06-05 22:53:37 +01:00
hap
396c2a0946 fix compile problem 2016-06-05 21:46:48 +02:00
Miodrag Milanovic
dba7c1ac94 Placed back old output system as module "-output windows" need more things cleaned (nw) 2016-06-05 21:11:56 +02:00
Jeffrey Clark
2e8521cde0 fix android target libSDL2 circular ref (nw)
also rename ANDROID_NDK_ROOT -> ANDROID_NDK_LLVM to point directly to
prebuilt host compiler (removes windows only restriction).
2016-06-04 00:34:43 -05:00
Jeffrey Clark
551d9998f5 support msbuild from posix shell
preliminary fastbuild support (experimental in genie)
2016-05-31 20:26:34 -07:00
Miodrag Milanovic
d04f921034 removed not used libraries, and commented portaudio that will be used but no need for now (nw) 2016-05-31 20:03:39 +02:00
smf-
65b5c2a40c Commodore PET Joysticks and Sound Device [Ken White]
* pet_cass.xml
- Added Supermon (Toronto PET User Group) [Ken White]
- Replaced bad dump of Side B of Squiggle, Big Time / Monitor (the m command in the monitor now works correctly) [Ken White]
2016-05-31 12:19:02 +01:00
Justin Kerk
141e1c7770 Emscripten tweaks (nw) 2016-05-29 08:27:55 +00:00
Ville Linde
958731ef5a Added highly experimental SHARC recompiler (disabled by default) [Ville Linde] 2016-05-28 18:58:54 +03:00
Miodrag Milanovic
293103ce8c proper patch already applied upstream (nw) 2016-05-28 13:22:03 +02:00
Miodrag Milanovic
7db8fe18f7 we are not using pipes so no problem, but there is something wrong here (nw) 2016-05-28 12:22:55 +02:00
Miodrag Milanovic
79fa1090cf fix compile issue (nw) 2016-05-27 21:14:59 +02:00
Felipe Corrêa da Silva Sanches
deb38446ea Further improvements to the Patinho Feio driver & CPU 2016-05-25 10:32:24 -03:00
Ted Green
a8b214c9aa (nw) Merge branch 'seattle_pci' 2016-05-17 11:17:57 -06:00
Ted Green
ebe5c6d790 voodoo_pci: Added default PCI BAR locations (nw)
gt64xxx: Added DMA control and proper PCI address mapping (nw)
pci-ide: New generic PCI IDE controller (nw)
machine.lua: Added pci-ide machine (nw)
2016-05-17 11:13:55 -06:00
Miodrag Milanovic
cc6d5a643d try to support older xcode (nw) 2016-05-16 14:25:49 +02:00
Justin Kerk
41cb858a35 Emscripten options cleanup (nw) 2016-05-14 08:25:57 +00:00
Sandro Ronco
cc088d53a6 h63484 ==> hd63484 (nw) 2016-05-13 18:50:35 +02:00
Sandro Ronco
7a99e2939c remove legacy hd63484. (nw) 2016-05-13 18:50:35 +02:00
Miodrag Milanovic
175084897e Added ability to create standalone emulators, added zexall as example (nw) 2016-05-08 19:07:18 +02:00
Miodrag Milanovic
e3ff63cdda no deps between osd and frontend, internal debugger removed (nw) 2016-05-06 14:01:27 +02:00
couriersud
658f6b432a Converted 7486 to macro module 2016-05-05 23:33:01 +02:00
couriersud
d3c0199769 Removed drivers/signal.h since netlist devices no longer use it. (nw) 2016-05-05 15:18:37 +02:00
couriersud
add61d2a00 Convert 7430 to macro module. 2016-05-05 15:18:37 +02:00
couriersud
38d3050da0 Convert 7425 to macro modul 2016-05-05 15:18:36 +02:00
couriersud
87541ec5ca Converted 7420 to macro modul 2016-05-05 15:18:36 +02:00
James Baicoianu
af6ad75a04 Export SDL_SendKeyboardKey function to allow scancode injectiony 2016-05-05 00:55:38 -07:00
couriersud
a920da0ec3 Convert 7432 to macro device. 2016-05-04 00:51:51 +02:00
couriersud
1ea05793be Converted 7437 to macro device 2016-05-04 00:08:09 +02:00
couriersud
ba57ebf222 Converted 7427 to macro device 2016-05-04 00:08:07 +02:00
couriersud
e93ebba837 Converted 7411 into a macro device. 2016-05-04 00:08:07 +02:00
couriersud
e85517d642 Converted 7410 into macro device. 2016-05-04 00:08:06 +02:00
couriersud
3acd03bd5f Implement 7402, 7408 as macro device. (nw) 2016-05-03 02:35:07 +02:00
couriersud
6f889d51ae Implement 7404 as macro device. (nw) 2016-05-03 02:35:06 +02:00
Miodrag Milanovic
65f35a6ede NetBSD fix, from pull request #852 [Thomas Klausner] 2016-05-02 17:58:14 +02:00
hap
262524206b tms7000/e0c6200: renamed hxx(inc) to cpp 2016-05-01 21:39:40 +02:00
Miodrag Milanovic
be67262fc2 INC -> HXX makes editors and code analyzers see it as C++ (nw) 2016-05-01 20:27:50 +02:00
Miodrag Milanovic
521198036d move gb sound and gb lcd in order to make snes compile, since used by bus device (nw) 2016-05-01 17:20:50 +02:00
Miodrag Milanovic
73521257e8 saturn and stv split (nw) 2016-05-01 16:44:58 +02:00
Miodrag Milanovic
77b6c7e3c5 fixed apple2 compile (nw) 2016-05-01 14:02:26 +02:00
Miodrag Milanovic
13855d2404 Fixed ti drivers (nw) 2016-05-01 12:55:22 +02:00
Miodrag Milanovic
32c02fe850 typo (nw) 2016-05-01 12:18:33 +02:00
Miodrag Milanovic
a0829452f1 fix for mb86235 (nw) 2016-05-01 11:06:06 +02:00
Miodrag Milanovic
9499064a80 typo fix (nw) 2016-05-01 09:55:43 +02:00
Miodrag Milanovic
949fddaaa8 hec2hrp and arcompact fix (nw) 2016-05-01 09:51:51 +02:00
Miodrag Milanovic
b7c3839a67 r9751 fix (nw) 2016-05-01 09:37:33 +02:00
Miodrag Milanovic
a560cb3480 fix softbox (nw) 2016-05-01 09:03:42 +02:00
AJR
dafe4d8e22 Make watchdog timer a separate device
- Separate watchdog implementation from running_machine (once again) and driver_device
- Old-style methods, now hidden behind #ifdefs, will probably be safe to remove soon
2016-04-30 16:39:27 -04:00
Miodrag Milanovic
8bef52ec6d fixed wpc, okiadpcm and eolith (nw) 2016-04-30 19:56:18 +02:00
Miodrag Milanovic
5408999eb0 dmv slot fix (nw) 2016-04-30 19:21:55 +02:00
Miodrag Milanovic
dc85537e9e compucolor fix (nw) 2016-04-30 19:09:25 +02:00
Miodrag Milanovic
9a74928673 fixed coleco (nw) 2016-04-30 19:07:30 +02:00
Miodrag Milanovic
6923e39b17 fixed cgenie slots (nw) 2016-04-30 18:59:01 +02:00
Miodrag Milanovic
bc7e1b7c35 separate those libs that are different only (nw) 2016-04-29 10:22:34 +02:00
Miodrag Milanovic
e044d56500 Fixed build atom driver (nw) 2016-04-29 10:16:04 +02:00
Justin Kerk
41a489a947 Work around linker issues with Emscripten (nw) 2016-04-29 04:40:34 +00:00
etabeta78
c506d36a8d further cleanup + final untangling from the old code:
optimized sprites data now lives only in the sprite
device. got rid of neogeo_helper as a result. nw.
2016-04-28 21:10:29 +02:00
Miodrag Milanovic
8e58d4099c move to proper place (nw) 2016-04-28 20:40:17 +02:00
Miodrag Milanovic
2ce13a48f6 Fix for mos6530n (nw) 2016-04-28 18:36:59 +02:00
Miodrag Milanovic
68792073c3 fix a2600 build (nw) 2016-04-28 18:32:56 +02:00
Miodrag Milanovic
50361fcc23 R3000 is separate CPU, helps building some drivers with SOURCES (nw) 2016-04-28 18:26:37 +02:00
etabeta78
508c19abf1 neogeo.cpp: huge clean up of the cartslot code in order to better
exploit slot devices: [Fabio Priuli]
- moved cart-specific components to the carts itself removing
  the fake protection devices from the main system, since they
  never belonged there
- removed hacky rom region destruction/construction when a
  new cart is inserted, replacing it with proper bank pointers to
  the carts (except for ymsnd and ymsnd.deltat region which
  will require modernization of the ym devices)
- started re-organization of bootleg boards emulation, so to
  reduce the need of collapsing everything into a single cart
  type with multiple protection devices, more work is needed

neopcb.cpp: moved to a separate source file the emulation for
JAMMA PCB versions of a few neogeo games, since they don't
have a cartslot. [Fabio Priuli]

neogeo.xml: added information about Japanese titles and
release dates to the software list and aligned the list to the
driver. [Fabio Priuli]
2016-04-28 07:16:35 +02:00
Olivier Galibert
5607ec442e h8: Add dtc, dma, watchdog (WIP) [O. Galibert]
h8: Fixes, lots of [O. Galibert]
cybiko: Make work a little emore, add v1 flash [O. Galibert]
2016-04-27 21:55:58 +02:00
Justin Kerk
34ccb1ae66 Update function signatures for Emscripten (nw) 2016-04-26 05:29:56 +00:00
etabeta78
eac382d629 Merge pull request #829 from fulivi/hp9845_dev
Hp9845: added capabilty to load option ROMs
2016-04-25 14:51:24 +02:00
AJR
fb08fefaee Move a few odds and ends out of the emu core 2016-04-23 15:27:59 -04:00
etabeta78
3b1f24dd82 saturn.cpp: converted controllers to work through slot devices,
cleaning up the related code. [Fabio Priuli]

saturn.cpp: added emulation of the SegaTap adapter (4 controllers)
and Sega Multitap adapter (6 controllers). Saturn Bomberman
can now be played as intended. [Fabio Priuli]
2016-04-23 19:07:33 +02:00
Miodrag Milanovic
e55035391e fix for v25 building (nw) 2016-04-23 14:38:20 +02:00
fulivi
b9f17449ee hp9845b: added capability to load optional ROMs 2016-04-23 14:33:32 +02:00
Miodrag Milanovic
ff2c95e3bf enabled internal debugger, but this would need to go in time, it is too coupled with UI (nw) 2016-04-23 14:22:46 +02:00
couriersud
1d7b7f59dd Implemented dynamic loading of precompiled solver code. [Couriersud] 2016-04-23 13:54:32 +02:00
Miodrag Milanovic
97a195ef03 Removed specific filter implementation and merged it with placed where used (nw) 2016-04-23 13:31:47 +02:00
Miodrag Milanovic
13bcfbf579 more cleanup of includes (nw) 2016-04-23 12:39:43 +02:00
Miodrag Milanovic
61fced67f6 deps are fixed remove includes (nw) 2016-04-23 12:32:30 +02:00
Miodrag Milanovic
c6a9773e15 move vector to video devices (nw) 2016-04-23 12:21:53 +02:00
Miodrag Milanovic
9a3b5d9a75 mode devices to proper library (nw) 2016-04-23 12:18:05 +02:00
Miodrag Milanovic
1c726824f2 Split UI and frontend part from core [Miodrag Milanovic] 2016-04-23 11:26:47 +02:00
Miodrag Milanovic
4c9c6c8c16 Added file for mame depended handling of opts (nw) 2016-04-22 09:09:39 +02:00
Miodrag Milanovic
0d980951c9 set GIT_VERSION only where it is used (nw) 2016-04-21 15:50:15 +02:00
etabeta78
057eefd060 neogeo.cpp: more accurate implementation of contollers
through slot devices. If you want to launch janshin in the
multislot driver (neogeo) you shall now prescribe
        -edge "" -ctrl1 mahjong
and set accordingly the dipswitch. The janshin driver already
comes pre-configured in the proper way, instead. [Fabio Priuli]
2016-04-21 09:29:33 +02:00
Miodrag Milanovic
8318d85597 Isolate CLI part (nw) 2016-04-20 09:50:13 +02:00
Michael Zapf
c7aeff7d6d ti99: Again one indirection less; dropped the videowrp and moved the v9938 on the EVPC board. 2016-04-19 22:03:27 +02:00
Miodrag Milanovic
c47bd3a937 Added generic latch to replace soundlatch in driver_device (nw) 2016-04-18 14:08:54 +02:00
Brad Hughes
ef4f80b4a4 Create diagnostic module for profiling and crash diagnostics 2016-04-17 16:22:51 -04:00
therealmogminer@gmail.com
250a5cc805 Add AVI writing to bgfx, nw 2016-04-17 19:16:14 +02:00
mahlemiut
74dd3287e5 Added ImGui based debugger. [Barry Rodewald]
Note: Currently only works with the BGFX renderer.  Anyone who wishes to
      write a ImGui backend for other renderers are welcome to do so.
2016-04-17 23:50:50 +12:00
Miodrag Milanovic
3e8559ad7b Always rebuild version.cpp when there is git version change (nw) 2016-04-16 17:18:17 +02:00
Miodrag Milanovic
932fb5a668 Revert "Pass explicit -qt5 to all moc and qmake calls."
This reverts commit 3176347abc.
2016-04-16 15:20:42 +02:00
Miodrag Milanović
0876691a6f Merge pull request #813 from jmallach/qt5-build
Pass explicit -qt5 to all moc and qmake calls.
2016-04-16 08:57:01 +02:00
Miodrag Milanovic
37c94e3373 Update windows to use platform independent watchdog implementation (nw) 2016-04-15 16:01:35 +02:00
Miodrag Milanovic
59662e6c71 moved osdsync to root of OSD, removed osdmini (nw) 2016-04-15 15:19:24 +02:00
Sune Vuorela
3176347abc Pass explicit -qt5 to all moc and qmake calls.
Some systems like Debian, Ubuntu and other derivatives, expect qtchooser
will be used to select the appropriate Qt version, as Qt5 and Qt4 can
co-exist.

As MAME's build system does calls to moc and qmake directly, and Qt5 is
now the required version for the debugger, pass -qt5 to all moc and qmake
calls to avoid the build fail.
2016-04-15 11:43:52 +02:00
etabeta78
8a9e872224 neogeo: reworked inputs to work through the slot device interface.
you can now configure the controllers available in the multicart
driver (neogeo) with the -crtl1 and -ctrl2 options. when you run single
game drivers (e.g. mslug, or kof94, etc.), instead, a unique controller
is available and cannot be modified. [Fabio Priuli]
2016-04-14 18:36:34 +02:00
therealmogminer@gmail.com
99aa7eacd7 bgfx: Add data-driven render target clearing [Ryan Holtz] 2016-04-14 17:22:24 +02:00
etabeta78
af570db2d0 ng_aes.cpp: converted AES controllers to work through slot devices.
Also, separated more clearly the CD component by the base unit. [Fabio Priuli]
2016-04-13 23:31:07 +02:00
Miodrag Milanovic
79bfc4b153 Make support for absolute paths for debug dir (nw) 2016-04-12 16:14:02 +02:00
Miodrag Milanovic
c833268236 Added DEBUG_DIR and DEBUG_ARGS parameters, make sense right now for VS build (nw) 2016-04-12 15:43:15 +02:00
Vas Crabb
8795f92f35 Update expat to 2.1.1 for security and bug fixes 2016-04-12 20:53:04 +10:00
hap
d981b66bba sm500: start on opcodes 2016-04-11 12:43:55 +02:00
dankan1890
5347076f49 submenu: merged some options menu. (nw) 2016-04-11 03:37:51 +02:00
etabeta78
465de15885 intv: Converted controller inputs to be slot devices. [Fabio Priuli]
intvecs: Converted hand controllers, keyboard and synth to be slot devices,
by using a temporary hack to workaround the impossibility to plug the same
device into 2 different slots as these keyboard require. [Fabio Priuli]

out of whatsnew: in the long term we need to come up with a core solution
for these devices that occupy multiple slot devices at once (another one is
the VCS Compumate which plugs into both VCS control ports), because the
hack I used (a "fake" control port which acts as a passthru for the two real
control ports) is not really satisfactory. However, current solution is better
than the selectable controllers we had, which were (ab)using
PORT_CONDITIONs...
2016-04-10 17:54:51 +02:00
Miodrag Milanovic
ffbe0c66be Basic TCP server based on libuv [Inaki Baz Castillo,Miodrag Milanovic] 2016-04-10 17:03:51 +02:00
Vas Crabb
0c502775b6 remove ui/ui.h dependency from emu.h (for couriersud) 2016-04-10 17:48:38 +10:00
Branimir Karadžić
cceb3a32b7 Update to latest BGFX (nw) 2016-04-10 09:16:09 +02:00
couriersud
5f6e20d6a6 Fix SDL build on linux:
- removed inclusion of SDL headers in all headers.
- replaced those by forward declarations and in one case by a wrapper
class (for a typedef struct).
- added -Wno-strict-prototypes to 7z build (gmake target)
2016-04-09 22:21:58 +02:00
Miodrag Milanovic
50071f4451 Fix windows compile (nw) 2016-04-09 15:22:25 +02:00
Miodrag Milanovic
a14994c6c0 Added skeleton for network output (nw) 2016-04-09 15:19:43 +02:00
Miodrag Milanovic
2f974586d6 Added none and console output providers (nw) 2016-04-09 15:19:43 +02:00
Miodrag Milanovic
39c9c8c5dc Remove os dependant output handling (nw) 2016-04-09 15:19:43 +02:00
Vas Crabb
e925c494fe Update LZMA SDK to 15.14 2016-04-09 21:52:08 +10:00
Dirk Best
4f1ffa851e vtech1: Add support for the "Dick Smith VZ-200/300 RTTY Cartridge"
Appears to work fine, except we don't have a generic RTTY interface yet.
2016-04-08 19:55:09 +02:00
Miodrag Milanovic
2a0c7a0f0b renamed memory.* to emumem.* (nw) 2016-04-08 10:15:48 +02:00
Miodrag Milanovic
dff2f2517a separate mpeg audio as device, made building separate model3 possible (nw) 2016-04-07 18:15:07 +02:00
therealmogminer@gmail.com
4f66357f9e Pull a bunch of screen chain code from drawbgfx to chainmanager where it belongs, nw 2016-04-06 17:02:31 +02:00
Olivier Galibert
69f5a2dcc8 Revert "bgfx fix for osx (nw)"
This reverts commit 9d99398208.

Not needed anymore with my previous change.
2016-04-06 09:58:00 +02:00
Miodrag Milanovic
9d99398208 bgfx fix for osx (nw) 2016-04-06 08:35:01 +02:00
Miodrag Milanovic
06415edd9e Added some more files to bgfx build and initialize imgui (nw) 2016-04-05 15:50:08 +02:00
Miodrag Milanovic
6f231bb61b added missing files in build (nw) 2016-04-05 14:50:17 +02:00
hap
10cadefbe2 sm500 file placeholders 2016-04-05 11:33:05 +02:00
Brad Hughes
3dd8afd6c0 Hybrid DirectInput/XInput module 2016-04-04 22:01:00 -04:00
cracyc
817f19fcc1 luaengine: add plugin options menu [Carl] 2016-04-04 18:17:18 -05:00
Branimir Karadžić
e63f379a0e Update BGFX to latest (nw) 2016-04-04 13:52:25 +02:00
Olivier Galibert
cdc04a9b7c screen: POC||GTFO of svg rendering from inside the rom. [O. Galibert]
It's damn slow, ~50ms/frame on cdkong.  Caching and/or hw accel will
solve that easily.  It doesn't look very good, nanosvg need better
anti-aliasing.  It also doesn't do texturing very well and images not
at all, so some of our current svgs won't look good.  But all that's
fixable.
2016-04-04 11:33:34 +02:00
Miodrag Milanovic
bad2e6199e Not needed anymore after move to C++11 features (nw) 2016-04-03 19:47:44 +02:00
Miodrag Milanovic
e0ea593f6d Make it cleaner (nw) 2016-04-03 19:14:44 +02:00
Miodrag Milanovic
cea094a3a3 moved aueffectutil to tools (nw) 2016-04-03 19:06:06 +02:00
Miodrag Milanovic
5e80a732aa move clipboard handling on proper place (nw) 2016-04-03 17:55:10 +02:00
Miodrag Milanovic
d8aa889edf merge main.cpp for windows platform (unicode) (nw) 2016-04-03 17:55:10 +02:00
Miodrag Milanovic
796f890450 removed testkeys (nw) 2016-04-03 17:19:41 +02:00
Miodrag Milanovic
bab5d21cef moved windows resources (nw) 2016-04-03 17:19:41 +02:00
Miodrag Milanovic
bd0abfd004 moved emscripten resources (nw) 2016-04-03 17:19:41 +02:00
Jeffrey Clark
ca3e65e35f refactor miscmenu and add adv menu (nw) 2016-04-03 07:02:38 +00:00
Miodrag Milanovic
731abe8ba0 Fixed joystick on Android preventing application to crash, cleanup init for SDL in total (nw) 2016-04-02 15:37:08 +02:00
Peter Ferrie
829a06b966 fix the MSVC build (nw)
I wonder how it could have ever worked.  emu lacked zlib.h reference,
super80.cpp lacked UINT8 declaration.
2016-04-01 23:18:04 -07:00
Michael Zapf
13fce89d59 ti99_8: Chipset low-level emulation; ti99_4x: using new GROMs 2016-03-31 23:55:50 +02:00
Michael Zapf
ee6684ac85 New GROM implementation (TMC0430) with (almost) precise clock behavior 2016-03-30 23:50:39 +02:00
dankan1890
0bab931a80 Visual Studio 2015 netlist fix. (nw) 2016-03-30 19:09:40 +02:00
Miodrag Milanovic
b055af8907 Fix ldplayer issue (nw) 2016-03-29 10:17:19 +02:00
Miodrag Milanovic
9b3788035c scrclean on lua scripts (nw) 2016-03-29 08:49:47 +02:00
Miodrag Milanovic
3fb7f61cfc Fix building tools (nw) 2016-03-29 08:43:20 +02:00
Miodrag Milanovic
953d0f9b17 fix typo (nw) 2016-03-29 08:26:11 +02:00
Miodrag Milanovic
ee3edd0e2b Add missing include (nw) 2016-03-29 08:24:17 +02:00
Jeffrey Clark
c3397ae4a9 fix include dirs (nw) 2016-03-29 00:45:53 -07:00
Jeffrey Clark
9d9c8fad6a Extend system library support (nw)
Extend USE_SYSTEM_LIB_* to support providing the library name and include directory.
To link against system specific lib names and header path: (ref #711)

USE_SYSTEM_LIB_LUA=lua5.3:/usr/include/lua5.3
2016-03-28 22:26:52 -05:00
Justin Kerk
f26ce9ee1d Emscripten update (nw) 2016-03-28 21:50:41 +00:00
dankan1890
68ebc2b0e5 Visual Studio compile fix. (nw) 2016-03-28 22:57:35 +02:00
Miodrag Milanovic
2e3670efba Small issues fix (nw) 2016-03-27 21:09:15 +02:00
Miodrag Milanovic
158c90cf11 Initial work to make MAME work on Android [Miodrag Milanovic] 2016-03-27 17:35:23 +02:00
couriersud
9d2f61ee92 netlist:
- more code optimization
- hide matrix_solver_t implementation
- use netlist_time for time deltas
2016-03-27 15:41:42 +02:00
arbee
c9bd18a22d apple2: start reverse-engineering the AE PC Transporter card [R. Belmont] 2016-03-26 21:04:15 -04:00
Justin Kerk
1bd63ee7ed Emscripten: include shadow-mask.png (nw) 2016-03-26 04:28:54 +00:00
Dirk Best
37a32099cd svi318: preliminary support for the sv603 coleco game adapter
lacks controller support
2016-03-25 17:47:33 +01:00
Miodrag Milanovic
315612190b Added parsing of plugin json files for machine_manager (nw) 2016-03-24 21:07:39 +01:00
Miodrag Milanovic
3bd130ebce Change BGFX_CONFIG_MAX_FRAME_BUFFERS on proper way (nw) 2016-03-24 09:40:29 +01:00
couriersud
489e2919db Netlist: code maintenance
- rename netlist_analog_t to analog_t 
- straighten object model
- reduce access to member variables
- use pvector<analog_net_t::list_t> for groups.
- simple coverity fixes.
2016-03-23 22:03:26 +01:00
Justin Kerk
62d1e88e98 Update bgfx paths for Emscripten (nw) 2016-03-23 18:59:02 +00:00
therealmogminer@gmail.com
ba0a1d8d52 Merge bgfx_shader into master, nw 2016-03-23 17:55:55 +01:00
Justin Kerk
b961152eee Allow command-line errors to work in Emscripten (nw) 2016-03-23 04:52:13 +00:00
therealmogminer@gmail.com
a99df78801 Merge with master 2016-03-21 08:27:06 +01:00
therealmogminer@gmail.com
825d575195 Fix lots of issues with bgfx 2016-03-21 03:43:02 +01:00
Miodrag Milanovic
be38f0515b Now shader compile tools are built on host machine (nw) 2016-03-20 16:50:14 +01:00
Dirk Best
6c9aaf6979 svi318: add the sv602 single slot expander 2016-03-20 14:23:41 +01:00
Dirk Best
55ebe70ca9 svi318: add centronics interface card (sv802) 2016-03-20 14:23:27 +01:00
Miodrag Milanovic
593803fb48 Fixed issue with internal font (nw) 2016-03-20 09:31:04 +01:00
cracyc
8fc8fc5ca3 pcat_dyn: add sound and mark toursol working [Carl] 2016-03-19 21:13:00 -05:00
Brad Hughes
9328fa9028 Fix VS Build issue for WRL ComPtr 2016-03-19 21:43:27 -04:00
Miodrag Milanovic
95a2e4c2c6 compile BGFX for RPI as well (nw) 2016-03-19 16:09:34 +01:00
therealmogminer@gmail.com
1226b243a2 Make JSON error checking a lot more verbose 2016-03-19 05:44:38 +01:00
Ted Green
b79020559e Added files to build and fixed override functions 2016-03-18 15:34:57 -06:00
balr0g
0e76e679c7 Rename 'tests' to 'mametests' to avoid name clash (nw) 2016-03-18 09:24:43 -04:00
Miodrag Milanovic
45f20a43c7 added attotime test for balrog (nw) 2016-03-18 14:00:16 +01:00
Vas Crabb
100fa28671 * Remove confusing method from vectorstreams that hide base_ios method (fixes disassembly view)
* Allow std::string to pass through core_file unmolested (reduces temporary allocations)
* Make zip/7z instances of same class with uniform interface
* zippath browsing is broken at the moment

This is another step towards transparent archive support.  It's now
possible to access zip and 7z archives with the same code.  Nothing is
taking advantage of it yet.  There's now some very similar code in
fileio.cpp and clifront.cpp that could be folded at some point.
2016-03-18 19:32:10 +11:00
Dirk Best
de0d79e5e9 svi318: add support for the rs232 interface (sv805) 2016-03-17 23:57:04 +01:00
Dirk Best
776bfad1c1 svi318: add support for the 80 column card (sv806) 2016-03-17 03:06:00 +01:00
Justin Kerk
d0ce8784a7 Build more of font_sdl.cpp with Emscripten since there is an SDL2_ttf port now (nw) 2016-03-17 01:42:48 +00:00
Dirk Best
59a41ff1d7 svi318: rewrite banking, add expander bus, add svi601 super expander and
slot modules for the sv801 disk controller, sv803 16k memory epansion
and the sv807 64k memory expansion
2016-03-16 22:05:43 +01:00
hap
d76a9644cf tms1k: split part 3, done 2016-03-16 02:59:29 +01:00
hap
1a479042cf tms1k: split part 2, renamed folder tms0980 to tms1000 2016-03-16 01:33:56 +01:00
hap
ce5cb07631 tms1k: split part 2, renamed files 2016-03-16 01:26:37 +01:00
therealmogminer@gmail.com
b212e5dc2e Add most of the rest of the D3D HLSL chain, nw 2016-03-15 05:17:38 +01:00
Vas Crabb
fc87913612 Fix SDL Windows build 2016-03-14 19:32:17 +11:00
Vas Crabb
42fbb9c396 Make osd_file a polymorphic class that's held with smart pointers
Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures
Make zip_file and _7z_file classes rather than having free functions everywhere
Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache
Don't dump as much crap in global namespace
Add solaris PTY implementation
Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax
Rearrange stuff so the same things are in file module for all OSDs
Move file stuff into its own module

7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access
Directory functions still need to be moved to file module
SDL OSD may not initialise WinSock on Windows
2016-03-14 18:55:00 +11:00
Miodrag Milanovic
5fc2774703 Clang 3.8.0 supports -municode (nw) 2016-03-14 07:55:17 +01:00
therealmogminer@gmail.com
cd8f796df6 Add bgfx command line options, major shakeup of organization, nw 2016-03-13 15:51:19 +01:00
therealmogminer@gmail.com
ad1e6ef899 Add dynamic skipping of shader chain passes, nw 2016-03-13 15:51:17 +01:00
therealmogminer@gmail.com
3172371fcd More work on bgfx data-driven shaders, nw 2016-03-13 15:51:15 +01:00