summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/machine.lua
Commit message (Collapse)AuthorAgeFilesLines
* New device: Western Digital WD1010-05 Dirk Best2019-02-231-0/+12
|
* xc1700e: new device Patrick Mackinlay2019-02-201-0/+12
|
* jazz: wip checkpoint (nw) Patrick Mackinlay2019-02-121-0/+12
| | | | At this point, jazz can start Windows NT 4.0 from cdrom, but crashes launching the session manager just prior to running setup.
* srcclean and cleanup (nw) Vas Crabb2019-01-271-1/+1
|
* wd33c9x: Convert the remaining drivers, kill the old driver [O. Galibert] Olivier Galibert2019-01-221-13/+0
|
* new NOT WORKING --- Classic Arcade Pinball (JAKKS Pacific TV Game) [Sean ↵ David Haywood2019-01-131-0/+2
| | | | | | | | | | | | | | | | 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)
* wd33c9x: somebody dropped this (nw) Patrick Mackinlay2019-01-011-0/+13
|
* Added a skeleton for the DEC DC7085 (aka "DZ") quad UART. [R. Belmont] arbee2018-12-301-0/+12
|
* -dp8573.cpp: Added DP8573 Real-Time Clock emulation. [Ryan Holtz] mooglyguy2018-11-121-0/+12
| | | | -indigo.cpp: Hooked up new DP8573 implementation. [Ryan Holtz]
* aic6250: new device (nw) Patrick Mackinlay2018-10-311-1/+11
| | | | Very WIP status and some obvious issues, but working well enough to load RISC/os.
* r9751: Implement proper SMIOC emulation through new uart emulation (#4188) Brandon Munger2018-10-241-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* z8038: new device (nw) Patrick Mackinlay2018-10-181-0/+12
| | | | 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.
* New machines marked as NOT_WORKING AJR2018-10-121-0/+12
| | | | | ---------------------------------- Scientific Instruments Model 5500 Temperature Controller [ClawGrip]
* mb87030: add new SCSI controller (nw) Sven Schnelle2018-10-071-0/+12
|
* vii: Device-ified the SPG2xx SoC. [Ryan Holtz] mooglyguy2018-10-061-0/+12
|
* -sun4: Added a sun4c MMU device. Currently wraps the functionality of ↵ mooglyguy2018-09-221-0/+12
| | | | | | 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]
* jazz: new skeleton driver (nw) Patrick Mackinlay2018-09-201-0/+12
| | | | | | | 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
* -am79c90: Added rudimentary AMD 79C90 LANCE ethernet controller support, ↵ mooglyguy2018-09-081-0/+12
| | | | enough to make sun4 happy. [Ryan Holtz]
* New Working Game Tomasz Slanina2018-08-221-0/+12
| | | | | ------------------------------- Nightmare [Tomasz Slanina, Roberto Fresca, Jordi Beltran, Paco Ortiz, Recreativas.org]
* -pcf8583: Added rudimentary Philips PCF8583 RTC emulation, based on the ↵ Ryan Holtz2018-08-201-0/+12
| | | | PCF8593 device. [Ryan Holtz]
* ps2sony: Some basic VU1 support, major file reshuffling, nw mooglyguy2018-07-211-0/+130
|
* Fix copy/paste mistake (nw) AJR2018-06-211-1/+1
|
* -39in1: Split Intel XScale PXA255 peripherals into a separate device. [Ryan ↵ mooglyguy2018-06-211-0/+13
| | | | | | Holtz] note: will apply this change to any drivers using copy/pasted PXA255 code tomorrow.
* Add HP9122 floppy drive (#3657) Sven Schnelle2018-06-171-0/+14
| | | | | | | | | | | | | | | | | | | | | | * Revert "Revert "Add 9122c floppy (#3647)"" This reverts commit 0aa81fc184b225547091a10f4accb8f3ae7064da. * 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>
* ec1841: mouse emulation (Logitech bus mouse protocol) (#3623) Sergey Svishchev2018-06-111-0/+12
| | | | | | * ec1841: mouse emulation (Logitech bus mouse protocol) * follow-up to PR#3623
* Revert "Add 9122c floppy (#3647)" Vas Crabb2018-06-111-14/+0
| | | | This reverts commit c63c4e111e8ff196de5790bcf227b3ab2a92bb88.
* Add 9122c floppy (#3647) Sven Schnelle2018-06-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* proposal: move z80daisy* to devices/machine (#3572) Patrick Mackinlay2018-05-151-0/+14
| | | | | | | | | | * 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)
* gridcomp: hook up TMS9914 GPIB controller (nw) Sergey Svishchev2018-05-061-1/+1
|
* Rename machine/latch.* to machine/output_latch.* (nw) AJR2018-05-021-2/+12
| | | | | | - 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.
* New device, SMSC FDC37C93x Plug and Play Compatible Ultra I/O Controller ! ↵ yz70s2018-04-271-0/+12
| | | | | | [Samuele Zannoli] It is not complete yet but the floppy disk and keyboard work and is enough to boot the m55hi-plus motherboard.
* hp_ipc: added HPIB interface chip & remotizer device fulivi2018-04-261-0/+12
|
* vp415 skeleton updates, nw mooglyguy2018-04-181-0/+13
|
* Added skeleton SAA1403 device, nw Ryan Holtz2018-04-131-0/+12
|
* mb86233/4 rewrite [O. Galibert] Olivier Galibert2018-04-051-0/+12
| | | | | model1: Use the real 315-5573 Virtua Racing coprocessor program [Team Caps0ff] model2: Rewamp the coprocessors communications [O. Galibert]
* M1COMM: Add preliminary MB89374 emulation (#3378) Ariane Fugmann2018-03-241-0/+12
| | | | | | | | * M1COMM: Add preliminary MB89374 emulation (nw) * M1COMM: moved knowns roms to device. (nw) * MB89374: arrays and savestates (nw)
* Create RST interrupt buffer device AJR2018-02-181-0/+12
|
* am9519: add am9519 uic device [Carl] cracyc2018-02-101-0/+12
|
* New device: SN54/74166 8-Bit Parallel-In/Serial-Out Shift Register [Dirk ↵ Luca Elia2018-01-211-0/+12
| | | | Best, Luca Elia]
* meters, ticket: Move these generic devices into src/devices (nw) AJR2018-01-091-0/+24
|
* machine.lua: compile myb3k_kbd only when needed (nw) Ivan Vangelista2018-01-091-2/+12
|
* Add ER1400 serial EAROM device AJR2017-12-311-0/+12
|
* i386: x87 bug fixes and FERR support [Andrey Merkulov] cracyc2017-12-161-0/+12
| | | | i8087: separate 8087 device [Carl]
* myb3k: preliminary keyboard support for Ericsson step/one brand [Fredrik ↵ Joakim Larsson Edstrom2017-12-151-0/+2
| | | | Ohrstrom]
* New generic ripple counter device AJR2017-12-101-0/+12
|
* split pgm2 up into drivers/video, correct main ram size, make some notes etc. David Haywood2017-11-171-0/+12
|
* 28fxxx: initial commit for new flash memory device (#2805) Patrick Mackinlay2017-11-161-0/+12
| | | Implementation of 28F010 and family flash memory devices. These are not compatible with the JEDEC-standard flash command protocol implemented in intelfsh.
* z80sio updates: Vas Crabb2017-11-161-0/+2
| | | | | | | | | | | * 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.
* einstein: Major cleanup, add a ADC0844 device Dirk Best2017-11-061-0/+12
| | | | | | | | 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.
* hp85: support for I/O slots added. Emulation of HP82937 module added. fulivi2017-10-251-0/+12
|