Page 1 of 1
ASOS is "A Silly Operating System"
Posted: Thu Aug 07, 2014 10:20 am
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
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
Re: ASOS is "A Silly Operating System"
Posted: Thu Aug 07, 2014 10:51 am
by alexfru
However silly it might be, it's hardly an OS.
Re: ASOS is "A Silly Operating System"
Posted: Fri Aug 08, 2014 1:58 am
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.
It'd be cool if each floppy would be loaded to a different memory location and you had multitasking
Re: ASOS is "A Silly Operating System"
Posted: Fri Aug 08, 2014 3:07 am
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.
Re: ASOS is "A Silly Operating System"
Posted: Sat Aug 09, 2014 8:23 am
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
Re: ASOS is "A Silly Operating System"
Posted: Sat Aug 09, 2014 11:53 am
by Combuster
There is a general notion that copy pasting is bad.
Duplicating code always implies design errors
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.