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
ASOS is "A Silly Operating System"
Re: ASOS is "A Silly Operating System"
However silly it might be, it's hardly an OS.
- max
- 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"
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.alexfru wrote:However silly it might be, it's hardly an OS.
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"
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"
Hi,
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
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."operating systems" you see on here that are copy-pasted all together
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
- Combuster
- 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"
Duplicating code always implies design errorsThere is a general notion that copy pasting is bad.
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.