Ok, I have a function cprint, when I start up my kernel it is supposed to just print Kanu in red letters. What it does is display Kn plus some other weird character. I think it might be something with the character format fasm outputs but then why would it only display 3 chars instead of 4. I am assembling on linux and booting with grub.
PS. I'm using fasm and a flat binary format
PS2. Longmode.inc is empty right now as I haven't gone to Long mode yet
Here is the code:
cprint problem
- os.hacker64
- Member
- Posts: 149
- Joined: Mon Feb 11, 2008 4:43 pm
- Location: Limbo City,Afterlife
cprint problem
- Attachments
-
- textmode.txt
- (170 Bytes) Downloaded 25 times
-
- kernel.asm
- (697 Bytes) Downloaded 32 times
- os.hacker64
- Member
- Posts: 149
- Joined: Mon Feb 11, 2008 4:43 pm
- Location: Limbo City,Afterlife