| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
* hx5102: Add addressable latches
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- 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
|
| | |
|
| |
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- 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, 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
|
| | |
|
| | |
|
| |
|
|
|
| |
- Deselect drives upon reset, or select drive 0 for older FDCs with multiplexed select lines
- Deselect other floppies when using set_floppy
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing
changes made to 009cba4fb8102102168ef32870892438327f3705.
|
| |
|
|
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
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)
|
| |
|
|
| |
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.
|
| |
|
|
| |
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.
|
| |
|
|
| |
through popular FDC headers (nw)
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
unbreak x68000 floppy loading (nw)
|
| |
|
|
|
| |
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
|
| |
|
|
| |
stick, also const (nw)
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Also, a lot more freedom happened, that's going to be more visible
soon.
|
| | |
|
| |
|
|
| |
Fixes http://mametesters.org/view.php?id=6689.
|
| |
|
|
| |
UTF-8 will be nuked, and cleaning it up by hand is annoying
|
| |
|
| |
Yet another attempt at implementing the i82072 sense interrupt status logic. This time, I've separated the logic into the derived class, so it won't affect the other devices. Also included motor on/off logic (unique to i82072) - motor on delay is incomplete.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
This currently only works if you set the drive select lines correctly,
which the upd765 does now. Hook it up to the psi98 driver and use the
TEAC FD-55F drive instead of the generic one.
This is some basic first work to better model the real hardware and
floppy drive setups in the future.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
The RECALIBRATE command would instantly finish if the drive was already
at track 0. This introduces a slight delay, so that code can execute
between issuing the command and generating an interrupt. This fixes
accessing the second drive on the psi98 driver.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|