summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/upd765.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove void *ptr parameter from emu_timer, timer_device and all related ↵ AJR2022-01-261-1/+1
| | | | callbacks
* upd765: Check write protect during write & format commands (#9145) SomeRandomGuyIdk2022-01-141-2/+19
|
* upd765: improve SRA and SRB emulation; add DP8473 reset irq (#9062) shattered2021-12-301-4/+32
|
* Logging format cleanups and minor no-op code changes. (#8932) shattered2021-12-061-2/+2
|
* upd765: use the command sector size not the address size in read track and ↵ cracyc2021-10-181-3/+3
| | | | set the correct bit in st2 to indicate data crc error
* -machine/fdc37c665gt.cpp: Reimplemented with floppy and parallel support. 9871238791132021-03-021-2/+18
| | | -mahine/upd765.cpp: Implemented sector-based termination conditions for read commands.
* Fix most implicit fallthrough warnings from clang Vas Crabb2020-11-171-1/+1
|
* upd765: Explicitly emulate reset line AJR2020-10-021-36/+62
| | | | * hx5102: Add addressable latches
* upd765: Fix another copy/paste mistake (nw) AJR2020-05-191-2/+2
|
* upd765: Fix copy/paste mistake (nw) AJR2020-05-191-2/+2
|
* pc8477a, tc8566af: Increase number of steps for recalibrate command AJR2020-05-191-0/+3
|
* n82077aa, pc8477: SRA and SRB are not mapped in AT mode (nw) AJR2020-05-181-4/+8
|
* upd765: Move PS/2-class functionality out of base device (nw) AJR2020-05-181-60/+133
|
* uPD765 family updates AJR2020-05-181-20/+36
| | | | | | - dp8473, pc_fdc_superio: Unmap registers not actually provided - upd72065, i82072, smc37c78: Increase number of steps for recalibrate command - wd37c65c: Duplicate write protect flag in SR3
* upd765: bah (nw) Patrick Mackinlay2020-04-241-1/+1
|
* upd765: partially revert dma change (nw) Patrick Mackinlay2020-04-241-2/+2
| | | | Discovered pseudo-dma behaviour on Sony NEWS 68k system; read/write to the data port during DMA transfer may behave differently if DACK is not asserted.
* upd765: dma fixes (nw) Patrick Mackinlay2020-04-161-3/+3
|
* wd37c65c: Note on map use (nw) AJR2020-04-081-0/+3
|
* Collapse pc_fdc device hierarchy (nw) AJR2020-04-071-1/+1
| | | | | | - pc_fdc_interface has been eliminated. The XT and AT hookups have been moved into the ISA devices. - pc_fdc_xt_device remains for now only because two drivers depend on it. - europc still prints "disk error" on boot. It should still be possible to fix this.
* upd765: upd72067 stub (nw) Patrick Mackinlay2020-03-261-0/+44
|
* (nw) misc cleanup: Vas Crabb2019-10-051-11/+11
| | | | | | * upd765, next, sun3x: fix FDC mode being treated as clock frequency (MCFG removal gone wrong) * h01x: translate some comments from Chinese to English * snes/sfx: trampoline constructors should be private
* wd37c65c: Allow second clock to be configured (not used yet) (nw) AJR2019-04-171-1/+5
|
* upd765: Add uPD72069 device type for mpc3000 (nw) AJR2019-04-131-1/+14
|
* upd765: Drive selection improvements AJR2019-04-131-2/+15
| | | | | - Deselect drives upon reset, or select drive 0 for older FDCs with multiplexed select lines - Deselect other floppies when using set_floppy
* (nw) Clean up the mess on master Vas Crabb2019-03-261-64/+75
| | | | | | | | | | | | | 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-75/+64
| | | | | This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
* upd765.cpp: Correct result from Read ID when scan failed AmatCoder2019-03-191-0/+3
| | | | | | | | | Result from Read ID must be the sector ID information during execution phase. So result must be: - Zeroes if not ready (execution phase is not reached). - Command codes if ready but scan failed (execution phase is reached but ID is not found). This patch fixes this. - If scan is correct then result is the ID information from sector found. Fix MT 06611
* i8251, upd765: Allow read side effects to be disabled (nw) AJR2019-03-101-11/+17
|
* upd765: Simplify read/write handlers (nw) AJR2019-03-101-38/+18
|
* upd765: Fix Speedlock copy protection regression. Michael Zapf2019-03-061-10/+21
|
* fs3216: Start fleshing out the FDC interface (nw) AJR2019-01-121-4/+12
| | | | upd765: Kludge in an output callback for the index pulse, which doesn't deserve to be attached to this device but is done this way because of MAME's FDC model. (nw)
* upd765: Add output callback for unit/drive select lines (nw) AJR2019-01-101-1/+4
| | | | This is intended for future use by machines in which the US/DS lines are neither directly connected to the drives nor wholly disconnected from them.
* upd765: Add (mostly standard) clocks to all devices in the family (nw) AJR2018-12-131-1/+1
| | | | These clocks are currently unused, and their sources and dividers are often unclear. In some cases they are clearly software-configurable, which has not been emulated at all.
* Include floppy.h explicitly in drivers and bus cards, rather than indirectly ↵ AJR2018-11-251-0/+1
| | | | through popular FDC headers (nw)
* final cleanup (nw) Vas Crabb2018-08-291-25/+18
|
* upd765: add aux commands to 72065 (nw) cracyc2018-08-161-1/+15
|
* upd765: Fixes fifo mess-up on unexpected fifo pushes on hx5102. Michael Zapf2018-08-061-0/+9
|
* upd765.cpp: Partially revert 9eae4365246db04c1b2b432e24b91268b482564c to ↵ AJR2018-07-131-2/+6
| | | | unbreak x68000 floppy loading (nw)
* upd765: i82072 fixes (nw) (#3729) Patrick Mackinlay2018-07-091-57/+109
| | | | | Mostly tiying up and simplifying the i82072 behaviour; the only change that could potentially impact other upd765 users is marking the st0_filled after every interrupt-generating command ends, rather than only the non-data ones. This appears to be correct behaviour, and will only affect systems which actually do a "sense interrupt status" after a command-completion interrupt (like the InterPro does). * report valid interrupt sense data after all interrupt-generating commands * improve i82072 drive busy handling and motor control
* logerror is cool with std::string - don't use .c_str, some ostream flags ↵ Vas Crabb2018-06-251-36/+36
| | | | stick, also const (nw)
* upd765: Add HEAD_LOAD state, used as a spinup delay by some systems. Michael Zapf2018-06-181-8/+34
|
* upd765: Improved logging; removed status flag ST1.ND on missing IDAM/DAM Michael Zapf2018-06-171-24/+97
|
* as if millions of this pointers suddenly cried out in terror, and were ↵ Vas Crabb2018-06-081-72/+62
| | | | | | | suddenly silenced * streamline templates in addrmap.h * get rid of overloads on read/write member names - this will become even more important in the near future
* Added logmacros to upd765, increased track buffer for hfe format (nw) Michael Zapf2018-05-101-75/+98
|
* maps: Finish devices/machine (nw) Olivier Galibert2018-04-201-27/+32
|
* maps: Finish map.m() (nw) Olivier Galibert2018-04-191-55/+63
|
* API change: Memory maps are now methods of the owner class [O. Galibert] Olivier Galibert2018-02-121-13/+13
| | | | | Also, a lot more freedom happened, that's going to be more visible soon.
* memory: Remove some space parameters from the apple2 domain [O. Galibert] Olivier Galibert2017-12-191-0/+15
|
* upd765: special case i82072 drive busy bit handling (nw) Patrick Mackinlay2017-10-041-4/+33
| | | | Fixes http://mametesters.org/view.php?id=6689.
* (nw) srcclean - please use UTF-8 for source files, stuff that isn't valid ↵ Vas Crabb2017-09-241-1/+1
| | | | UTF-8 will be nuked, and cleaning it up by hand is annoying