Commit Graph

1264 Commits

Author SHA1 Message Date
Olivier Galibert
00c8a3b165 Preliminary VGM player [O. Galibert]
Use: ./mame vgmplay -bitb file.vgm/vgz

Lots of chips missing, no visualization, no control of anything, no
volume control either, and no sound shutdown on end of file.
2016-08-16 08:40:53 +02: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
cracyc
ce01837a8b new not working
---
Tandy/Memorex Video Information System MD-2500

luaengine: doh! (lay groundwork for a WIP too) (nw)
2016-08-13 16:19:18 -05:00
therealmogminer@gmail.com
be807d81ea Merge branch 'master' of https://github.com/mamedev/mame 2016-08-12 21:10:27 +02:00
Miodrag Milanovic
4f84793a05 made proper formats compiled only if needed (nw) 2016-08-12 18:27:54 +02:00
therealmogminer@gmail.com
1339c06320 Skeleton driver for Fairlight CMI IIx [MooglyGuy] 2016-08-12 15:15:47 +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
R. Belmont
22f74309ed Merge pull request #1195 from mamehaze/master
Street Fight and Cross Shooter (Street Fight type hw) use a common mo…
2016-08-07 15:54:25 -04:00
David Haywood
902712f345 Street Fight and Cross Shooter (Street Fight type hw) use a common motherboard but different Video Boards. This makes the video boards into devices to faciliate this. 2016-08-06 20:54:40 +01: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
Robert
4d305ee629 Merge pull request #1190 from mamehaze/master
various Seibu Refactoring,
2016-08-05 11:07:20 +10:00
David Haywood
261a277d50 various Seibu Refactoring,
Air Raid, Street Fight and Dark Mist all basically use very similar video systems (4 layers, 2 of them being ROM based tilemaps, a CLUT prom for each layer which controls colours and transparency handling)
this takes some steps towards allowing a common implementation of it.
2016-08-04 21:21:24 +01: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
159fa2ef9e Attempt to prevent GCC optimising away global_alloc_clear (MT06335) 2016-07-30 18:03:24 +10:00
Robbbert
2f6411e094 Renamed the arcade "sun" project to avoid conflict with the mess "sun" project. 2016-07-29 17:56:54 +10: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
R. Belmont
41875a92af Merge pull request #1117 from shattered/_ded41cad
sm7238: new NOT_WORKING driver: SM 7238 (aka T3300) serial terminal
2016-07-24 14:43:01 -04:00
Robbbert
9abf3df2a6 New NOT WORKING machine [Robbbert]
==================================
Datamax 8000

placeholder for next dev cycle.
2016-07-24 14:12:14 +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
MASH
79ca52d2e2 Fixed arcade only build
Fixed "undefined reference to 'SUNKBD_PORT'.." in arcade only build.
2016-07-23 11:43:25 +01: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
R. Belmont
5d18d1170f Merge pull request #1112 from ajrhacker/spicrtc
Hook up Seibu CRTC to SPI System
2016-07-17 21:37:53 -04:00
Robbbert
4fd459a3c1 Fixed the build. (nw) 2016-07-18 10:01:59 +10:00
Sergey Svishchev
1930242988 sm7238: new NOT_WORKING driver: SM 7238 (aka T3300) serial terminal 2016-07-18 00:54:34 +03: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
AJR
9947240024 Hook up Seibu CRTC to SPI System
- Shuffle decryption code around a bit in preparation for SEI252 deviceification (nw)
- Various notes regarding Seibu video customs (nw)
2016-07-17 11:00:06 -04: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
Jordi Mallach
0e5db039d8 Add arch defines for Linux alpha and mips64el.
Add detection for Linux architectures alpha and mips64el, to avoid
using gcc -m64, which isn't available on them.
2016-07-14 01:01:04 +02: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
R. Belmont
b0e231a290 Merge pull request #1048 from ajrhacker/bbcbc
bbcbc: Input overhaul and machine/software list corrections
2016-07-07 14:23:15 -04: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
AJR
8ff279a19b bbcbc: Input overhaul and machine/software list corrections
- Button mappings completely reworked: grey bidding/suit selection buttons classified as keypad inputs and put in correct order, and other buttons as console-standard Start, Select, Button 1-2
- Inputs now read through PIO instead of RAM addresses, making them less hypersensitive
- Manufacturer/publisher is Unicard, as manuals and system/cartridge labels clearly state
- Added release years for some common cartridges
- (nw) Link bbcbc in its own library rather than the unrelated libacorn ("make clean" strongly recommended)
2016-07-05 22:58:13 -04:00
Vas Crabb
9af1661a8b Merge pull request #1037 from npwoods/file_create_refactoring
File create refactoring
2016-07-05 13:26:30 +10: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
angelosa
8347973e18 Splitted Seibu Cup Soccer bootlegs into own driver (nw) 2016-07-03 17:49:42 +02: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
d7bfb00718 android objdir (nw)
* 2f3f53e got objdir wrong (type folder duplicate)
2016-07-01 23:06:32 -05:00
R. Belmont
a957ae0f9a Merge pull request #1016 from JoakimLarsson/fcisio1
New Board: Force Computers ISIO-1/2
2016-07-01 08:02:18 -04:00
Jeffrey Clark
2f3f53ed61 android build folders (nw)
Signed-off-by: Jeffrey Clark <h0tw1r3@users.noreply.github.com>
2016-06-30 16:26:45 -05:00
Jeffrey Clark
245b8d4163 android strip SDL lib (nw) 2016-06-30 16:26:44 -05:00
Miodrag Milanovic
ff055cd6c4 Fix symbol stripping (nw) 2016-06-30 16:16:16 +02:00
Joakim Larsson Edstrom
6363e82158 added fcisio1 driver for the Force Computers ISIO-1/2 VME board 2016-06-30 10:28:44 +02:00
Brad Hughes
3ffafa2225 Fix compile bug on Bash for Windows (nw) 2016-06-29 22:40:17 -04:00
yz70s
6f29697a38 xbox.cpp: move usb part into new file xbox_usb.cpp and .h (nw) 2016-06-29 23:11:52 +02: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
Vas Crabb
847ecb65a6 damn circular deps (nw) 2016-06-26 23:48:27 +10: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
R. Belmont
450075165c Merge pull request #988 from SailorSat/master
Hooked up M2COMM simulation
2016-06-24 08:11:57 -04: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
Ariane Fugmann
8c325ebe68 Merge remote-tracking branch 'refs/remotes/mamedev/master' 2016-06-22 23:57:58 +02:00
Ariane Fugmann
56c06fd42d Merge remote-tracking branch 'refs/remotes/mamedev/master' 2016-06-22 23:49:28 +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
Ariane Fugmann
2ce018ae9c M2COMM: hook up comm board in model2 (W.I.P.) 2016-06-21 21:13:48 +02: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
angelosa
75a4c41dd3 Moved DMA and commands into own files, nw 2016-06-20 23:05:17 +02: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
Phil Bennett
9d31bd76d3 New games added or promoted from NOT_WORKING status
Kyuukoukabakugekitai - Dive Bomber Squad [Andy Welburn, ShouTime, Smitdogg, Haze, Imhotep, Ryan Holtz, hap, Zhivko Dimitrov, spogghi, ANY, Arjen Hoekman, Arcade Addict, krick, Dullaron, Eddie, f205v, rtw, Rod_Wod, Fabien Marsaud, InsertMoreCoins, Jan Stuhler, trap15, Macaw, Team Japump, Brandon Munger, Juan Manuel Gutierrez, abelardator2, Jordi Bosch Creus, haynor666, Nestor Acebo Jimenez, Carl Perry, Jeremy McElroy, Steven Boswell, JJaVMeTaL, Steven LeMaire, Matthew Shultz, Mark Riley has no toaster, Carlos Gutierrez, Bjorn Stahl, Aldo Vittorio De Luca, Bruno Celsi, Philip Zumbrun, cornishdavey, Stefano De Dionigi, motoschifo, Mamesick, Daniel Hitchcock, Patrick Wheeler, bisus, desodeso, Swos, Don Zaucker, Tox Nox Fox, Zak0077, giuppo, Moket, Frankie, robindan77, biasini, Dr_Zero, motoschifo, Mameremember, John Wilke, Sean Sutton, Renato Mucciarelli, Berlioux Julien, Lior Aouate, The Dumping Union]
2016-06-16 20:05:21 -07: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
21af9bd08f Merge pull request #954 from belegdol/master
Fixed double hyphen in -pipe [belegdol]
2016-06-15 14:54:33 +10: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