I have a simple (extreme simple) real mode kernel written in assembly that I am trying to port to C as much as I can. In order to do that I am using OpenWatcom compiler for 16bit binary code.
In my file "os.c", if I write this line down it works:
char msg[50];
but if I do this:
char msg[50] = "hello";
it just does not work. Everytime I write a string it just get broken. I searched everywhere, tried a lot of nonsense stuff, and nothing.
Does anyone have a clue what it might be?
I can not post more than 2 links, so all 4 links needed is in pastebin. Thanks in advance.
Example: http://pastebin.com/xz96N91A