summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/8042kbdc.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move all devices into separate part of src tree (nw) Miodrag Milanovic2015-09-131-127/+0
|
* some more (nw) Miodrag Milanovic2015-05-131-2/+2
|
* Added dummy license headers for EMU section (nw) Miodrag Milanovic2015-05-071-0/+2
|
* More cleanups, there is issue with srcclean that needs to be taken care as ↵ Miodrag Milanovic2014-07-221-3/+3
| | | | well, just doing now what we can
* devcv2 -> devcb (nw) Miodrag Milanovic2014-05-141-15/+15
|
* kbdc8042_device: converted to devcb2 (nw) Ivan Vangelista2014-04-111-25/+31
|
* Cleanups and version bumpmame0153 Miodrag Milanovic2014-04-071-1/+1
|
* pckeybrd: make into a device (nw) cracyc2014-03-311-1/+8
|
* Converted PIT8253 to DEVCB2 [smf] smf-2014-02-231-2/+4
|
* Cleanups and version bumpmame0148u4 Miodrag Milanovic2013-04-301-11/+11
|
* 8042kbdc is now device (nw) Miodrag Milanovic2013-04-191-9/+79
|
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-3/+2
|
* Removed not used calls (no whatsnew) Miodrag Milanovic2012-09-261-2/+0
|
* Memory handler cleanup 3. Add mem_mask parameter Aaron Giles2012-09-171-4/+4
| | | | | | | | to 8-bit handlers to match the others. To ease pain, added DECLARE_READ/WRITE_HANDLER macros that set up a default parameter. Also updated devcb so that the handlers can be called with or without the mem_mask. [Aaron Giles]
* Clean-ups and version bumpmame0147 Miodrag Milanovic2012-09-171-1/+1
| | | note: hoarded dump removed too from coco_cart.xml, this will not be tolerated
* Enum and union normalization. Aaron Giles2012-09-161-2/+2
|
* removed kbdc8042 32bit access functions (nw) Miodrag Milanovic2012-05-241-2/+0
|
* Clean-ups and version bumpmame0144u4 Angelo Salese2011-12-241-3/+3
|
* Other improvements to California Chase, it shows Windows 98 logo [Grull Osgo] Angelo Salese2011-12-241-0/+4
|
* BIG update. Aaron Giles2011-03-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove redundant machine items from address_space and device_t. Neither machine nor m_machine are directly accessible anymore. Instead a new getter machine() is available which returns a machine reference. So: space->machine->xxx ==> space->machine().xxx device->machine->yyy ==> device->machine().yyy Globally changed all running_machine pointers to running_machine references. Any function/method that takes a running_machine takes it as a required parameter (1 or 2 exceptions). Being consistent here gets rid of a lot of odd &machine or *machine, but it does mean a very large bulk change across the project. Structs which have a running_machine * now have that variable renamed to m_machine, and now have a shiny new machine() method that works like the space and device methods above. Since most of these are things that should eventually be devices anyway, consider this a step in that direction. 98% of the update was done with regex searches. The changes are architected such that the compiler will catch the remaining errors: // find things that use an embedded machine directly and replace // with a machine() getter call S: ->machine-> R: ->machine\(\)\. // do the same if via a reference S: \.machine-> R: \.machine\(\)\. // convert function parameters to running_machine & S: running_machine \*machine([^;]) R: running_machine \&machine\1 // replace machine-> with machine. S: machine-> R: machine\. // replace &machine() with machine() S: \&([()->a-z0-9_]+machine\(\)) R: \1 // sanity check: look for this used as a cast (running_machine &) // and change to this: *(running_machine *)
* This update is the below two patches, plus the remaining changes Aaron Giles2008-12-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | necessary to remove 12 of the final 14 references to the global Machine. The remaining 2 are in fatalerror() and logerror(), which are both local to mame.c, so Machine is now fully static. -- From: Atari Ace [mailto:atari_ace@verizon.net] Sent: Thursday, December 18, 2008 5:47 PM To: submit@mamedev.org Cc: atariace@hotmail.com Subject: [patch] Make Machine static followup Hi mamedev, This incremental patch to my last patch undoes the change that caches the ppu2c0x videorom. I changed the code back to how it behaved originally, using an existing machine on the chip struct to eliminate the one troublesome Machine reference. ~aa -- From: Atari Ace [mailto:atari_ace@verizon.net] Sent: Thursday, December 18, 2008 2:54 PM To: submit@mamedev.org Cc: atariace@hotmail.com Subject: [patch] Make Machine static! Hi mamedev, This large patch completes the removal of the use of Machine throughout MAME. It does so primarily by adding machine, device or space to various apis and modifying the callers, but for some remaining cases it adds a new api, mame_get_running_machine(), which will be called instead. There are only 14 uses of this api currently, and that number should drop over time. There are a few changes of note: 1. 6821pia.c. I attached machine to the 'device' structure. I'm working on converting this to a proper device, but that change isn't ready. 2. fddebug.c. I added a proper header so that the apis won't get accidentally converted to static again. 3. scsi.c. I added a machine to SCSIInstance. 4. system16.c. I modified sys16_patch_code to take an array of patches. 4. custom.h. I added the owning sound device to the reset/stop routines as well as the token. Note that passing only the device would require exposing the internals of custom_sound, as the token passed is not the device token, but the token returned from the CUSTOM_START routine. Better ideas here are welcome. 4. ppc2c0x.c. To avoid changing more interfaces, the init routine saves the videorom location rather than looks it up each time. I tried to choose what I felt was the natural parameter for an api, rather than always pass machine, but in some cases I used machine to limit the number of additional changes. Some additional cleanup here is probably warranted, I'll look into that later once I'm recovered from this two-week project. ~aa
* From: Atari Ace [atari_ace@verizon.net] Aaron Giles2008-12-111-1/+1
| | | | | | | | | | | | | | | | | | | Sent: Wednesday, December 10, 2008 9:27 AM To: submit@mamedev.org Cc: atariace@hotmail.com Subject: [patch] Add machine to some emu/machine init methods Hi mamedev, This patch widens some machine init interfaces to pass the machine parameter, allowing more Machine global references to be eliminated. Eventually most of these need to be converted to devices, but this change reduces the deprecation surface in the meantime. I also attached the script I used to do the initial changes to the drivers, which handled about 90% of the cases without further editing. ~aa
* Removed the hardcoded dependency on a 8254 device from the 8042kbdc code. ↵ Wilbert Pol2008-04-081-0/+1
| | | | Changed the drivers using the 8042kdbc to define their own 8042kdbc - 8254 dependency.
* Initial checkin of MAME 0.121.mame0121 Aaron Giles2007-12-171-0/+40