Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
ok this is driving me insane... ok each time i call the printf to print to screen, it comes up as well lets say crap none of the symbols i wanted, my putch command works fine, here is my text mode header and link.ld
The display is ordered horizontally - you are printing vertically.
You probably wanted to use i = (160 * y + 2 * x)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
well... that is not my problem, i knew it wasn't before i tried but i did try so you wouldn't get mad well my problem is not it finding the place its what chars it prints to the screen, it dosn't put a single char correctly and it is impossible to read anything, the only reason i came back here again was i got sick of writing one char at a time, i think my problem lies within the const char *string control is there a special way i compile for this i only use:
try passing at least -Wall -Wextra -pedantic -Werror to gcc.
Also, you are using function names that are from libc without giving them libc-compatible arguments, which is a Bad Thing (I once noticed that gcc optimizes libc calls - after hours of debugging I figured that it refused to use my implementation of those functions in some cases, that behaviour might be related...).
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]