OS coding

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
tHe RiDDLeR

OS coding

Post by tHe RiDDLeR »

Does anyone know where I could get some info on OS coding in Pascal ???
Gnome

RE:OS coding

Post by Gnome »

Uh, Google? That's a good place to start.

Gnome.
ASHLEY4

RE:OS coding

Post by ASHLEY4 »

Yes here:  http://www.thegaineys.fsnet.co.uk/
This is in freepascal, I made a turbo pascal OS about 3 years ago (real mode).
I may be able to help a bit. But i ended up useing so much inline assembly,That you are better off making it in assembly in the first place.

ASHLEY4.
common

RE:OS coding

Post by common »

Why not C?
Gnome

RE:OS coding

Post by Gnome »

Probably because he/she's more familiar with Pascal than C.
Hell, I'm planning on switching from C to Objective-C in my kernel as soon as I can (namely, when I have the run-time support)
common

RE:OS coding

Post by common »

My question was more of a question for ASHLEY4, for recommending assembly over some other language.
Moose

RE:OS coding

Post by Moose »

Requirements for assembly specific code in certain places. To do certain tasks like switching to pmode, among other things.

Moose
ASHLEY4

RE:OS coding

Post by ASHLEY4 »

Common, i was not recommending assembly over other languages,It was the fact that what was supposed to be a pascal OS, i was making, Was real a asm OS with a bit of pascal in.
I do only program in asm,But it is up to the person doing the coding to decide which language to use.

I tryed most language's before sticking with assembly,That suet's me but may not suet you.

ASHLEY4.
Robert Lee

RE:OS coding

Post by Robert Lee »

It's suit.
ASHLEY4

RE:OS coding

Post by ASHLEY4 »

No i wear one of them, it's definitely suet or is that white solid fat in animal tissue, used in cooking  ;-).  

ASHLEY4.
Moose

RE:OS coding

Post by Moose »

dictionary.com!

Yes, asm is right for me too :).
I started trying to write my os in C++ but found i couldn't make the bootloader, so i started learning asm, then i realised what was in the bootloader and really started to understand os development.
After understanding the basics of asm i skipped the bootloader and just started using Grub and went into the kernel development.
Now however, my College course consumes my life and i dont have much time to develop anything.

Moose
Post Reply