- updated keyboard with mf1, mf2 and mf3 scancodes set handling
- Added scancode translation table and BX_KEY to scancode table - completed BX_KEYS list
This commit is contained in:
parent
d8d03b431c
commit
0f6a92235a
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: gui.h,v 1.18 2001-12-19 19:15:12 vruppert Exp $
|
||||
// $Id: gui.h,v 1.19 2001-12-22 00:00:33 cbothamy Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -187,10 +187,9 @@ private:
|
||||
#define BX_KEY_TAB 71
|
||||
|
||||
#define BX_KEY_LEFT_BACKSLASH 72
|
||||
|
||||
#define BX_KEY_PRINT 73
|
||||
#define BX_KEY_SCRL_LOCK 74
|
||||
#define BX_KEY_PAUSE 75
|
||||
#define BX_KEY_PRINT 73
|
||||
#define BX_KEY_SCRL_LOCK 74
|
||||
#define BX_KEY_PAUSE 75
|
||||
|
||||
#define BX_KEY_INSERT 76
|
||||
#define BX_KEY_DELETE 77
|
||||
@ -222,6 +221,30 @@ private:
|
||||
#define BX_KEY_KP_MULTIPLY 100
|
||||
#define BX_KEY_KP_DIVIDE 101
|
||||
|
||||
#define BX_KEY_WIN_L 102
|
||||
#define BX_KEY_WIN_R 103
|
||||
#define BX_KEY_MENU 104
|
||||
#define BX_KEY_PRINT_SCREEN 102
|
||||
#define BX_KEY_SCROLL_LOCK 103
|
||||
|
||||
#define BX_KEY_WIN_L 104
|
||||
#define BX_KEY_WIN_R 105
|
||||
#define BX_KEY_MENU 106
|
||||
|
||||
#define BX_KEY_ALT_SYSREQ 107
|
||||
#define BX_KEY_CTRL_BREAK 108
|
||||
|
||||
#define BX_KEY_INT_BACK 109
|
||||
#define BX_KEY_INT_FORWARD 110
|
||||
#define BX_KEY_INT_STOP 111
|
||||
#define BX_KEY_INT_MAIL 112
|
||||
#define BX_KEY_INT_SEARCH 113
|
||||
#define BX_KEY_INT_FAV 114
|
||||
#define BX_KEY_INT_HOME 115
|
||||
|
||||
#define BX_KEY_POWER_MYCOMP 116
|
||||
#define BX_KEY_POWER_CALC 117
|
||||
#define BX_KEY_POWER_SLEEP 118
|
||||
#define BX_KEY_POWER_POWER 119
|
||||
#define BX_KEY_POWER_WAKE 120
|
||||
|
||||
#define BX_KEY_NBKEYS 121
|
||||
// If you add BX_KEYs Please update BX_KEY_NBKEYS
|
||||
// and the scancodes table in the file iodev/scancodes.cc
|
||||
|
@ -64,6 +64,7 @@ BX_HW_IODEV_OBJS = \
|
||||
harddrv.o \
|
||||
@IODEBUG_OBJS@ \
|
||||
keyboard.o \
|
||||
scancodes.o \
|
||||
parallel.o \
|
||||
serial.o \
|
||||
$(VIDEO_OBJS) \
|
||||
@ -109,29 +110,31 @@ dist-clean: clean
|
||||
cdrom.o: cdrom.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
cdrom_amigaos.o: cdrom_amigaos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h scsi_commands.h
|
||||
../instrument/stubs/instrument.h
|
||||
cdrom_amigaos.o: cdrom_amigaos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h \
|
||||
scsi_commands.h
|
||||
cdrom_beos.o: cdrom_beos.@CPP_SUFFIX@ cdrom_beos.h
|
||||
cdrom_osx.o: cdrom_osx.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/cdrom.h ../iodev/keyboard.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
@ -139,292 +142,314 @@ cdrom_osx.o: cdrom_osx.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
cmos.o: cmos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
crc32.o: crc32.@CPP_SUFFIX@ crc32.h ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
devices.o: devices.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
dma.o: dma.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
eth.o: eth.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
eth_arpback.o: eth_arpback.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
eth_fbsd.o: eth_fbsd.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
eth_linux.o: eth_linux.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
eth_null.o: eth_null.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
eth_packetmaker.o: eth_packetmaker.@CPP_SUFFIX@ ../bochs.h ../config.h \
|
||||
../osdep.h ../debug/debug.h ../bxversion.h ../gui/siminterface.h \
|
||||
../state_file.h ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h \
|
||||
../pc_system.h ../gui/gui.h ../gui/control.h ../iodev/iodev.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
eth_win32.o: eth_win32.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
devices.o: devices.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
dma.o: dma.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
floppy.o: floppy.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
eth.o: eth.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
eth_arpback.o: eth_arpback.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
eth_fbsd.o: eth_fbsd.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
eth_linux.o: eth_linux.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
eth_null.o: eth_null.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
eth_packetmaker.o: eth_packetmaker.@CPP_SUFFIX@ ../bochs.h ../config.h \
|
||||
../osdep.h ../debug/debug.h ../bxversion.h ../gui/siminterface.h \
|
||||
../state_file.h ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h \
|
||||
../pc_system.h ../gui/gui.h ../gui/control.h ../gui/keymap.h \
|
||||
../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h \
|
||||
../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
eth_win32.o: eth_win32.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
floppy.o: floppy.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
harddrv.o: harddrv.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
ioapic.o: ioapic.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
ioapic.o: ioapic.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
iodebug.o: iodebug.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
keyboard.o: keyboard.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h \
|
||||
/usr/include/math.h scancodes.h
|
||||
ne2k.o: ne2k.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
ne2k.o: ne2k.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
parallel.o: parallel.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
pci.o: pci.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
pci.o: pci.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
pic.o: pic.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
pit.o: pit.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
pit82c54.o: pit82c54.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h pit82c54.h
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h pit82c54.h
|
||||
pit_wrap.o: pit_wrap.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h pit_wrap.h
|
||||
sb16.o: sb16.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h pit_wrap.h
|
||||
sb16.o: sb16.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
scancodes.o: scancodes.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h \
|
||||
scancodes.h
|
||||
serial.o: serial.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
serial_raw.o: serial_raw.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
slowdown_timer.o: slowdown_timer.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
soundlnx.o: soundlnx.@CPP_SUFFIX@
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
soundlnx.o: soundlnx.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
soundwin.o: soundwin.@CPP_SUFFIX@
|
||||
unmapped.o: unmapped.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
||||
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
||||
../gui/gui.h ../gui/control.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
||||
../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \
|
||||
../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \
|
||||
../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \
|
||||
../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \
|
||||
../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \
|
||||
../iodev/slowdown_timer.h ../instrument/stubs/instrument.h
|
||||
vga.o: vga.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
||||
../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \
|
||||
../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \
|
||||
../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \
|
||||
../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
vga.o: vga.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
../gui/control.h ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h \
|
||||
../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \
|
||||
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
||||
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: keyboard.cc,v 1.40 2001-12-19 19:15:12 vruppert Exp $
|
||||
// $Id: keyboard.cc,v 1.41 2001-12-22 00:00:33 cbothamy Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -39,8 +39,18 @@
|
||||
// auxb == 1 && outb == 1 => mouse output buffer full.
|
||||
// (das)
|
||||
|
||||
// Notes from Christophe Bothamy <cbbochs@free.fr>
|
||||
//
|
||||
// This file includes code from Ludovic Lange (http://ludovic.lange.free.fr)
|
||||
// Implementation of 3 scancodes sets mf1,mf2,mf3 with or without translation.
|
||||
// Default is mf2 with translation
|
||||
// Ability to switch between scancodes sets
|
||||
// Ability to turn translation on or off
|
||||
|
||||
#include "bochs.h"
|
||||
#include "math.h"
|
||||
#include "scancodes.h"
|
||||
|
||||
#define LOG_THIS bx_keyboard.
|
||||
|
||||
|
||||
@ -53,8 +63,6 @@ bx_keyb_c bx_keyboard;
|
||||
#define this (&bx_keyboard)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
bx_keyb_c::bx_keyb_c(void)
|
||||
{
|
||||
// constructor
|
||||
@ -62,7 +70,7 @@ bx_keyb_c::bx_keyb_c(void)
|
||||
memset( &s, 0, sizeof(s) );
|
||||
BX_KEY_THIS put("KBD");
|
||||
BX_KEY_THIS settype(KBDLOG);
|
||||
BX_DEBUG(("Init $Id: keyboard.cc,v 1.40 2001-12-19 19:15:12 vruppert Exp $"));
|
||||
BX_DEBUG(("Init $Id: keyboard.cc,v 1.41 2001-12-22 00:00:33 cbothamy Exp $"));
|
||||
}
|
||||
|
||||
bx_keyb_c::~bx_keyb_c(void)
|
||||
@ -85,6 +93,11 @@ bx_keyb_c::resetinternals(Boolean powerup)
|
||||
|
||||
BX_KEY_THIS s.kbd_internal_buffer.expecting_typematic = 0;
|
||||
|
||||
// Default scancode set is mf2 with translation
|
||||
BX_KEY_THIS s.kbd_controller.expecting_scancodes_set = 0;
|
||||
BX_KEY_THIS s.kbd_controller.current_scancodes_set = 1;
|
||||
BX_KEY_THIS s.kbd_controller.scancodes_translate = 1;
|
||||
|
||||
if (powerup) {
|
||||
BX_KEY_THIS s.kbd_internal_buffer.expecting_led_write = 0;
|
||||
BX_KEY_THIS s.kbd_internal_buffer.delay = 1; // 500 mS
|
||||
@ -97,7 +110,7 @@ bx_keyb_c::resetinternals(Boolean powerup)
|
||||
void
|
||||
bx_keyb_c::init(bx_devices_c *d, bx_cmos_c *cmos)
|
||||
{
|
||||
BX_DEBUG(("Init $Id: keyboard.cc,v 1.40 2001-12-19 19:15:12 vruppert Exp $"));
|
||||
BX_DEBUG(("Init $Id: keyboard.cc,v 1.41 2001-12-22 00:00:33 cbothamy Exp $"));
|
||||
Bit32u i;
|
||||
|
||||
BX_KEY_THIS devices = d;
|
||||
@ -133,7 +146,6 @@ bx_keyb_c::init(bx_devices_c *d, bx_cmos_c *cmos)
|
||||
BX_KEY_THIS s.kbd_controller.inpb = 0;
|
||||
BX_KEY_THIS s.kbd_controller.outb = 0;
|
||||
|
||||
BX_KEY_THIS s.kbd_controller.scan_convert = 1;
|
||||
BX_KEY_THIS s.kbd_controller.kbd_clock_enabled = 1;
|
||||
BX_KEY_THIS s.kbd_controller.aux_clock_enabled = 0;
|
||||
BX_KEY_THIS s.kbd_controller.allow_irq1 = 1;
|
||||
@ -371,7 +383,7 @@ bx_keyb_c::write( Bit32u address, Bit32u value, unsigned io_len)
|
||||
BX_ERROR(("keyboard: (mch) scan convert turned off"));
|
||||
|
||||
// (mch) NT needs this
|
||||
BX_KEY_THIS s.kbd_controller.scan_convert = scan_convert;
|
||||
BX_KEY_THIS s.kbd_controller.scancodes_translate = scan_convert;
|
||||
}
|
||||
break;
|
||||
case 0xd1: // write output port
|
||||
@ -428,7 +440,7 @@ bx_keyb_c::write( Bit32u address, Bit32u value, unsigned io_len)
|
||||
break;
|
||||
}
|
||||
command_byte =
|
||||
(BX_KEY_THIS s.kbd_controller.scan_convert << 6) |
|
||||
(BX_KEY_THIS s.kbd_controller.scancodes_translate << 6) |
|
||||
((!BX_KEY_THIS s.kbd_controller.aux_clock_enabled) << 5) |
|
||||
((!BX_KEY_THIS s.kbd_controller.kbd_clock_enabled) << 4) |
|
||||
(0 << 3) |
|
||||
@ -573,14 +585,14 @@ BX_PANIC(("kbd: OUTB set and command 0x%02x encountered", value));
|
||||
void
|
||||
bx_keyb_c::gen_scancode(Bit32u key)
|
||||
{
|
||||
Bit8u scancode;
|
||||
int extended;
|
||||
unsigned char *scancode;
|
||||
static Boolean alt_pressed = 0;
|
||||
Bit8u i;
|
||||
|
||||
BX_DEBUG(( "gen_scancode %lld %x", bx_pc_system.time_ticks(), key));
|
||||
|
||||
if (!BX_KEY_THIS s.kbd_controller.scan_convert)
|
||||
BX_PANIC(("keyboard: gen_scancode with scan_convert cleared"));
|
||||
if (!BX_KEY_THIS s.kbd_controller.scancodes_translate)
|
||||
BX_DEBUG(("keyboard: gen_scancode with scancode_translate cleared"));
|
||||
|
||||
BX_DEBUG(("gen_scancode(): scancode: %08x", (unsigned) key));
|
||||
|
||||
@ -592,139 +604,33 @@ bx_keyb_c::gen_scancode(Bit32u key)
|
||||
if (BX_KEY_THIS s.kbd_internal_buffer.scanning_enabled==0)
|
||||
return;
|
||||
|
||||
// should deal with conversions from KSCAN to system scan codes here
|
||||
|
||||
extended = 0;
|
||||
switch (key & 0xff) {
|
||||
case BX_KEY_CTRL_L: scancode = 0x1d; break;
|
||||
case BX_KEY_CTRL_R: extended = 1; scancode = 0x1d; break;
|
||||
case BX_KEY_SHIFT_L: scancode = 0x2a; break;
|
||||
case BX_KEY_SHIFT_R: scancode = 0x36; break;
|
||||
case BX_KEY_CAPS_LOCK: scancode = 0x3a; break;
|
||||
case BX_KEY_ESC: scancode = 0x01; break;
|
||||
|
||||
case BX_KEY_ALT_L: alt_pressed = (key >> 31); scancode = 0x38; break;
|
||||
case BX_KEY_ALT_R: extended = 1; scancode = 0x38; break;
|
||||
|
||||
case BX_KEY_A: scancode = 0x1e; break;
|
||||
case BX_KEY_B: scancode = 0x30; break;
|
||||
case BX_KEY_C: scancode = 0x2e; break;
|
||||
case BX_KEY_D: scancode = 0x20; break;
|
||||
case BX_KEY_E: scancode = 0x12; break;
|
||||
case BX_KEY_F: scancode = 0x21; break;
|
||||
case BX_KEY_G: scancode = 0x22; break;
|
||||
case BX_KEY_H: scancode = 0x23; break;
|
||||
case BX_KEY_I: scancode = 0x17; break;
|
||||
case BX_KEY_J: scancode = 0x24; break;
|
||||
case BX_KEY_K: scancode = 0x25; break;
|
||||
case BX_KEY_L: scancode = 0x26; break;
|
||||
case BX_KEY_M: scancode = 0x32; break;
|
||||
case BX_KEY_N: scancode = 0x31; break;
|
||||
case BX_KEY_O: scancode = 0x18; break;
|
||||
case BX_KEY_P: scancode = 0x19; break;
|
||||
case BX_KEY_Q: scancode = 0x10; break;
|
||||
case BX_KEY_R: scancode = 0x13; break;
|
||||
case BX_KEY_S: scancode = 0x1f; break;
|
||||
case BX_KEY_T: scancode = 0x14; break;
|
||||
case BX_KEY_U: scancode = 0x16; break;
|
||||
case BX_KEY_V: scancode = 0x2f; break;
|
||||
case BX_KEY_W: scancode = 0x11; break;
|
||||
case BX_KEY_X: scancode = 0x2d; break;
|
||||
case BX_KEY_Y: scancode = 0x15; break;
|
||||
case BX_KEY_Z: scancode = 0x2c; break;
|
||||
|
||||
case BX_KEY_0: scancode = 0x0b; break;
|
||||
case BX_KEY_1: scancode = 0x02; break;
|
||||
case BX_KEY_2: scancode = 0x03; break;
|
||||
case BX_KEY_3: scancode = 0x04; break;
|
||||
case BX_KEY_4: scancode = 0x05; break;
|
||||
case BX_KEY_5: scancode = 0x06; break;
|
||||
case BX_KEY_6: scancode = 0x07; break;
|
||||
case BX_KEY_7: scancode = 0x08; break;
|
||||
case BX_KEY_8: scancode = 0x09; break;
|
||||
case BX_KEY_9: scancode = 0x0a; break;
|
||||
|
||||
case BX_KEY_SPACE: scancode = 0x39; break;
|
||||
case BX_KEY_SINGLE_QUOTE: scancode = 0x28; break;
|
||||
case BX_KEY_COMMA: scancode = 0x33; break;
|
||||
case BX_KEY_PERIOD: scancode = 0x34; break;
|
||||
case BX_KEY_KP_DIVIDE: extended = 1;
|
||||
case BX_KEY_SLASH: scancode = 0x35; break;
|
||||
|
||||
case BX_KEY_SEMICOLON: scancode = 0x27; break;
|
||||
case BX_KEY_EQUALS: scancode = 0x0d; break;
|
||||
|
||||
case BX_KEY_LEFT_BRACKET: scancode = 0x1a; break;
|
||||
case BX_KEY_BACKSLASH: scancode = 0x2b; break;
|
||||
case BX_KEY_LEFT_BACKSLASH: scancode = 0x56; break;
|
||||
case BX_KEY_RIGHT_BRACKET: scancode = 0x1b; break;
|
||||
case BX_KEY_MINUS: scancode = 0x0c; break;
|
||||
case BX_KEY_GRAVE: scancode = 0x29; break;
|
||||
|
||||
case BX_KEY_BACKSPACE: scancode = 0x0e; break;
|
||||
case BX_KEY_KP_ENTER:
|
||||
case BX_KEY_ENTER: scancode = 0x1c; break;
|
||||
case BX_KEY_TAB: scancode = 0x0f; break;
|
||||
|
||||
case BX_KEY_LEFT: extended = 1;
|
||||
case BX_KEY_KP_LEFT: scancode = 0x4b; break;
|
||||
case BX_KEY_RIGHT: extended = 1;
|
||||
case BX_KEY_KP_RIGHT: scancode = 0x4d; break;
|
||||
case BX_KEY_UP: extended = 1;
|
||||
case BX_KEY_KP_UP: scancode = 0x48; break;
|
||||
case BX_KEY_DOWN: extended = 1;
|
||||
case BX_KEY_KP_DOWN: scancode = 0x50; break;
|
||||
|
||||
case BX_KEY_INSERT: extended = 1;
|
||||
case BX_KEY_KP_INSERT: scancode = 0x52; break;
|
||||
case BX_KEY_DELETE: extended = 1;
|
||||
case BX_KEY_KP_DELETE: scancode = 0x53; break;
|
||||
case BX_KEY_HOME: extended = 1;
|
||||
case BX_KEY_KP_HOME: scancode = 0x47; break;
|
||||
case BX_KEY_END: extended = 1;
|
||||
case BX_KEY_KP_END: scancode = 0x4f; break;
|
||||
case BX_KEY_PAGE_UP: extended = 1;
|
||||
case BX_KEY_KP_PAGE_UP: scancode = 0x49; break;
|
||||
case BX_KEY_PAGE_DOWN: extended = 1;
|
||||
case BX_KEY_KP_PAGE_DOWN: scancode = 0x51; break;
|
||||
|
||||
case BX_KEY_KP_ADD: scancode = 0x4e; break;
|
||||
case BX_KEY_KP_SUBTRACT: scancode = 0x4a; break;
|
||||
case BX_KEY_KP_5: scancode = 0x4c; break;
|
||||
case BX_KEY_KP_MULTIPLY: scancode = 0x37; break;
|
||||
case BX_KEY_NUM_LOCK: scancode = 0x45; break;
|
||||
|
||||
case BX_KEY_F1: scancode = 0x3b; break;
|
||||
case BX_KEY_F2: scancode = 0x3c; break;
|
||||
case BX_KEY_F3: scancode = 0x3d; break;
|
||||
case BX_KEY_F4: scancode = 0x3e; break;
|
||||
case BX_KEY_F5: scancode = 0x3f; break;
|
||||
case BX_KEY_F6: scancode = 0x40; break;
|
||||
case BX_KEY_F7: scancode = 0x41; break;
|
||||
case BX_KEY_F8: scancode = 0x42; break;
|
||||
case BX_KEY_F9: scancode = 0x43; break;
|
||||
case BX_KEY_F10: scancode = 0x44; break;
|
||||
case BX_KEY_F11: scancode = 0x57; break;
|
||||
case BX_KEY_F12: scancode = 0x58; break;
|
||||
|
||||
case BX_KEY_PRINT: if (alt_pressed) scancode = 0x54;
|
||||
else { extended = 1; scancode = 0x37; }
|
||||
case BX_KEY_SCRL_LOCK: scancode = 0x46; break;
|
||||
case BX_KEY_PAUSE: extended = 1; scancode = 0x45; break;
|
||||
|
||||
case BX_KEY_WIN_L: extended = 1; scancode = 0x5B; break;
|
||||
case BX_KEY_WIN_R: extended = 1; scancode = 0x5C; break;
|
||||
case BX_KEY_MENU: extended = 1; scancode = 0x5D; break;
|
||||
|
||||
default:
|
||||
BX_DEBUG(( "bx_keyb_c::gen_scancode : Unhandled %u",
|
||||
(unsigned) key));
|
||||
return;
|
||||
}
|
||||
if (extended) kbd_enQ(0xE0);
|
||||
// Switch between make and break code
|
||||
if (key & BX_KEY_RELEASED)
|
||||
scancode |= 0x80;
|
||||
kbd_enQ(scancode);
|
||||
scancode=(unsigned char *)scancodes[(key&0xFF)][BX_KEY_THIS s.kbd_controller.current_scancodes_set].brek;
|
||||
else
|
||||
scancode=(unsigned char *)scancodes[(key&0xFF)][BX_KEY_THIS s.kbd_controller.current_scancodes_set].make;
|
||||
|
||||
if (BX_KEY_THIS s.kbd_controller.scancodes_translate) {
|
||||
// Translate before send
|
||||
Bit8u escaped=0x00;
|
||||
|
||||
for (i=0; i<strlen( (const char *)scancode ); i++) {
|
||||
if (scancode[i] == 0xF0)
|
||||
escaped=0x80;
|
||||
else {
|
||||
kbd_enQ(translation8042[scancode[i] ] | escaped );
|
||||
BX_DEBUG(("keyboard: writing translated %02x",translation8042[scancode[i] ] | escaped));
|
||||
escaped=0x00;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Send raw data
|
||||
for (i=0; i<strlen( (const char *)scancode ); i++) {
|
||||
kbd_enQ( scancode[i] );
|
||||
BX_DEBUG(("keyboard: writing raw %02x",scancode[i]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -955,6 +861,27 @@ bx_keyb_c::kbd_ctrl_to_kbd(Bit8u value)
|
||||
return;
|
||||
}
|
||||
|
||||
if (BX_KEY_THIS s.kbd_controller.expecting_scancodes_set) {
|
||||
BX_KEY_THIS s.kbd_controller.expecting_scancodes_set = 0;
|
||||
if( value != 0 ) {
|
||||
if( value<4 ) {
|
||||
BX_KEY_THIS s.kbd_controller.current_scancodes_set = (value-1);
|
||||
BX_INFO(("Switched to scancode set %d\n",
|
||||
(unsigned) BX_KEY_THIS s.kbd_controller.current_scancodes_set));
|
||||
kbd_enQ(0xFA);
|
||||
}
|
||||
else {
|
||||
BX_ERROR(("Received scancodes set out of range: %d\n", value ));
|
||||
kbd_enQ(0xFF); // send ERROR
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Send current scancodes set to port 0x60
|
||||
kbd_enQ( 1 + (BX_KEY_THIS s.kbd_controller.current_scancodes_set) );
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
switch (value) {
|
||||
case 0x00: // ??? ignore and let OS timeout with no response
|
||||
kbd_enQ(0xFA); // send ACK %%%
|
||||
@ -979,15 +906,28 @@ bx_keyb_c::kbd_ctrl_to_kbd(Bit8u value)
|
||||
return;
|
||||
break;
|
||||
|
||||
case 0xf0: // Select alternate scan code set
|
||||
BX_KEY_THIS s.kbd_controller.expecting_scancodes_set = 1;
|
||||
BX_DEBUG(("Expecting scancode set info...\n"));
|
||||
kbd_enQ(0xFA); // send ACK
|
||||
return;
|
||||
break;
|
||||
|
||||
case 0xf2: // identify keyboard
|
||||
BX_INFO(("identify keyboard command received"));
|
||||
|
||||
// XT sends nothing, AT sends ACK, MFII sends ACK+ABh+41h
|
||||
// XT sends nothing, AT sends ACK
|
||||
// MFII with translation sends ACK+ABh+41h
|
||||
// MFII without translation sends ACK+ABh+83h
|
||||
if (bx_options.Okeyboard_type->get() != BX_KBD_XT_TYPE) {
|
||||
kbd_enQ(0xFA);
|
||||
if (bx_options.Okeyboard_type->get() == BX_KBD_MF_TYPE) {
|
||||
kbd_enQ(0xAB);
|
||||
kbd_enQ(0x41);
|
||||
|
||||
if(BX_KEY_THIS s.kbd_controller.scancodes_translate)
|
||||
kbd_enQ(0x41);
|
||||
else
|
||||
kbd_enQ(0x83);
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: keyboard.h,v 1.10 2001-10-03 13:10:38 bdenney Exp $
|
||||
// $Id: keyboard.h,v 1.11 2001-12-22 00:00:33 cbothamy Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -87,7 +87,6 @@ private:
|
||||
// data before AT style machines
|
||||
|
||||
/* internal to our version of the keyboard controller */
|
||||
Boolean scan_convert;
|
||||
Boolean kbd_clock_enabled;
|
||||
Boolean aux_clock_enabled;
|
||||
Boolean allow_irq1;
|
||||
@ -101,6 +100,9 @@ private:
|
||||
Bit32u timer_pending;
|
||||
Boolean irq1_requested;
|
||||
Boolean irq12_requested;
|
||||
Boolean scancodes_translate;
|
||||
Boolean expecting_scancodes_set;
|
||||
Bit8u current_scancodes_set;
|
||||
} kbd_controller;
|
||||
|
||||
struct mouseStruct {
|
||||
|
777
bochs/iodev/scancodes.cc
Normal file
777
bochs/iodev/scancodes.cc
Normal file
@ -0,0 +1,777 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: scancodes.cc,v 1.1 2001-12-22 00:00:33 cbothamy Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 Christophe Bothamy
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2 of the License, or (at your option) any later version.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
#include "bochs.h"
|
||||
#include "scancodes.h"
|
||||
|
||||
unsigned char translation8042[256] = {
|
||||
0xff,0x43,0x41,0x3f,0x3d,0x3b,0x3c,0x58,0x64,0x44,0x42,0x40,0x3e,0x0f,0x29,0x59,
|
||||
0x65,0x38,0x2a,0x70,0x1d,0x10,0x02,0x5a,0x66,0x71,0x2c,0x1f,0x1e,0x11,0x03,0x5b,
|
||||
0x67,0x2e,0x2d,0x20,0x12,0x05,0x04,0x5c,0x68,0x39,0x2f,0x21,0x14,0x13,0x06,0x5d,
|
||||
0x69,0x31,0x30,0x23,0x22,0x15,0x07,0x5e,0x6a,0x72,0x32,0x24,0x16,0x08,0x09,0x5f,
|
||||
0x6b,0x33,0x25,0x17,0x18,0x0b,0x0a,0x60,0x6c,0x34,0x35,0x26,0x27,0x19,0x0c,0x61,
|
||||
0x6d,0x73,0x28,0x74,0x1a,0x0d,0x62,0x6e,0x3a,0x36,0x1c,0x1b,0x75,0x2b,0x63,0x76,
|
||||
0x55,0x56,0x77,0x78,0x79,0x7a,0x0e,0x7b,0x7c,0x4f,0x7d,0x4b,0x47,0x7e,0x7f,0x6f,
|
||||
0x52,0x53,0x50,0x4c,0x4d,0x48,0x01,0x45,0x57,0x4e,0x51,0x4a,0x37,0x49,0x46,0x54,
|
||||
0x80,0x81,0x82,0x41,0x54,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
|
||||
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
|
||||
0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
|
||||
0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
|
||||
0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
|
||||
0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
|
||||
0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
|
||||
0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff
|
||||
};
|
||||
|
||||
|
||||
// Definition of scancodes make and break,
|
||||
// for each set (mf1/xt , mf2/at , mf3/ps2)
|
||||
// The table must be in BX_KEY order
|
||||
//
|
||||
scancode scancodes[BX_KEY_NBKEYS][3] =
|
||||
{
|
||||
{ // BX_KEY_CTRL_L ( ibm 58)
|
||||
{ "\x1D" , "\x9D" },
|
||||
{ "\x14" , "\xF0\x14" },
|
||||
{ "\x11" , "\xF0\x11" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_SHIFT_L ( ibm 44)
|
||||
{ "\x2A" , "\xAA" },
|
||||
{ "\x12" , "\xF0\x12" },
|
||||
{ "\x12" , "\xF0\x12" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F1 ( ibm 112 )
|
||||
{ "\x3B" , "\xBB" },
|
||||
{ "\x05" , "\xF0\x05" },
|
||||
{ "\x07" , "\xF0\x07" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F2 ( ibm 113 )
|
||||
{ "\x3C" , "\xBC" },
|
||||
{ "\x06" , "\xF0\x06" },
|
||||
{ "\x0F" , "\xF0\x0F" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F3 ( ibm 114 )
|
||||
{ "\x3D" , "\xBD" },
|
||||
{ "\x04" , "\xF0\x04" },
|
||||
{ "\x17" , "\xF0\x17" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F4 ( ibm 115 )
|
||||
{ "\x3E" , "\xBE" },
|
||||
{ "\x0C" , "\xF0\x0C" },
|
||||
{ "\x1F" , "\xF0\x1F" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F5 ( ibm 116 )
|
||||
{ "\x3F" , "\xBF" },
|
||||
{ "\x03" , "\xF0\x03" },
|
||||
{ "\x27" , "\xF0\x27" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F6 ( ibm 117 )
|
||||
{ "\x40" , "\xC0" },
|
||||
{ "\x0B" , "\xF0\x0B" },
|
||||
{ "\x2F" , "\xF0\x2F" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F7 ( ibm 118 )
|
||||
{ "\x41" , "\xC1" },
|
||||
{ "\x83" , "\xF0\x83" },
|
||||
{ "\x37" , "\xF0\x37" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F8 ( ibm 119 )
|
||||
{ "\x42" , "\xC2" },
|
||||
{ "\x0A" , "\xF0\x0A" },
|
||||
{ "\x3F" , "\xF0\x3F" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F9 ( ibm 120 )
|
||||
{ "\x43" , "\xC3" },
|
||||
{ "\x01" , "\xF0\x01" },
|
||||
{ "\x47" , "\xF0\x47" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F10 ( ibm 121 )
|
||||
{ "\x44" , "\xC4" },
|
||||
{ "\x09" , "\xF0\x09" },
|
||||
{ "\x4F" , "\xF0\x4F" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F11 ( ibm 122 )
|
||||
{ "\x57" , "\xD7" },
|
||||
{ "\x78" , "\xF0\x78" },
|
||||
{ "\x56" , "\xF0\x56" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F12 ( ibm 123 )
|
||||
{ "\x58" , "\xD8" },
|
||||
{ "\x07" , "\xF0\x07" },
|
||||
{ "\x5E" , "\xF0\x5E" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_CTRL_R ( ibm 64 )
|
||||
{ "\xE0\x1D" , "\xE0\x9D" },
|
||||
{ "\xE0\x14" , "\xE0\xF0\x14" },
|
||||
{ "\x58" , "\xF0x58" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_SHIFT_R ( ibm 57 )
|
||||
{ "\x36" , "\xB6" },
|
||||
{ "\x59" , "\xF0\x59" },
|
||||
{ "\x59" , "\xF0\x59" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_CAPS_LOCK ( ibm 30 )
|
||||
{ "\x3A" , "\xBA" },
|
||||
{ "\x58" , "\xF0\x58" },
|
||||
{ "\x14" , "\xF0\x14" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_NUM_LOCK ( ibm 90 )
|
||||
{ "\x45" , "\xC5" },
|
||||
{ "\x77" , "\xF0\x77" },
|
||||
{ "\x76" , "\xF0\x76" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_ALT_L ( ibm 60 )
|
||||
{ "\x38" , "\xB8" },
|
||||
{ "\x11" , "\xF0\x11" },
|
||||
{ "\x19" , "\xF0\x19" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_ALT_R ( ibm 62 )
|
||||
{ "\xE0\x38" , "\xE0\xB8" },
|
||||
{ "\xE0\x11" , "\xE0\xF0\x11" },
|
||||
{ "\x39" , "\xF0\x39" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_A ( ibm 31 )
|
||||
{ "\x1E" , "\x9E" },
|
||||
{ "\x1C" , "\xF0\x1C" },
|
||||
{ "\x1C" , "\xF0\x1C" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_B ( ibm 50 )
|
||||
{ "\x30" , "\xB0" },
|
||||
{ "\x32" , "\xF0\x32" },
|
||||
{ "\x32" , "\xF0\x32" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_C ( ibm 48 )
|
||||
{ "\x2E" , "\xAE" },
|
||||
{ "\x21" , "\xF0\x21" },
|
||||
{ "\x21" , "\xF0\x21" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_D ( ibm 33 )
|
||||
{ "\x20" , "\xA0" },
|
||||
{ "\x23" , "\xF0\x23" },
|
||||
{ "\x23" , "\xF0\x23" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_E ( ibm 19 )
|
||||
{ "\x12" , "\x92" },
|
||||
{ "\x24" , "\xF0\x24" },
|
||||
{ "\x24" , "\xF0\x24" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_F ( ibm 34 )
|
||||
{ "\x21" , "\xA1" },
|
||||
{ "\x2B" , "\xF0\x2B" },
|
||||
{ "\x2B" , "\xF0\x2B" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_G ( ibm 35 )
|
||||
{ "\x22" , "\xA2" },
|
||||
{ "\x34" , "\xF0\x34" },
|
||||
{ "\x34" , "\xF0\x34" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_H ( ibm 36 )
|
||||
{ "\x23" , "\xA3" },
|
||||
{ "\x33" , "\xF0\x33" },
|
||||
{ "\x33" , "\xF0\x33" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_I ( ibm 24 )
|
||||
{ "\x17" , "\x97" },
|
||||
{ "\x43" , "\xF0\x43" },
|
||||
{ "\x43" , "\xF0\x43" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_J ( ibm 37 )
|
||||
{ "\x24" , "\xA4" },
|
||||
{ "\x3B" , "\xF0\x3B" },
|
||||
{ "\x3B" , "\xF0\x3B" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_K ( ibm 38 )
|
||||
{ "\x25" , "\xA5" },
|
||||
{ "\x42" , "\xF0\x42" },
|
||||
{ "\x42" , "\xF0\x42" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_L ( ibm 39 )
|
||||
{ "\x26" , "\xA6" },
|
||||
{ "\x4B" , "\xF0\x4B" },
|
||||
{ "\x4B" , "\xF0\x4B" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_M ( ibm 52 )
|
||||
{ "\x32" , "\xB2" },
|
||||
{ "\x3A" , "\xF0\x3A" },
|
||||
{ "\x3A" , "\xF0\x3A" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_N ( ibm 51 )
|
||||
{ "\x31" , "\xB1" },
|
||||
{ "\x31" , "\xF0\x31" },
|
||||
{ "\x31" , "\xF0\x31" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_O ( ibm 25 )
|
||||
{ "\x18" , "\x98" },
|
||||
{ "\x44" , "\xF0\x44" },
|
||||
{ "\x44" , "\xF0\x44" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_P ( ibm 26 )
|
||||
{ "\x19" , "\x99" },
|
||||
{ "\x4D" , "\xF0\x4D" },
|
||||
{ "\x4D" , "\xF0\x4D" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_Q ( ibm 17 )
|
||||
{ "\x10" , "\x90" },
|
||||
{ "\x15" , "\xF0\x15" },
|
||||
{ "\x15" , "\xF0\x15" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_R ( ibm 20 )
|
||||
{ "\x13" , "\x93" },
|
||||
{ "\x2D" , "\xF0\x2D" },
|
||||
{ "\x2D" , "\xF0\x2D" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_S ( ibm 32 )
|
||||
{ "\x1F" , "\x9F" },
|
||||
{ "\x1B" , "\xF0\x1B" },
|
||||
{ "\x1B" , "\xF0\x1B" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_T ( ibm 21 )
|
||||
{ "\x14" , "\x94" },
|
||||
{ "\x2C" , "\xF0\x2C" },
|
||||
{ "\x2C" , "\xF0\x2C" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_U ( ibm 23 )
|
||||
{ "\x16" , "\x96" },
|
||||
{ "\x3C" , "\xF0\x3C" },
|
||||
{ "\x3C" , "\xF0\x3C" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_V ( ibm 49 )
|
||||
{ "\x2F" , "\xAF" },
|
||||
{ "\x2A" , "\xF0\x2A" },
|
||||
{ "\x2A" , "\xF0\x2A" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_W ( ibm 18 )
|
||||
{ "\x11" , "\x91" },
|
||||
{ "\x1D" , "\xF0\x1D" },
|
||||
{ "\x1D" , "\xF0\x1D" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_X ( ibm 47 )
|
||||
{ "\x2D" , "\xAD" },
|
||||
{ "\x22" , "\xF0\x22" },
|
||||
{ "\x22" , "\xF0\x22" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_Y ( ibm 22 )
|
||||
{ "\x15" , "\x95" },
|
||||
{ "\x35" , "\xF0\x35" },
|
||||
{ "\x35" , "\xF0\x35" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_Z ( ibm 46 )
|
||||
{ "\x2C" , "\xAC" },
|
||||
{ "\x1A" , "\xF0\x1A" },
|
||||
{ "\x1A" , "\xF0\x1A" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_0 ( ibm 11 )
|
||||
{ "\x0B" , "\x8B" },
|
||||
{ "\x45" , "\xF0\x45" },
|
||||
{ "\x45" , "\xF0\x45" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_1 ( ibm 2 )
|
||||
{ "\x02" , "\x82" },
|
||||
{ "\x16" , "\xF0\x16" },
|
||||
{ "\x16" , "\xF0\x16" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_2 ( ibm 3 )
|
||||
{ "\x03" , "\x83" },
|
||||
{ "\x1E" , "\xF0\x1E" },
|
||||
{ "\x1E" , "\xF0\x1E" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_3 ( ibm 4 )
|
||||
{ "\x04" , "\x84" },
|
||||
{ "\x26" , "\xF0\x26" },
|
||||
{ "\x26" , "\xF0\x26" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_4 ( ibm 5 )
|
||||
{ "\x05" , "\x85" },
|
||||
{ "\x25" , "\xF0\x25" },
|
||||
{ "\x25" , "\xF0\x25" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_5 ( ibm 6 )
|
||||
{ "\x06" , "\x86" },
|
||||
{ "\x2E" , "\xF0\x2E" },
|
||||
{ "\x2E" , "\xF0\x2E" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_6 ( ibm 7 )
|
||||
{ "\x07" , "\x87" },
|
||||
{ "\x36" , "\xF0\x36" },
|
||||
{ "\x36" , "\xF0\x36" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_7 ( ibm 8 )
|
||||
{ "\x08" , "\x88" },
|
||||
{ "\x3D" , "\xF0\x3D" },
|
||||
{ "\x3D" , "\xF0\x3D" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_8 ( ibm 9 )
|
||||
{ "\x09" , "\x89" },
|
||||
{ "\x3E" , "\xF0\x3E" },
|
||||
{ "\x3E" , "\xF0\x3E" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_9 ( ibm 10 )
|
||||
{ "\x0A" , "\x8A" },
|
||||
{ "\x46" , "\xF0\x46" },
|
||||
{ "\x46" , "\xF0\x46" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_ESC ( ibm 110 )
|
||||
{ "\x01" , "\x81" },
|
||||
{ "\x76" , "\xF0\x76" },
|
||||
{ "\x08" , "\xF0\x08" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_SPACE ( ibm 61 )
|
||||
{ "\x39" , "\xB9" },
|
||||
{ "\x29" , "\xF0\x29" },
|
||||
{ "\x29" , "\xF0\x29" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_SINGLE_QUOTE ( ibm 41 )
|
||||
{ "\x28" , "\xA8" },
|
||||
{ "\x52" , "\xF0\x52" },
|
||||
{ "\x52" , "\xF0\x52" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_COMMA ( ibm 53 )
|
||||
{ "\x33" , "\xB3" },
|
||||
{ "\x41" , "\xF0\x41" },
|
||||
{ "\x41" , "\xF0\x41" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_PERIOD ( ibm 54 )
|
||||
{ "\x34" , "\xB4" },
|
||||
{ "\x49" , "\xF0\x49" },
|
||||
{ "\x49" , "\xF0\x49" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_SLASH ( ibm 55 )
|
||||
{ "\x35" , "\xB5" },
|
||||
{ "\x4A" , "\xF0\x4A" },
|
||||
{ "\x4A" , "\xF0\x4A" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_SEMICOLON ( ibm 40 )
|
||||
{ "\x27" , "\xA7" },
|
||||
{ "\x4C" , "\xF0\x4C" },
|
||||
{ "\x4C" , "\xF0\x4C" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_EQUALS ( ibm 13 )
|
||||
{ "\x0D" , "\x8D" },
|
||||
{ "\x55" , "\xF0\x55" },
|
||||
{ "\x55" , "\xF0\x55" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_LEFT_BRACKET ( ibm 27 )
|
||||
{ "\x1A" , "\x9A" },
|
||||
{ "\x54" , "\xF0\x54" },
|
||||
{ "\x54" , "\xF0\x54" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_BACKSLASH ( ibm 42, 29)
|
||||
{ "\x2B" , "\xAB" },
|
||||
{ "\x5D" , "\xF0\x5D" },
|
||||
{ "\x53" , "\xF0\x53" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_RIGHT_BRACKET ( ibm 28 )
|
||||
{ "\x1B" , "\x9B" },
|
||||
{ "\x5B" , "\xF0\x5B" },
|
||||
{ "\x5B" , "\xF0\x5B" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_MINUS ( ibm 12 )
|
||||
{ "\x0C" , "\x8C" },
|
||||
{ "\x4E" , "\xF0\x4E" },
|
||||
{ "\x4E" , "\xF0\x4E" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_GRAVE ( ibm 1 )
|
||||
{ "\x29" , "\xA9" },
|
||||
{ "\x0E" , "\xF0\x0E" },
|
||||
{ "\x0E" , "\xF0\x0E" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_BACKSPACE ( ibm 15 )
|
||||
{ "\x0E" , "\x8E" },
|
||||
{ "\x66" , "\xF0\x66" },
|
||||
{ "\x66" , "\xF0\x66" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_ENTER ( ibm 43 )
|
||||
{ "\x1C" , "\x9C" },
|
||||
{ "\x5A" , "\xF0\x5A" },
|
||||
{ "\x5A" , "\xF0\x5A" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_TAB ( ibm 16 )
|
||||
{ "\x0F" , "\x8F" },
|
||||
{ "\x0D" , "\xF0\x0D" },
|
||||
{ "\x0D" , "\xF0\x0D" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_LEFT_BACKSLASH ( ibm 45 )
|
||||
{ "\x56" , "\xD6" },
|
||||
{ "\x61" , "\xF0\x61" },
|
||||
{ "\x13" , "\xF0\x13" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_PRINT ( ibm 124 )
|
||||
{ "\xE0\x2A\xE0\x37" , "\xE0\xAA\xE0\xB7" },
|
||||
{ "\xE0\x12\xE0\x7C" , "\xE0\xF0\x12\xE0\xF0\x7C" },
|
||||
{ "\x57" , "\xF0\x57" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_SCRL_LOCK ( ibm 125 )
|
||||
{ "\x46" , "\xC6" },
|
||||
{ "\x7E" , "\xF0\x7E" },
|
||||
{ "\x5F" , "\\xF0x5F" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_PAUSE ( ibm 126 )
|
||||
{ "\xE1\x1D\x45\xE1\x9D\xC5" , "" },
|
||||
{ "\xE1\x14\x77\xE1\xF0\x14\xF0\x77" , "" },
|
||||
{ "\x62" , "\xF0\x62" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_INSERT ( ibm 75 )
|
||||
{ "\xE0\x52" , "\xE0\xD2" },
|
||||
{ "\xE0\x70" , "\xE0\xF0\x70" },
|
||||
{ "\x67" , "\xF0\x67" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_DELETE ( ibm 76 )
|
||||
{ "\xE0\x53" , "\xE0\xD3" },
|
||||
{ "\xE0\x71" , "\xE0\xF0\x71" },
|
||||
{ "\x64" , "\xF0\x64" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_HOME ( ibm 80 )
|
||||
{ "\xE0\x47" , "\xE0\xC7" },
|
||||
{ "\xE0\x6C" , "\xE0\xF0\x6C" },
|
||||
{ "\x6E" , "\xF0\x6E" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_END ( ibm 81 )
|
||||
{ "\xE0\x4F" , "\xE0\xCF" },
|
||||
{ "\xE0\x69" , "\xE0\xF0\x69" },
|
||||
{ "\x65" , "\xF0\x65" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_PAGE_UP ( ibm 85 )
|
||||
{ "\xE0\x49" , "\xE0\xC9" },
|
||||
{ "\xE0\x7D" , "\xE0\xF0\x7D" },
|
||||
{ "\x6F" , "\xF0\x6F" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_PAGE_DOWN ( ibm 86 )
|
||||
{ "\xE0\x51" , "\xE0\xD1" },
|
||||
{ "\xE0\x7A" , "\xE0\xF0\x7A" },
|
||||
{ "\x6D" , "\xF0\x6D" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_ADD ( ibm 106 )
|
||||
{ "\x4E" , "\xCE" },
|
||||
{ "\x79" , "\xF0\x79" },
|
||||
{ "\x7C" , "\xF0\x7C" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_SUBTRACT ( ibm 105 )
|
||||
{ "\x4A" , "\xCA" },
|
||||
{ "\x7B" , "\xF0\x7B" },
|
||||
{ "\x84" , "\xF0\x84" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_END ( ibm 93 )
|
||||
{ "\x4F" , "\xCF" },
|
||||
{ "\x69" , "\xF0\x69" },
|
||||
{ "\x69" , "\xF0\x69" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_DOWN ( ibm 98 )
|
||||
{ "\x50" , "\xD0" },
|
||||
{ "\x72" , "\xF0\x72" },
|
||||
{ "\x72" , "\xF0\x72" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_PAGE_DOWN ( ibm 103 )
|
||||
{ "\x51" , "\xD1" },
|
||||
{ "\x7A" , "\xF0\x7A" },
|
||||
{ "\x7A" , "\xF0\x7A" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_LEFT ( ibm 92 )
|
||||
{ "\x4B" , "\xCB" },
|
||||
{ "\x6B" , "\xF0\x6B" },
|
||||
{ "\x6B" , "\xF0\x6B" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_RIGHT ( ibm 102 )
|
||||
{ "\x4D" , "\xCD" },
|
||||
{ "\x74" , "\xF0\x74" },
|
||||
{ "\x74" , "\xF0\x74" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_HOME ( ibm 91 )
|
||||
{ "\x47" , "\xC7" },
|
||||
{ "\x6C" , "\xF0\x6C" },
|
||||
{ "\x6C" , "\xF0\x6C" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_UP ( ibm 96 )
|
||||
{ "\x48" , "\xC8" },
|
||||
{ "\x75" , "\xF0\x75" },
|
||||
{ "\x75" , "\xF0\x75" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_PAGE_UP ( ibm 101 )
|
||||
{ "\x49" , "\xC9" },
|
||||
{ "\x7D" , "\xF0\x7D" },
|
||||
{ "\x7D" , "\xF0\x7D" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_INSERT ( ibm 99 )
|
||||
{ "\x52" , "\xD2" },
|
||||
{ "\x70" , "\xF0\x70" },
|
||||
{ "\x70" , "\xF0\x70" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_DELETE ( ibm 104 )
|
||||
{ "\x53" , "\xD3" },
|
||||
{ "\x71" , "\xF0\x71" },
|
||||
{ "\x71" , "\xF0\x71" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_5 ( ibm 97 )
|
||||
{ "\x4C" , "\xCC" },
|
||||
{ "\x73" , "\xF0\x73" },
|
||||
{ "\x73" , "\xF0\x73" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_UP ( ibm 83 )
|
||||
{ "\xE0\x48" , "\xE0\xC8" },
|
||||
{ "\xE0\x75" , "\xE0\xF0\x75" },
|
||||
{ "\x63" , "\xF0\x63" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_DOWN ( ibm 84 )
|
||||
{ "\xE0\x50" , "\xE0\xD0" },
|
||||
{ "\xE0\x72" , "\xE0\xF0\x72" },
|
||||
{ "\x60" , "\xF0\x60" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_LEFT ( ibm 79 )
|
||||
{ "\xE0\x4B" , "\xE0\xCB" },
|
||||
{ "\xE0\x6B" , "\xE0\xF0\x6B" },
|
||||
{ "\x61" , "\xF0\x61" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_RIGHT ( ibm 89 )
|
||||
{ "\xE0\x4D" , "\xE0\xCD" },
|
||||
{ "\xE0\x74" , "\xE0\xF0\x74" },
|
||||
{ "\x6A" , "\xF0\x6A" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_ENTER ( ibm 108 )
|
||||
{ "\xE0\x1C" , "\xE0\x9C" },
|
||||
{ "\xE0\x5A" , "\xE0\xF0\x5A" },
|
||||
{ "\x79" , "\xF0\x79" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_MULTIPLY ( ibm 100 )
|
||||
{ "\x37" , "\xB7" },
|
||||
{ "\x7C" , "\xF0\x7C" },
|
||||
{ "\x7E" , "\xF0\x7E" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_KP_DIVIDE ( ibm 95 )
|
||||
{ "\xE0\x35" , "\xE0\xB5" },
|
||||
{ "\xE0\x4A" , "\xE0\xF0\x4A" },
|
||||
{ "\x77" , "\xF0\x77" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_PRINT_SCREEN
|
||||
{ "\xE0\x37" , "\xE0\xB7" },
|
||||
{ "\xE0\x7C" , "\xE0\xF0\x7C" },
|
||||
{ "\x57" , "\xF0\x57" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_SCROLL_LOCK
|
||||
{ "\x46" , "\xC6" },
|
||||
{ "\x7E" , "\xF0\x7E" },
|
||||
{ "\x5F" , "\xF0\x5F" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_WIN_L
|
||||
{ "\xE0\x5B" , "\xE0\xDB" },
|
||||
{ "\xE0\x1F" , "\xE0\xF0\x1F" },
|
||||
{ "\x8B" , "\xF0\x8B" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_WIN_R
|
||||
{ "\xE0\x5C" , "\xE0\xDC" },
|
||||
{ "\xE0\x27" , "\xE0\xF0\x27" },
|
||||
{ "\x8C" , "\xF0\x8C" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_MENU
|
||||
{ "\xE0\x5D" , "\xE0\xDD" },
|
||||
{ "\xE0\x2F" , "\xE0\xF0\x2F" },
|
||||
{ "\x8D" , "\xF0\x8D" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_ALT_SYSREQ
|
||||
{ "\x54" , "\xD4" },
|
||||
{ "\x84" , "\xF0\x84" },
|
||||
{ "\x57" , "\xF0\x57" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_CTRL_BREAK
|
||||
{ "\xE0\x46" , "\xE0\xC6" },
|
||||
{ "\xE0\x7E" , "\xE0\xF0\x7E" },
|
||||
{ "\x62" , "\xF0\x62" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_INT_BACK
|
||||
{ "\xE0\x6A" , "\xE0\xEA" },
|
||||
{ "\xE0\x38" , "\xE0\xF0\x38" },
|
||||
{ "\x38" , "\xF0\x38" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_INT_FORWARD
|
||||
{ "\xE0\x69" , "\xE0\xE9" },
|
||||
{ "\xE0\x30" , "\xE0\xF0\x30" },
|
||||
{ "\x30" , "\xF0\x30" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_INT_STOP
|
||||
{ "\xE0\x68" , "\xE0\xE8" },
|
||||
{ "\xE0\x28" , "\xE0\xF0\x28" },
|
||||
{ "\x28" , "\xF0\x28" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_INT_MAIL
|
||||
{ "\xE0\x6C" , "\xE0\xEC" },
|
||||
{ "\xE0\x48" , "\xE0\xF0\x48" },
|
||||
{ "\x48" , "\xF0\x48" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_INT_SEARCH
|
||||
{ "\xE0\x65" , "\xE0\xE5" },
|
||||
{ "\xE0\x10" , "\xE0\xF0\x10" },
|
||||
{ "\x10" , "\xF0\x10" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_INT_FAV
|
||||
{ "\xE0\x66" , "\xE0\xE6" },
|
||||
{ "\xE0\x18" , "\xE0\xF0\x18" },
|
||||
{ "\x18" , "\xF0\x18" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_INT_HOME
|
||||
{ "\xE0\x32" , "\xE0\xB2" },
|
||||
{ "\xE0\x3A" , "\xE0\xF0\x3A" },
|
||||
{ "\x97" , "\xF0\x97" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_POWER_MYCOMP
|
||||
{ "\xE0\x6B" , "\xE0\xEB" },
|
||||
{ "\xE0\x40" , "\xE0\xF0\x40" },
|
||||
{ "\x40" , "\xF0\x40" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_POWER_CALC
|
||||
{ "\xE0\x21" , "\xE0\xA1" },
|
||||
{ "\xE0\x2B" , "\xE0\xF0\x2B" },
|
||||
{ "\x99" , "\xF0\x99" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_POWER_SLEEP
|
||||
{ "\xE0\x5F" , "\xE0\xDF" },
|
||||
{ "\xE0\x3F" , "\xE0\xF0\x3F" },
|
||||
{ "\x7F" , "\xF0\x7F" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_POWER_POWER
|
||||
{ "\xE0\x5E" , "\xE0\xDE" },
|
||||
{ "\xE0\x37" , "\xE0\xF0\x37" },
|
||||
{ "" , "" },
|
||||
},
|
||||
|
||||
{ // BX_KEY_POWER_WAKE
|
||||
{ "\xE0\x63" , "\xE0\xE3" },
|
||||
{ "\xE0\x5E" , "\xE0\xF0\x5E" },
|
||||
{ "" , "" },
|
||||
},
|
||||
|
||||
};
|
31
bochs/iodev/scancodes.h
Normal file
31
bochs/iodev/scancodes.h
Normal file
@ -0,0 +1,31 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: scancodes.h,v 1.1 2001-12-22 00:00:33 cbothamy Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 Christophe Bothamy
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2 of the License, or (at your option) any later version.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
// Translation table of the 8042
|
||||
extern unsigned char translation8042[256];
|
||||
|
||||
typedef struct
|
||||
{ const char *make;
|
||||
const char *brek;
|
||||
}scancode;
|
||||
|
||||
// Scancodes table
|
||||
extern scancode scancodes[BX_KEY_NBKEYS][3];
|
Loading…
Reference in New Issue
Block a user