Hi. Im getting some strange effects. My kernel etc loads fine. But after adding a certain amount of "strings" to my code, no text will write to the screen. The cursor will move but it jsut like printing black text on a black background. Any ideas?
Thx, ash.
Strange Effects
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Strange Effects
either you actually have black on black, or your strings have been stripped out of your kernel image at link time. hexdump kernel.bin to find out (check everything is there
Re:Strange Effects
Ok, i used kHexEdit (KDE's hex editor) and the strings are there. Im not printing black on black... its very strange :s If I comment out some strings in the kernel, and leave some there, its fine. It seems to be not "printing" properly when you use a certain amoutn of characters in the kernel... :s any more ideas? :s
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Strange Effects
if i were you, i would give my print functions a try in a legacy program, operating on a 80x25x2 byte array and use a debugger like DDD to see whether it works as expected.
Re:Strange Effects
if u r loading the kernel from a floppy disk i can suggest that check whether the whole kernel with the strings r loaded into the memory or not.
i once got such a problem( that of reapeated rebooting) when i loaded only part of the kernel missing the other part 'cos it was on another sector.
i once got such a problem( that of reapeated rebooting) when i loaded only part of the kernel missing the other part 'cos it was on another sector.
Re:Strange Effects
Fixed! Added some extra options to the linker, and seems to work fine...so far thx
Re:Strange Effects
omg, he could of at least said what options he added, lol, im having a very simlar problems - any ideas?