Commit Graph

908 Commits

Author SHA1 Message Date
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