Commit Graph

2078 Commits

Author SHA1 Message Date
AJR 41a333e791 Add Fujitsu FR disassembler and skeleton CPU device 2019-10-23 21:54:26 -04:00
fulivi 430bd2d508 Hp9825: support for external ROM cartridges added (#5761)
* hp9825: optional ROM cartridges added (9825b only, ATM)

* hp9825: optional ROMs added to 9825t, added support for banked ROMs
@5c00, separated RAM & ROM spaces in 9825t

* hp9885: added missing post-amble when writing sectors on disk

* hp9825: added acknowledgments to comments (nw)

* hp9825: changes requested by V.Crabb (nw)
2019-10-23 10:23:12 -04:00
ajrhacker 23a05f7e85 Move IDE devices into bus/ata (nw) (#5756) 2019-10-23 10:22:17 -04:00
algestam d4c94b861b Add bgfx file for asmjs build (nw) 2019-10-21 18:01:36 +00:00
algestam 4d3a474283 Fix bimg build for asmjs (nw) 2019-10-21 18:01:36 +00:00
AJR 31be3bc264 isa: Add Music Quest PC MIDI Card [AJR, VOGONS Vintage Driver Library] 2019-10-19 00:39:27 -04:00
Julian Sikorski 6e66a83642 Odroid n2 build fixes (#5751)
* Allow specifying NO_OPENGL manually

* Switch bgfx to OpenGL ES renderer if NO_X11 is specified

* Only link against EGL when NO_X11 is specified on linux, netbsd and openbsd

* Only switch bgfx to OpenGL ES on linux, netbsd and openbsd

* Indentation fix
2019-10-18 10:31:08 -04:00
Julian Sikorski 93a1cde67d Continuous integration improvements (#5703)
* Add workaround for imgtool and jedutil failing vs2019 debug builds with /ZI

* No longer allow msvc build to fail

* Enable tools build for travis to make it more useful

* Switch travis to Xcode 11 in order to fix nltool linking failure

* Prefer 64-bit compiler with VS 2019 too

* Setting PreferredToolArchitecture to x64 is not needed, genie puts it into the project files for vs2015 or later

* OPTIMIZE=1 build is faster that OPTIMIZE=0 for some reason. So fast in fact, that TOOLS=1 can be enabled without hitting the 60 minute timeout

* Switch MINGW build to VS 2017 image until appveyor figure out why builds on VS 2019 are almost twice as slow

* Run pacman twice to account for core system upgrades
2019-10-18 10:30:48 -04:00
couriersud db318046c4 Netlist: code maintenance and bug fixes. (nw)
- solver now uses dynamic allocation on systems larger than 512x512
- fixed osx build
- moved nl_lists.h classes to plists.h
- fixed netlist makefile clint section
- readability and typos
2019-10-17 10:21:00 +02:00
AJR f398123bc3 Emulate ADC0804 and add device to various drivers 2019-10-16 00:16:14 -04:00
Julian Sikorski 5ff784e58c -x c++ should not be applied to targets like msvc 2019-10-15 19:40:32 +02:00
AJR 73c4665039 Fix BGFX build on older OS X systems (nw)
The Vulkan renderer has to be disabled on Yosemite and older because its backend depends on Metal.
2019-10-14 07:47:37 -04:00
smf- cd6b9ac9be fix for clang 9.0.0 on windows (nw) 2019-10-13 19:56:41 +01:00
yz70s 7d69cbeedb Add include folder 3rdparty/bgfx/3rdparty/khronos too (nw) 2019-10-13 19:20:51 +02:00
Julian Sikorski 0837e7451a WIP: sync bgfx, bx and bimg with latest upstream (#5723)
* Sync with bgfx upstream revision b91d0b6

* Sync with bx upstream revision d60912b

* Sync with bimg upstream revision bd81f60

* Add astc-codec decoder

* Rename VertexDecl to VertexLayout

* Rename UniformType enum Int1 to Sampler.

* Add NVN stub

* Fix unused-const-variable error on macOS

* Drop redundant explicit language parameters
buildoptions_cpp are only applied to c++ files and buildoptions_objcpp are only
applied to objective c++ files. As such, hardcoding -x offers no benefit while
preventing overrides (such as one needed by 3rdparty/bgfx/src/renderer_vk.cpp on
macOS) from working.

* Re-introduce -x c++ in places where C code is compiled as C++ to prevent clang from throwing a warning

* Build bgfx as Objective-C++ on macOS
It is needed due to included headers

* Enable Direct3D12 and Vulkan bgfx rendering backends

* Enable building of spirv shaders

* Properly escape /c in cmd call

* Comment out dx12 bgfx renderer

* Honor VERBOSE setting during shaders build

* Only invert hlsl shader XYZ_TO_sRGB matrix for opengl

* Add spirv shaders

* OpenGL ES needs transposed matrix too

* Metal needs transposed matrix as well
2019-10-13 07:50:38 -04:00
couriersud 8f83e4392f netlist: code maintenance (nw)
- clang lint and pedantic fixes
- mat_cr.h: separate solving linear systems from underlying matrix
2019-10-12 19:36:50 +02:00
Vas Crabb 4b414fa45b clean up some .hxx abuse (nw) 2019-10-05 14:02:58 +10:00
Vas Crabb bcfa6047c3 Build system maintenance:
* Re-write makedep.py for better performance and better parsing front-end
* Make srcclean deal with kinds of preprocessor abuse I never want to see in real life

(nw) The new parser front-end is better at recognising C++ syntax and
also substantially faster - bootstrapping a single-driver build should
be noticeably quicker.  Having a single parser for C++, .lst and .flt
files also gets us a bit closer to making it simpler to create custom
subtargets.
2019-10-04 22:55:01 +10:00
smf- a42f6019b6 Fix for Visual Studio builds (nw) 2019-10-01 13:15:38 +01:00
AJR 12c08b06c8 Split generic Z180 device into several subtypes. HD647180X now has specific device emulation for the internal PROM, RAM and parallel ports. 2019-09-30 21:30:10 -04:00
couriersud cc8114f394 netlist: less cpp - more headers (nw)
- move more code in headers - delete some cpp files.
2019-09-29 00:31:30 +02:00
Vas Crabb 9a12ab37af Make osd_printf_* use util/strformat semantics.
(nw) This has been a long time coming but it's here at last.  It should
be easier now that logerror, popmessage and osd_printf_* behave like
string_format and stream_format.  Remember the differences from printf:
* Any object with a stream out operator works with %s
* %d, %i, %o, %x, %X, etc. work out the size by magic
* No sign extending promotion to int for short/char
* No widening/narrowing conversions for characters/strings
* Same rules on all platforms, insulated from C runtime library
* No format warnings from compiler
* Assert in debug builds if number of arguments doesn't match format

(nw) Also removed a pile of redundant c_str and string_format, and some
workarounds for not being able to portably format 64-bit integers or
long long.
2019-09-26 20:53:06 +10:00
mooglyguy 1a5bf558cc -avivideo.cpp: Added an image device to provide looping uncompressed AVI frames as input. [Ryan Holtz]
-vino.cpp: Adapted to support both avivideo_image_device and picture_image_device. [Ryan Holtz]
2019-09-23 17:44:05 +02:00
Vas Crabb 5036387ab4 srcclean (nw) 2019-09-22 13:34:40 +10:00
AJR 9afcd9c9b9 acorn_vidc: All right, move this back to src/devices/machine (nw) 2019-09-20 11:12:44 -04:00
AJR 0917a7295f acorn_vidc: Move to src/devices/video and fix full build (nw) 2019-09-20 10:13:01 -04:00
Angelo Salese 3e6b9f9756
Rewritten Acorn VIDC10 into own device file [Angelo Salese] #5671
* Improved raster effects on games that dynamically change palette on active frame;
* Added stereo sound support;
2019-09-20 15:38:24 +02:00
Vas Crabb 36cbaa12b1 (nw) misc cleanup:
* Fix path for coleco cartridge bus header
* Remove some assert_always
* Fix some comments that seem to have been victims of scripted editing
2019-09-19 13:16:01 +10:00
Michael Zapf 4495c35113 geneve: Add PC KBD connector; allow for using XT keyboards in place of the currently high-level emulated XT/AT 101 keyboard. 2019-09-17 17:47:14 +02:00
AJR e4903df939 drawgfxm.h: Rename to drawgfxt.ipp and replace the mega-macros with template functions (nw) 2019-09-16 22:21:29 -04:00
arbee 2292cf332c Preliminary Mac native OSD. Not working yet. [R. Belmont]
This will compile, link, and run a driver all the way to the first info screen, provided you use -video bgfx.

However, although there's a valid NSWindow created, it never actually appears on screen for unknown (but likely silly) reasons.

Inputs are not implemented and fullscreen exists but is untried.
2019-09-15 20:00:59 -04:00
fulivi d4e2fbd306 HP9845: TACO driver re-written (#5601)
* hp9825: fixed a bug in 9825t

* hp9845: TACO driver re-written from scratch, DC100 tape separated into
a new device, various adaptations

* hp9845: "new TACO" renamed to just "TACO"
2019-09-09 16:05:41 -04:00
Nigel Barnes 035380ca97 dragon32: Added JCB Speech Synthesis cartridge. 2019-09-07 17:39:53 +01:00
Olivier Galibert 5eff6a0beb Sigh (nw) 2019-09-05 09:38:52 +02:00
Olivier Galibert e6ecaac339 vrender0: Fix link by moving mame/video/vrender0 to devices (nw) 2019-09-05 09:37:27 +02:00
Angelo Salese 11f9727726
Various improvements over Vrender0 based systems [Angelo Salese] (#5580)
*   Made some experimental work with menghong based HW, allowing crzyddz2 to boot and improving menghong colors;
*   Internalize video and audio components inside the SoC;
*   Wrote a preliminary UART subdevice;
*   Made external video clock to be settable by the host driver;
2019-09-02 07:27:21 +02:00
AJR 0b039c68e1 Add dump and emulation of Alpha Micro AM-310 Communications Controller [AJR, Bitsavers] 2019-08-28 19:19:27 -04:00
David Haywood b77d8ecb03 Spectrum betadisk stuff (#5564)
* spectrum bus : rename beta.cpp to beta128.cpp as the original beta is somewhat different (nw)

* (nw)

* start making a device for the actual original beta disk interfaces (nw)

* flesh out beta stuff a bit (nw)
2019-08-29 00:15:06 +03:00
68bit 5c482945c6 asmjs: avoid explicitly linking SDL2_ttf.
It appears that it is sufficient to include `-s USE_SDL_TTF=2`, and
emcc links in the SDL2_tff library, and it does not like attempts to
link this twice.
2019-08-28 14:25:27 +00:00
68bit 6d76d3f8f8 asmjs: can not ignore errors on missing libraries
The current Emscripten release is not happy with the use of
"-s ERROR_ON_MISSING_LIBRARIES=0" as a link option, it gives an error
stating that all libraries must now be present, so remove that use.

This leaves a missing 'util' library. This did not appear to be
needed on the few builds I have tried, and this patch avoids adding
this library for asmjs.
2019-08-28 14:25:27 +00:00
68bit 5c53673c5e WD1000: new hard disk controller
Used by the SWTPC09 DMAF3 and it boots UniFLEX on a disk image, and
perhaps some other machines can leverage this.
2019-08-26 13:06:26 +10:00
arbee a40bc736e7 apple2: Initial support for ComputerEyes/2 slot card [R. Belmont, Golden Child] 2019-08-25 20:19:17 -04:00
Angelo Salese f5b2fd9ee6
Major refactoring of VRender0 SoC device [Angelo Salese] (#5527)
*    Improved encapsulation between video and machine SoC periperals;
*    Split up HWs in individual files where they don't belong to Crystal System HW, makes future development easier;
*    Untangled reads/writes to draw/display bankswitches from screen_update, now they can be unthrottled safely;
*    Added CRTC screen raw parameters;
*    Add DMA hold feature and clear irq on mask writes, specific for P's Attack;
*    Improved Cross Puzzle flash loading, currently failing at POST for a SPU error;

nexus3d.cpp: add some preliminary work, currently does some VRender3d pipeline fill with a debug trick [Angelo Salese]

(out of whatsnew)
Some stuff definitely needs fine graining, like removing the few lines that are still necessary to configure the VRender0 from driver files, which I'm gonna do in my next feature branch.
2019-08-24 11:33:39 +02:00
hap 0617790932 add md4330/4332 lcd driver (nw) 2019-08-21 14:52:35 +02:00
mooglyguy 450a57568e -dsp56k: Renamed relevant classes, files and namespaces to indicate that it is a DSP56156 core, not a DSP5600x core. [Ryan Holtz] 2019-08-19 15:53:47 +02:00
AJR de57ef7b97 atronic.cpp: Add more onboard devices, including new PCF8584 skeleton (nw) 2019-08-17 22:40:15 -04:00
68bit 3d5aefd1e1 SS-30 DC5 floppy disk interface
Split out the floppy disk controller from the swtpc09 machine, adding it to
the ss50 interface. The DC5 is compatible with both the SWTPC 6800 and 6809
systems, supporting the 4 and 16 byte I/O interfaces respectively, via a
jumper setting, so can be used on the MAME swtpc and swtpc09 machines. The
DC5, like the DC4, supports double sided and density disks, and claimed
backward compatibility with the DC1, DC2 and DC3.
2019-08-16 13:35:58 +10:00
mahlemiut daa3de1f6a amstrad: add Ram Electronics Music Machine MIDI and sampler expansion. [Barry Rodewald] 2019-08-16 14:43:49 +12:00
68bit e133bf83cc SS-30 PIA IDE hard disk interface
Split out the PIA IDE hard disk interface from the swtpc09 machine. This
support appears to have been incomplete or to have bit rotten, and has been
updated and tested lightly with FLEX9.
2019-08-16 09:21:36 +10:00
DavidHaywood 639a5c1fe6 don't use my ill-conceived generator for arcompact, easier to work with as regular files (nw) 2019-08-15 14:42:48 +01:00
68bit a4e23e061e SS-30 MP-S2: Dual Serial Interface
For the SWTPC09.
2019-08-14 23:35:14 +10:00
AJR 83e63dacf4 Add device emulation for DS17x85 series of MC146818-compatible RTCs with additional features 2019-08-14 09:12:12 -04:00
S.Z a3588c18bf Enable precompiled header usage in the Visual Studio compiler (#5473)
* Enable precompiled header usage in the Visual Studio compiler
But only for libraries emu frontend precompile dasm optional
Also add emu.h include to hpcdasm.cpp

* Include emu.h in some disassembler sources to use precompiled headers

* Remove debug message
2019-08-13 13:20:53 -04:00
R. Belmont 98e518f1b6
Merge pull request #5469 from 68bit/ss50-mpt
SS-30: add support for the MP-T timer / counter card.
2019-08-13 13:19:15 -04:00
68bit 10f480911d swtpc09: add a UniFLEX specific floppy format.
The UniFLEX disk format is not compatible with the Flex format. Significantly it
does not use a mix of single density for booting on some double density disks
which makes it simpler - hardware required a new boot ROM to run UniFLEX.
Further, the UniFLEX sector size is 512 bytes versus 256 for Flex, and the
UniFLEX 'SIR' info sector record is completely different to the info on Flex
disk, and the file system format is also not at all compatible.

Thus the UniFlex format can rely largely on the WD17xx format, with an
overload to handle the sector numbering on the second side continuing from the
first side (one feature in common with the Flex format). This gives a quick
'save' capability and shares code.

Support for 8" disks is included as this was the initial distribution format
and the only one found so far.
2019-08-13 13:42:13 +10:00
68bit d041a264de SS-30: add support for the MP-T timer / counter card.
E.g. this can be used SWTPC FLEX for a timer tick.
2019-08-13 12:11:13 +10:00
Ramiro Polla fb5a3dcfaa gdbstub: added new GDB stub debugger (#5456)
* gdbstub: added new GDB stub debugger

This debugger can be used to connect to an external debugger that
communicates using the GDB Remote Serial Protocol, such as GDB itself
or many other GDB frontends.

Currently i386 (ct486), arm7 (gba), and ppc (pmac6100) are supported.

* gdbstub: enable GDB stub debugger in mac and windows builds
2019-08-11 12:21:16 -04:00
arbee b9d3f359e5 apple2: Support the original gameport ComputerEyes [R. Belmont, Golden Child] 2019-08-09 22:10:49 -04:00
arbee f6e204b4ae Add still-frame PNG image device for use by digitizers/cameras/etc. [R. Belmont]
Other formats can be added, we already have libjpeg in 3rdparty/.
2019-08-09 19:57:10 -04:00
mahlemiut d7267c1cdd pcipc: added a slightly more usable PCI S3 Virge/DX video card.
s3virge: added PCI interface, and linear framebuffer support. [Barry Rodewald]
2019-08-09 15:00:48 +12:00
shattered 5936b650b6 agat: Nippel Clock slot device (#5425) 2019-08-04 15:47:29 -04:00
AJR 6a3e79f9a7 e9161: Add skeleton CRTC device; document SIO accesses (nw) 2019-08-03 10:51:44 -04:00
Dirk Best 8632105397 juku: Floppy support WIP, enable BASIC 2019-08-02 16:15:04 +02:00
David Haywood d193b2f3ad steps towards some spectrum expansions - attempt 2 (resynced to AJRs changes) (nw) (#5417)
* steps towards some spectrum expansions - attempt 2 (nw)

* (nw)

* (nw)
2019-07-31 18:08:48 -04:00
AJR b218528e1f microdrv: Change image type to magtape; default clock; move to imagedev (nw) 2019-07-30 21:04:38 -04:00
arbee 00db3c0c21 apple2: Add support for the 4Play Joystick Card [R. Belmont] 2019-07-29 23:16:09 -04:00
arbee 908be55775 apple2: support Sirius JoyPort on compatible Apple II models. [R. Belmont] 2019-07-28 21:43:18 -04:00
Nigel Barnes 7e988f9563 microtan.cpp: The Microtan driver overhaul!
- Renamed driver microtan->mt65
- Added alternative monitor ROMs: TANBUG V3.1, TANBUG V.3B, TUGBUG V1.1, TANBUG V1.
- Replaced XBug with original 0.75MHz version, fixes cassette loading.
- New machine Micron, consisting of MT65 and Tanex boards only.
- Implemented the Microtan motherboard backplane and moved Tanex to slot device.
- Additional boards implemented: Bulldog Sound Generator Board, Mousepacket Designs Colour VDU Card, Tangerine Tandos Board (not working), Tangerine High Resolution Graphics Card (monochrome), Tangerine High Resolution Graphics Card (colour), Tangerine Tanram Board, TUG 64K RAM Card, TUG Programmable Graphic Module Card,  Microtanic Video 80/82 (not working), Ralph Allen 32K EPROM-RAM Card (incomplete), Ralph Allen Disc Controller Card (not working), Ralph Allen Colour VDU card
- Added Microtan 6809 System, not yet working.
- Added Space Invasion (ETI), the DIY project from Electronics Today based on the Microtan.
2019-07-26 12:46:24 +01:00
AJR 385138a88e Add dump and skeleton device for Philips CDD2000 CD-R [Cyberia/2 Filebase]
Add dump and skeleton device for Caravalle CD-R N820s [I-Shou University File Server]

h83048: Undo variable shadowing (nw)
2019-07-24 10:22:48 -04:00
Patrick Mackinlay ca8cd90e2b bt431: new device (nw) 2019-07-23 17:55:17 +07:00
arbee 0d716bfb5e mac128/512: preliminary (not working) support for the GCC HyperDrive hard disk interface [R. Belmont, Guru] 2019-07-21 17:25:41 -04:00
Robbbert 65054fc4f1 (nw) split binbug into 3 sources. 2019-07-22 01:22:40 +10:00
AJR b5e018a5ab poly88, poly8813: Add PolyMorphic 16K RAM card and make one the default 2019-07-19 00:18:26 -04:00
AJR 63bda946e2 poly88, poly8813: Bus expansion
- Replace additional driver RAM with S-100 bus
- Convert Video Terminal Interface into a S-100 bus device
- Add skeleton S-100 bus device for SSSD disk controller
2019-07-18 20:24:03 -04:00
Nigel Barnes 7e74ffcde1 New working software list additions
-----------------------------------
dragon_cart: AMTOR/AX25 [David Linsley]
2019-07-16 21:55:56 +01:00
Patrick Mackinlay 1f9fd834af wtl3132: new device 2019-07-15 22:28:19 +07:00
AJR 4105acd1ed cw7501, cdr4201: Transform skeleton drivers into SCSI bus devices 2019-07-11 17:08:12 -04:00
AJR cbaa8520ca Default list of nscsi devices (nw) 2019-07-11 14:59:16 -04:00
AJR 60d4805d55 Move modern SCSI CD/HD devices into src/devices/bus/nscsi (nw) 2019-07-11 14:20:32 -04:00
AJR 30afb4579d Add disassembler and skeleton CPU device for CompactRISC CR16B architecture
vtech_unk1.cpp: Driver moved to glcx.cpp (nw)
2019-07-05 19:02:43 -04:00
ajrhacker 5035b85be0
Merge pull request #5303 from shattered/_430d642ac2
agat: basic emulation of agat9 (video, apple compat mode, LLE floppy)
2019-07-04 14:46:16 -04:00
arbee 515bbedaf3 f2mc16: add MB90610A and MB90611A microcontrollers. [R. Belmont] 2019-07-03 20:56:10 -04:00
arbee 306f4e6884 Preliminary Fujitsu F2MC-16 CPU core, currently disassembly only [R. Belmont] 2019-07-01 22:21:00 -04:00
Sergey Svishchev a152d1125f agat: basic emulation of agat9 (video, apple compat mode, LLE floppy)
also included: MX floppy format (nw)
2019-07-02 01:13:38 +03:00
Patrick Mackinlay 4b70016e83 new device seeq8003 2019-06-26 20:21:15 +07:00
hap e73cf96fbd added sensorboard with piece recognition (nw) 2019-06-23 00:58:37 +02:00
AJR 48f7db090f Add disassembler and skeleton device for DP8344 Biphase Communications Processor 2019-06-22 18:14:16 -04:00
AJR 81eec8d860 Preliminary disassembler and skeleton CPU device for Elan RISC II/RII series architecture 2019-06-20 17:01:38 -04:00
Patrick Mackinlay 4c15ecdbb6 bt47x: new device (nw) 2019-06-20 18:28:06 +07:00
MooglyGuy 1af85e45ca -74381: Added untested 74S381 ALU / Function Generator device. [Ryan Holtz]
-dpb_brushproc: Added PROM signal lookups, nw

-am25s55x: Fixed some incorrect comments, nw
2019-06-18 14:37:14 +02:00
MooglyGuy 56af5d0d26 -dpb_brushproc: Added skeleton device for DPB-7000 Brush Processor Card. [Ryan Holtz]
-am25s55x: Initial device implementation for Am25S557 and 25S558 Combinatorial Multiplier chips. [Ryan Holtz]

-dpb_combiner: Fixed validation, nw

-dpb7000: Added devices for new Brush Processor Card skeleton, nw
2019-06-18 01:50:20 +02:00
mooglyguy ccc03cab08 -tdc1008: Fixed latching of RND, TC, ACC, and SUB signals. [Ryan Holtz]
-tmc208k: Added device for TRW TMC208K/TMC28KU 8x8-bit Parallel Multiplier. [Ryan Holtz]

-dpb7000: Added placeholder devices for TMC multipliers on the Combiner Card, nw
2019-06-17 02:13:09 +02:00
mooglyguy 68d9445979 -tdc1008: Initial untested implementation of the TRW TDC1008 Multiplier-Accumulator. [Ryan Holtz]
-dpb7000: Added TDC1008 devices for the Filter Card, albeit not hooked up yet, nw
2019-06-16 23:46:22 +02:00
hap ed0202220a screenless: make it a device (nw) 2019-06-14 17:45:53 +02:00
AJR e49e75c122 Add device emulation for MM5307 Baud Rate Generator 2019-06-14 00:32:55 -04:00
AJR 7e54e1263b apple2, apple2e, apple2gs: Generic emulation of Game I/O connector. Joysticks are now slot devices.
mbc55x: Add Game I/O port
2019-06-10 16:34:44 -04:00
mooglyguy 8689ada5a3 -am2910: Added prelminary, largely-untested Am2910 Microprogram Controller device emulation. [Ryan Holtz]
-dpb7000: Initial pass at Disk Sequencer Card emulation. Needs debugging. [Ryan Holtz, Mark Nias]
2019-06-05 04:41:21 +02:00
feos aa1875694d fix vsllvm configuration
- dxsdk was missing from includes
- winmm was missing from libs
- narrowing warning was silenced for VS, but not from vsllvm, where it leads to an error in menu_video_options::handle()
2019-06-03 14:29:01 +03:00
hap 0a213f860c chessmachine: device was in wrong folder and forgot to update compile script (nw) 2019-06-01 14:53:14 +02:00
hap 22b7b3f4de added shared chessmachine device for Mephisto risc, chessmachine EC, chessmachine DR (nw) 2019-06-01 13:16:29 +02:00
Patrick Mackinlay d00c294732 hle_mouse: high-level emulation of PS/2 mouse 2019-05-31 16:01:54 +07:00
AJR 84b924a1f7 Revert "-Removed sbus and gio64 buses..."
This reverts commit 3207d504fe.
2019-05-29 16:08:47 -04:00
MooglyGuy 3207d504fe -Removed sbus and gio64 buses since they aren't up to his majesty AJR's bar of quality, nw 2019-05-29 19:15:27 +02:00
tyfighter 78d3026f86 SGI GIO rename to GIO64 (#5125)
-gio: Renamed GIO slot device implementation to GIO64, nw
2019-05-29 01:44:58 +02:00
Dirk Best 244b03bb52 New device: UPD7004 ADC 2019-05-28 09:48:59 +02:00
hap 93060c917e New NOT_WORKING software list additions
---------------------------------------
ibm5170: The ChessMachine (Installer V3.0) [hap]
ibm5170: The ChessMachine (Installer V2.2) [hap]
2019-05-27 19:19:59 +02:00
fulivi 41c456c3a6 Hp9845: added 98046 module emulation (#5115)
* hp9845: fixed handling of optional ROMs (nw)

* z80sio: massive enhancement to Z80 SIO driven by HP98046 test sw

* hp9845: implemented the HP98046 serial I/O module
2019-05-26 12:00:33 -04:00
Vas Crabb 626b566fee srcclean (nw) 2019-05-26 13:10:03 +10:00
AJR 6f91e0a2f4 Preliminary emulation of ASC-88 SCSI adapter [AJR, minuszerodegrees.net] 2019-05-22 20:39:13 -04:00
AJR 6fff18773b i386: Improve splitting of unaligned accesses (excluding program fetches)
(nw) This entails a major code reorganization just to keep the scale of it all halfway sane.
2019-05-19 17:41:50 -04:00
AJR d1e1e830d7 Add dumps of Atari 800 floppy controller ROMs [Atari Age]
bus/a2sio: Skeleton device work, fleshing out interface (nw)
2019-05-17 01:14:09 -04:00
Kiall Mac Innes 16bbe847ef Disable WII Lightgun hack by default (#5056) 2019-05-14 16:55:59 -04:00
grullosgo aff42a9969 Add DS1994 device (#5054)
Add DS1994 device
amaticmg driver: added ds1994 device, modified prom load, added ds1994 to romload
2019-05-14 16:07:02 -04:00
Curt Coder e25255a525 c64: Added skeleton for BusCard II cartridge. [Curt Coder] 2019-05-13 20:49:35 +03:00
hap 582b9e279f c64: added mouse controller (nw) 2019-05-13 19:12:23 +02:00
Nigel Barnes 5f68641241 bbc: Implemented PMS Genie ROM device. 2019-05-12 16:10:39 +01:00
Nigel Barnes 037714e412 bbc: Added ATPL AutoPrommer and User Port Splitter devices. 2019-05-11 18:42:27 +01:00
Nigel Barnes e0f9fdf1f8 dragon.cpp: Added Premier Sprites board. 2019-05-11 18:42:27 +01:00
David Haywood de235f4623 allow smartfp to show.. something (nw) (#5030)
* smartfp generate an interrupt, add a palette (nw)

* video registers look a lot like the spg220 hw here (nw)

* getting ready to split into video (nw)

* code shuffle (nw)

* shuffle (nw)

* (nw)

* (nw)

* (nw)
2019-05-10 20:23:34 -04:00
AJR 610897fd38 Preliminary emulation of T6963C and related LCD controllers 2019-05-06 20:27:20 -04:00
AJR d3132cc13b Add AIC-565 device 2019-05-06 00:24:11 -04:00
Curt Coder 73f372e55d abc80: Added skeleton for Owoco Super Smartaid. [Curt Coder, Anders Sandahl] 2019-05-05 16:39:34 +03:00
Curt Coder 8050b0c466 c64: Added skeleton for BusCard cartridge. [Curt Coder] 2019-05-05 16:39:34 +03:00
mooglyguy d64b1781d7 -gio: Added basic SGI GIO slot device support to the Indy and Indigo 2 drivers. [Ryan Holtz]
-newport: Converted to GIO slot device and added 8-bit XL and 24-bit XL board support. [Ryan Holtz]
2019-05-05 14:59:09 +02:00
David Haywood f8656d9246 TV Game Work (progress towards smartfp and wrlshunt) (#4956)
* unsp refactoring / tv game work (nw)

* unsp refactoring / tv game work (nw)

* srcclean (nw)

* more ops (nw)

* (nw)

* (nw)

* guesses (nw)

* more guesses (nw)

* (nw)
2019-04-30 19:04:53 -04:00
Olivier Galibert ea9cd8aea1 m680x0: gratuitously convert the generator to python [O. Galibert] 2019-04-29 22:04:15 +02:00
Olivier Galibert 0ce1c644e3 mu50: Enhance, add the swp00 [O. Galibert] 2019-04-28 14:52:20 +02:00
tim lindner 8a8fcba120 Fix OS-9 disk writing bug (#4925)
* Start fixing OS9 disk handling

* Got it working, now need to refine and test

* Almost complete. Doing more testing...

* Tested aginst a varient of sotware. Solved bug. Cleaned up tabs.

* Turned on sector interleaving in OS9_DSK and retested.
2019-04-26 12:12:01 -04:00
Kiall Mac Innes 489087f173 Enable Xinput by default
On Linux, enable Xinput support by default. The Xinput lightgun driver is the
only reliable+accurate method to use lightguns on Linux, we should enable this
by default to reduce the friction for Linux Lightgun users. This should have no
effect on users of Windows/Mac etc.
2019-04-21 12:48:51 -07:00
AJR adeeb00143 machine.lua: Fix copy/paste mistake (nw) 2019-04-21 01:17:29 -04:00
AJR 9b3a449790 Add very preliminary Intel 82355 BMIC device 2019-04-21 00:35:59 -04:00
Vas Crabb 112062f7bb Add AMD/Plessey 2812 FIFO device (for WIP Star Rider driver) 2019-04-21 13:43:52 +10:00
AJR 06fc72cdcb Add skeleton devices for Tekram EISA SCSI contrllers [Metropoli BBS Archive, I-Shou University File Server] 2019-04-17 21:57:39 -04:00
AJR cdd6766fe4 scc68070: Merge CPU device with on-chip peripheral emulation
- Add internal clock divider
- Add a few crude hacks to force status bits in unemulated UART and I2C
2019-04-17 15:41:23 -04:00
AJR 295d25cff0 Add skeleton device for UltraStor Ultra-24F EISA SCSI controller [Metropoli BBS Archive] 2019-04-14 21:19:50 -04:00
AJR e01935498f Add skeleton device for UltraStor Ultra-14F SCSI controller [Metropoli BBS Archive] 2019-04-14 18:22:18 -04:00
DavidHaywood a816cffe18 pull SunPlus GCM394 titles out of vii.cpp
- it's a newer SoC (with a lot more capabilities, eg rotate, zoom, twice the sound channels)
- it uses an updated unSP core (with some extra opcodes)

also made the modifications needed to allow for extension of the unSP + disassembler once we've worked out what the extra opcodes are.
2019-04-14 00:06:28 +01:00
Olivier Galibert adc473b74d swp20, dspv: Skeletons [O. Galibert] 2019-04-09 08:53:40 +02:00
couriersud 8eb674abc0 Added nld_generic_models.h to netlist.lua. (nw) 2019-03-31 23:49:03 +02:00
cam900 80a48d5229 Add Namco 163 sound emulation (#4814)
* Add Namco 163 sound emulation

* namco_163.cpp : Typo

* namco_163.cpp : Fix spacing

* namco_163.h : Fix comment (nw)

* namco_163.cpp : Correct update behavior
device/bus/nes/namcot.* : Remove / Fix outdated comments

* namco_163.cpp : Remove unnecessary value (nw)

* namco_163.cpp : Add notes (nw)

* namco_163.cpp : inline'd sample function, Minor fix

* namco_163.cpp : Fix notes
2019-03-29 17:57:27 -04:00
David Haywood 9873d6afaa spg110: tweaks for jak_capb, improves rendering, identifies several things (#4816)
* spg110: jak_capb misc guesses (nw)

* misc priority stuff (nw)

* tweaks (nw)

* more tweaks (nw)

* small spg2xx refactor (nw)

* some spg2xx refactoring (nw)

* (nw)

* tidy (nw)

* these have all been moved out into modules (nw)

* sprite work in progress (nw)

* (nw)

* spg110: shift some stuff around and split into files here too

* (nw)

* (nw)

* (nw)

* sprite improvements
2019-03-27 22:40:35 -04:00
AJR 5cbbd0499f Add dumps and skeleton device for Ultra 12F ISA ESDI controller 2019-03-27 17:56:18 -04:00
Vas Crabb 97b6717027 (nw) Clean up the mess on master
This effectively reverts b380514764 and
c24473ddff, restoring the state at
598cd52272.

Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline.  When things like this happen, it wastes
everyone's time.  I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive b380514764 Revert "conflict resolution (nw)"
This reverts commit c24473ddff, reversing
changes made to 009cba4fb8.
2019-03-25 23:13:40 +01:00
ajrhacker b4cfd4f501
Merge pull request #4811 from DavidHaywood/250319
SPG110 - use some SPG24X I/O handling to give inputs in Classic Arcade Pinball
2019-03-25 16:57:34 -04:00
couriersud 39a7c420b1 netlist: add MOSFET model. [Couriersud]
- added MOSFET model. Currently capacitances are not modelled.
  This is a 3-pin model (Bulk connected to Source) with provisions to
  extend it to 4-pin at a later stage.
- Add a capacitor generic model which is charge conserving.
  Switch netlist to use this model instead of constant capacity model.
- Start putting constants into a central place.

Please expect minor timing differences due to a different numerical
path.
The cmos inverter example illustrates the analog implementation of a
cmos inverter gate. These were used a lot back in the 70s/80s to
generate sinus waves. The model should also be able to better emulate
4066 analog switches.
The addition of a relatively simple capacitor model is planned at a
later stage.
Expect everything from the MOSFET model at the current stage. Wrong
results as well as convergence issues and crashes.
2019-03-25 21:45:37 +01:00
DavidHaywood a500ebecb1 refactoring checkpoint (nw) 2019-03-25 16:31:10 +00:00
Nigel Barnes 9e122168ef ns32000: Skeleton CPU device with disassembler for NS32000 family.
bbc: Added preliminary Acorn 32016 2nd Processor, incomplete CPU emulation.
2019-03-23 11:55:09 +00:00
Olivier Galibert b445d10135 ymmu100: Start adding the MEG [O. Galibert] 2019-03-23 12:09:54 +01:00
AJR 6b57e483d6 Add skeleton ISA device for Novell Disk Coprocessor Board [modem7, minuszerodegrees.net] 2019-03-22 21:57:13 -04:00
AJR c3dc67c1fb Add skeleton AHA-1740 and AHA-1742A ISA devices 2019-03-22 19:12:08 -04:00
Nigel Barnes 60e30e44b3 spectrum: Added the Opus Discovery disc system, and OPD floppy format. 2019-03-22 19:24:13 +00:00
Ryan Holtz 5a09b0feb2 -astrocde: Slot-ified accessory port and added lightpen device. [Ryan Holtz] 2019-03-22 17:40:33 +01:00
AJR 44ea330991 Add AHA-1542A, AHA-1542B, and BIOS v1.02 of AHA-1542C ROMs from Adaptec 2019-03-18 23:13:07 -04:00
AJR 4f2da56718 aha1542: Add more ROMs, rename and split into three variants
- AHA-1542C [modem7, minuszerodegrees.net]
- AHA-1542CF v2.11 [Jolaes76, VOGONS Vintage Driver Library]
- AHA-1542CP [modem7, minuszerodegrees.net]
2019-03-17 22:57:52 -04:00
mooglyguy b5c19e9fb2 -astrocade: Various changes. [Ryan Holtz]
* Removed inaccurate comment from astrocde.xml regarding the 2000-baud tape interface.
 * Converted astrohome controllers to slot devices.
 * Added preliminary (not yet working) 300-baud cassette tape slot device.
 * Changed potentiometer callbacks from tagged IO ports to devcb3.

-device: Added feature flag to indicate lack of, or support for, cassette. (nw)
2019-03-17 00:28:54 +01:00
yz70s a81cb8469e i386: add a simple cache to the athlon xp processor (nw)
.
A single 64K 2-way set associative cache
Used for both instructions and data
Enabled only for addresses in the first megabyte
Works always in writeback mode
.
It is needed by the nforce motherboard bios that uses it to simulate a
block of ram at address d0000 before ddr ram is configured
2019-03-14 21:03:12 +01:00
Nigel Barnes 3a8fc3967b spectrum: Added the Cheetah SpecDrum device. 2019-03-14 14:01:32 +00:00
Nigel Barnes 596c68e755 spectrum: Added the Technology Research Beta 128 Disk Interface. 2019-03-14 12:07:50 +00:00
David Haywood cb60e245dc SPG2XX - Make audio emulation a subdevice (#4757)
* SPG2XX - Make audio emulation a subdevice

(I need to reuse some of it for SPG110)

* these will end up in different places on spg110 so split the handler (nw)

* refactor a little for cleaner use later (nw)

* realign logging with function names (nw)

* (nw)

* (nw)

* recent change in audio_beat_tick appears to break "icanpian jjs" seems unintentional? (MG please verify)
also documented an existing suspicious use of 'channel' in code.

* use channel_bit here instead, seems more logical (nw)

* reorganize code here a bit too (nw)
2019-03-14 22:35:19 +11:00
AJR 8bb26b3bc0 Add skeleton BusLogic BT-545S SCSI host adapter device [modem7, minuszerodegrees.net] 2019-03-13 00:34:21 -04:00
Dirk Best 8169286fcc svi3x8: Hook up controllers to the Coleco Game Adapter
Also use our Coleco cartridge emulation instead of generic sockets
and move the cartridge and controller bus emulations to their own
directory.
2019-03-12 11:49:56 +01:00
Nigel Barnes 5511ce41e2 mtx: Added expansion bus with SDX floppy controller.
- 80 column card with SDX in CP/M mode.
- ROM/RAM banking fixed for CP/M, and MTX500 now correctly detected.
- Support for Type 03 and Type 07 .mfloppy images.
- Added alternate MTX2 romset (German).
- Keyboard ROM now selected in Configuration.
- Quickload .RUN files.
2019-03-10 17:23:39 +00:00
Nigel Barnes d1d395e282 New working software list additions
-----------------------------------
electron_cart: ROMPlus-144
2019-03-10 16:03:41 +00:00
Nigel Barnes 09f698ddc8 spectrum: Improved expansion interface to allow devices to act on opcode fetches.
- Added Multiface One/128/3, and MultiPrint devices.
2019-03-10 16:03:40 +00:00
hap f86ffd0802 added mm5445_device (nw) 2019-03-07 21:06:38 +01:00
AJR 156619b401 Add skeleton CPU device and disassembler for HPC architecture 2019-03-03 16:56:13 -05:00
enikland2 5309bae38b sg1000m3: Add keyboard cable link for F-16 Fighting Falcon's 2p mode (#4680)
* sg1000m3: Add keyboard cable link for F-16 Fighting Falcon's 2p mode

* included missing files
2019-02-27 01:02:31 -05:00
Peter Ferrie 487cb60ae6 further quieting of MS-LLVM (nw) 2019-02-25 14:48:37 -08:00
Dirk Best ddc3672bad apricot: Add support for the Winchester controller 2019-02-23 20:42:01 +01:00
Dirk Best 093d7cbf18 New device: Western Digital WD1010-05 2019-02-23 20:41:50 +01:00
couriersud 672f9b092a Move ptime struct into plib namespace and fix relative includes. (nw) 2019-02-23 18:54:27 +01:00
ajrhacker 03753c9fbf
Merge pull request #4671 from shattered/_6dd3d90695
imgtool: new read-only filesystem: DEC RT-11 (take 2)
2019-02-21 07:04:49 -05:00
Patrick Mackinlay 455195eecf xc1700e: new device 2019-02-20 13:25:12 +07:00
Sergey Svishchev 8313f096d3 imgtool: new read-only filesystem: DEC RT-11 (take 2) 2019-02-20 00:42:40 +03:00
Vas Crabb 8ffff5d2d3 (nw) misc stuff:
* Document cross-compilation options
* Use lowercase for some libraries that are lowercase in system32 on Windows anyway
* Make USE_BUNDLED_LIB_SDL2=0 not use the bundled SDL
2019-02-18 21:13:44 +11:00
Vas Crabb 176ba64b26 attempt to fix testkeys linking in more configurations (nw) 2019-02-18 14:28:00 +11:00
couriersud c1ea281761 Fix testkeys compile/link on windows. (nw) 2019-02-17 14:01:57 +01:00
couriersud d72df29988 testkeys: remove dead code, don't build on windows. (nw) 2019-02-17 12:45:20 +01:00
couriersud 44bd859b04 Added sdl testkeys as a tool again. (nw) 2019-02-17 12:45:19 +01:00
couriersud 9c9fe82d4f Fix cross compile mame/sdl/windows. (nw) 2019-02-17 12:45:18 +01:00
cam900 9e495a17eb
scripts/src/netlist.lua : Fix spacing 2019-02-14 06:48:56 +09:00
couriersud fb685c05b9 netlist: memory allocation clean-up. (nw) 2019-02-13 22:37:07 +01:00
Patrick Mackinlay a035eafdfe jazz: wip checkpoint (nw)
At this point, jazz can start Windows NT 4.0 from cdrom, but crashes launching the session manager just prior to running setup.
2019-02-12 18:09:47 +07:00
David Haywood dea868dfaa new WORKING machines (JAKKS stuff) (#4624)
New WORKING machines
---
Ms. Pac-Man 5-in-1 (Ms. Pac-Man, Pole Position, Galaga, Xevious, Mappy) (JAKKS Pacific TV Game, Game-Key Ready) [Sean Riddle, Peter Wilhelmsen, 19 external donators]
Disney Princess (JAKKS Pacific TV Game, Game-Key Ready) [Sean Riddle, 20 external donators]

New WORKING Software List entries
---
jakks_gamekey_nm:nrxdig New Rally X & Dig Dug  [Sean Riddle, Peter Wilhelmsen, 19 external donators]

note, Pole Position is not really very playable at the moment due to raster rendering glitches, the rest are, aside from some obvious sound issues (nw)

New machines marked as NOT WORKING
---
Wheel of Fortune (JAKKS Pacific TV Game, Game-Key Ready) [Sean Riddle, 20 external donators]

There is a video rendering glitch (lkely another off by x lines raster issue) causing the letter selection text to not render properly, it appears the letters scroll instead of the text scroller below, which doesn't. (nw)

-spg2xx: Make rowscroll offset configurable, can't find register to control it, but JAKKS games need 0, while the chinese stuff needs 15 (nw)

-jak_wof: Marked as working, analog wheel isn't emulated, but is optional (I don't see where / how it maps) (nw)

-jak_wof: Improved inputs (nw)

-gamekeys now save to the gamekey seeprom not the system one (nw)
2019-02-10 18:47:03 +01:00
Peter Ferrie e769e76ce4 enable sub-second snapshot timers (nw) (#4493)
* enable sub-second snapshot timers (nw)

* switch to attotime, accept doubles

* support LLVM extension in MSVC

make vsllvm

using extension from here:

https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain
2019-02-04 13:05:46 -05:00
AJR 44f375b47d Add skeleton CRT9028 device (nw) 2019-02-03 13:13:30 -05:00
Patrick Mackinlay ba8d7b1c8f r4000: experimental mips3 implementation (nw)
WIP checkpoint: while I believe it's largely accurate (and very slow), neither jazz nor sgi systems can fully boot yet using this device, so it remains experimental.

This implementation should go away when it has helped identify the improvements required for mips3.
2019-02-01 15:27:13 +07:00
Vas Crabb 76323eb770 srcclean and cleanup (nw) 2019-01-27 14:22:20 +11:00
AJR 68735745b0 New skeleton ISA16 device: InterLan NP600A-3 Intelligent Protocol Processor [modem7, minuszerodegrees.net] 2019-01-26 14:30:36 -05:00
AJR 79b6956563 New skeleton ISA16 device: Everex EV-346 disk controller [modem7, minuszerodegrees.net] 2019-01-26 01:43:10 -05:00
AJR 35c6f44849 New skeleton ISA16 device: Joincom JC-1310 FDC [Tronix, minuszerodegrees.net] 2019-01-26 01:03:23 -05:00
Nigel Barnes 41f70ede78 bbc: Added the Logotron Sprite Board on the 1MHz bus (for use with Logotron Logo). 2019-01-25 23:25:39 +00:00
Patrick Mackinlay bb0702d2d5 alpha: new cpu, disassembler only 2019-01-24 15:03:38 +07:00
Vas Crabb e55e20c79e Revert "nes_vt: APU improvements (#4476)"
This reverts commit 6d3238ead8.
2019-01-24 11:06:08 +11:00
Nigel Barnes 89c09536ac electron: Amended cartridge slot interface to include OE and OE2 lines to specify ROM13.
- Added Slogger Plus 2 Expansion, Acorn Tube Interface and P.R.E.S. Advanced Plus 5 cartridge devices.
- Use derived 16Mhz clock on expansion bus and cartridge slots.
- Removed MCFG and added devcb3 in expansion and cartridge devices.
2019-01-23 02:10:10 +00:00
Olivier Galibert 9ef08696cc wd33c9x: Convert the remaining drivers, kill the old driver [O. Galibert] 2019-01-22 22:20:54 +01:00
arbee 32703cfa5a decstation: move SFB video chip to separate device for future AlphaAXP sharing [R. Belmont] 2019-01-20 21:29:32 -05:00
MooglyGuy 953d9737d4 -vsmile: Converted to use slot devices for controllers. Breaks controller input. Checkin in so Vas can look at it, nw 2019-01-20 05:12:08 +01:00
MooglyGuy 165e617ca2 -spg2xx: Added additional timer logging, nw.
-vsmile: Demoted all drivers to MNW, nw.

This reverts commit d48481df90.
2019-01-19 19:43:31 +01:00
MooglyGuy d48481df90 -vsmile: Removed all of my work and returned to a skeleton driver, since it's not good enough for Haze. nw 2019-01-19 18:36:05 +01:00
Vas Crabb db178071f5 no need to add that twice (nw) 2019-01-20 02:02:19 +11:00
Vas Crabb 57d9f16115 vsmile: add skeleton controller bus 2019-01-20 01:25:44 +11:00
Vas Crabb 9198c2bd58 More UI stuff:
* Split up the different parts of ICO loading in the menus (locating files, scaling, drawing, etc.)
* Added icon support to software selection menu
* Added support for more ICO file variants, including PNG-in-ICO (new DIB parser is overkill for ICO but I can factor it out for BMP loading at some point)
* Added favourites filter for software menus - includes software that's favourited on any system, so GBC includes DMG favourties and vice versa
* Eliminated unnecessary member variables and O(n) walks in software selection menu
* Made the menus' cached texture structures a bit more efficient
2019-01-19 17:34:43 +11:00
mooglyguy eb6223426d -vsmile: Added proper slot device emulation for the cartridge slot. Gets vsmile techart fully working. [Ryan Holtz]
-vsmileb: Found enough port bits to show the VTech logo and V.Smile Baby intro. No game boots yet. [Ryan Holtz]

-spg2xx: Added separate logging for external interrupts and address mapping. [Ryan Holtz]
2019-01-17 19:05:46 +01:00
Nigel Barnes 01ef9a6a44 bbc: Re-implemented ROM slots to be able to handle non-standard ROM devices, and added support for:
- 32K ROM slots in B+ and Master series.
- PALPROM carrier boards from Computer Concepts, Watford Electronics, etc.
- Real Time Clock ROM devices from Solidisk and PMS.
- UserRAM sideways RAM from Acorn User.
- MRM E00 DFS.
2019-01-16 20:05:03 +00:00
David Haywood 884a2fd070 new NOT WORKING --- Classic Arcade Pinball (JAKKS Pacific TV Game) [Sean Riddle, David Haywood] (#4502)
* new NOT WORKING --- Classic Arcade Pinball (JAKKS Pacific TV Game) [Sean Riddle, David Haywood]

* move to new driver instead (nw)

* minor note updates (nw)

* map inputs in matelcs (currently needs a hack to boot, so won't show anything yet) also removed a pointless bitswapping in a read function for some other stuff in the driver, and just correct the ports instead

* fix a typo (nw)

* note (nw)
2019-01-13 11:19:06 -05:00
R. Belmont 665eb5001c
Merge pull request #4501 from fulivi/hp9825_dev4
hp9825: added HLE of HP9885 floppy drive
2019-01-13 11:18:39 -05:00
AJR 830b460819 uts20: Add UTS 400-Format Keyboard as slot option [AJR, Bitsavers] 2019-01-12 13:23:56 -05:00
fulivi c6dff30d7a hp9825: added HLE of HP9885 floppy drive. Extended HPI format to
handle single-sided disks.
2019-01-12 18:57:39 +01:00
MooglyGuy 6784650038 unsp: Created a SunPlus u'nSP recompiler. [Ryan Holtz] 2019-01-12 12:51:22 +01:00
AJR 66b50810f2 uts20, uts10: Keyboard emulation and more
- Add custom keyboard port and emulate most of the Expanded Typewriter Keyboard
- Add unidirectional printer port
- Use addressable latch devices to control various things, including disabling display during RAM test
- Hack to pass non-volatile memory test on uts10
2019-01-08 17:52:10 -05:00
R. Belmont 43110c956e
Merge pull request #4487 from shattered/_1c5572b0c3
netlist wip: 7474, 7497, test driver
2019-01-07 16:12:35 -05:00
Sergey Svishchev 737093be1e netlist wip: 7474, 7497, test driver 2019-01-07 22:33:54 +03:00
David Shah 6d3238ead8 nes_vt: APU improvements (#4476)
* nes_vt: Add support for second APU and VT03 PCM

* nes_vt: Add support for VT3x PCM in DGUN2573, etc

* nes_vt_apu: Tidy up after rebase (nw)

Signed-off-by: David Shah <dave@ds0.me>

* nes_vt_apu: Add IRQ support

Signed-off-by: David Shah <dave@ds0.me>

* nes_vt_apu: Remove debug printing (nw)

* nes_vt_apu: Fix indentation (nw)
2019-01-05 21:31:57 -05:00
Vas Crabb 8d40db558e additional documentation on compiling MAME (nw) 2019-01-01 23:30:41 +11:00
Patrick Mackinlay a6f8b885da wd33c9x: somebody dropped this (nw) 2019-01-01 09:17:02 +07:00
Justin Kerk 3c34a1d307 Fix errors with single-driver build of vsnes.cpp [Justin Kerk] 2018-12-30 12:54:48 -08:00
arbee b242f119b6 Added a skeleton for the DEC DC7085 (aka "DZ") quad UART. [R. Belmont] 2018-12-30 00:25:32 -05:00
David Haywood 35ff1ea40b XaviX work (new softlist entries etc. promote ddrfammt, popira, nostalgia, card night etc. to working) (#4439)
* XaviX work
new Software List items [Sean Riddle, David Haywood]
ekara_japan_d:dc0002 BAT Volume 6 (Japan) (DC0002-BAT)
ekara_japan_d:dc0005 TV Pop Volume 9 (Japan) (DC0005-TPJ)
ekara_japan_p:pc0001 BHT Volume 4 (Japan) (PC0001-BHT)
ekara_japan_p:pc0003 ENB Volume 1 (Japan) (PC0003-ENB)
ekara_japan_g:gc0001 BAT Volume 1 (Japan) (GC0001-BAT)
ekara_japan_g:gc0016 TV Pop Volume 5 (Japan) (GC0016-TPJ)
ekara_japan_web:ekaraweb12 e-kara Web cartridge 12M (blank) (Japan)

new clones
e-kara (US?, NTSC, set 2) [Sean Riddle]

enable support for 'p' type cartridges for use with ddrfammt [David Haywood]

various documentation improvements [Sean Riddle, David Haywood]

(there are also 3 bad dumps, currently commented out, will replace later)

* improved filenames (nw)

* for later (nw)

* checkpoint (nw)

* seeprom stuff (nw)

* (nw)

* correctly saves, does not correctly reload, also promote popira and ddrfammt to working

* new Software List entries [Sean Riddle, David Haywood]

ekara_japan:ec0001 J-Pop Mix Volume 1 (Japan) (EC0001-JPM)
ekara_japan:ec0032 ANM Volume 2 (Japan) (EC0032-ANM)
ekara_japan:ec0037 ENK Volume 4 (Japan) (EC0037-ENK)
ekara_japan:ec0046 J-Pop Mix Volume 20 (Japan) (EC0046-JPM)
ekara_japan:ec0005 J-Pop Mix Volume 5 (Japan) (EC0005-JPM)
ekara_japan:ec0007 1976-78 Volume 1 (Japan) (EC0007-G76)
ekara_japan:ec0079 ETZ (Japan) (EC0079-ETZ)
ekara_japan:ec0082 Matthew's Best Hit Selection (Japan) (EC0082-MBH)
ekara_japan:ec0009 ANM Volume 1 (Japan) (EC0009-ANM)
ekara_japan_en:en3 EN-3 (Japan)
ekara_japan_m:mc0013 KSM Mini Volume 5 (Japan) (MC0005-KSM)
ekara_japan_s:sc0012 SAI (series 3) Volume 3 (Japan) (SC0012-SAI)
ekara_japan_s:sc0004 SAI (series 1) Volume 1 (Japan) (SC0004-SAI)
ekara_japan_g:gc0002 BHT Volume 1 (Japan) (GC0002-BHT)
ekara_japan_g:gc0003 BAT Volume 2 (Japan) (GC0003-BAT)
ekara_japan_g:gc0004 BHT Volume 2 (Japan) (GC0004-BHT)
ekara_japan_p:pc0004 BHT Volume 7 (Japan) (PC0004-BHT)

* (nw)

* notes (nw)

* (nw)

* this register seems to be r/w (nw)

* fix crash in popira when pausing (requires register readback)

* save state stuff (nw)

* give excite fishing some inputs while I'm making misc minor changes (nw)

* also promote the Nostalgia games, and Card Night, as they have simple digital inputs and seem to work

* (nw)

* copy+paste modernization

* 2 more dumps (nw)

* doesn't seem to have an seeprom (nw)

* preliminary taikodp controls (nw)

* P4 uses SEEPROM (nw)

* rejig some bases (nw)
2018-12-28 21:03:40 -05:00
Nigel Barnes 2eb95974d9 bbc: Added Music 2000 and EMR BBC Midi Interface 1MHz bus devices. 2018-12-22 17:46:25 +00:00
mooglyguy dc8834b8dc Last round of macro removals before the freeze. (nw)
-sound/discrete, okim6295: Removed MCFG macros. [Ryan Holtz]

-norautp, osi, audio/mario: Removed MACHINE_CONFIG macros. [Ryan Holtz]

-vsmile: Split into its own driver from vii.cpp. [Ryan Holtz]

-vii: Fixed broken controller inputs. [Ryan Holtz]

-konamim2: Massive update. Most games work, but are still marked non-working due to rare MAME crashes in the PPC DRC. [Phil Bennett, Ryan Holtz]
2018-12-22 17:06:47 +01:00
mooglyguy f25021c47f Actually, let's not completely break compilation with MSVC just because someone is really enthusiastic about unsupported build flags. 2018-12-16 17:04:54 +01:00
R. Belmont 2d814a363a
Merge pull request #4402 from DavidHaywood/131218
add derived CPU type for AXC51-CORE (used by AX208 and others) so that we can start to customize disassembly and execution
2018-12-14 14:19:35 -05:00
Dirk Best 625cfabe02 amiga: Add support for the A2058 memory expansion 2018-12-14 19:50:18 +01:00
DavidHaywood 90fef4da16 add derived CPU type for AX51-CORE (used by AX208 and others) so that we can start to customize disassembly and execution 2018-12-14 11:54:49 +00:00
Celelibi 2f70f9698e Fix compilation errors with -Og
Signed-off-by: Celelibi <celelibi@gmail.com>
2018-12-11 14:26:30 +01:00
yz70s bac960a725 i386.cpp: move cpuid and msr routines to new file cpuidmsrs.hxx ... (nw)
... and add placeholders for athlonxp msrs.
2018-12-09 13:57:13 +01:00
mooglyguy 0bd02131b6 3rdparty: Updated bgfx, bimg, and bx to latest upstream. [Ryan Holtz] 2018-12-05 19:45:08 +01:00
fulivi 72dc8609aa hp9825 & hp9845: refactored I/O sub-system. Added 98032 GPIO module. (#4353) 2018-12-05 01:10:58 +11:00
Sven Schnelle 8ac744ebcf hp9122: add layout (nw) 2018-11-23 13:37:47 +01:00
Sven Schnelle 1edf5a32fd Add HP98643 LANIC network card 2018-11-21 21:44:50 +01:00
Nigel Barnes 0e59a7fa27 bbc: Added Aries B488 and Acorn IEEE488 Interface devices on 1MHz bus. 2018-11-20 21:55:05 +00:00
Dirk Best 76637c49f4 Initial version of Commodore A2065 Ethernet card 2018-11-20 17:20:46 +01:00
ajrhacker 2c575fe8bc
Merge pull request #4313 from hp9k/hp98550
add HP98550 high-res color graphic card
2018-11-18 22:47:37 -05:00
Sven Schnelle f6efe2921f add HP98550 high-res color graphic card
Used in the high end HP9000/300 machines. Provides a resolution
of 1280x1024 @ 8bpp. It also provides two overlay planes and one
phantom plane. Each plane contains two window movers that are used
for copying characters and tiles on the screen. It also has a RUG
for line/vector drawing. The current state implements everything
that is required to have a working HP Visual user environment in
MAME.

Working:

- window mover
- pixel replacement rules
- window replacement rules
- f0 tripple replacement rule (copy src or keep destination depending on pattern register)
- VRAM bit access mode
- solid line drawing

Not implemented yet:

- drawing circles
- linetype vector/circles
- rectangles
- filling areas
- tripple replacement rules other than f0
2018-11-18 23:18:36 +01:00
mooglyguy 7b4440920a -o2.cpp: Added CRIME and MACE skeleton devices. [Ryan Holtz]
-mips3.cpp: Various changes: [Ryan Holtz]
 * Added an #ifdef to display DPRINTF calls from the SGI O2 PROM.
 * Switched R4000BE/LE, R4400BE, R4600BE, and R5000BE to 64-bit data bus.
 * Fixed a bug that caused a crash with 64-bit data bus and the DRC.

-indy_indigo2.cpp: Moved a number of devices into HPC3. [Ryan Holtz]

-hpc3.cpp: Fixed an oversight with IRQs. [Ryan Holtz]
2018-11-18 21:51:53 +01:00
mooglyguy 882b5376a8 -scsicd512.cpp: Added various legacy SCSI CD-ROM devices which support 512-byte blocks by default. [Ryan Holtz]
-nscsi_cd.cpp: Added various new-SCSI CD-ROM devices which support 512-byte blocks by default. [Ryan Holtz]

-sgikbd.cpp: Added a rudimentary HLE SGI Indigo keyboard device. Still needs keys to be mapped. [Ryan Holtz]

-indigo.cpp: Various changes: [Ryan Holtz]
 * Expanded logging.
 * Enabled PIT8254 timer. Has the wrong clock value; the correct clock causes a hang.
 * Improved RAM layout.
 * Added stubs for DSP RAM and Entry-level graphics.
2018-11-13 17:55:47 +01:00
mooglyguy 1b08996e2b -dp8573.cpp: Added DP8573 Real-Time Clock emulation. [Ryan Holtz]
-indigo.cpp: Hooked up new DP8573 implementation. [Ryan Holtz]
2018-11-12 02:42:19 +01:00
Patrick Mackinlay 9df6cfe087 r3000: call it like it is (nw) 2018-11-06 17:21:01 +07:00
Olivier Galibert cc537e30db mu100: Make some noise [O. Galibert]
Two sample roms are missing, sad.  Volume is not taken into account
yet (because the registers are not yet understood), pan is though.
Don't even think about reverb or effects :-)

Current code plays a scale in a loop.  Comment the timer alloc in
machine_reset to kill that.

Demo song (missing lots of sounds, because roms): U then > until demo
then ENTER ENTER.
2018-11-05 15:35:07 +01:00
yz70s 4f5f5c6c92 i386.cpp: prepare to change hxx files into regular cpp files (nw)
-change order of include files at top of i386.cpp
-move some routines between i386.cpp and i386priv.h
-move part of x87ops.hxx into new file x87priv.h
.
Now you only have to rename the hxx files to cpp and add the following
at the top of each one
.
 #include "emu.h"
 #include "i386.h"
 #include "i386priv.h"
 #include "x87priv.h"
 #include "cycles.h"
 #include "debugger.h"
 #include "debug/debugcpu.h"
 #undef i386
2018-11-03 10:25:11 +01:00
Patrick Mackinlay 8740d148c1 v53: final tidy (nw)
* changed copyright holder due to near-complete replacement
* name changed to v5x which better reflects actual use
* minor comment cleanup
2018-11-01 11:47:28 +07:00
Patrick Mackinlay a3244603db aic6250: new device (nw)
Very WIP status and some obvious issues, but working well enough to load RISC/os.
2018-10-31 18:19:24 +07:00
Nigel Barnes 9bcf933bcc bbcmc: Added expansion port and Mertec Companion expansion device. 2018-10-26 17:42:36 +01:00
Nigel Barnes e4f1635973 bbcb: Added ReCo6502 co-processor. 2018-10-26 17:42:36 +01:00
Brandon Munger fbcc6c1b37 r9751: Implement proper SMIOC emulation through new uart emulation (#4188)
* [R9751] (Squashed) Early work on SMIOC emulation

commit 9b587be762abfd576e92792c612cd205c570924d
Author: Stephen Stair <sgstair@akkit.org>
Date:   Tue Apr 10 19:41:55 2018 -0700

    Connected SMIOC DMA to 68k

    * SMIOC now reading bytes for serial from the 68k memory space successfully.

commit 0f801a05a3fa5b78768a1a2bcb9981466e8f2b0e
Author: Stephen Stair <sgstair@akkit.org>
Date:   Tue Mar 27 18:31:32 2018 -0700

    68k now running in lockstep with SMIOC for serial

    * 68k now uses actual SMIOC as source of SMIOC status, so it waits for the SMIOC to complete commands before continuing.
    * SMIOC DMA controllers now being asked to move bytes around
    * "write character" (4100) commands to SMIOC are now completing and resulting in correct status being written and sent back to the 68k
    * Every now and then the SMIOC stalls for a bit, it seems to be due to spending some time trying to communicate with the 8051 CPU (used to communicate with another cpu on the serial breakout box) that is not currently present in the emulated device.

    Next Steps:
    * We're going to move the terminal from the r9751 into the SMIOC, and hook it up to the DMA controllers as a hacky temporary solution.
    * We need to emulate the 5xxxx memory range in SMIOC to proxy data to/from the 68k memory
    * Then we'll start work on emulating the octal uart properly and hooking it up to RS232 channels.

commit ca91614fca3f43d87755d0c3439521276d7bfafb
Author: Stephen Stair <sgstair@akkit.org>
Date:   Wed Mar 14 19:52:04 2018 -0700

    Tinkering to get SMIOC further along

    1) Enable 188 cpu to advance DMA immediatley if DRQ is held high when source synchronous DMA is started (It's not clear whether the DMA actually works this way yet)
    2) Retrigger the DMA DRQ when a memory access is made to the DMA window (future work needed to proxy the reads/writes to the 68k's main memory) This is needed to support multibyte DMA reads/writes to the 68k window.
    3) Reverse the bytes in the status register (based on current incomplete understanding of how this is encoded)
    4) Connect the status register back to the r9751 on SMIOC status read
    Current state: SMIOC's main board DMA state machine now completes the DMA transfer from the main board (With incorrect data), but we are still getting stuck.
    Next steps: SMIOC is now hanging waiting on DMA to UART to complete, we need to implement some emulation of the UART and its connections to the surrounding 16 dma channels in order to make progress.

commit 62c1455c97a53ed970622e08cb03a225625914fd
Author: Stephen Stair <sgstair@akkit.org>
Date:   Sun Mar 4 20:13:32 2018 -0800

    Progress on emulating SMIOC

commit daee8498c5840417aee3ed9def0acfba5476335a
Author: Stephen Stair <sgstair@akkit.org>
Date:   Sun Feb 25 20:02:32 2018 -0800

    Working on bringing up SMIOC

    Trying to get emulated SMIOC in lockstep with the main 68k.

commit 5a929fde90307040a0544682888f2f21a914b900
Author: Stephen Stair <sgstair@akkit.org>
Date:   Wed Feb 21 20:06:27 2018 -0800

    re-enable SMIOC, Logging improvements, first steps towards emulating on-board hardware.

commit f0c7a1665a18c99df5527ae45994f39f95223814
Author: Stephen Stair <sgstair@akkit.org>
Date:   Sun Feb 11 16:26:31 2018 -0800

    Emulation fix - Terminal now responds to input

commit ecff4035f3fdaa0329df46f99ccd516aa23ec8af
Author: Stephen Stair <sgstair@akkit.org>
Date:   Tue Feb 6 19:00:35 2018 -0800

    Hacky emulation of SMIOC

    now successfully receiving serial characters!

commit 376bca90dff311d24e1f5014d8d6f0dc297bf671
Author: Stephen Stair <sgstair@akkit.org>
Date:   Sun Jan 28 18:31:38 2018 -0800

    Experimenting with SMIOC emulation

* Partial fixes for line state issues with persistent line values

When the AM9517 DMA controller mode is updated to change the polarity of DACK/DREQ, it doesn't update the DACK line values / request values (respectively).
This fixes this issue for one of the emulated devices in the file, but the other device has the same problem.

* Add skeleton of SCC2698B UART device

* Early progress on emulating SCC2698B Octal UART

Core structure for IO lines and writing registers is in place.

* Update address maps to new format.

* SCC2698b: Add tx/rx, baud rate generation

* Emulation improvements for scc2698b device

* MPP output pins emulated
* Improved logging for baud rate changes
* Channel configuration emulated
* Support for TX/RX Enable
* Started integrating new features into SMIOC

* Minor progress on the path to enabling new UART for SMIOC

* Resolved code issues related to upstream changes
* Working around an apparent problem with callbacks on sub-device devices
* Terminal added for serial port attached to SCC2698B UART.
* Things compile and seem to work.

* SMIOC: Serial is now outputting correctly through emulated SMIOC

Some glitches to work out, but this is nearly ready.

* AM9517a should not forget about input line status on master reset.

* Disable tracing

* SMIOC: Improving diagnostics and making some progress on the emulation

* Revised tracing in SMIOC and SCC2698B
* Improved tracing approach in r9751
* Minor progress towards working SMIOC emulation.

* [R9751] Update drivers  to new code patterns after rebase

Rebased on latest mame, Fixed a few issues and updated the callback code patterns based on recent changes in devcb

* [R9751] Improve logging, fix interrupt race

Serial no longer drops output characters

* [R9751] Working on SMIOC emulation

Improved SMIOC emulation accuracy, Made some progress in getting through the disktool initialization sequence, but we are still hitting a problem - It looks like disktool should be resetting the SMIOC board when it starts, but the mechanism for this has not been found.

* [R9751] Improve tracing for system board registers

* [R9751] Improve SMIOC emulation

Still having some trouble with SMIOC but this seems to be an improvement.
SMIOC is now waiting for a status to be read before applying a new status, and mandatory parameter read logic is in place.

* [R9751] Incremental emulation improvements

the SMIOC failure was understood and fixed, and a new approach to getting the hardware to bootstrap correctly was implemented - Still having some problems with it though.

* [R9751] Fixed emulation issues

* Disktool now boots to the console
* UART receive only partly working, I don't think it's fully connected yet.

* [R9751] Further progress on SMIOC emulation

* Figured out the missing command parameter interface to the SMIOC board
* Still blocked because the SMIOC interface to the breakout board through an onboard 8051 is not emulated and the disktool software depends on properties coming from it.

* [R9751] Terminal is fully working for disktool

* Improved the emulation of the 80188 to 451 connection in order to reliably set a status bit disktool depends on.

* [R9751] Fix build after rebase

* [R9751] Cleanup, tracing improvements

* Remove second emulated terminal - SMIOC is now stable enough to run the terminal.
* Remove older and unnecessary emulation/tracing code

* r9751: Fix compile error and modify copyright holders
2018-10-24 20:16:35 -04:00
Justin Kerk bcb672ce32 Don't error on undefined GL symbols for the WebAssembly target (#4187) 2018-10-23 21:52:39 -07:00
Patrick Mackinlay cea5bbace4 z8038: new device (nw)
Zilog Z8038 FIO (FIFO Input/Output Interface Unit). Used to drive the parallel/printer port on the MIPS Rx2030. Passes basic diagnostic tests, but further work depends on progress in the mips.cpp driver.
2018-10-18 18:00:02 +07:00
AJR c6900b12fd New machines marked as NOT_WORKING
----------------------------------
Scientific Instruments Model 5500 Temperature Controller [ClawGrip]
2018-10-12 22:45:15 -04:00
R. Belmont 2226914ddf
Merge pull request #4119 from hp9k/hp_hil_mouse
hp_hil: add HP 46060B mouse
2018-10-11 07:49:08 -04:00
Sven Schnelle 75fde4b0f0 hp_hil: add HP 46060B mouse
- move hle_device_base to it's own files
    - add hlemouse.{cpp,h}
    - add mouse device to hp_ipc and hp9k_3xx
2018-10-11 12:56:24 +02:00
Patrick Mackinlay 10b6b71e13 pcat101: skeleton for IBM Model M PC/AT and PS/2 keyboard 2018-10-11 17:44:08 +07:00
Sven Schnelle c0a6d6bf23 hp9k_3xx: add HP98265A SCSI controller (nw) 2018-10-09 20:11:24 +02:00
dxl ad3ad560a6 hp9k_3xx: add HP98620 DMA controller (#4094)
* hp9k_3xx: add HP98620 DMA controller

* hp98620: remove unused defines (nw)
2018-10-09 13:46:35 -04:00
Sven Schnelle d929f8b41b hp9k_3xx: move Sound, GPIB, Keyboard and RTC to human interface module
On HP9000/300, these modules where always a logical unit connected to
the DIO bus. On some systems this was even a seperate DIO module. Lets
represent this in software. It also cleans up hp9k_3xx.cpp.
2018-10-08 22:51:40 +02:00
Sven Schnelle 395d6a93b1 mb87030: add new SCSI controller (nw) 2018-10-07 15:37:23 +02:00
mooglyguy b159118e22 vii: Device-ified the SPG2xx SoC. [Ryan Holtz] 2018-10-06 20:45:03 +02:00
Nigel Barnes 42b42714ed bbc_tube_6502/65c102: Added ReCo6502 Tube 1.21 ROM.
- Rewritten using bankdev and combined 6502/65c102 variants (nw)
2018-09-25 17:18:13 +01:00
AJR fad9283ecc Preliminary emulation of National DP8350 CRT controller family 2018-09-25 00:51:14 -04:00
mooglyguy 27ee4f3915 -sun4: Added a sun4c MMU device. Currently wraps the functionality of S4-buffer, S4-cache, and S4-MMU, will eventually be split. [Ryan Holtz]
-sun4: Significant optimization, from 150% -> 330% unthrottled on an i7-5930K. [Ryan Holtz]
2018-09-22 19:41:10 +02:00
Patrick Mackinlay 895ffe0763 jazz: new skeleton driver (nw)
A skeleton for the Microsoft Jazz architecture, which was implemented in the MIPS Magnum 4000, Olivetti M700-10 and was the base/origin of several other MIPS ARC systems.
* added skeleton Inmos G300/G332/G364 device
* added skeleton NatSemi DP83932C SONIC device
* added skeleton MCT-ADR device
2018-09-20 18:08:59 +07:00
Vas Crabb b5758f5273 Re-write serial mouse support:
* Separate Microsoft 2-button mouse and Logitech 3-button Microsoft-compatible mouse
* Add Microsoft wheel mouse
* Make Mouse Systems mouse behave more realistically
* Add Mouse Systems "rotatable" mouse
* Simplify code and eliminate timers

(nw) X/Y translation and buttons works for all devices.  The wheel on
the wheel mouse seems to be transmitting the right data, and CuteMouse
detects the wheel as being present, but no software seems to support it
properly.  Software supporting the Mouse Systems "rotatable" mouse is
very rare - typically people just set the DIP switches on their M-1 for
"non-rotatable" mode.  A standard mouse driver will see the "rotatable"
mouse moving two mickeys for each count, and move eratically on
rotation.  The "rotable" mouse is poorly tested due to lack of software.

(nw) MAME doesn't have a proper input type for a mouse wheel, and it
doesn't seem to be possible to map the host mouse wheel to an axis when
configuring inputs.  The default mapping ends up assigining the wheel or
rotation to one of the translation axes, which is very unhelpful.
2018-09-19 20:00:56 +10:00
Nigel Barnes 282ebf014d bbc: Added Acorn Bitstik and Bitstik 2 analogue controllers. 2018-09-17 19:42:45 +01:00
Nigel Barnes bcad4e9c09 bbcb: Added floppy disc controller options:-
- AMS 3" Microdrive Disc System
- Microware DDFS FDC (not working)
2018-09-17 19:18:38 +01:00
Vas Crabb b566662a05 Add Sun mouse port and hook it up to sun3, sun3x, sun4, and sun4c.
Also add notes to Sun keyboard emulation.

There's a hack to make the 1200 Baud mouse actually run at 9600 Baud.
This is necessary because the SCC is incorrectly expecting 9600 Baud
rather than 1200 Baud.  I don't have time to fix the SCC, so I'd
appreciate it if someone else would.

There's no way it should be expecting 9600 Baud on the mouse port.
Solaris 2.3 and later support 1200 Baud and 4800 Baud, and earlier
versions support 1200 Baud only.  No version of Solaris works with a
9600 Baud mouse.

The workaround allows the mouse to be used in SunView on sun4_60 - I
haven't tested any other drivers.
2018-09-17 20:03:25 +10:00
mooglyguy 59254bc5de -sbus: Added a skeleton device for the Artecon SB300P 3-serial 1-parallel SBus card. [Ryan Holtz] 2018-09-16 06:06:45 +02:00
mooglyguy 0a86f2efe9 -cgsix: Renamed turbogx.* to cgsix.* and added TurboGX+ support. [Ryan Holtz, Andrew Liles] 2018-09-15 20:28:53 +02:00
mooglyguy c7170bed75 -sbus: Added a skeleton device for the SunSwift 10/100 + Fast Wide SCSI SBus board. [Ryan Holtz, Andrew Liles] 2018-09-15 18:33:57 +02:00
mooglyguy cbdc9a71c7 -sbus: Added a skeleton device for the SunPC 5x86 Accelerator SBus board. [Ryan Holtz, Andrew Liles] 2018-09-15 18:03:05 +02:00
Ryan Holtz 7d3082e044 -sun4: Added basic support for cgsix/TurboGX SBus card. [Ryan Holtz] 2018-09-13 13:37:12 +02:00
mooglyguy 0c3074d912 -sbus: Added preliminary cgthree support. [Ryan Holtz] 2018-09-13 01:40:51 +02:00
mooglyguy 4948941213 -sun4: Added SBus slot bus and basic bwtwo slot device. [Ryan Holtz] 2018-09-13 00:30:10 +02:00
mooglyguy a24d9ab6ae -am79c90: Added rudimentary AMD 79C90 LANCE ethernet controller support, enough to make sun4 happy. [Ryan Holtz] 2018-09-08 18:03:15 +02:00
mooglyguy 40efe9785f -st62xx: Added a skeleton driver for the STmicro ST6 series of microcontrollers. [Ryan Holtz]
New machines marked as NOT_WORKING
----------------------------------
Catherine Wheel [f205v, Ryan Holtz]
2018-08-25 00:18:07 +02:00
ajrhacker d916d00911
Merge pull request #3795 from felipesanches/gtrak10_2018-jul-27
A large portion of the Atari Gran Trak 10 schematics (1974) implemented on MAME using the netlist subsystem.
2018-08-24 11:13:27 -04:00
cam900 3204234f8d Add huc6230 Emulation (#3829)
* Add huc6230 Emulation
huc6272.cpp : Add ADPCM transfer, Add save states
PC-FXGA for PC-9801 C Bus is released in December 1995 in Japan, Correct metadata

* huc6272.cpp : Fix ADPCM address

* huc6230.cpp : Simpler interpolate

* huc6230.cpp : Fix clamp
huc6272.cpp : Fix ADPCM nibble

* huc6272.cpp : Fix data type

* Revert pcfxga year; PC-FXGA for PC9801 C-bus is not dumped?
2018-08-23 21:47:41 -04:00
Olivier Galibert 6e0bf6736a tms57002: Trick to reduce the compiler memory usage [O. Galibert] 2018-08-23 19:20:33 +02:00
Vas Crabb 012cbee2c3 Amiga keyboard overhaul:
* Implement Mitsumi Amiga 500, 600, and 2000/3000/4000/CDTV keyboards
* Add unlabeled keys to UK layout
* Restrict available keyboards depending on system type
* Note that C-A-A reset is now broken on "big box" Amigas as MAME doesn't implement it properly, and the hack providing a fake dedicated reset line has been removed

6502 MCU: fix execute loop

6500/1: implement as device with onboard peripherals

Fix some bogus comments
2018-08-23 00:25:21 +10:00
Tomasz Slanina 403196c318 New Working Game
-------------------------------
Nightmare [Tomasz Slanina, Roberto Fresca, Jordi Beltran, Paco Ortiz, Recreativas.org]
2018-08-22 10:19:16 +02:00
Ryan Holtz 6641adfc90 -pcf8583: Added rudimentary Philips PCF8583 RTC emulation, based on the PCF8593 device. [Ryan Holtz] 2018-08-20 14:41:49 +02:00
Vas Crabb 98cbeff482 amiga: add support for Amiga 2000 keyboard with 8039 and external ROM manufactured by Cherry
(nw) New keyboard only has U.S./Canada and UK variants for now.  This keyboard doesn't
drive a dedicated reset line, instead using some sequence on the clock line detected by
the host chipset.  MAME doesn't support this, so keyboard reset won't work.  Also started
documenting the character labels on the keypad NumLock/ScrLock keys for language variants
but still need more pictures.
2018-08-15 12:45:58 +10:00
arbee 31a32f451d h8: H8/3003 support [R. Belmont] 2018-08-02 20:27:11 -04:00
Patrick Mackinlay 7957feaefc taptun: add support for Windows (#3790)
* taptun: add support for Windows

Looking for feedback only at this point, because it's the first time I've attempted any OSD stuff - be gentle.

This extends the existing taptun OSD module to support Windows through the TAP-Windows6 driver (https://github.com/OpenVPN/tap-windows6).
* TAP-Windows6 is GPLv2, however only the header file is required in MAME, and the driver itself is entirely optional.
* I've tried to minimise the size of the diff, rather than completely separate the Windows/non-Windows implementations - not sure which is preferable in this case.
* The license file has Mac(?) line-endings - unsure if they should be normalized or used verbatim.
* Uncertain about the non-Windows case (or the Windows SDL case) - existing code uses __linux__, but I'm not clear on how that works with OSX, for example?
* I can't claim this actually "works" yet, because I don't know enough to configure the tap end of it properly to get networking doing something useful, but I will get there and correct anything necessary in a subsequent real PR.

* minor fixes/improvements (nw)

* Use Unicode Windows APIs, and UTF-8 for MAME
* Deal with unterminated registry string values
* Cancel any pending I/O in destructor
2018-07-30 18:52:11 +10:00
Felipe Corrêa da Silva Sanches e88ec6a7a5 A large portion of the Atari Gran Trak 10 schematics (1974)
implemented on MAME using the netlist subsystem.
2018-07-28 11:37:12 -03:00
Vas Crabb 9db24aa2e9 Better support for screen orientation/geometry:
* Eliminates the need for the horizontal/vertical/LCD/SVG layout files
* Screens can now have orientation and physical aspect ratio specified
* RASTER/VECTOR defaults to 4:3, LCD/SVG defaults to square pixels at config time
* System orientation is applied on top of screen orientation

Automatically generated single-screen views and orientation flags in XML
output now work correctly for systems with multiple screens in different
geometries/orientations, e.g. housemnq, rocnms, stepstag, or netmerc.

The "core rotation options" only interact with system orientation.
Allowing multi-screen systems to work well with one monitor per emulated
screen is a complex topic.  System orientation also affects the GFX
viewer while screen orientation doesn't.  The orientation displayed in
the system selection menu is from the system orientation.

Let me know if I've broken any systems or use cases.

Also, add save state support for std::array/C array nested to any depth.
2018-07-26 23:11:02 +10:00
David Haywood 88b1546f30 Flesh out TLCS870 core (#3763)
* rewrote most of the execution for my tlcs870 core

* no longer the case (nw)

* note updates (nw)

* address concerns, const qualify more things where possible (nw)

* more const (nw)

* oops (nw)

* consistency (nw)
2018-07-23 10:24:10 +10:00
Justin Kerk 7809e9005d Better Emscripten parameter handling, & update docs (nw) 2018-07-21 22:05:45 +00:00
mooglyguy eed782f1e3 ps2sony: Some basic VU1 support, major file reshuffling, nw 2018-07-21 10:07:00 +02:00
mooglyguy 5db11a5e02 ps2sony: Checkpoint, nw 2018-07-17 18:14:24 +02:00
Justin Kerk 38df7f4219 Update WebAssembly parameters for current Emscripten (nw) 2018-07-15 04:17:09 +00:00
AJR 47a460a35a New skeleton device: Western Digital WD1007A ESDI hard disk controller [Al Kossow] 2018-07-14 18:15:42 -04:00
Nigel Barnes 51fa9aa2e8 Acorn Bus slot devices for:-
Acorn Atom:
- AtomSID
- Acorn Atom Disc Pack
- Econet Board
Acorn System:
- 32K Dynamic RAM Board
- 8K Static RAM Board
- Cassette Interface Board
- Econet Board
- Floppy Disc Controller Board
- 40 Column VDU Board
- 80x25 VDU Board
- Versatile Interface Board
CMS:
- CMS 40/80 Video Terminal Card
- CMS Floppy Disc Controller
- CMS High Resolution Colour Graphics Card
2018-07-10 11:34:36 +01:00
Olivier Galibert a704ed7b1b emumem: Backend modernization [O. Galibert] 2018-06-29 20:04:28 +02:00
AJR 96bc593eaa Fix copy/paste mistake (nw) 2018-06-21 19:53:45 -04:00
mooglyguy ee604f4454 -39in1: Split Intel XScale PXA255 peripherals into a separate device. [Ryan Holtz]
note: will apply this change to any drivers using copy/pasted PXA255 code tomorrow.
2018-06-21 23:18:26 +02:00
Sven Schnelle 22ba8d40dd Add HP9122 floppy drive (#3657)
* Revert "Revert "Add 9122c floppy (#3647)""

This reverts commit 0aa81fc184.

* Address pull request comments

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* MR#3657: address comments

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* MR#3657: address MR comments

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* MR#3657: address MR comments

Signed-off-by: Sven Schnelle <svens@stackframe.org>
2018-06-17 16:55:51 +10:00
Sergey Svishchev 02197ab4ca ec1841: mouse emulation (Logitech bus mouse protocol) (#3623)
* ec1841: mouse emulation (Logitech bus mouse protocol)

* follow-up to PR#3623
2018-06-11 20:57:53 +10:00
Vas Crabb 0aa81fc184 Revert "Add 9122c floppy (#3647)"
This reverts commit c63c4e111e.
2018-06-11 20:16:28 +10:00
Sven Schnelle c63c4e111e Add 9122c floppy (#3647)
* hp9k_3xx: fix timer connection for /320 models

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* hp9k_3xx: add HP9122C floppy

Remove HP9895 from the default configuration. 3.5" where
standard on /300 and there's almost no software on it available.
If a user really needs 8" floppy drives on /300, he can do that via
commandline.

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* add Intel i8291a GPIB Talker/Listener

Required for the HP 9122C floppy, and used in many other devices.
Basic functionality was implemented to make the HP 9122C work, a few
things are still missing and will be added later. Most of the missing
things where simply not used in the HP9122C so i cannot test them.

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* Add HP 9122C floppy drive

These drives where common on HP9000/300 workstations. With the current
implementation TD0's from hpmuseum can be used to boot, and initializing,
reading and writing discs in HP basic works. Tested both high and double
density media. Supported Media formats are TD0 and MFI.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
2018-06-10 17:43:49 -04:00
cracyc a99407afb5 Discord plugin try 2 (#3640)
* plugins/discord: discord presence plugin [Carl]

* plugins/discord: use domain sockets and pipes [Carl]

* winptty: fix connecting to existing socket (nw)
plugins/discord: show pause state (nw)

* plugins/discord: fix pause behavior (nw)
2018-06-08 19:25:39 -04:00
Sven Schnelle 7698173e29 Add HP98543 medium-res color graphics card (#3575)
* Remove vram_rw and ctrl_rw wrapper functions

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* topcat: replace hardcoded display width by m_fb_width

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* topcat: prepare topcat for multi plane operation

framebuffer vram is only 1 bit wide.

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* 98544: set single topcat plane

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* add nereid mapper used on HP98543/98545 graphic cards

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* prepare for multi-topcat operation

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* add HP 98543 4 plane graphics card

* hp9k_3xx: add hp98543 card

* topcat,nerid: disable VERBOSE

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* hp98543: use required_device_array

* 98543: use required_region_ptr

* 98544: use required_region_ptr

* topcat: add save state support

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* nereid: add save state support

* hp98544,hp98543,topcat: use shared memory space

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* nereid: remove redundant variable

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* topcat, nereid: remove trailing underscore from include guard

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* topcat,hp98543: code style fixes proposed in PR

Signed-off-by: Sven Schnelle <svens@stackframe.org>
2018-05-28 16:28:44 -04:00
angelosa 9dcc4aaa8a pc9801.cpp: Merge -26 / -86 / -118 joystick port implementations (nw) 2018-05-26 16:59:53 +02:00
Wilbert Pol 07d51ecf71 ef9340/1: make character set external. [Wilbert Pol] 2018-05-18 19:06:30 +10:00
Patrick Mackinlay 90dc810023 interpro: wip checkpoint (nw) (#3573)
* softfloat3: do we like this better? (nw)

* softfloat3: it gets the hose again (nw)

* softfloat3: sonofa (nw)

* interpro: wip checkpoint (nw)

* added 6x00 models
* added EDGE graphics skeleton
* split bus/cards into two types
* various fixes/changes
2018-05-15 16:01:13 +02:00
Patrick Mackinlay 44d80b6fb0 proposal: move z80daisy* to devices/machine (#3572)
* proposal: move z80daisy* to devices/machine

Seems to me this is a machine, not a CPU? Main reason was to stop the Z80 CPU from being dragged into systems that don't have one just because they use a Z80 family peripheral.

* missed this one (nw)

* missed a spot (nw)
2018-05-15 17:53:07 +10:00
Patrick Mackinlay 4f9ef3e373 softfloat3: fix msvc build (nw) (#3566)
* softfloat3: fix msvc build (nw)

Is this how we do these things? I assume we don't touch the library code itself, and have to "fix" any problems via this header instead?

* softfloat3: do we like this better? (nw)

* softfloat3: it gets the hose again (nw)

* softfloat3: sonofa (nw)
2018-05-14 09:18:24 -04:00
arbee 62be291842 Initial import of SoftFloat release 3E [R. Belmont]
This is a pre-usage import so everyone can get things in line for various compilers.  GCC/Clang should be OK on most targets as-is;
MSVC may need to edit 3rdparty/softfloat3/build/MAME/build.h to conform.  Please report failure/success with various compilers.
2018-05-13 19:52:33 -04:00
hap 0fae49dc31 sm5*: added sm530 disasm (nw) 2018-05-12 17:37:41 +02:00
Sven Schnelle e6b55ad7a6 Add topcat asic (#3558)
* add topcat template

HP topcat was an ASIC used on HP900/300 graphics cards.

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* hook up topcat asic to HP98544

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* topcat: add basic configuration macros for fb planes, height and width

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* hp98544: move logic to topcat video driver

Preparation to support multi plane graphic cards
like the HP98543/98545/98547.

Signed-off-by: Sven Schnelle <svens@stackframe.org>

* xtal: add 35.904MHz XTAL
2018-05-11 17:17:55 -04:00
Patrick Mackinlay bd9f203b65 interpro: slotify mouse (nw) (#3543)
* interpro: slotify mouse (nw)

Needed to make the mouse a slot device to enable it to be connected to graphics boards under development.

* add validity check (nw)
2018-05-11 16:25:42 +10:00
Patrick Mackinlay 1373f80b74 bt45x: new devices (#3536)
* bt45x: new devices

Basic implementation of various Brooktree RAMDAC devices. Two of these (bt457, bt458) are used by InterPro graphics boards currently under development, the others are unused/untested at this point.

* bt45x: tweak descriptions (nw)
2018-05-08 23:07:39 +10:00
Sergey Svishchev f9304e5ff9 gridcomp: hook up TMS9914 GPIB controller (nw) 2018-05-06 22:01:14 +10:00
Michael Zapf 7adec69c08 ti99_2: New WORKING driver. New and verified ROM dumps, re-implementation, fixes. 2018-05-05 22:26:39 +02:00
Nigel Barnes a1bcf4035f bbc: Added Beeb Speech Synthesiser device. 2018-05-04 22:09:41 +01:00
David Haywood 6627a9e480 start looking at the extra opcodes in the SSD 2000 type XaviX chip (s… (#3514)
* start looking at the extra opcodes in the SSD 2000 type XaviX chip (seems some undocumented 6502 opcodes are replaced with more custom ones)

* (nw)

* the xavix memory mapping gets stranger with each piece of new evidence (nw)
2018-05-04 12:22:18 -04:00
Nigel Barnes 1e76d5fd5e bbc: Added various pointer devices on userport:
- AMX Mouse
- Acorn Master 512 Mouse
- Marconi RB2 Tracker Ball
2018-05-04 12:41:01 +01:00
AJR 20f49a2f4e Rename machine/latch.* to machine/output_latch.* (nw)
- Use device_resolve_objects to resolve callbacks in output_latch_device (nw)

Note that this renaming is not just for human convenience; genie seems to get confused by modifications to a header called latch.h and decides to recompile everything involving gen_latch.h as well.
2018-05-02 00:05:32 -04:00
yz70s c663e1d7cc New device, SMSC FDC37C93x Plug and Play Compatible Ultra I/O Controller ! [Samuele Zannoli]
It is not complete yet but the floppy disk and keyboard work and is enough to boot the m55hi-plus motherboard.
2018-04-27 09:43:50 +02:00
Bavarese 88b77caea7 (PC-ISA): Add Lba enhancer card (28 bit LBA) (#3465)
* Create lbaenhancer.cpp

* Create lbaenhancer (header file)

* Update isa_cards.cpp (storage section)

* Update isa_cards (lba_gen added to SLOT_INTERFACE)

* Update bus.lua

* Update lbaenhancer.cpp

* Update isa_cards.cpp

* Update lbaenhancer.h

* Update lbaenhancer.cpp

* Update lbaenhancer.cpp

* Update lbaenhancer.cpp

* Update lbaenhancer.cpp 

device_reset() changed to make sure ROM is installed only once. Old solution used a static variable and was unsafe.

* Update lbaenhancer.h

Add variable to ensure ROM is only installed once per session.

* Update lbaenhancer.cpp

* Update lbaenhancer: CONFNAME

jumpers, not DIPs.

* Update lbaenhancer (spacing)
2018-04-26 21:34:01 -04:00
fulivi c7fd7ad2c8 hp_ipc: added HPIB interface chip & remotizer device 2018-04-26 16:27:47 +02:00
Curt Coder 9b7c48de6a vic10: Added MultiMAX cartridge skeleton. [Curt Coder] 2018-04-24 16:59:50 +03:00
mooglyguy 5ae175ff11 vp415 skeleton updates, nw 2018-04-18 19:17:11 +02:00
Vas Crabb d79226cc3d Revert "(PC-ISA): Add Action Replay card for DOS (1994) (#3445)"
This reverts commit ff815797c9.
2018-04-17 22:04:10 +10:00
Bavarese ff815797c9 (PC-ISA): Add Action Replay card for DOS (1994) (#3445)
* Allow write protect of a banked segment

* Allow write protect of a banked segment

* Create Action Replay driver for DOS

* Create Action Replay driver (header file)

* Update bus.lua

* Update isa_cards.cpp

* (white space changes)
2018-04-16 17:00:49 -04:00
Sven Schnelle 5832c7c2de split up hp98603 basic rom card
The 98603A and 98603B cards have different base addresses and sizes
for the rom region. Split up the cards so that we can boot HP BASIC 4
and HP BASIC 5.1.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
2018-04-16 15:11:26 +02:00
Ryan Holtz c2c576dad4 Added skeleton SAA1403 device, nw 2018-04-13 21:04:46 +02:00
mooglyguy 593340af38 -vp415: Skeleton driver for Philips VP415 LV-ROM Player. Includes basic device implementation of Fujitsu MB88303 Television Display Controller. [Ryan Holtz] 2018-04-13 18:25:35 +02:00
Patrick Mackinlay 3a8d630ab4 interpro: skeleton for keyboard lle (nw) 2018-04-14 01:12:22 +10:00
Olivier Galibert 1d338061af mb86233/4 rewrite [O. Galibert]
model1: Use the real 315-5573 Virtua Racing coprocessor program [Team Caps0ff]
model2: Rewamp the coprocessors communications [O. Galibert]
2018-04-05 15:01:26 +02:00
Sven Schnelle d9a631daa2 hp9k_3xx: add 98644 async serial card 2018-04-04 21:45:46 +02:00
R. Belmont f772e0ea5a
Merge pull request #3419 from JoakimLarsson/sad8852_2
NEW non working ISA16 card: Ericsson Information Systems IBM3270/5250…
2018-04-03 11:16:30 -04:00
joakim bdaad5598e NEW non working ISA16 card: Ericsson Information Systems IBM3270/5250 terminal adapter card 2018-04-02 21:44:32 +02:00
Michael Zapf fda26ee7dd ti99: Hexbus floppy system; logging updates 2018-03-31 00:38:31 +02:00
Nigel Barnes d295e418c4 electron: Added Mega Games Cartridge device. 2018-03-30 12:58:31 +01:00
Justin Kerk 50c373be6f Fixed issues with CHD loading under Emscripten. [Justin Kerk] 2018-03-28 04:35:34 +00:00
Vas Crabb 010155a3c5 Reshuffle some stuff:
* Move around the debugger hooks to get a small but measurable performance increase
* Remove emucore from external tools
* Improve performance of DSP16 interpreter a little by generating six variants of execution loop
2018-03-28 05:25:15 +11:00
Julian Sikorski 9a154947d1 Added possibility of building using system pugixml 2018-03-27 10:19:22 +11:00
Vas Crabb 1c3684787c get rid of dioutput - it's only used in one place, and it upset GCC on Linux debug builds for some reason 2018-03-25 04:31:07 +11:00
Vas Crabb 08dde5eb0a srcclean and regenerate localisations (nw) 2018-03-25 02:03:24 +11:00
Ariane Fugmann 2ad88fd875 M1COMM: Add preliminary MB89374 emulation (#3378)
* M1COMM: Add preliminary MB89374 emulation (nw)

* M1COMM: moved knowns roms to device. (nw)

* MB89374: arrays and savestates (nw)
2018-03-24 08:40:45 -04:00
Nigel Barnes 7ad824c85b New machines marked as NOT_WORKING
----------------------------------
Poly Proteus (Standalone) [Nigel Barnes, Andrew Trotman]
2018-03-21 20:53:11 +00:00
Vas Crabb b787818d0c dsp16: move most core state into DRC cache - keeps a lot of details out of the main header (DRC is still stubbed out) (nw) 2018-03-21 21:01:36 +11:00
Vas Crabb 724c602fd5 prettier way of adding DRC framework on-demand (nw) 2018-03-20 20:27:49 +11:00
fulivi 2e4c96157d IEEE-488 remotizer device (#3241)
* remote488: work started

* remote488: fixed a crash when using socketed bitbangers on Linux machines

* remote488: added ieee-488 remotizer device

* remote488: added remotizer devices to ieee-488 buses of HP9845 & HP85

* remote488: added missing emu.h inclusion

* Revert "remote488: fixed a crash when using socketed bitbangers on Linux machines"

This reverts commit edfeb1768e.

* remote488: nudge..

* remote488: no longer use locale-dependent functions, added commas and
semicolons as msg separators, improved use of util::string_format
2018-03-18 05:20:00 +11:00
Dirk Best 3ffd6b839f uPD934G: Preliminary emulation 2018-03-17 09:10:18 +01:00
Vas Crabb 5976a48035 dsp16: start adding recompiler boilerplate (nw) 2018-03-17 06:51:50 +11:00
Vas Crabb 245f822e7d use more constexpr and literal classes in UML to give compiler more optimisation opportunities (nw) 2018-03-17 00:58:54 +11:00
angelosa bb11fbd2bd Blind faith fixed long names for almost all CPUs (nw)
mb86235.cpp: renamed pcs_ptr into pcp, and added a file for future interpreter core (nw)
2018-03-15 18:07:39 +01:00
Vas Crabb 3f67473bb4 QSound LLE available with a 3-character change 2018-03-16 02:27:24 +11:00
Vas Crabb 0bf88bda8f Cycle-accurate DSP16 core (disabled in QSound for performance reasons) 2018-03-15 19:02:43 +11:00
Olivier Galibert b9ac659837 Fuck genie, Enhanced edition (nw) 2018-03-12 19:14:29 +01:00
Vas Crabb 7c9d75df13 forgot these are listed explicitly (nw) 2018-03-12 19:26:36 +11:00
Justin Kerk 1f80e58a10 Disable multithreading on the Emscripten target as it is not currently supported. Fixes e.g. drivers using discrete audio components. [Justin Kerk] 2018-03-06 07:39:05 +00:00
R. Belmont 5ffc8a79a4
Merge pull request #3266 from JoakimLarsson/diablo_1
WIP: Diablo printer CPU
2018-02-28 14:03:10 -05:00
Vas Crabb 8dad4881f6 srcclean (nw) 2018-02-25 01:34:04 +11:00
joakim 35a7f3e628 WIP: Diablo printer CPU 2018-02-24 02:32:36 +01:00
AJR 1a157c0600 Create RST interrupt buffer device 2018-02-18 20:59:06 -05:00
Olivier Galibert 109e2dadb8 NUON disassembler [O. Galibert] 2018-02-18 22:56:53 +01:00
Joakim Larsson Edström df5a232104
Merge pull request #3208 from JoakimLarsson/cadabc_1
CAD ABC mouse/hi-res card
2018-02-14 23:26:07 +01:00
Joakim Larsson Edstrom fea4a1294b cadmouse.cpp: NEW non working mouse/hi-res unit for the abcbus [Valgrind] 2018-02-14 22:05:38 +01:00
Sergey Svishchev 8fef96dbd9 agat7: add serial/parallel interface card, hardcoded into Agat-Author configuration for now. 2018-02-13 23:16:48 +03:00
cracyc 3195ba191d am9519: add am9519 uic device [Carl] 2018-02-10 14:23:30 -06:00
Julian Sikorski 8cc758355d Enable use of system-wide asio, glm and rapidjson (#3172)
* Fixed building using system utf8proc

* Fixed building using system portaudio

* Allow using system-wide asio headers (1.11.0 or higher required).

* Allow using system-wide glm headers

* Allow using system-wide rapidjson headers
2018-02-08 16:06:25 -05:00
David Haywood 1e09ab0ceb create derived 6502 type for XaviX because it has at least one custom… (#3154)
* create derived 6502 type for XaviX because it has at least one custom 4-byte opcode that doesn't fit any other type.
treating that opcode as NOP for now.

have a feeling it might be something to do with the other integrated hardware, might be 'execute co-processor code chain at this address' or something similar
It isn't a standard JSL (Jump Subroutine Long)  like the SNES cpu opcode in the same place as this, it seems to point at some code-like structures tho)
could also be a secondary operation mode with different encoding like ARM's Thumb mode tho I guess.

We currently only have a single XaviX based dump (taitons1) but there are more on the way.  I'm going to see if the code flow makes any sense at all with these missing, or if any of it gives a clue as to what they should actually do.

* xavix - let's call these callf and retf then

after further investigation these are some kind of extra 'long jump' subroutine / task handlers, the 0x80 also being a custom opcode was throwing me off trying to identify them before.

looks like they might have been hacking 65816 features into the regular 6502 core?

* prepare for extra address bits (nw)

* better program flow (nw)
2018-02-02 14:34:12 -05:00
Nigel Barnes 91da52721e electron: Added cartridge devices for:
- P.R.E.S. Advanced Plus 3/4
- Advanced Quarter Meg Ram
- Cumana Floppy Disk System
- Sound Expansion
- Sound Expansion v3
- Stop Press 64
- Solidisk EFS

New working software list additions
-----------------------------------
electron_cart: Solidisk EFS 2.1E

New NOT_WORKING software list additions
---------------------------------------
electron_cart: Stop Press 64

Software list items promoted to working
---------------------------------------
electron_cart: Advanced Plus 3, Advanced Quarter Meg RAM, Slogger Electron Disk System, Sound Expansion v3
2018-01-31 18:38:05 +00:00
David Haywood ff61c2c50d framework for adding 'gamebooster' (need to figure out how it actually works / maps tho) (#3134)
* fix/tidy tvboy driver (nw)

* missed file (nw)

* framework for adding 'gamebooster'  (need to figure out how it actually works / maps tho) (nw)
(code based on zx spectrum expansion port code)

* (nw)

* lost a line (nw)

* allow it to run (nw)

* continued work (nw)

* mame64 psj -parallel gamebooster -cart tetris  now works

* rm outdated (nw)

* remove unneeded code (nw)

* limit accesses, log unexpected ones, might have custom banking (nw)

* write bytes in an order that keeps the gb code happier , sml boots (nw)
2018-01-27 10:17:37 -05:00
Nigel Barnes 4143172f7c electron: Re-implemented cartridge slot device, and added cartridge devices:
- Standard cartridge (2x16K ROM)
- Advanced Battery-Backed RAM (ABR)
- Slogger Click
- Slogger Pegasus 400
2018-01-26 21:04:33 +00:00
Olivier Galibert 03ba80e0ef xtal.h is dead, long live to xtal.cpp [O. Galibert] 2018-01-23 10:25:25 +01:00
Luca Elia 9eca0c6c45 New device: SN54/74166 8-Bit Parallel-In/Serial-Out Shift Register [Dirk Best, Luca Elia] 2018-01-21 23:47:59 +01:00
mooglyguy 7f3f8fd245 -bgfx: Abstracted some view-related functions into bgfx_view class, nw 2018-01-13 22:13:38 +01:00
Vas Crabb ba5715596a This causes huge changes in behaviour that can't be hand-waved away.
Revert "Removal of voltage_regulator_device (nw)"

This reverts commit 1af133752a.

Revert "New way to provide DAC reference inputs (nw)"

This reverts commit 1c6a7ab40c.
2018-01-13 02:06:27 +11:00
Nigel Barnes 8cd0b2545e electron: Added Rombox, Rombox+ expansion devices, and electron_rom software list. 2018-01-11 18:46:05 +00:00
AJR 1af133752a Removal of voltage_regulator_device (nw) 2018-01-10 02:11:25 -05:00
AJR 62da1dbe29 meters, ticket: Move these generic devices into src/devices (nw) 2018-01-09 15:14:04 -05:00
Ivan Vangelista 31ffaa7819 machine.lua: compile myb3k_kbd only when needed (nw) 2018-01-09 20:46:11 +01:00
Björn Moser 71074fe126 VS Compile Fix 2018-01-08 22:29:19 +00:00
arbee 1392b241cc mac: preliminary support for AE Quadralink 4-port serial [R. Belmont, Al Kossow] 2018-01-02 16:49:05 -05:00
AJR 64524a652c Add ER1400 serial EAROM device 2017-12-31 11:39:28 -05:00
mooglyguy ce54579557 -e132xs: fix botched DRC merge, nw 2017-12-29 22:46:36 +01:00
mooglyguy 5d36ef2d30 fixed build errors, nw 2017-12-29 13:43:36 +01:00
smf- a3f8dcf915 remove qtmain on windows, it conflicts with SDL2_Main (nw) 2017-12-26 23:06:03 +00:00
smf- 68b16a8808 added -lSDL2main to fix linking with gcc 7 [smf] 2017-12-26 11:11:50 +00:00
arbee 64d73e68aa Merge branch 'master' of https://github.com/mamedev/mame 2017-12-25 22:28:14 -05:00
arbee aadaf0c303 mac: Support for "BootBug" NuBus remote debugger card [Al Kossow, R. Belmont] 2017-12-25 22:27:02 -05:00
Vas Crabb 25f84e3bf0 srcclean and manual cleanups (nw)
please people, remember to keep source UTF-8 and if you're committing on behalf of others, clean up indents to meet MAME conventions
anyone can run srcclean over a submission and see what will get hit
2017-12-24 15:03:04 +11:00
hap e08f42a74e tms1000c: added correct microinstructions pla (nw) 2017-12-21 23:50:29 +01:00
cracyc a3e4c79be6 i386: x87 bug fixes and FERR support [Andrey Merkulov]
i8087: separate 8087 device [Carl]
2017-12-16 14:24:24 -06:00
Joakim Larsson Edström 59824c1929
Merge pull request #2946 from JoakimLarsson/stepone_2
myb3k: WIP adding ISA bus, cards, devices and branded clones
2017-12-16 02:05:07 +01:00
Joakim Larsson Edstrom 3faf6ab474 myb3k: preliminary keyboard support for Ericsson step/one brand [Fredrik Ohrstrom] 2017-12-15 21:27:47 +01:00
Joakim Larsson Edstrom 2922b345d5 myb3k: Added three new ISA8 cards, one COM card and two FDC, specific for the MyBrain 3000 and its branded variants JB-3000 and Ericsson PC step/one 2017-12-15 21:21:26 +01:00
AJR 5334d77c78 Add Seals 8K SC Memory Board to S-100 bus emulation 2017-12-14 22:58:06 -05:00
Firehawke 9ece34eb21 Revert "Revert "Merge branch 'master' of https://github.com/mamedev/mame""
This reverts commit 54155441e9.
2017-12-13 21:31:27 -07:00
Firehawke 54155441e9 Revert "Merge branch 'master' of https://github.com/mamedev/mame"
This reverts commit f537428e5a, reversing
changes made to 0d70d79810.
2017-12-13 21:01:10 -07:00
AJR 141f2364cc New generic ripple counter device 2017-12-10 09:06:41 -05:00
Sergey Svishchev 00c9b62a24 agat7: 840KB floppy HLE; minor fixes -> mark WORKING (#2912)
* agat7: add port_char definitions to allow access from Lua, &c (nw)

* agat7: adapt "apple2: Break up handlers for C000-C07F range" (nw)

* agat7: timer and vblank interrupts (nw)

* agat7: HLE of 840KB floppy controller, read-only (nw)

* agat7: memory expansion wip (nw)

* agat7: update todo list, mark partially WORKING
2017-12-08 18:46:23 -05:00
mooglyguy 5d51e91100 no help = no hyperstone drc, nw 2017-12-06 21:51:34 +01:00
Patrick Mackinlay ad9b6fe4e5 dp8510: new device
An implementation of the National Semiconductor DP8510 BITBLT Processing Unit. This is used on the InterPro GT family graphics boards, and this implementation seems to be correct enough to enable me to progress there, hence the PR. While I'd love to have another system to test against, I'm not aware of any other systems that ever used this device other than some NatSemi reference designs, which are not (yet) in MAME.
2017-12-06 18:58:55 +07:00
mooglyguy bccc962b69 e132xs: initial work on drc, nw 2017-12-02 04:02:37 +01:00
mooglyguy 495df45315 e132xs: initial drc work, and templated conditional db/b, nw 2017-12-02 04:02:37 +01:00
AJR 112fbd83ab Clones promoted to working
--------------------------
SWTPC 6800 Computer System (with MIKBUG) [AJR]
2017-12-01 16:57:15 -05:00
Miodrag Milanovic 3917627494 Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic] 2017-12-01 13:22:27 +01:00
AJR fc87d24cf6 swtpc: Preliminary SS-50 I/O bus 2017-11-30 19:37:07 -05:00
Olivier Galibert 6caef2579a dvdisasm: Overhaul [O. Galibert]
Disassemblers are now independant classes.  Not only the code is
cleaner, but unidasm has access to all the cpu cores again.  The
interface to the disassembly method has changed from byte buffers to
objects that give a result to read methods.  This also adds support
for lfsr and/or paged PCs.
2017-11-26 17:41:27 +01:00
hap e7edf2e16a bus.lua: add some missing h files (nw) 2017-11-23 18:23:29 +01:00
angelosa 56828c2446 Rewritten Imagetek i4100 / i4220 / i4300 video display processor family, hooked it up to metro.cpp [Angelo Salese] 2017-11-21 07:06:03 +01:00
Nigel Barnes 26d94f2275 cfa3000: Added input devices on userport, analogue, and 1MHz bus. 2017-11-20 13:22:08 +00:00
Nigel Barnes c25af26b01 bbc: Added ARM Evaluation System co-processor device. 2017-11-20 13:22:08 +00:00
Dirk Best a5a8e0cbdb einstein: Improve interrupts, add WIP Speculator support
Also removes a bogus character in the initial centronics output.
2017-11-20 01:37:42 +01:00
David Haywood 7d0279601f split pgm2 up into drivers/video, correct main ram size, make some notes etc. 2017-11-17 18:25:36 +00:00
Patrick Mackinlay f87cc5c671 28fxxx: initial commit for new flash memory device (#2805)
Implementation of 28F010 and family flash memory devices. These are not compatible with the JEDEC-standard flash command protocol implemented in intelfsh.
2017-11-16 23:53:02 +11:00
Vas Crabb 46c4dfb5f9 z80sio updates:
* Don't use device_serial_interface for transmit - it can't support sync modes, on-the-fly register updates, and other weirdness.
* Better modelling of 1-deep transmit queue.
* Better RTS/CTS behaviour.
* Completely overhauled interrupt logic - vectors should be correct for most async modes.
* Implemented different auto-reset receive errors in MPSC vs SIO.
* Implemented SDLC transmission including bit stuffing, transmit CRC, abort, and underrun/end-of-message behaviour.

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

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

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

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

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

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

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

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