Seriously speaking, I'm trying to build a dos-like os, just for fun and to learn a bit of C, nothing serious.
OS?
IF this ever happends (im pretty sure it will not, but who knows :roll: ), THEN you can be sure I'll remember you. Nothing compares with this community and with PureBasic 
Seriously speaking, I'm trying to build a dos-like os, just for fun and to learn a bit of C, nothing serious.
Seriously speaking, I'm trying to build a dos-like os, just for fun and to learn a bit of C, nothing serious.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Hmm, I was sitting here in front of my monitor and reading all this stuff that people were doing back in 80's - 90's and I got a headache
. Just downloaded BASM, the basic to 286 translator and I think I could use it. Just have to ask this: It seems that it needs Windoze to run. What should I do to make the output platform independent, rewrite the functions and procedures?
[Edit]
I rewrote some functions for the VesaMode and I got a program working
. It booted up.
[Edit]
I rewrote some functions for the VesaMode and I got a program working
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
I recommend you to take an open source Kernel and try to understand it, I once had the code a friend used to write the fundamental parts for an operating system I will try to find it for you..anyway a good kernel to learn from is probably every open source microkernel I think Linux on the other hand would be a bad Idea since it's design is very old and it's huge. Maybe you should google for NewOS, L4, Fiascoand Mach these are all Micorkernels and so they have a very small codebase L4 for example is used to power the Dresden Reasearch Operating system and has less than 5000 lines of code, another OS you should definitely try is Minix 3 , Minix 1 was once the code Linus Torvalds build Linux on and Minix 3 is now a working Micro Kernel *NIX just tried it a few days ago in QEMU...
http://www.minix3.org/
There is also a book about Minix 3 it discripes the whole system and includes lots of the source code with comments, but please please forget about basic, And if you really want to take Basic take purebasic I'm sure it's possible you need to use C too though, I think it must be possible you need to program without any library then you need to look at the ASM Output there you see witch functions you need to implement behind the scene in c to get the purbasic code working, you then replace FASM so that th faked FASM can link make a object file out of the PurebasicASM, then you will link it with the C object files providing the functions Purebasic needs that should work, I recommend not to write everything in Purebasic but it would be deffinitley possible to have a Microkernel written in C wich can than run all needed servers wich can be written in PB....
http://www.minix3.org/
There is also a book about Minix 3 it discripes the whole system and includes lots of the source code with comments, but please please forget about basic, And if you really want to take Basic take purebasic I'm sure it's possible you need to use C too though, I think it must be possible you need to program without any library then you need to look at the ASM Output there you see witch functions you need to implement behind the scene in c to get the purbasic code working, you then replace FASM so that th faked FASM can link make a object file out of the PurebasicASM, then you will link it with the C object files providing the functions Purebasic needs that should work, I recommend not to write everything in Purebasic but it would be deffinitley possible to have a Microkernel written in C wich can than run all needed servers wich can be written in PB....
Last edited by Nik on Thu Apr 20, 2006 11:49 pm, edited 1 time in total.
Visit www.sceneproject.org
Wow! Very nice info... Thanks. Just for fun, here's a quick test, just to show the graphic acess
.
File:1->OStest.zip

Burn it or Qemu-it
However, if the information contains source made in C or ASM, I won't understand a bit
.
File:1->OStest.zip

Burn it or Qemu-it
However, if the information contains source made in C or ASM, I won't understand a bit
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)

