Commit Graph

694 Commits

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