flat assembler
Message board for the users of flat assembler.

Index > OS Construction > The REAL OS construction contest

Goto page Previous  1, 2, 3, 4, 5, 6, 7
Author
Thread Post new topic Reply to topic
neville



Joined: 13 Jul 2008
Posts: 507
Location: New Zealand
neville 29 Aug 2009, 09:38
Hmm, it would seem congratulations are in order Rahsennor, although you must be disappointed to "win" this way Laughing

_________________
FAMOS - the first memory operating system
Post 29 Aug 2009, 09:38
View user's profile Send private message Visit poster's website Reply with quote
Rahsennor



Joined: 07 Jul 2007
Posts: 61
Rahsennor 30 Aug 2009, 01:21
revolution wrote:
The preliminary winner of the REAL OS contest is Rahsennor.

Congrats, your prize will be issued later after the judges have completed their investigation and ensured that everything is proper.
revolution wrote:
The competition rules enforcement officer hopes that the final remaining entry will also not have to be disqualified for some sort of technical reason.
revolution wrote:
I have excluded all INT's below 32 for two reasons. 1) to avoid confusion with the standard BIOS function calls. and 2) to meet the original Intel spec of the reserved interrupt space being 0-31. If you want to use hardware interrupts in your OS, then, to meet the rules, you will have to move the PIC base to at least 32 (higher if you want, but not lower).
Tea-7a.7z/boot-lba28.asm:
Code:
    mov     si,reloc
    mov     di,$510
     mov     cx,20
       rep     movsw
       lea     si,[di-8]       ; expand idt
        mov     cx,32
       rep     movsw
       mov     word[di-8],time ; set PIC IRQ
pmode:     cli
 in      al,$92          ; A20 enable
        or      al,2
        out     $92,al
      mov     al,$FE          ; PIC: mask all except PIT
      out     $21,al
      mov     al,$34          ; PIT: ch. 0, lo/hi, rate
       out     $43,al
      mov     al,$A9          ; low byte
  out     $40,al
      mov     al,$04          ; high byte
 out     $40,al    
Post 30 Aug 2009, 01:21
View user's profile Send private message Reply with quote
neville



Joined: 13 Jul 2008
Posts: 507
Location: New Zealand
neville 31 Aug 2009, 06:08
rahsennor, of course you have every right to insist on a strict enforcement of the rules, if thats what you mean by your post above. Confused
But in this case it means there is no competition at all, and you "win" by default. Smile
I think this competition had a lot of merit and was well conceived by revolution. It must also be very disappointing for him that it should end with such a small wimper. Shocked It deserved better Cool
Just for the record, my decision to add the AX=3 function to MiMOS's INT 90H video services function was made at the last minute. It is just a "clear (text) screen" service because "set video mode" is not (yet) implemented. This function is used everywhere successfully in MiMOS apps, but I must have inadvertently typed INT 10H in the Memory Editor source code. Of course it still tested OK so I didn't realise the mistake. My fault, I didn't check more thoroughly. Embarassed However I believe it is only a "technical" breach of the rules. MiMOS implements all required functions, independent of the BIOS as required. Razz

_________________
FAMOS - the first memory operating system
Post 31 Aug 2009, 06:08
View user's profile Send private message Visit poster's website Reply with quote
Rahsennor



Joined: 07 Jul 2007
Posts: 61
Rahsennor 01 Sep 2009, 06:40
Nah, I'm all nitpicked out. Laughing fasm must have a really tiny userbase if only two people can enter such a simple contest. I agree, great idea, real shame nobody else entered.

As for the int 10h, I vote we call it an "application bug". Razz Seriously, it doesn't even do anything. Since I used int 09h that makes us all square. Cool
Post 01 Sep 2009, 06:40
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 01 Sep 2009, 12:21
Okay, since you two are the only entrants I will ask you what you want to do.

1) Do you want to restart the voting with the current entries and just ignore the "int's lower than 32" restriction? This way your entries are not wasted.

2) Do you want to me to give you both something like 1 day extra to fix the entries and then start voting again? Note: That substantial modification would probably not be allowed, only enough of a change to get the entry compliant would be accepted.

3) Do you want to do something else (like maybe abandon the contest)?
Post 01 Sep 2009, 12:21
View user's profile Send private message Visit poster's website Reply with quote
tom tobias



Joined: 09 Sep 2003
Posts: 1320
Location: usa
tom tobias 01 Sep 2009, 18:04
Do not abandon the contest.
The first year of any activity is always less spectacular than subsequent events.
Next year's contest will be much more active, I predict.
Further, you are laying the groundwork here, for a useful technique to improve the FASM forum.
Please do not abandon it.

The solution to the present imbroglio is clear:
Provide an extra one month, until Halloween, say, and encourage others to apply, emphasizing the importance of limiting all entries to those efforts which eliminate use of bios interrupts.

Engineers are assigned to build a bridge. The completion deadline date is given. The date arrives, but the bridge remains unfinished. What, now they should all go home, because of the date? No, they need to keep working at it, a bit more diligently, keeping in mind the requirement to avoid ALL metal, i.e. use of ONLY natural, not man made materials.

my two pfennigs

Smile
Post 01 Sep 2009, 18:04
View user's profile Send private message Reply with quote
neville



Joined: 13 Jul 2008
Posts: 507
Location: New Zealand
neville 01 Sep 2009, 22:29
revolution wrote:
Okay, since you two are the only entrants I will ask you what you want to do.

1) Do you want to restart the voting with the current entries and just ignore the "int's lower than 32" restriction? This way your entries are not wasted.

2) Do you want to me to give you both something like 1 day extra to fix the entries and then start voting again? Note: That substantial modification would probably not be allowed, only enough of a change to get the entry compliant would be accepted.

3) Do you want to do something else (like maybe abandon the contest)?
My preference would be for option 1) Smile Option 2) would be OK too because I would probably only have to amend that INT 10H to INT 90H. I don't think it would be fair to re-open the current competition to new entries, but I would encourage another similar comp in the future and hope that more people would enter 2nd time around.

_________________
FAMOS - the first memory operating system
Post 01 Sep 2009, 22:29
View user's profile Send private message Visit poster's website Reply with quote
Rahsennor



Joined: 07 Jul 2007
Posts: 61
Rahsennor 03 Sep 2009, 00:23
For option 2 I'd have to rewrite my bootsector - but if you really want to keep the rules I do have PIC-remapping code. If I find time. Neutral
Post 03 Sep 2009, 00:23
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 03 Sep 2009, 03:58
Don't forget to consider tom tobias's suggestion also. Let's call it number 4 option.

4) Reopen the contest to more entries, closing date October-31.
Post 03 Sep 2009, 03:58
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 03 Sep 2009, 04:42
Bah, just give 'em both prizes, and everything will be fine.

* *

revolution, should I give these out or do you want to? Cool Laughing
Post 03 Sep 2009, 04:42
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 03 Sep 2009, 05:07
What nonsense is this? Are we still in kindergarten where "everyone is a winner"? Razz
Post 03 Sep 2009, 05:07
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 03 Sep 2009, 22:19
Fine, neville only gets a consolation" prize (sheesh):

Quote:

%


Laughing
Post 03 Sep 2009, 22:19
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4330
Location: Now
edfed 04 Sep 2009, 00:47
i ask for a new date like in my theory about | motivation vs time |

start the contest in october with bios allowed (because bios is on all machines)

stop it in april

rest for spring and summer

start again with no bios and a common executable format.

...

..
Post 04 Sep 2009, 00:47
View user's profile Send private message Visit poster's website Reply with quote
abuashraf



Joined: 11 Nov 2006
Posts: 88
abuashraf 05 Sep 2009, 22:07
As the two guys broke the rules (BIOS ints one..), I think it is fair enough
to continue and as if nothing happened, and put the entries for vote.

I wish I could participate, but I was coding my os in real mode,
so alots of bios ints where there. Wink

Also I highly recommended to make another contest in the comming
monthes.

Good luck guys.
Post 05 Sep 2009, 22:07
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4, 5, 6, 7

< 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.