Re: INT 16h Equivalent Calls in Windows?



Am Tue, 22 Jan 2008 14:33:17 -0800 (PST) schrieb Mike Gonta:

On Jan 21, 3:11 pm, "bwai...@xxxxxxxxx" <spamt...@xxxxxxxxxx> wrote:

I'm trying to work through some exercises in an old assembler book I
have by Kip Irvine, and I'm trying to figure out the keyboard
interrupts.  Unfortunately, these do not appear to work under windows.

What are my options for low level calls in windows to do the keyboard
exercises without calling C functions?

Why not use 32 bit protected mode assembler with actual BIOS calls.
aeBIOS is a 32 bit protected mode BIOS interface which allows
programming with full BIOS support. Assemble a simple 32 bit
protected mode flat binary file with an origin at 1 meg. Copy the
file to an aeBIOS floppy disk. Boot from a real floppy or use
VFD and Bochs or Qemu.

Is there any problem to get a key from port 60h/64h(keyboard controller)?

Dirk

.



Relevant Pages

  • Re: Caant get into Safe Mode
    ... I suspect there's a problem with the Windows CD not having the right drivers for your keyboard, even though the BIOS does recognize it. ... I have now managed to get to the BIOS and change the setting to boot from the recovery CD but when trying to reboot from this CD I get a screen with the option of either going for a full recovery or a standard recovery. ... press a specified key while the POST screen is still visible - this is while you're executing the BIOS and before Windows starts to boot. ...
    (microsoft.public.windows.mediacenter)
  • Re: Q [x86] INT in protected mode?
    ... > the right way to access BIoS info? ... that real-mode addressing is simply _incompatible_ with protected mode ... just didn't care) was that the "device drivers" of all these OSes were ... manufacturers automatically write the Windows drivers and make them ...
    (alt.lang.asm)
  • Re: Keyboard Error on Startup
    ... but if the BIOS wasn't configured as you say ... >> I am using Windows XP Pro SP2, ... >> I have purchased a Microsoft Cordless Keyboard and Mouse unit. ... >> is connected to a USB Port. ...
    (microsoft.public.windowsxp.general)
  • Re: No keyboard/mouse on win boot
    ... If they work before Windows loads, ... BIOS at this point. ... try using different ports for each of the keyboard and mice ... real mouse PS/2 connector on the MB instead of 2 Keyboard PS/2 Connectors. ...
    (microsoft.public.windowsxp.hardware)
  • Re: No keyboard/mouse on win boot
    ... If they work before Windows loads, ... BIOS at this point. ... try using different ports for each of the keyboard and mice ... real mouse PS/2 connector on the MB instead of 2 Keyboard PS/2 Connectors. ...
    (microsoft.public.windowsxp.general)