gaf
User
 Platinum Osdever
| Posts: 153 |  | Karma: 10
|
Re:A very "enraging" problem - 2006/09/27 10:02
I have no idea what DS GROUP are but there are preventing me from having pointers and may also be causing my function calls crash the system. You are sure that the old linking issue is really fixed ? Both funtion calls and pointers can't work if the kernel's offset is not correct. Whatever you put in your main function is addressed relativly and thus won't have any problems with a broken base address. Global variables won't be initialized when your kernel gets loaded - except for that they should however work (at least most of the time).
JLOC is not really what one would consider a well documented and wide-spread tool. As there are obviously no other users that could explain it, you'll just have to find out how it works yourself.
You could also just switch to a different linker or compiler. Watcom's native linker wlink could be an alternative if you're going to use GRUB anyway. For a homebrew boot-loader it's probanly less suited as there's no possibility to output raw binary files. The other alternative is the gcc compiler..
regards, gaf
|