Post subject: FZ/OS - my own attempt to write an operating system Posted: Tue May 17, 2011 5:30 pm
Ex OSBA Member
Joined Thu Aug 31, 2006 2:45 pm
Posts 1443
Location in a gadda da vida
Favourite OS Longhorn 4074 & Windows 7
I had few free days, so i've decided to try to write an OS (well, i'm not sure if i should call it operating system since it still doesn't do anything really useful) and this is what i came up with after 3 days.
Decided to call it FZ/OS (Filip Zajac is my name, OS is obvious, and "/" is the fun part). It's written in ASM (used NASM to compile the code). Boots from a floppy (bootloader: search google for BOOT12.ASM) or a CD (if you insert the floppy's IMA as a boot file), supports FAT12 file system (thanks to bootloader...), displays some text, interacts with user (in other words: keyboard works), has graphics mode (320x200x256).
Post subject: Re: FZ/OS - my own attempt to write an operating system Posted: Tue May 17, 2011 10:10 pm
1337 Beta Collector
Joined Tue Dec 01, 2009 2:56 am
Posts 6087
Well, if you can provide a 720K disk image, I might just try FZ/OS out on something even older than the 486. I know the graphics test won't work since this machine doesn't have VGA in it.
Post subject: Re: FZ/OS - my own attempt to write an operating system Posted: Tue May 17, 2011 11:32 pm
Newbie Beta Collector
Joined Sun May 08, 2011 4:15 pm
Posts 27
Favourite OS Mac OS X 10.6.7
Well, works fine under virtual box for me. Perfect graphical test, but are there any commands? help, HELP, ?, -help, --help, /HELP all do nada.
I burned you OS to a disk and booted beautifully from my Core i5 build, so no compatibility issues in sight!
This is awesome. I recently read The Elements of Computing Systems, and this is sort of the end result. Mind sharing the source by any chance? (pretty please? )
Post subject: Re: FZ/OS - my own attempt to write an operating system Posted: Wed May 18, 2011 7:59 am
Ex OSBA Member
Joined Thu Aug 31, 2006 2:45 pm
Posts 1443
Location in a gadda da vida
Favourite OS Longhorn 4074 & Windows 7
Thank you all for your positive feedback, i will try to continue my work on this project, and share new builds with you.
Exothermal wrote:
but are there any commands? help, HELP, ?, -help, --help, /HELP all do nada.
As i've said - not yet implemented. Wait until next public build. Maybe today, maybe tomorrow.
Exothermal wrote:
Mind sharing the source by any chance? (pretty please? )
Didn't really plan sharing the source, there's not much to share to be honest... So if you really want i can send it to you but you'd better check out this tutorial. It will probably learn you more than just looking into the source
Someguy2 wrote:
When is the beta?
It would be silly to set any dates now. What you've seen is the result of 3 days of hard work (well, at least the first two, after which i had the graphics mode working). Today i will most probably don't have time for much new. It's far far far away from beta. It's barely working!
Post subject: Re: FZ/OS - my own attempt to write an operating system Posted: Wed May 18, 2011 8:01 am
Pro Beta Collector
Joined Wed Mar 31, 2010 3:12 am
Posts 525
Favourite OS Windows 7 Ultimate SP1
fzajac wrote:
Thank you all for your positive feedback, i will try to continue my work on this project, and share new builds with you.
Exothermal wrote:
but are there any commands? help, HELP, ?, -help, --help, /HELP all do nada.
As i've said - not yet implemented. Wait until next public build. Maybe today, maybe tomorrow.
Exothermal wrote:
Mind sharing the source by any chance? (pretty please? )
Didn't really plan sharing the source, there's not much to share to be honest... So if you really want i can send it to you but you'd better check out this tutorial. It will probably learn you more than just looking into the source
Someguy2 wrote:
When is the beta?
It would be silly to set any dates now. What you've seen is the result of 3 days of hard work (well, at least the first two, after which i had the graphics mode working). Today i will most probably don't have time for much new. It's far far far away from beta. It's barely working!
Ok,its near to dos but without commands.
_________________ BetaArchive proud member since 2010
Post subject: Re: FZ/OS - my own attempt to write an operating system Posted: Wed May 18, 2011 4:18 pm
Ex OSBA Member
Joined Thu Aug 31, 2006 2:45 pm
Posts 1443
Location in a gadda da vida
Favourite OS Longhorn 4074 & Windows 7
yifansun wrote:
But I don't know what software you use to write that OS,c++?could you tell me?
It's assembly language. Just pure ASM. I used usual text editor (like notepad.exe) to type in the code, then i've compiled it with NASM (The Netwide Assembler).
Good news: i've finally managed to make use of input, added some basic commands, more will come soon. Here's a screen shot: (click the image for a good view... you know - the uploader likes to mess with PNGs sometimes)
Bad news: this brings a lot of new bugs... so no public build today. I hope tomorrow i will be able to release something umm... bigger.
Post subject: Re: FZ/OS - my own attempt to write an operating system Posted: Wed May 18, 2011 4:31 pm
Amateur Beta Collector
Joined Sat Nov 01, 2008 7:05 pm
Posts 271
I was dreading clicking this topic given how many "I made my own OS!" topics turn out to be "I edited some bitmaps and a version string" on here... but this? This is cool. Booted the iso on my A150 netbook via EasyBCD ("run from memory" option) and it worked just fine. Oddly the graphics test displayed horizontally. Impressive work though to have done something from scratch.
Post subject: Re: FZ/OS - my own attempt to write an operating system Posted: Wed May 18, 2011 6:15 pm
Ex OSBA Member
Joined Thu Aug 31, 2006 2:45 pm
Posts 1443
Location in a gadda da vida
Favourite OS Longhorn 4074 & Windows 7
linuxlove wrote:
Just a couple of suggestions.
When the kernel loads, have it clear the screen before displaying any messages
It might be good to remove the "Press any key to continue" prompt and just drop you straight into INPUT.
Good ideas. Done
STKD wrote:
I was dreading clicking this topic given how many "I made my own OS!" topics turn out to be "I edited some bitmaps and a version string" on here... but this? This is cool. Booted the iso on my A150 netbook via EasyBCD ("run from memory" option) and it worked just fine. Oddly the graphics test displayed horizontally. Impressive work though to have done something from scratch.
I'm glad you've enjoyed it. What do you mean by "the graphics test displayed horizontally"? If it looks different than on linuxlove's photos, could take photo(s) of it and upload here?
Post subject: Re: FZ/OS - my own attempt to write an operating system Posted: Wed May 18, 2011 7:20 pm
Amateur Beta Collector
Joined Sat Nov 01, 2008 7:05 pm
Posts 271
Strangely although I did take a picture or two it doesn't seem to have saved on my 3DS. The bars ran horizontally across the screen rather than vertically as they are in the shots above though. I'll try and get around to adding one in a day or two.
Post subject: Re: FZ/OS - my own attempt to write an operating system Posted: Thu May 19, 2011 3:11 pm
1337 Beta Collector
Joined Tue Dec 01, 2009 2:56 am
Posts 6087
Tested on the 486 again.
BUGS:
You seem to have broken backspace support in this build.
SUGGESTIONS:
Do you really need 2-3 different commands to do the same thing? Might be better to have one command and let the user map the command to something they'd be familiar to use, like:
Users browsing this forum: No registered users and 1 guest
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
All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.