flat assembler
Message board for the users of flat assembler.

Index > OS Construction > My first OS is ready...

Author
Thread Post new topic Reply to topic
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu 08 Mar 2004, 18:51
Hello,

today is a important day for me... I made the first step to a right OS... Please test it for me and say me what you think... Thanks for all the help...

I present: LOWOS 1.7:
Post 08 Mar 2004, 18:51
View user's profile Send private message Visit poster's website Reply with quote
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu 08 Mar 2004, 18:56
.... I can't add a attachment... There comes allways: "The Extension *** is not allowed" Please download it from:

http://home.pages.at/joachim-neu/LowOS.raw
Post 08 Mar 2004, 18:56
View user's profile Send private message Visit poster's website Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu 09 Mar 2004, 02:06
Dosent start on wmvare...just hangs there

what is the intended extension ? is that an floppy image?
and what is it supposed to do...?

How did you evolved to version 1.7?
I am only at 0.4.3.6 with SOLAR OS Evil or Very Mad

_________________
"Any intelligent fool can make things bigger,
more complex, and more violent.
It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."
Post 09 Mar 2004, 02:06
View user's profile Send private message Visit poster's website Reply with quote
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu 09 Mar 2004, 13:26
the file is a floppyimage... I counted from 1.0, which is a version with only a string to show the loadingprocess and one in the kernel to show the jump is ok... I think SOLAR OS is very good, but if I whould be you, I whould code a right os, too... What you made is first to make the objects and resourcess and so nobody may do something right with you system I think... Maybe you should code an explorer and so on... But what do0 you think about MY system?????????
Post 09 Mar 2004, 13:26
View user's profile Send private message Visit poster's website Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu 09 Mar 2004, 15:20
Hi

Yes, I have assumed that the file is a floppy image, and renamed it to "test_os.flp" and attempted to start it under vmware... with no results

Since i do not dare to use it on a normal machine (without source code and a recompile from myself) --> I have attempted to use it under vmware (as a sandbox testing pad)

And it is just hanging/charshing/whatever with NO message whatsoever on screen... was it working ok on your machine?

I do NOT understand your comments on SOLAR OS , I do have an incipient HDD explorer in the last released version of my OS...etc

But i assume that you will like us to talk more about YOUR OS rather than my OS here so i will restrict myself on further comments here...

So where is the problem? how can i make this presumed floopy image run? What was it supposed to do?...print a message or something?

I can not help / test more unless i get it running on my PC (ie on my vmware)

As a side note usually people assume version numbers under 0.xxx or something like that ... are testing/beta/alpha

While versions above 1.xxxx are kind of functional releases... not that it would matter Wink

_________________
"Any intelligent fool can make things bigger,
more complex, and more violent.
It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."
Post 09 Mar 2004, 15:20
View user's profile Send private message Visit poster's website Reply with quote
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu 09 Mar 2004, 18:28
hello,

you must only write the image with rawrite on a formated floppy... Nothing else... Do you really think, I whould code a virus and send it out??? Think... If I whould do this, you whould have dates from this board to go to the police... I didn't saw an explorer on SOLAR OS, maybe my version is old... This are my codes, you must compile them with nasm:

http://home.pages.at/joachim-neu/LowOS.zip

thx JOACHIM NEU
Post 09 Mar 2004, 18:28
View user's profile Send private message Visit poster's website Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu 09 Mar 2004, 21:14
No, my friend

I DO NOT think that you would have written a virus and/or any bad intended code and send it here... i just think that when coding an OS it is possible to make mistakes... unintentionally of course

So, I am simply cautious with multiple work/data i have on my computers, i will investigate the source to check why it is not working with vmware and let you know what i have found...

Best regards
Bogdan

_________________
"Any intelligent fool can make things bigger,
more complex, and more violent.
It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."
Post 09 Mar 2004, 21:14
View user's profile Send private message Visit poster's website Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu 09 Mar 2004, 21:41
Ok, now it works

It was a vmware problem...

The problem was that: the image is too small for vmware when using a file as a floppy, in this case a dummy file filled up with nulls should be added.

This way vmware can read from the simulated floppy, otherwise any attempt to read from "floppy" beyond the length of your file will throw and error... and you do not deal with that in your OS...

Funny that i made the exact same error with SOLAR OS when initially started to use vmware Wink and then i have forgotten about it...

The problem appeared because you read the floppy at startup before emiting any other message... this way (because read returned error under vmware) your OS appeared as crashed... and i did not have a clue why.

Works ok directly from floppy or when instructing vmware to read it directly from floppy and not from a floppy simulated by a file...

I also noticed in the source code that you do not (yet) switch to protected mode and you use int13 BIOS functions to read/write floppy...

Theoretically in a protected mode OS you will have to make your own drivers for reading/writting floppy/hdd ...

I have attached a picture for your reference

Best regards
Bogdan


Description: picture from vmware
Filesize: 5.09 KB
Viewed: 15665 Time(s)

lowos_2004_03_09.png



_________________
"Any intelligent fool can make things bigger,
more complex, and more violent.
It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."
Post 09 Mar 2004, 21:41
View user's profile Send private message Visit poster's website Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu 09 Mar 2004, 23:10
BTW SOLAR's "explorer" is started by clicking on "Run HDD Test" button on the SOL MAIN menu

it will only read --never write to your HDD and it requires LBA

_________________
"Any intelligent fool can make things bigger,
more complex, and more violent.
It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."
Post 09 Mar 2004, 23:10
View user's profile Send private message Visit poster's website Reply with quote
Carlito



Joined: 08 Apr 2004
Posts: 11
Location: Paris
Carlito 20 May 2004, 09:37
Would you please post an english commented version of your files boot.asm and kernel.asm, for the ones that want to learn about OS programming and don't understand german at all (like me).

Many thanks in advance.
Post 20 May 2004, 09:37
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu 20 May 2004, 15:37
yes, I will, but later... I've no time at the moment...
Post 20 May 2004, 15:37
View user's profile Send private message Visit poster's website Reply with quote
Carlito



Joined: 08 Apr 2004
Posts: 11
Location: Paris
Carlito 21 May 2004, 18:04
joachim, I managed to write the boot.bin I compiled from your boot.asm and wrote it onto a floppy disk using rawrite.
It works fine but how should I do to put both boot and kernel onto a floppy, and how should I compile kernel.asm?

Many thanks in advance
Post 21 May 2004, 18:04
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu 22 May 2004, 14:46
ok, you must compile both files with nasm.
then copy them together into an image with:
copy boot.bin+kernel.bin LowOS.raw
then write the image with RaWrite onto a floppy and reboot. then the system starts, when the floppy is inserted.
Post 22 May 2004, 14:46
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 22 May 2004, 15:11
Just remove the "short" keyword from the conditional jump and it will compile with fasm nicely. You can also put "short equ byte" declaration at the beginning of source.
Post 22 May 2004, 15:11
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.