flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Who can give me a complete 32-bit OS written wholly in fasm?

Author
Thread Post new topic Reply to topic
l4m2



Joined: 15 Jan 2015
Posts: 674
l4m2 15 Feb 2015, 09:02
a complete 32-bit OS written wholly in fasm(to be a .img file)
Post 15 Feb 2015, 09:02
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 15 Feb 2015, 10:30
Of course KolibriOS.
Post 15 Feb 2015, 10:30
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
uor99



Joined: 04 Dec 2014
Posts: 42
uor99 16 Feb 2015, 00:05
And MenuetOS.
Post 16 Feb 2015, 00:05
View user's profile Send private message ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4330
Location: Now
edfed 16 Feb 2015, 11:17
or foolos? Laughing
Post 16 Feb 2015, 11:17
View user's profile Send private message Visit poster's website Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 674
l4m2 16 Feb 2015, 13:18
JohnFound wrote:
Of course KolibriOS.

I found it not an OS made only with asm but with file packer...
Post 16 Feb 2015, 13:18
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 16 Feb 2015, 16:31
Post 16 Feb 2015, 16:31
View user's profile Send private message Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 674
l4m2 16 Feb 2015, 16:32
edfed wrote:
or foolos? Laughing

foolos goes the best as i want!
Post 16 Feb 2015, 16:32
View user's profile Send private message Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 674
l4m2 17 Feb 2015, 09:09
edfed wrote:
or foolos? Laughing

Quote:
Code:
align 4
align 2
idtr    df @f-idt-1:idt
idt:
        dw isr0,sys_code,0x8E00,0
        dw isr1,sys_code,0x8E00,0
        dw isr2,sys_code,0x8E00,0    

So what do the two "Align"s do?
Post 17 Feb 2015, 09:09
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4330
Location: Now
edfed 17 Feb 2015, 09:55
align the idt on a 4 bytes range cause idtr is 6 bytes

it was a noob optimisation, not sure it is really usefull.
maybe we can prefer a

Code:
align 4
dw ?
idtr df ?
    
Post 17 Feb 2015, 09:55
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4330
Location: Now
edfed 17 Feb 2015, 10:12
please note, the real mode to protected mode and gdt management is based on code from Dex4u Smile

very usefull stuff to have real mode and protected mode sharing the same memory Wink
Post 17 Feb 2015, 10:12
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.