~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to src/emu/machine/8042kbdc.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
445
445
                        break;
446
446
 
447
447
                case 1:
448
 
                        /* preceeded by writing 0xD1 to port 60h
 
448
                        /* preceded by writing 0xD1 to port 60h
449
449
             *  |7|6|5|4|3|2|1|0|  8042 Output Port
450
450
             *   | | | | | | | `---- system reset line
451
451
             *   | | | | | | `----- gate A20
459
459
                        break;
460
460
 
461
461
                case 2:
462
 
                        /* preceeded by writing 0xD2 to port 60h */
 
462
                        /* preceded by writing 0xD2 to port 60h */
463
463
                        kbdc8042.data = data;
464
464
                        kbdc8042.sending=1;
465
465
                        at_keyboard_write(space->machine(), data);
466
466
                        break;
467
467
 
468
468
                case 3:
469
 
                        /* preceeded by writing 0xD3 to port 60h */
 
469
                        /* preceded by writing 0xD3 to port 60h */
470
470
                        kbdc8042.data = data;
471
471
                        break;
472
472
 
473
473
                case 4:
474
 
                        /* preceeded by writing 0xD4 to port 60h */
 
474
                        /* preceded by writing 0xD4 to port 60h */
475
475
                        kbdc8042.data = data;
476
476
                        break;
477
477
 
478
478
                case 5:
479
 
                        /* preceeded by writing 0x60 to port 60h */
 
479
                        /* preceded by writing 0x60 to port 60h */
480
480
                        kbdc8042.command = data;
481
481
                        break;
482
482
                }