OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:51 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: ASOS is "A Silly Operating System"
PostPosted: Thu Aug 07, 2014 10:20 am 
Offline
Member
Member

Joined: Fri May 04, 2012 8:04 am
Posts: 35
Hi everyone, check out ASOS - "A Silly Operating System". Its a 16-bits operating system that only boots from a floppy disk and it only runs programs on floppy disks too. It has only 3 system calls - PrintString (which prints a null-terminated string), ClearScreen (which clears the screen) the ReadFloppy (which loads the first 16 sectors on the floppy disk at address 0x1000:0x0000).

The only use I see for it is for learning beginners :D

You can ASOS just right here. - [url] https://github.com/d2alphame/ASOS
[/url]
Assemble with
nasm -f bin ASOS.txt -o ASOS.img

Assemble the HelloWorld Program with
nasm -f bin "Hello World.txt" -o HelloWorld.img

They should both assemble into 1.44MB diskette images

Boot with the ASOS.img floppy disk


Top
 Profile  
 
 Post subject: Re: ASOS is "A Silly Operating System"
PostPosted: Thu Aug 07, 2014 10:51 am 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 1108
However silly it might be, it's hardly an OS.


Top
 Profile  
 
 Post subject: Re: ASOS is "A Silly Operating System"
PostPosted: Fri Aug 08, 2014 1:58 am 
Offline
Member
Member
User avatar

Joined: Mon Mar 05, 2012 11:23 am
Posts: 616
Location: Germany
alexfru wrote:
However silly it might be, it's hardly an OS.
Don't be so hard, I consider this as better than the most "operating systems" you see on here that are copy-pasted all together - here it at least seems like he knows what hes doing. :P

It'd be cool if each floppy would be loaded to a different memory location and you had multitasking :D

_________________
Ghost OS - GitHub


Top
 Profile  
 
 Post subject: Re: ASOS is "A Silly Operating System"
PostPosted: Fri Aug 08, 2014 3:07 am 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 1108
If it could write to the floppy and read keyboard input (that is, just 2 more system calls), that would be something akin to an OS. Without that, it's just a bigger bootloader.


Top
 Profile  
 
 Post subject: Re: ASOS is "A Silly Operating System"
PostPosted: Sat Aug 09, 2014 8:23 am 
Offline
Member
Member
User avatar

Joined: Thu Jun 04, 2009 11:12 pm
Posts: 281
Hi,
Quote:
"operating systems" you see on here that are copy-pasted all together

There is a general notion that copy pasting is bad. There is nothing wrong with copy pasting code. Copy Pasting is a form of code re use. Unless you are cheating on an assignment there is nothing ethically wrong with it as long as you credit the original author.

I would gladly copy paste a co workers code if it gets my job done or better still ask him to create a library out of it :) .
--Thomas


Top
 Profile  
 
 Post subject: Re: ASOS is "A Silly Operating System"
PostPosted: Sat Aug 09, 2014 11:53 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
Quote:
There is a general notion that copy pasting is bad.
Duplicating code always implies design errors :wink:

But seriously, the real problem is that people reuse code that's by definition not production worthy (i.e. tutorials), which they don't actually understand (because they skipped the lecture), and then try to randomly perturb in an uneducated attempt to make it do what they want without being aware of all the fundamental assumptions.

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 46 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group