summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/x68k.c
Commit message (Collapse)AuthorAgeFilesLines
* Huge update, palette is now device (nw) Miodrag Milanovic2014-02-271-4/+4
| | | note: Aaron please give more descriptive text for release log I have no more strength :)
* x68k fix (nw) Miodrag Milanovic2014-02-171-0/+1
|
* Created gfxdecode_device instead of using machine fixed gfxdecode [Miodrag ↵ Miodrag Milanovic2014-02-161-1/+1
| | | | | | | | | | Milanovic] Updated all devices and drivers for using it. out of whatsnew: Note that it is made to work same as before, in some cases it can be more logic to move gfxdevice into subdevice itself then to keep it in main driver.
* created src\emu\bus\rs232 & src\emu\bus\midi directories and separated rs232 ↵ smf-2014-02-151-1/+1
| | | | and midi devices, changed h89 to use an rs232 port to communicate with the serial terminal to instead of connecting it directly. [smf]
* Removed MC68901 polling for gpio bits. [smf] smf-2013-12-291-15/+9
|
* Converted x68000 keyboard into a separate serial device. This allows the ↵ smf-2013-12-281-380/+18
| | | | removal of the uart hle in the driver (which didn't work, it was always two characters behind). diserial cannot sync with the start bit properly when using an external clock, so for now I've added a hack that is only enabled when using the MC68901 (setting the flag ignores the extra spurious bit that was getting shifted in). [smf]
* removed some more unused mfp code (nw) smf-2013-12-271-3/+0
|
* fixed wrong tag name (nw) smf-2013-12-271-3/+3
|
* simplified x68k RP5C15 hookup (nw) smf-2013-12-271-34/+4
|
* removed mfp_init() and the variables it sets as they aren't used. keyboard ↵ smf-2013-12-261-13/+0
| | | | reading is still hacked and doesn't go through 68901 device. (nw)
* removed unused code & variables (nw) smf-2013-12-261-363/+0
|
* replaced read rx callback in MC68901 with a write handler, which allows ↵ smf-2013-12-221-1/+0
| | | | multiple chips to be connected together without using glue methods. Removed a load of unused code from MC68901, probably left over when it was converted to use diserial. [smf]
* diserial: Remove defines, cleanup clocks/timers, add sync support [O. Galibert] Olivier Galibert2013-11-181-2/+1
|
* dim_dsk: add modern support [Carl] cracyc2013-10-141-1/+19
| | | | | | x68k: make floppies work again [Carl] hd63450: make it easier for external drq support (nw) --- esq5505 is the only other user of the hd63450, needs to be tested
* Last batch of updates regarding commented out code, forgotten during past ↵ Ivan Vangelista2013-09-071-2/+2
| | | | device modernizations. There are some more left, but I'm not sure how to proceed. (nw)
* Moved default card config, device inputs and clock off the slot interface so ↵ smf-2013-05-291-5/+5
| | | | they can be specified for all cards [smf]
* MESS anonymous timers this time. (nw) Andrew Gardner2013-05-231-20/+81
|
* made BEEP and RAM devices initialize in constructor of driver classes (nw) Miodrag Milanovic2013-04-231-9/+9
|
* few more removed (nw) Miodrag Milanovic2013-04-191-1/+1
|
* moving some static functions in driver state for MESS drivers plus some ↵ Miodrag Milanovic2013-04-181-14/+12
| | | | other modernization (nw)
* various cpu lookup cleanup (nw) Miodrag Milanovic2013-04-151-5/+5
|
* various cpu lookup cleanup (nw) Miodrag Milanovic2013-04-151-9/+4
|
* Removal of machine().root_device() where appropriate (nw) Miodrag Milanovic2013-04-141-22/+22
|
* cleanup (nw) Miodrag Milanovic2013-04-141-8/+8
|
* changed machine().device("maincpu") with m_maincpu in mess tree part (nw) Miodrag Milanovic2013-04-101-22/+22
|
* Modernized CRT, okim6285, and ZSG2 devices. [Andrew Gardner] Andrew Gardner2013-03-131-13/+13
|
* IRQ_CALLBACK modernization part 2, this should give some speed to pc drivers ↵ Miodrag Milanovic2013-01-311-15/+13
| | | | (no whatsnew)
* output of new srcclean changes that are relatively small [smf] smf-2013-01-111-3/+0
|
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-310/+310
|
* (MESS) Removed unnecessary includes, and fixed a floppy bug. (nw) Curt Coder2012-12-091-3/+0
|
* sed1310: Cleanup. (nw) Curt Coder2012-11-221-9/+7
| | | | | | (MESS) bw2: Fixed memory mapping. (nw) (MESS) msm6255: Refactored to use device_memory_interface. (nw) (MESS) floppy: Added macros for declaring modern floppy formats. The generic floppy formats (D88/DFI/IMD/IPF/MFI/MFM) are now automatically supported in each driver using the modern floppy code. [Curt Coder]
* Created a base class delegate_common_base for all delegate Aaron Giles2012-10-141-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | types. Created a binding_type_exception which is thrown when a bind attempt fails due to mismatched types. Added helper templates to driver_device to wrap legacy device read/write handlers into driver_device member functions. This should help move some things forward until more common code is converted into proper devices. Introduce new module devcb2 which contains modernized versions of devcb. Compared to previous implementation this one is simpler overall, trampolining calls through a single internal set of adapter functions. The new versions are also designed to be specified in the machine_config rather than in structures, so they are no longer simple POD types. Additional new/changed features: * reads and writes can map to delegates for line or 8/16/32/64-bit * reads and writes can map to an I/O port * reads can be mapped to a constant value, with or without logging * writes can be mapped to a device's input line * all reads/writes can have a shift, mask, and/or xor applied * devices can opt to make the functions safe-if-NULL when resolving * only member function types are supported Rewrote the YM2151 interface to be fully modernized, and removed the ym2151_interface struct in favor of inline configs using the new devcb2 mechanism. In many cases, removed no longer needed trampolines, instead taking advantage of direct support for input line writes.
* (mess) upd765: Modernize [O. Galibert] Olivier Galibert2012-10-101-127/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remaining TODO list: - take WP into account - test the amstrad, implement its observational format (edsk) using pasti as a start. Or find the legendary amstrad IPFs. Or both. - correct read track, the implementation is completely wrong. See previous for testing, it's only used in protections the check the inter-sector gaps. - shake and bake on the amstrad, protections are the best to find bugs in a fdc - add the scan id commands, but nothing seems to use them - debug the 2.88M formatting which is unreliable. Fix its IDAM/DAM gap size on formatting too (but that's not what's making it unreliable) - test all the systems that were hit, and fix what needs to be fixed. Beware that multiple problems may happen: - upd765 may be wrong - the driver may not be working - the hookup may be wrong/incomplete (bitrate selection and floppy rpm in particular) - the driver may be too limited for the new implementation (the x68k dma device does not handle non-instant dma yet for instance) - report invalid command when appropriate depending on the actual chip emulated - add the russian clones with their real names
* srcclean (nw) Curt Coder2012-10-071-1/+1
|
* ups (nw) Miodrag Milanovic2012-10-031-2/+2
|
* modernization and cleanup of x68k (no whatsnew) Miodrag Milanovic2012-10-031-425/+389
|
* Replace some *_DEVICE_HANDLER with _MEMBER calls in MESS section (no whatsnew) Miodrag Milanovic2012-10-031-90/+80
|
* modernization or timer callbacks part 2 (no whatsnew) Miodrag Milanovic2012-09-241-112/+101
|
* change from device->machine() to space.machine() in device handlers in order ↵ Miodrag Milanovic2012-09-211-14/+14
| | | | to make next changes easier (no whatsnew)
* Since nobody checks for NULLs anyway, make Aaron Giles2012-09-191-2/+2
| | | | | | | | | | | | device_memory_interface::space() assert against NULL and return a reference, and pushed references throughout all address space usage in the system. Added a has_space() method to check for those rare case when it is ambiguous. [Aaron Giles] Also reinstated the generic space and added fatal error handlers if anyone tries to actually read/write from it.
* INTERRUPT_GEN -> INTERRUPT_GEN_MEMBER for MESS part (no whatsnew) Miodrag Milanovic2012-09-181-9/+9
|
* Modernized screen update calls (no whatsnew) Miodrag Milanovic2012-09-171-1/+1
|
* Memory handler normalization, part 2. Change legacy Aaron Giles2012-09-171-101/+101
| | | | | | | read/write handlers to take an address_space & instead of an address_space *. Also update pretty much all other functions to take a reference where appropriate. [Aaron Giles]
* Memory handler normalization, part 1. Aaron Giles2012-09-171-11/+11
| | | | | | | | | | | | | READ/WRITE_DEVICE*_HANDLERs are now passed an address_space &, and the 8-bit variants get a mem_mask as well. This means they are now directly compatible with the member function delegates. Added a generic address space to the driver_device that can be used when no specific address space is available. Also added DECLARE_READ/WRITE_DEVICE*_HANDLER macros to declare device callbacks with default mem_mask parameters. [Aaron Giles]
* Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT ↵ Miodrag Milanovic2012-09-131-61/+58
| | | | changed to be members of state classes (no whatsnew)
* Clear out remaining global inlines in diexec.h. Aaron Giles2012-09-121-1/+1
|
* Closeout on old macros. Retired cputag_set_input_line Aaron Giles2012-09-121-24/+24
| | | | | | | and cputag_set_input_line_and_vector, replacing them with machine.device("tag")->execute().set_input_line[_and_vector]. [Aaron Giles]
* Add safe_pc() and safe_pcbase() methods to device_t. Aaron Giles2012-09-111-5/+5
| | | | | | Convert all cpu_get_pc() to safe_pc() and cpu_getpreviouspc() to safe_basepc(). Removed the old macros.
* added missing \n to remaining fatalerror() calls (no whatsnew) Oliver Stöneberg2012-09-091-1/+1
|
* Split out callbacks from scsibus_device into scscb_device, eventually this ↵ smf-2012-09-061-7/+3
| | | | will be a SCSI device. SCSIBus_interface is no longer required and has been removed. [smf]