Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Scan code

Getting the scan code is easy for me in assembly(MSDOS). But I have trouble getting scan code in C(Unix). Please help...

Comments

  • Griz803Griz803 Member Posts: 100
    : Getting the scan code is easy for me in assembly(MSDOS). But I have trouble getting scan code in C(Unix). Please help...
    :
    The same routine should be supported as an inline assembler function. You may need to convert the assembler code to AT&T x86 syntax for some assemblers in *nix. You could also create a library subroutine and call it from C/C++ with an appropriate header file or declaration. Consult the man pages on your particular platform's assembler and what syntax to use, but remember the chip has the same registers and recognizes the same instructions. Hope this helps.

Sign In or Register to comment.