Author Topic: Own charset in C or assembler and keyboard input  (Read 154 times)

Offline lukassevc

  • Jr. Member
  • *
  • Posts: 5
Own charset in C or assembler and keyboard input
« on: April 25, 2019, 07:34:56 PM »
Hi, I am Lucas and i have one question. I am no from English speaking country ( I am from Slovakia ( not from Slovenia ) ) and I am making my own OS in C and assembler but when I came to printing text on screen and I want to use my characters ( that I use in my country ) I don't know how to use them because C compiler doesn't compiled it very well for my OS so it didn't work. Later i change text encoding ( to ISO 8859-2 ) it worked better but not enough - some characters it did compiled correctly and some not, and I don't know know how to fix it, I decide best way will be make own charset but I don't know how to do it. Also I need help with keyboard in C - i know that I can read input from it using port 0x60 and 0x64 but i need also recognize characters and here is my problem - 
using scan odes i don't know if some key on keyboard has special scan code or if special letter has own and unique scan code if first it will be easy to make function to read for example Slovak, English, American or any keyboard because special key has own scan code and doesn't depends on letters written on it but if second it will be harder because i can'f find Slovak keyboard scan codes so please help me, it is confusing me ( very very confusing )  - sorry for mistakes, because ( as I mentioned before  ) I am not from English speaking country.

Thanks for help and understand.
« Last Edit: May 16, 2019, 03:55:31 PM by lukassevc »