There are different types of scan code sets that have different formats used in pc compatible keyboards that I have not seen in any tutorial thus forcing you to write them manually anyways. There is no "standard set" (Although scan code set 2 seems to be more common.) It is a good habit to get into. Besides that, it will not abid to your projects coding conventions and standards making it look more hacked together.sweetgum wrote:I don't see whats wrong with copying and pasting a scan code table.
in / out ports
Re: in / out ports
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Re: in / out ports
The next step will now be to read the scan code off the keyborads port and then make it print to the console.
Gizmic OS
Currently - Busy with FAT12 driver and VFS
Currently - Busy with FAT12 driver and VFS