summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/machine.lua
Commit message (Collapse)AuthorAgeFilesLines
* HP9845: TACO driver re-written (#5601) fulivi2019-09-091-0/+12
| | | | | | | | | * 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"
* Various improvements over Vrender0 based systems [Angelo Salese] (#5580) Angelo Salese2019-09-021-0/+2
| | | | | | | * 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;
* WD1000: new hard disk controller 68bit2019-08-261-0/+12
| | | | | Used by the SWTPC09 DMAF3 and it boots UniFLEX on a disk image, and perhaps some other machines can leverage this.
* Major refactoring of VRender0 SoC device [Angelo Salese] (#5527) Angelo Salese2019-08-241-0/+12
| | | | | | | | | | | | | * 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.
* atronic.cpp: Add more onboard devices, including new PCF8584 skeleton (nw) AJR2019-08-171-0/+12
|
* Add device emulation for DS17x85 series of MC146818-compatible RTCs with ↵ AJR2019-08-141-0/+12
| | | | additional features
* Add still-frame PNG image device for use by digitizers/cameras/etc. [R. Belmont] arbee2019-08-091-0/+2
| | | | Other formats can be added, we already have libjpeg in 3rdparty/.
* steps towards some spectrum expansions - attempt 2 (resynced to AJRs ↵ David Haywood2019-07-311-0/+2
| | | | | | | | | | changes) (nw) (#5417) * steps towards some spectrum expansions - attempt 2 (nw) * (nw) * (nw)
* microdrv: Change image type to magtape; default clock; move to imagedev (nw) AJR2019-07-301-0/+2
|
* wtl3132: new device Patrick Mackinlay2019-07-151-0/+12
|
* Move modern SCSI CD/HD devices into src/devices/bus/nscsi (nw) AJR2019-07-111-9/+0
|
* new device seeq8003 Patrick Mackinlay2019-06-261-0/+12
|
* added sensorboard with piece recognition (nw) hap2019-06-231-8/+22
|
* -74381: Added untested 74S381 ALU / Function Generator device. [Ryan Holtz] MooglyGuy2019-06-181-0/+12
| | | | | | -dpb_brushproc: Added PROM signal lookups, nw -am25s55x: Fixed some incorrect comments, nw
* -dpb_brushproc: Added skeleton device for DPB-7000 Brush Processor Card. ↵ MooglyGuy2019-06-181-0/+12
| | | | | | | | | | [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
* -tdc1008: Fixed latching of RND, TC, ACC, and SUB signals. [Ryan Holtz] mooglyguy2019-06-171-0/+12
| | | | | | -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
* -tdc1008: Initial untested implementation of the TRW TDC1008 ↵ mooglyguy2019-06-161-0/+12
| | | | | | Multiplier-Accumulator. [Ryan Holtz] -dpb7000: Added TDC1008 devices for the Filter Card, albeit not hooked up yet, nw
* Add device emulation for MM5307 Baud Rate Generator AJR2019-06-141-0/+12
|
* -am2910: Added prelminary, largely-untested Am2910 Microprogram Controller ↵ mooglyguy2019-06-051-0/+12
| | | | | | device emulation. [Ryan Holtz] -dpb7000: Initial pass at Disk Sequencer Card emulation. Needs debugging. [Ryan Holtz, Mark Nias]
* chessmachine: device was in wrong folder and forgot to update compile script ↵ hap2019-06-011-0/+13
| | | | (nw)
* New device: UPD7004 ADC Dirk Best2019-05-281-0/+12
|
* Add DS1994 device (#5054) grullosgo2019-05-141-0/+12
| | | | Add DS1994 device amaticmg driver: added ds1994 device, modified prom load, added ds1994 to romload
* allow smartfp to show.. something (nw) (#5030) David Haywood2019-05-101-0/+2
| | | | | | | | | | | | | | | | | | * 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)
* Add AIC-565 device AJR2019-05-061-0/+12
|
* machine.lua: Fix copy/paste mistake (nw) AJR2019-04-211-1/+1
|
* Add very preliminary Intel 82355 BMIC device AJR2019-04-211-0/+12
|
* Add AMD/Plessey 2812 FIFO device (for WIP Star Rider driver) Vas Crabb2019-04-211-0/+12
|
* scc68070: Merge CPU device with on-chip peripheral emulation AJR2019-04-171-0/+11
| | | | | - Add internal clock divider - Add a few crude hacks to force status bits in unemulated UART and I2C
* pull SunPlus GCM394 titles out of vii.cpp DavidHaywood2019-04-141-0/+4
| | | | | | | - 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.
* spg110: tweaks for jak_capb, improves rendering, identifies several things ↵ David Haywood2019-03-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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
* (nw) Clean up the mess on master Vas Crabb2019-03-261-14/+43
| | | | | | | | | | | | | This effectively reverts b380514764cf857469bae61c11143a19f79a74c5 and c24473ddff715ecec2e258a6eb38960cf8c8e98e, restoring the state at 598cd5227223c3b04ca31f0dbc1981256d9ea3ff. 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.
* Revert "conflict resolution (nw)" andreasnaive2019-03-251-43/+14
| | | | | This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
* refactoring checkpoint (nw) DavidHaywood2019-03-251-0/+2
|
* SPG2XX - Make audio emulation a subdevice (#4757) David Haywood2019-03-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | * 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)
* 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]