flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3, 4, 5, 6, 7 |
Author |
|
Rahsennor 30 Aug 2009, 01:21
revolution wrote: The preliminary winner of the REAL OS contest is Rahsennor. 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). 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 |
|||
![]() |
|
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.
![]() But in this case it means there is no competition at all, and you "win" by default. ![]() 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. ![]() ![]() 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. ![]() ![]() _________________ FAMOS - the first memory operating system |
|||
![]() |
|
Rahsennor 01 Sep 2009, 06:40
Nah, I'm all nitpicked out.
![]() As for the int 10h, I vote we call it an "application bug". ![]() ![]() |
|||
![]() |
|
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)? |
|||
![]() |
|
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 ![]() |
|||
![]() |
|
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. ![]() _________________ FAMOS - the first memory operating system |
|||
![]() |
|
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.
![]() |
|||
![]() |
|
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. |
|||
![]() |
|
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? ![]() ![]() |
|||
![]() |
|
revolution 03 Sep 2009, 05:07
What nonsense is this? Are we still in kindergarten where "everyone is a winner"?
![]() |
|||
![]() |
|
rugxulo 03 Sep 2009, 22:19
Fine, neville only gets a consolation" prize (sheesh):
Quote:
![]() |
|||
![]() |
|
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. ... .. |
|||
![]() |
|
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. ![]() Also I highly recommended to make another contest in the comming monthes. Good luck guys. |
|||
![]() |
|
Goto page Previous 1, 2, 3, 4, 5, 6, 7 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.