| |
View Poll Results: IS SNK COOL? | |
YES
|    | 5 | 83.33% | |
NO
|    | 1 | 16.67% | |
???
|    | 0 | 0% |  | |
02-15-2006, 01:33 AM
|
#1 (permalink)
|
Newb Techie Join Date: Jan 2006 Posts: 35
| Writing an OS I am continuesly sickened by the climing suck factor of Microsoft and the out-of-reach pricing of a "decent" laptop these days so I am going to try and write a "decent" OS of my own and build a "decent" hand-held of my own. I need to know these things
What is the best programing language for this task?
A)C++
B)Basic
C)Java
D)some other language
I was also wondering if I could get some sugestions on what I should try to integrate and what I can do to make it a Xtreamly small. I also want some beta testers and some people who can possible help write some of it. . . . . I wont actualy DISCUS the actualy CODE but I may throw a line or two in (you have to understand the risk of theft) for now I want to have a pretty basic OS. |
| |
02-15-2006, 01:41 AM
|
#2 (permalink)
|
Lord Techie Join Date: May 2004 Posts: 5,239
| LOL...goodluck....I forget how many million lines of code Windows is...and more than one person coded it. Are you in high school?
__________________ ASUS A8N-SLI Deluxe Motherboard
AMD Opteron 165 @ 2.25GHz
2GB G.Skill Extreme PC4000 RAM
eVGA 8800GT
Creative Sound Blaster X-Fi
"I know the human being and fish can co-exist peacefully" - George W. Bush |
| |
02-15-2006, 03:35 AM
|
#3 (permalink)
|
True Techie Join Date: Oct 2005 Posts: 198
| Writing it for a mobile phone could be done by one person but IMO it would be very hard and take a lot of time. For a computer forget it. You won't be the next Linus Torvalds, it takes some serious effert and understand of what writing an OS is about.
TBH it doesn't seem you don't understand the problem if your asking what language to use. |
| |
02-15-2006, 04:23 PM
|
#4 (permalink)
|
Ultra Techie Join Date: Jul 2005 Posts: 530
| I agree, it certainly doesn't seem like you have any idea of what is involved in writing an OS.
If you had any idea, you'd know that there isn't any way to write an OS in Java or in BASIC since both of those languages are partially interpreted.
Your only option is a language and a compiler that can generate native binaries.
Furthermore, the vast majority of it would have to be in assembly code, which is targeted at whatever processor you are writing it for.
__________________ Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache) |
| |
02-15-2006, 04:37 PM
|
#5 (permalink)
|
Newb Techie Join Date: Jan 2006 Posts: 35
| actualy I was thinking about writing it for my calculator. and a JAVA enabled phone would be able to run an OS writen in JAVA |
| |
02-15-2006, 08:00 PM
|
#6 (permalink)
|
Ultra Techie Join Date: Jul 2005 Posts: 530
| The OS is what actually runs the Java. Java enabled phones have high level OS functions written in Java, however their base level OS functionality is not in Java, by definition. You cannot run Java outside some sort of OS that is already in place.
Java code is not natively compiled and therefore MUST run on a virtual machine.
__________________ Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache) |
| |
02-15-2006, 11:56 PM
|
#7 (permalink)
|
Newb Techie Join Date: Jan 2006 Posts: 35
| well I dont know how to format a phone any way. . . . . . . I was pretty **** sure JAVA wouldnt work anyway so I was just checking. . . . . REGARDLESS I was just trying to right a very basic OS for my calculator, then I was going to build off of that. |
| |
02-16-2006, 12:19 AM
|
#8 (permalink)
|
Newb Techie Join Date: Feb 2006 Posts: 4
| where do you get compilers? I have started studying C++ and have used an old 1986 coco with BASIC, but i can't seem to find a good compiler. back in the day that BASIC was phat but after reading the first hundred pages of Visual BASIC.net and C++ i see that it is way inadequate. How do you get an assembler onto a computer that has no OS on it, just stick a disk in or somthing? Where do i find them? |
| |
02-16-2006, 01:31 PM
|
#9 (permalink)
|
Ultra Techie Join Date: Jul 2005 Posts: 530
| You would start with a computer that does have an OS on it. You would do your programming and assembly coding on a functioning pc.
Then you would take the machine code you generated, and place that (automatically or by hand) into a special memory address on a floppy disk or the hard drive that the BIOS knows to automatically load upon boot, and then the assembly code takes it from there.
Before there were working PCs to do this with, the assembly code was all done by hand and loaded in via card readers.
__________________ Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache) |
| |
02-16-2006, 02:13 PM
|
#10 (permalink)
|
Monster Techie Join Date: Mar 2004 Posts: 1,392
| "I like the way you shakin' dat OS, Baby..." Quote: Originally posted by cowboyX I am continuesly sickened by the climing suck factor of Microsoft and the out-of-reach pricing of a "decent" laptop these days so I am going to try and write a "decent" OS of my own and build a "decent" hand-held of my own. I need to know these things
What is the best programing language for this task?
A)C++
B)Basic
C)Java
D)some other language | First off, I would like to say that this thread is awsome, second, Visual basic, Compiler 2.2, and Java aren't going to be right for the job if you're practically making your own PC. Those codes are always translated through the OS system files, and you can only make an OS with Java if you have a Sun Microsystems server with a SPARC architexture.
ASM (Assembly code) is designed to work directly with i386 CPU's and up. (so i've heard) So as long as you don't use any native windows messages, you should be able to do this. Please tell us what kind of lil' build you're making and we'll tell you what programming you need to work with.
__________________ Quote: Originally posted by bonehelm WTF ROFLMAO !!!! WTF OMFG LOL !!!! PARDON THE ****KING CAPS IM SO ROFL NOW !!!
I just found out I\'ve been using direct X 8.1 since its out. | He who knows when enough is enough will always have enough... - Lao Tzu |
| |  | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | |