Home | Reviews | GUIpedia | Forum | Fun500


ksrFreeBASIC OS tutorial
http://wiki.osdev.org/FreeBasic_Barebones Anyone seen this before? Looks interesting.
2010-02-089:43 PM

agumaRe:FreeBASIC OS tutorial
yeah I saw it, never got it to work. stuck with asm + c.
2010-02-0810:11 PM

ksrRe:FreeBASIC OS tutorial
Yeah, it doesn't really seem to be worth it. So have you played around with OS development much? I have some free time and I'm tempted to start making a serious effort. I don't like C though so it's probably going to end up being mostly asm.
2010-02-0810:30 PM

agumaRe:FreeBASIC OS tutorial
Well I don't really have time anymore with school and debate and violin and piano and writing and life, but I used to play around with it OS devving a lot. If you want I can give you the source to my unfinished 16-bit asm os (bootloader+kernel), and an explanation to how it works. Also, here's a pretty good tutorial on writing an OS: http://www.brokenthorn.com/Resources/OSDevIndex.html
2010-02-0811:23 PM

ksrRe:FreeBASIC OS tutorial
Thanks for the link. And that'd be great if you could send me your source.
2010-02-0912:21 AM

BrandonRe:FreeBASIC OS tutorial
I'm always looking for a new OS to test out, if there is anything I can help with just let me know.
2010-02-0910:45 AM

bongomenoRe:FreeBASIC OS tutorial
This tutorial looks very useful... I do not know freebasic
2010-02-096:43 PM

ksrRe:FreeBASIC OS tutorial
aguma, did you get as far as loading executable files? real mode memory management is giving me a massive headache.
2010-02-126:01 PM

agumaRe:FreeBASIC OS tutorial
yeah I just loaded programs to 0x1000, although I don't remember if that's the offset, segment, or both :P you can have the source if you want: http://uppit.com/v/LTGT8Z0B how it works: in your files, the first four bytes are "TYPE"+NULL. if type is "TEXT", it views the file, and if it's "EXEC" it runs the file. You'll have to add those bytes manually with a hex editor. functions aren't called through the kernel, they just have to include my library in their programs. oh, and ret ends a program in userland. if you want more info, just ask. i realize how vague this is :P
2010-02-126:47 PM

ksrRe:FreeBASIC OS tutorial
Thanks a lot, some things are already clearer. I'm sure I'll have plenty of questions when I've read through your code some more. Just successfully booted from a FAT32 USB drive (boot sector only, no file system at this stage). I don't think I'll bother supporting FAT12 and just concentrate on FAT32.
2010-02-1312:05 AM

Hardware


2021 Brandon Cornell