ASOS is "A Silly Operating System"

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
d2alphame
Member
Member
Posts: 35
Joined: Fri May 04, 2012 8:04 am

ASOS is "A Silly Operating System"

Post by d2alphame »

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. - https://github.com/d2alphame/ASOS

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
alexfru
Member
Member
Posts: 1111
Joined: Tue Mar 04, 2014 5:27 am

Re: ASOS is "A Silly Operating System"

Post by alexfru »

However silly it might be, it's hardly an OS.
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: ASOS is "A Silly Operating System"

Post by max »

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
alexfru
Member
Member
Posts: 1111
Joined: Tue Mar 04, 2014 5:27 am

Re: ASOS is "A Silly Operating System"

Post by alexfru »

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.
User avatar
Thomas
Member
Member
Posts: 281
Joined: Thu Jun 04, 2009 11:12 pm

Re: ASOS is "A Silly Operating System"

Post by Thomas »

Hi,
"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
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: ASOS is "A Silly Operating System"

Post by Combuster »

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 ]
Post Reply