Page 1 of 1

Lair of LoseThos the Troll. No feeding

Posted: Fri Dec 12, 2008 1:20 am
by LoseThos
God I'm glad I wrote my own compiler and assembler!

Re: linker scripts and link to bin?

Posted: Fri Dec 12, 2008 2:39 am
by tantrikwizard
LoseThos wrote:God I'm glad I wrote my own compiler and assembler!
Theres more the Visual Studio than just compiling and linking. Its a very powerful IDE that natively supports c/c++ and the M$ .NET languages among others. The IDE is fully scriptable to automate tasks, works with just about any windows compiler/linker and has a lot of bells & whistles. You can create custom build rules to compile files with various compilers or just use a Makefile. I use it for Watcom, Borland and Digital Mars among others depending on what I'm working on.

Re: linker scripts and link to bin?

Posted: Fri Dec 12, 2008 4:28 am
by LoseThos
Umm... debugging your code outside your own operating system? The more I think about it, the more it seems like writing your own tools -- compiler, assembler, debugger... is something anyone really serious about their operating system should do. For most, it is a hobby, I suppose and they find that to be a distraction from what they want to do. At some point, however, it will pay-off because you don't need to leave your operating system. It's really not that hard to make a simple unoptimized compiler, say, compared to hacking some hardware device. It's just straight-forward, fun programming. I had a blast writing my compiler -- way more fun then getting hardware devices working. One of the most satisfying things was adding optimizations and watching my code size shrink and things get faster.

If you wish to do kernel mode development, you might be interested in LoseThos, http://www.losethos.com, my operating system with my compiler. The IDE is not that good, but where else can you freely launch and test code in kernel mode?

It's 64-bit, too. I've never spent much time with virtual machiens, but from what I hear, LoseThos doesn't run in a virtual machine and when I tried it, it was dog slow in qemu and no hardware worked. I can't imagine having to run in a virtual machine. I love being 100% independent from other operating systems. Virtual machine software is probably holding you back in ways you don't know.

You guys are still developing new 32-bit code, from what I understand! That's insane. LoseThos is 100% 64-bit with no legacy stuff.