Page 1 of 1

Asmadian 0.01 alpha

Posted: Mon Dec 06, 2010 12:13 pm
by mariuszp
I have just released the first version of the Asmadian microkernel. It is a VERY new OS, I need developers/helpers/testers.

There are still no drivers - the system cannot even load programs from disk (although there is a fork(), there is no exec() because system() and exit() can be used instead).

I think there might be giant bugs and misconceptions. Please test!!! If you can, write drivers, or give links to specififcation. Please ask if you want to become an admin on sourcefrge.net

https://sourceforge.net/projects/asmadian/

Link to Asmadian.

Re: Asmadian 0.01 alpha

Posted: Mon Dec 06, 2010 12:33 pm
by Combuster
I need developers
He said in vain... (beginner mistake)

EDIT:
As far as testing goes, triple fault caused by seriously broken page tables:

Code: Select all

00142540930e[CPU0 ] interrupt(): gate descriptor is not valid sys seg
00142540930e[CPU0 ] interrupt(): gate descriptor is not valid sys seg
00142540930i[CPU0 ] protected mode
00142540930i[CPU0 ] CS.d_b = 32 bit
00142540930i[CPU0 ] SS.d_b = 32 bit
00142540930i[CPU0 ] | EAX=80000011  EBX=0002d000  ECX=00000700  EDX=000003ff
00142540930i[CPU0 ] | ESP=0010424a  EBP=0010425a  ESI=00053c91  EDI=00053c92
00142540930i[CPU0 ] | IOPL=0 id vip vif ac vm RF nt of df if tf SF zf af PF cf
00142540930i[CPU0 ] | SEG selector     base    limit G D
00142540930i[CPU0 ] | SEG sltr(index|ti|rpl)     base    limit G D
00142540930i[CPU0 ] |  CS:0008( 0001| 0|  0) 00000000 000fffff 1 1
00142540930i[CPU0 ] |  DS:0010( 0002| 0|  0) 00000000 000fffff 1 1
00142540930i[CPU0 ] |  SS:0010( 0002| 0|  0) 00000000 000fffff 1 1
00142540930i[CPU0 ] |  ES:0010( 0002| 0|  0) 00000000 000fffff 1 1
00142540930i[CPU0 ] |  FS:0010( 0002| 0|  0) 00000000 000fffff 1 1
00142540930i[CPU0 ] |  GS:0010( 0002| 0|  0) 00000000 000fffff 1 1
00142540930i[CPU0 ] | EIP=00104f90 (00104f90)
00142540930i[CPU0 ] | CR0=0x80000011 CR1=0 CR2=0x80000011
00142540930i[CPU0 ] | CR3=0x00116000 CR4=0x00000000
00142540930i[CPU0 ] >> add byte ptr ds:[eax], al : 0000
00142540930e[CPU0 ] exception(): 3rd (13) exception with no resolution, shutdown
 status is 00h, resetting
> info tab
(more here, doesn't fit in backlog)
0x0011a000-0x0011afff -> 0x00003000-0x00003fff
0x0011b000-0x0011bfff -> 0x00003000-0x00003fff
0x0011c000-0x0011cfff -> 0x00003000-0x00003fff
0x0011d000-0x0011dfff -> 0x00003000-0x00003fff
0x0011e000-0x0011efff -> 0x00003000-0x00003fff
0x0011f000-0x0011ffff -> 0x00003000-0x00003fff
0x00120000-0x00120fff -> 0x00003000-0x00003fff
0x00121000-0x00121fff -> 0x00003000-0x00003fff
0x00122000-0x00122fff -> 0x00003000-0x00003fff
0x00123000-0x00123fff -> 0x00003000-0x00003fff
0xc0000000-0xc0000fff -> 0x00003000-0x00003fff
0xc0001000-0xc0001fff -> 0x00003000-0x00003fff
0xc0002000-0xc0002fff -> 0x00003000-0x00003fff
0xc0003000-0xc0003fff -> 0x00003000-0x00003fff
0xc0004000-0xc0004fff -> 0x00003000-0x00003fff
0xc0005000-0xc0005fff -> 0x00003000-0x00003fff
0xc0006000-0xc0006fff -> 0x00003000-0x00003fff
0xc0007000-0xc0007fff -> 0x00003000-0x00003fff
(until)
0xc00f9000-0xc00f9fff -> 0x00003000-0x00003fff
0xc00fa000-0xc00fafff -> 0x00003000-0x00003fff
0xc00fb000-0xc00fbfff -> 0x00003000-0x00003fff
0xc00fc000-0xc00fcfff -> 0x00003000-0x00003fff
0xc00fd000-0xc00fdfff -> 0x00003000-0x00003fff
0xc00fe000-0xc00fefff -> 0x00003000-0x00003fff
0xc00ff000-0xc00fffff -> 0x00003000-0x00003fff
You might want to test first next time. Bochs should not break your OS with a default configuration.

Re: Asmadian 0.01 alpha

Posted: Mon Dec 06, 2010 1:13 pm
by mariuszp
weird. it did not happen on qemu...

Re: Asmadian 0.01 alpha

Posted: Mon Dec 06, 2010 1:25 pm
by mariuszp
hmm, i tested it on qemu both with and without kvm, then i tested it on virtualbox and it works on all of them. why would it not work on bochs??

Re: Asmadian 0.01 alpha

Posted: Mon Dec 06, 2010 1:41 pm
by Combuster
Because qemu and virtualbox are based off the same codebase? It's like upgrading the processor revision while keeping the motherboard and equipment mostly the same.

Bochs is in comparison a different project.