OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Sep 20, 2019 9:17 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 8:31 am 
Offline
Member
Member

Joined: Mon Jan 31, 2011 6:58 am
Posts: 35
Location: Brasil
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!.


Last edited by guilherme on Mon Feb 07, 2011 1:08 pm, edited 4 times in total.

Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 9:23 am 
Offline
Member
Member
User avatar

Joined: Wed May 21, 2008 4:33 am
Posts: 294
Location: Mars MTC +6:00
You want all this from one 512 byte boot sector?

_________________
"God! Not Unix" - Richard Stallman (probably)

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 10:53 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9284
Location: On the balcony, watching the Swedish Chef
The PC you are targeting does not support 320x200x8 or APM.

End of competition.

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 11:02 am 
Offline
Member
Member
User avatar

Joined: Sat Nov 15, 2008 2:37 pm
Posts: 810
Location: The Fire Nation
Image


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 11:44 am 
Offline
Member
Member

Joined: Mon Jun 15, 2009 10:01 am
Posts: 311
Location: France
LMAO!

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

_________________
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 12:02 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
Image

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 12:20 pm 
Offline
Member
Member
User avatar

Joined: Sat Nov 15, 2008 2:37 pm
Posts: 810
Location: The Fire Nation
I think ill go build windows xp now


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 3:11 pm 
Offline
Member
Member

Joined: Mon Jan 31, 2011 6:58 am
Posts: 35
Location: Brasil
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.


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 4:20 pm 
Offline
Member
Member
User avatar

Joined: Thu Jul 26, 2007 1:53 am
Posts: 390
And what would motivate me to do this? The joy of building an operating system for you?

_________________
Fudge - Simplicity, clarity and speed.
http://github.com/Jezze/fudge/


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 4:57 pm 
Offline
Member
Member

Joined: Tue Jun 15, 2010 9:27 am
Posts: 255
Location: Flyover State, United States
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.

_________________
Getting_Started on the wiki
x86 technical information
Interrupt Jump Table
Real Programmers Don't Use Pascal
My open-source projects


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 5:07 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9284
Location: On the balcony, watching the Swedish Chef
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.

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 5:11 pm 
Offline
Member
Member
User avatar

Joined: Sat Nov 15, 2008 2:37 pm
Posts: 810
Location: The Fire Nation
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


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 6:26 pm 
Offline
Member
Member

Joined: Mon Jan 31, 2011 6:58 am
Posts: 35
Location: Brasil
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?


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 7:05 pm 
Offline
Member
Member
User avatar

Joined: Thu Dec 21, 2006 7:42 pm
Posts: 1391
Location: Unknown. Momentum is pretty certain, however.
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.

_________________
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io


Top
 Profile  
 
 Post subject: Re: NEW CHALLENGE:
PostPosted: Sun Feb 06, 2011 7:23 pm 
Offline
Member
Member
User avatar

Joined: Sun Feb 18, 2007 7:28 pm
Posts: 1435
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.

_________________
OS Development Series | Project Neptune
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group