View Full Version: Demo code for OS dev's

dex >>OS Dev >>Demo code for OS dev's


Dex- 12-18-2005
Demo code for OS dev's
Here are some links to Demo's, i have made, with fasm code, that may help other OS Dev's. EDIT: Just ask and i will post a link to demos

Rawsm- 12-20-2005
Dex's Demos
Thanks again Dex. Sort of plowed under right now with holidays and what not, but, as soon as I get a chance I'll take a look at them. Thanks again and keep up the good work. Rawsm

Dex- 12-20-2005

Your welcome Rawsm :) . Just post if you need help and we will do our best to help. PS: I will be doing a bootloader ver of Dex4u, like GRUBS, but simpler to use. It may help people who are making there own OS.

Dragon_Hilord- 01-03-2006

Hay DEX, could you make thoes links work again? If you don't have enough room or something, maybe email me thoes files? I'm getting a nice collection of docs, source and stuff to read/learn from. Credit will be given where necessary of coarse :D BYW, many links on DEX4U.com are broken in the download section. I planned on testing your text editor, but no such luck :(

Dex- 01-03-2006

@Dragon_Hilord, the links were not broken, i had not finish uploading the zip files, they should be ok now :) . PS: See the first post on this topic, for the answer to your other ?.

Dragon_Hilord- 01-04-2006

rofl, thanks! btw, have you ported FASM over yet, or would you like me to take a crack at it later on?

Dex- 01-04-2006

Thank, but its being worked on :) .

RedGhost- 01-08-2006

thank you, very useful for someone making their first OS (like me) :)

Dex- 01-08-2006

Thank RedGhost and welcome to the Dex4u forum :) . PS: what type of OS are you making, realmode, pmode, single tasking or multitasking, cli , gui etc.

RedGhost- 01-08-2006

Thank RedGhost and welcome to the Dex4u forum :) . PS: what type of OS are you making, realmode, pmode, single tasking or multitasking, cli , gui etc. well since its my first OS and i am an amateur at programming i am taking it slow, currently its only realmode 16bit, but i will eventually move into 32bit pmode, like everyone i AIM for multi-tasking but for now i have no tasking (haha), i would prefer it to stay command line and only support gui heres a current screencap of it in its very very early stages :x http://img290.imageshack.us/img290/5638/oskernel2vr.jpg

Dex- 01-08-2006

I think that looks good, here abit of code for the time mov ah,01h ; from here to mov cx,2000h int 10h ; here, hide's cursor(bios int's) m0: mov ah,2 ; get's the (bios int's) int 1ah ; time in BCD , dl=0 push cx push dx pop ax m1: mov al,163 sub dl,160 ; gives c,c,nc,c,c,nc,c,nc+z ja rit rol ax,4 ; if jump is taken, we're in the middle of this. rit: push ax mov ah,0eh int 10h pop ax jne m1 mov al,13 ; CR to re-position cursor - looks crappy. mov ah,0eh int 10h mov ah,1 ; until key is pressed int 16h jz m0 mov ah,01h ; here to mov cx,0d0eh int 10h ; here show cursor (bios int's) It displays time untill key is pressed. PS: Fasm gif is cool.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.