Dreckig OS

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
GAT
Member
Member
Posts: 75
Joined: Wed Nov 30, 2011 9:51 pm
Contact:

Dreckig OS

Post by GAT »

If anyone is interested here is my project:
http://code.google.com/p/dreckig-os/
wind582.GIF
wind582.GIF (5.96 KiB) Viewed 6991 times
Dreckig uses a megalithic kernel, so everything is run in kernel mode for increased speed and security.
d3: virtualizing kernel in progress
https://github.com/WizardOfHaas/d3/
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Re: Dreckig OS

Post by JackScott »

Running everything in kernel mode for speed I can believe, but would you mind explaining the rationale behind it being more secure? It's just the opposite of what is usually the case (user mode being more secure and fault-tolerant).
User avatar
GAT
Member
Member
Posts: 75
Joined: Wed Nov 30, 2011 9:51 pm
Contact:

Re: Dreckig OS

Post by GAT »

I mean secure as in from viruses, as you can not install software. It also gives me more control over the quality of software for my OS, since you can't use outside software.
d3: virtualizing kernel in progress
https://github.com/WizardOfHaas/d3/
Unkn0wn1
Member
Member
Posts: 37
Joined: Fri Jan 13, 2012 11:18 am

Re: Dreckig OS

Post by Unkn0wn1 »

Is it in real or protected mode - I see it uses int 10h, so I suspect real, but just want to know out of curiosity
--Saw it was real mode in the tags - by the way, I have a solution to your backspace problem
add on line 402 - after enter check:

Code: Select all

cmp al, 0x08
je .backspace
And after loop, put this in

Code: Select all

.backspace:
   cmp cl, 0	; beginning of string?
   je .loop	; yes, ignore the key
 
   dec di
   mov byte [di], 0	; delete character
 
   mov ah, 0x0E
   mov al, 0x08
   int 10h		; backspace on the screen
 
   mov al, ' '
   int 10h		; blank character out
 
   mov al, 0x08
   int 10h		; backspace again
 
   jmp .loop	; go to the main loop
 
--Ben
Not sane
Just remember, FIND Is Not DOS :)
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Dreckig OS

Post by VolTeK »

Unkn0wn1 wrote:Is it in real or protected mode - I see it uses int 10h, so I suspect real,


You can also read his project page in the link provided in his signature.
Unkn0wn1
Member
Member
Posts: 37
Joined: Fri Jan 13, 2012 11:18 am

Re: Dreckig OS

Post by Unkn0wn1 »

I kinda did, as the second line says - I was referring to the tags on it
Not sane
Just remember, FIND Is Not DOS :)
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Dreckig OS

Post by VolTeK »

Unkn0wn1 wrote: by the way, I have a solution to your backspace problem
add on line 402 - after enter check:
And so does the wiki.
http://wiki.osdev.org/Real_mode_assembly_I :roll:

Your not making your entire Operating system with code from the wiki are you?

It is free to the public but, for learning purposes ;)
Unkn0wn1
Member
Member
Posts: 37
Joined: Fri Jan 13, 2012 11:18 am

Re: Dreckig OS

Post by Unkn0wn1 »

No, I'm not - FS code, raw binary execution, syscalls, cli, libraries (screen, math,string, kb etc. (hopefully basic crypto to come)) time/date with formatting

Need I say more?
Not sane
Just remember, FIND Is Not DOS :)
User avatar
GAT
Member
Member
Posts: 75
Joined: Wed Nov 30, 2011 9:51 pm
Contact:

Re: Dreckig OS

Post by GAT »

Sweet!
It works!
Thanks, Unkn0wn1.
Do you want your name or screen name on the splash?
d3: virtualizing kernel in progress
https://github.com/WizardOfHaas/d3/
Unkn0wn1
Member
Member
Posts: 37
Joined: Fri Jan 13, 2012 11:18 am

Re: Dreckig OS

Post by Unkn0wn1 »

My name, thanks

--Ben Jackson

Oh, and it works here, as well. Just tested it in Bochs. Only got round to it now as I've been working on something for FIND
Not sane
Just remember, FIND Is Not DOS :)
User avatar
quanganht
Member
Member
Posts: 301
Joined: Fri May 16, 2008 7:13 pm
Location: Hanoi, Vietnam

Re: Dreckig OS

Post by quanganht »

GAT wrote:Dreckig uses a megalithic kernel, so everything is run in kernel mode for increased speed and security.
Megalithic?!
"Programmers are tools for converting caffeine into code."
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Dreckig OS

Post by VolTeK »

Unkn0wn1 wrote:No, I'm not - FS code, raw binary execution, syscalls, cli, libraries (screen, math,string, kb etc. (hopefully basic crypto to come)) time/date with formatting

Need I say more?
Yes, as you barely listed anything. If all you say is done, i can give you credit as i believe you have started not to long ago.


But if your just listing, the "doing" won't be as easy as said If Done Right
User avatar
GAT
Member
Member
Posts: 75
Joined: Wed Nov 30, 2011 9:51 pm
Contact:

Re: Dreckig OS

Post by GAT »

quanganht wrote:
GAT wrote:Dreckig uses a megalithic kernel, so everything is run in kernel mode for increased speed and security.
Megalithic?!

Yes, a Megalithic Kernel. The idea is to use simplicity to increase speed.
d3: virtualizing kernel in progress
https://github.com/WizardOfHaas/d3/
ACcurrent
Member
Member
Posts: 125
Joined: Thu Aug 11, 2011 12:04 am
Location: Watching You

Re: Dreckig OS

Post by ACcurrent »

You said "increase speed" and "increase security". Now, it seems beyond me how you can do such a thing in a megalithic kernel. If you were to use an in-kernel interpreter the performance would be slower and if you were not using one you would risk security breeches as there is no memory protection in kernel mode so how is it you are increasing both?
Get back to work!
Github
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Dreckig OS

Post by bluemoon »

Increase is a relative word. I guess he is comparing to his previous version?
Think about this, Windows 7 has increased performance (compares to Windows XP). Yet it is still bloated.
Post Reply