Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 08-01-09   #1 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Jan 2008
Posts: 524

Rep: 27 deafboy is acknowledged by some
Unique Rep: 26
Folding Team Rank: 910
Trader Rating: 0
Default CS 352 - Unix Software Development

Hey Everyone,

So later next month I will be starting the process of making a kernel for one of my classes. Anyways, I haven't done C in a long time and figure I'd do some brushing up.

You guys have any book recommendations? Or site recommendations that might be more specific to what I would be doing with?

Thanks a bunch


EDIT:

no kernel... YAY! Just a mini-shell. still


EDIT #2:

The quarter has officially started and I figured I would post my progress for this class throughout the quarter.

Since I am both new to C as well as most of the Unix environment I figured this might be a good place to get feedback on my code.

It's really just one program but 6 revisions.

Program 1 -- http://www.overclock.net/7291306-post13.html
Program 2 -- http://www.overclock.net/7373582-post14.html
Program 3 --
Program 4 --
Program 5 --
Program 6 --
__________________
System: My System
CPU
Intel Core 2 Quad Q6600 Kentsfield (G0) @ 3.5
Motherboard
GIGABYTE GA-965P-DS3
Memory
8GB CORSAIR DOMINATOR DDR2 1066 (PC2 8500 C5)
Graphics Card
EVGA 8800GTS 512MB G92 790/2000/1026
Hard Drive
WD 640GB AALS Black | WD 1TB FALS Black x 2
Power Supply
Thermaltake 750W ToughPower
Case
LIAN LI PC-V1100BPlus II Tweaked
CPU cooling
Xigmatek S1283 w/ S-Flex F and Backplate
GPU cooling
Accelero S1 w/ S-Flex F
OS
Windows 7 Pro RTM x64 | Ubuntu 9.04 x64
Monitor
Samsung ToC T260 | HDHanns·G HG-216DPO

Last edited by deafboy : 10-17-09 at 01:27 AM Reason: Quarter Started
deafboy is offline I fold for Overclock.net   Reply With Quote
Old 08-02-09   #2 (permalink)
With great difficulty
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 5,210

Rep: 614 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 370
FAQs Submitted: 6
Trader Rating: 5
Default

The language itself or OS-level programming? If you want a C book, K&R is the Bible
__________________
System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw
rabidgnome229 is offline Overclocked Account   Reply With Quote
Old 08-03-09   #3 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Jan 2008
Posts: 524

Rep: 27 deafboy is acknowledged by some
Unique Rep: 26
Folding Team Rank: 910
Trader Rating: 0
Default

Great, thanks for the link.

I am kind of looking at both things. I've never coded in C let alone in a linux environment and nothing remotely complex as a kernel.

Thanks again, +rep.
__________________
System: My System
CPU
Intel Core 2 Quad Q6600 Kentsfield (G0) @ 3.5
Motherboard
GIGABYTE GA-965P-DS3
Memory
8GB CORSAIR DOMINATOR DDR2 1066 (PC2 8500 C5)
Graphics Card
EVGA 8800GTS 512MB G92 790/2000/1026
Hard Drive
WD 640GB AALS Black | WD 1TB FALS Black x 2
Power Supply
Thermaltake 750W ToughPower
Case
LIAN LI PC-V1100BPlus II Tweaked
CPU cooling
Xigmatek S1283 w/ S-Flex F and Backplate
GPU cooling
Accelero S1 w/ S-Flex F
OS
Windows 7 Pro RTM x64 | Ubuntu 9.04 x64
Monitor
Samsung ToC T260 | HDHanns·G HG-216DPO
deafboy is offline I fold for Overclock.net   Reply With Quote
Old 08-05-09   #4 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Nov 2007
Location: Surrey, BC, Canada
Posts: 272

Rep: 14 serge2k Unknown
Unique Rep: 14
Trader Rating: 1
Default

if you're looking for some more info on operating systems (as well as setting up cygwin, building a cross compiler, etc...) osdev seems to have a fair amount.
__________________
System: The Black Box
CPU
E6750
Motherboard
Asus P5N-E SLI
Memory
2GB DDR-2 800 MHz
Graphics Card
EVGA 8800 GTS 640
Hard Drive
2x250GB Seagate in Raid 0, 2x1TB WD Caviar Blacks
Sound Card
integrated
Power Supply
Antec Earthwatts 500W
Case
Antec Sonata 3
CPU cooling
Xigmatek HDT S1283
GPU cooling
stock
OS
Windows 7 Ultimate x64
Monitor
22" LG
serge2k is offline   Reply With Quote
Old 08-05-09   #5 (permalink)
PC Gamer
 
chemicalfan's Avatar
 
intel ati

Join Date: May 2008
Location: Portsmouth, UK
Posts: 1,388
Blog Entries: 3

Rep: 117 chemicalfan is acknowledged by manychemicalfan is acknowledged by many
Unique Rep: 91
Trader Rating: 1
Default

Hold up - you've never coded in C before, and you're tasked with making a kernel?? Good luck with that!!

Or are you just tweaking the existing Linux kernel from the source code?
__________________
Intel Processor Finder - essential knowledge for OC'ers
OCCT - essential tool for OC'ers
Quote:
Originally Posted by Inuyasha1771
I hate it when they are like " LET'S WATCH A MOVIE >=3" and you're like "No, it's 6 PM, I just got off work, I need to overclock." and they can't relate. Give me a girl who overclocks, and I'll give you a miracle.

System: Black 'n' blue II
CPU
Core i7 860
Motherboard
MSI P55-GD60
Memory
4GB G.Skill Ripjaw
Graphics Card
Xpertvision Radeon HD4850
Hard Drive
150Gb Velociraptor & 250Gb Samsung
Sound Card
ESI Maya USB
Power Supply
Thermaltake Purepower RX 550
Case
Galaxy II
CPU cooling
Noctua NH-U12P SE2
GPU cooling
Stock
OS
Vista Home Premium x64
Monitor
Hyundai BlueH H224W 22" LCD
chemicalfan is offline   Reply With Quote
Old 08-09-09   #6 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Jan 2008
Posts: 524

Rep: 27 deafboy is acknowledged by some
Unique Rep: 26
Folding Team Rank: 910
Trader Rating: 0
Default

^
nope, it's a kernal from scratch.

I've done C++ and C# but never C.

lol. This is one class I am not really looking forward to. It shouldnt be too hard I don't think, there's just going to be a nice learning curve.

Thanks for the responses btw
__________________
System: My System
CPU
Intel Core 2 Quad Q6600 Kentsfield (G0) @ 3.5
Motherboard
GIGABYTE GA-965P-DS3
Memory
8GB CORSAIR DOMINATOR DDR2 1066 (PC2 8500 C5)
Graphics Card
EVGA 8800GTS 512MB G92 790/2000/1026
Hard Drive
WD 640GB AALS Black | WD 1TB FALS Black x 2
Power Supply
Thermaltake 750W ToughPower
Case
LIAN LI PC-V1100BPlus II Tweaked
CPU cooling
Xigmatek S1283 w/ S-Flex F and Backplate
GPU cooling
Accelero S1 w/ S-Flex F
OS
Windows 7 Pro RTM x64 | Ubuntu 9.04 x64
Monitor
Samsung ToC T260 | HDHanns·G HG-216DPO
deafboy is offline I fold for Overclock.net   Reply With Quote
Old 08-13-09   #7 (permalink)
4.0ghz
 
hometoast's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Pennsylvania
Posts: 2,155
Blog Entries: 3

Rep: 164 hometoast is acknowledged by manyhometoast is acknowledged by many
Unique Rep: 132
Hardware Reviews: 3
Trader Rating: 16
Default

Please let us know how it goes. Zero-C to Kernel in X days.... ouch.

System: foot warmer
CPU
Q9550
Motherboard
EP45-UD3P
Memory
OCZ 2x2Gb ddr2-1066
Graphics Card
GTX260 700/1509/1000
Hard Drive
WD 320 AAKS
Power Supply
PP&C 610W Silencer
Case
CM Cosmos 1000
CPU cooling
Xig Dark Knight
OS
#7
Monitor
Samsung 204BW
hometoast is offline Overclocked Account   Reply With Quote
Old 08-17-09   #8 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Jan 2008
Posts: 524

Rep: 27 deafboy is acknowledged by some
Unique Rep: 26
Folding Team Rank: 910
Trader Rating: 0
Default

Haha, yeah... It wont be the easiest thing. I'll try and keep this thread updated once the quarter starts.
__________________
System: My System
CPU
Intel Core 2 Quad Q6600 Kentsfield (G0) @ 3.5
Motherboard
GIGABYTE GA-965P-DS3
Memory
8GB CORSAIR DOMINATOR DDR2 1066 (PC2 8500 C5)
Graphics Card
EVGA 8800GTS 512MB G92 790/2000/1026
Hard Drive
WD 640GB AALS Black | WD 1TB FALS Black x 2
Power Supply
Thermaltake 750W ToughPower
Case
LIAN LI PC-V1100BPlus II Tweaked
CPU cooling
Xigmatek S1283 w/ S-Flex F and Backplate
GPU cooling
Accelero S1 w/ S-Flex F
OS
Windows 7 Pro RTM x64 | Ubuntu 9.04 x64
Monitor
Samsung ToC T260 | HDHanns·G HG-216DPO
deafboy is offline I fold for Overclock.net   Reply With Quote
Old 08-17-09   #9 (permalink)
NEEDZ MOAR PPD
 
H3||scr3am's Avatar
 
intel nvidia

Join Date: Mar 2007
Location: Cambridge, Ontario
Posts: 6,941

Folding Team Rank: 33
Team Name: Nom Nom Nom PPD
Trader Rating: 21
Default

sounds like a steep learnign curve my friend, K&R will help for sure, and man pages lol
__________________

I am 91% addicted to Counterstrike. What about you?
OCN CS:S GG: overclock.nuclearfallout.net:27015
OCN TF2: 68.232.173.130:27015 BRAND NEW 500FPS!!!
My Role in this community is to make your gaming experience on our gameservers enjoyable
please feel free to PM me with your suggestions and issues.

System: B3 Holds me back :(
CPU
Intel Q6600 (L664G)
Motherboard
Asus P5K Deluxe
Memory
G.Skill 2GB HZs & 2GB Ballistix
Graphics Card
eVGA 8800GTX / XFX 8800GS
Hard Drive
WD SATA HD 250GB
Sound Card
Auzentech X-Fi Prelude
Power Supply
Silverstone Decathlon 750W
Case
TT Armor w/ 25cm side fan
CPU cooling
D-Tek FuZion WB
GPU cooling
DD 8800GTX WB / Stock
OS
XP pro SP3 :D
Monitor
2x 19" LG LCDs
Overclock.net - 2009 Chimp Challenge Champions 5 Million+ Folding at Home points
H3||scr3am is offline I fold for Overclock.net Overclocked Account H3||scr3am's Gallery   Reply With Quote
Old 08-18-09   #10 (permalink)
Security Sleuth
 
Pooping^fish's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: egypt
Posts: 1,267

Rep: 67 Pooping^fish is acknowledged by some
Unique Rep: 62
Trader Rating: 3
Default

That simply isnt possible. You dont have the C skill nor the knowledge of Linux to write/modify a kernel. You also would need a deep understanding of how computers really work.

If you have some time to go at it yourself, or need a project. Write a 512b OS. Write your kernel loader (16bit real ASM), kernel (asm/C), enter protected mode (CR register fun), and write a keyboard input driver. That would help you learn a lot more, but youre still years away from doing so.

I hope your teacher intends on holding your hand through this one, best of luck.
__________________
Quote:
"O, hai! Want som pRon? Dwnlod ths kodk frst. Its teh bst pRonz ever, we prmis." -GibbyGano
Proud Member of the Linux Gaming Community
I am your friend.

System: ragequit
CPU
Q9550 4ghz @ 1.25v
Motherboard
Asus Max 2 formula
Memory
OCZ LV blade 1:1 950mhz
Graphics Card
8800gtx 610/1ghz
Hard Drive
7200.10 250gb
Sound Card
X-FI Extreme Music
Power Supply
750w Toughpower
Case
Lian li pc-65
CPU cooling
TRUE
GPU cooling
stock
OS
leetlinucks
Monitor
24" Westy
Pooping^fish is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 02:47 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.15545 seconds with 8 queries