OSDev.org
https://forum.osdev.org/

NEW CHALLENGE:
https://forum.osdev.org/viewtopic.php?f=2&t=23109
Page 1 of 2

Author:  guilherme [ Sun Feb 06, 2011 8:31 am ]
Post subject:  NEW CHALLENGE:

Ok, firstly i want everyone to know that are no prizes.


GOALS:
This Challenge is to create a nice GUI interface (320*200 256 color), with mouse cursor, a command prompt entirely wrote on the boot sector of an disk (USB, diskette, hard disk, but must to be 512 bytes long).

CONDITIONS:
The promt need to have at least this commands:

[*]COLOR: changes the font color to two decimal
bytes given after the command (background and font colours, each byte may be from 0 to 16).
[*]MOUSE: enable/disables mouse and mouse cursor
[*]SWOFF: turn off by APM
[*]SPEED: change CPU speed divisor (8, 4, 2 or 1, give after command).
[*]BREAK: disables PIC and then HALTS, turning coming back by IRQ impossible:
[*]RESET: reboots the PC
And more than that, there must be icons to RESET, SWOFF and BREAK, they must have some simbol that remember their functions, and must do their actions by clicking on they.
The mouse cursor need to be 8*8 pixels (any format and any color).


RULES:
[*] no disk acesses may happen, only memory acesses, to ensure that only bootsector data will be acessed. Obs.: you may create a type of data compression, and unpack this data in other memory areas that are not between 07C00h~08000h.
[*]This code must run in pure 8086 instructions, and need to work in any real PC with APM and VGA video support.
[*]You need to fill the whole screen with some background color.
[*]Theres must to be some welcome message in the screen and some prompt header as "A:>".

Thank all you that tried! And sorry by not giving any prizes!.

Author:  b.zaar [ Sun Feb 06, 2011 9:23 am ]
Post subject:  Re: NEW CHALLENGE:

You want all this from one 512 byte boot sector?

Author:  Combuster [ Sun Feb 06, 2011 10:53 am ]
Post subject:  Re: NEW CHALLENGE:

The PC you are targeting does not support 320x200x8 or APM.

End of competition.

Author:  VolTeK [ Sun Feb 06, 2011 11:02 am ]
Post subject:  Re: NEW CHALLENGE:

Image

Author:  f2 [ Sun Feb 06, 2011 11:44 am ]
Post subject:  Re: NEW CHALLENGE:

LMAO!

That could be an excellent scenario for a remake of "Mission: Impossible".

Author:  Coty [ Sun Feb 06, 2011 12:02 pm ]
Post subject:  Re: NEW CHALLENGE:

Image

Author:  VolTeK [ Sun Feb 06, 2011 12:20 pm ]
Post subject:  Re: NEW CHALLENGE:

I think ill go build windows xp now

Author:  guilherme [ Sun Feb 06, 2011 3:11 pm ]
Post subject:  Re: NEW CHALLENGE:

Combuster, sorry, but you being a fool.
Acessing the APM may be not a original 8086 PC supported feature, but in modern computer this may be acessed through INT 015h, without needing to use any non-8086 instructions, and the principal:
THIS IS NOT A COMPETITION, THERE'S NO WINNERS OR LOSERS.

Author:  Jezze [ Sun Feb 06, 2011 4:20 pm ]
Post subject:  Re: NEW CHALLENGE:

And what would motivate me to do this? The joy of building an operating system for you?

Author:  Tosi [ Sun Feb 06, 2011 4:57 pm ]
Post subject:  Re: NEW CHALLENGE:

Quote:
[*]This code must run in pure 8086 instructions, and need to work in any real PC with APM and VGA video support.

The BIOS for a modern computer would be very different from one on an old IBM PC, or something similar. Using any BIOS calls added since then would break the compatibility you wish for. As others have pointed out, this challenge is impossible. If you don't think so, then try coding it yourself.

Author:  Combuster [ Sun Feb 06, 2011 5:07 pm ]
Post subject:  Re: NEW CHALLENGE:

I call a troll on this one. First off, I agree with Jesse's observation: everything here points to you trying to trick us into writing your code for you. Secondly, you are being unreasonable - you criteria are random, too many (i would need at least 25% of the space just for storing all the required text alone), and lack consideration. An official PC with a VGA would be at least a 286, therefore the 8086 restriction is pointless. Requiring APM puts the minimum requirement even further. You explicitly mentioned prizes, and a challenge is a form of competition, and then I haven't started about you blatantly breaking forum rules by posting direct assaults at my person.

Please think again before doing something stupid.

Author:  VolTeK [ Sun Feb 06, 2011 5:11 pm ]
Post subject:  Re: NEW CHALLENGE:

X 2

Image
Image

For the OP

Dont call anyone truly Greater in OS intelligence experience than you, a fool. Im surprised this wasnt locked. How far can i go posting this

Author:  guilherme [ Sun Feb 06, 2011 6:26 pm ]
Post subject:  Re: NEW CHALLENGE:

Firstly, I DON'T NEED THIS.
I just want to see how each one would solve this.
But, if you want, i'll do this my self and post the source of the code on this page.
After doing this, can you try?

Author:  piranha [ Sun Feb 06, 2011 7:05 pm ]
Post subject:  Re: NEW CHALLENGE:

Ok. Do that then. If you really just wanted to see how we would solve this (which has been pointed out that it doesnt....just no.), then you should have written it already, or at least shown us that you know enough about it and have planned out how to write it that you could do it.

So, please, write it, post your code and make sure you follow all your imposed rules and criteria!

Good luck,

-JL

PS: This forum is for people who prove that they have the capabilities to do OSdev. Please prove this to us, otherwise you will encounter nothing but trouble here. So far, you have not done so. I suggest you get on it.

Author:  neon [ Sun Feb 06, 2011 7:23 pm ]
Post subject:  Re: NEW CHALLENGE:

Hello,

Im not seeing a problem with this post:

He mentioned an 8086 instruction set restriction within the bootstrap software, not as an architecture restriction thus making calls to the APM BIOS and VGA BIOS possible.

Even if this is to "write code for him" or not doesnt matter - the code will end up a complete and not useful mess anyways.

Just my 2 cents.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/