Commit Graph

908 Commits

Author SHA1 Message Date
Nathan Woods
4f08110c53 Introduced 'ext_lib("utf8proc")' to a number of the tools builds 2016-12-31 17:07:14 -05:00
Nathan Woods
5be1b8e6e0 Introduced utf8proc and created wrapper code to expose a prettier API 2016-12-31 11:17:07 -05:00
Brad Hughes
b47ec24df6 Move special windows.h include directives to build defines (nw) 2016-12-28 15:07:28 -05:00
couriersud
6eaa60953f Slightly better solution to the VME issue. (nw) 2016-12-28 15:58:30 +01:00
couriersud
301a967276 Fix linking issues due to VME commits. All vme bus objects files are now
in the mizar lib. This is suboptimal, but the code seems to
crossreference across object files and from the bus code into the driver
code. 
At least the source now links again. (nw)
2016-12-28 15:01:33 +01:00
couriersud
63f4e52dae Moved proxy code into separate file. (nw) 2016-12-28 13:48:48 +01:00
MooglyGuy
92820ea460 Merge pull request #1880 from JoakimLarsson/VME_1
-mzr8105: Added VME device and divided mzr8105 in board and card devices. [Edstrom]
2016-12-26 23:38:40 +01:00
Joakim Larsson Edstrom
9bfcd85cc3 Added VME device and divided mzr8105 in board and card devices. Naughty segfault needs to be fixed (nw) 2016-12-26 22:49:50 +01:00
MooglyGuy
fbb8ee0fe8 -netlist: Added 82S123 256-bit (32x8) TTL bipolar PROM. [Ryan Holtz] 2016-12-24 22:09:59 +01:00
therealmogminer@gmail.com
9c4c4d0a5b -netlist: Added 82S126 4kbit (512x8) TTL bipolar PROM. [Ryan Holtz] 2016-12-23 23:29:45 +01:00
Vas Crabb
f5bc78c211 netlist: Added 4316 bilateral switch pack. 2016-12-23 14:54:54 +11:00
therealmogminer@gmail.com
677aaaec3d -netlist: Added 74165, 74194, 7475, 7485, and DM9322 devices. [Ryan Holtz] 2016-12-22 19:39:52 +01:00
AJR
ff68193741 Overhaul of devcb (nw)
- Allow stringing multiple callbacks together recursively. Chained callbacks will be read or written in sequence, and each can be configured with its own type and mask/shift/XOR parameters.
- Chained input callbacks cannot have overlapping masks (there's no such thing as a free multiplex). Chained output callbacks have no such restriction.
- Remove the constant parameter for the LOGGER callback type: it makes no sense for output, was always zero in existing usage, and is now unnecessary with callback chaining.
- Change LOGGER behavior for writes to log the user-defined message only if the output as masked is nonzero. With callback chaining, this can be used to monitor when individual bits become active.
- Constant read callbacks can no longer have MCFG_DEVCB_XOR or MCFG_DEVCB_INVERT specified (makes no sense in this context).
- Add a MEMBANK callback type to allow output bits to be used for bank-switching.
- Add ASSERTLINE and CLEARLINE callback types that raise or lower an interrupt line if the selected bit of the written value is active. These are intended for where periodic or ready-pulse signals from devices are used to trigger IRQs that the CPU program will independently acknowledge.
- Add MCFG_DEVCB_BIT as shorthand for masking and shifting out an individual bit for a callback.
- Removed DEVCB_LINE_DISPATCH_<n>. Where we're going, we don't need line dispatcher devices.

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

uismall.bdf: set default character for missing glyphs

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

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

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

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

The keyboard receives the reset commands from the Sun and sends back the
self test pass response, but the SCC seems to get a buffer overrun error.
So it appears that the received data isn't being read out.  I haven't been
able to work out why.
2016-07-18 01:13:19 +10:00
Nigel Barnes
201dcedd2d fix mistake (nw) 2016-07-16 21:54:00 +01:00
Nigel Barnes
e7b79b1b52 New NOT WORKING machine
=======================
BT Merlin M2105  [Nigel Barnes]
2016-07-16 21:49:17 +01:00
Nigel Barnes
9104c9d523 renamed bbc_dsk to acorn_dsk
- split ssd/dsd formats
- added opus ddos format
- split adfs into oldmap and newmap formats for archimedes
- logging
2016-07-16 19:48:44 +01:00
R. Belmont
13c8e76cf7 Merge pull request #1093 from stevenc99/kfreebsd
GNU/kFreeBSD support
2016-07-16 06:09:32 -04:00
R. Belmont
72b19e0c25 Merge pull request #1072 from oxc/pkg_config_from_env
Take pkg-config path from env if defined
2016-07-16 06:04:52 -04:00
Vas Crabb
231bfb6237 UI refactoring: [Vas Crabb]
* .h -> .ipp for things that aren't really headers
* make more stuff in selmenu private
* move the remembered driver/software associated with the snap to the cache object
* start cleaning up constness in datfile manager - it's still a mess of non-const statics
2016-07-15 16:05:23 +10:00