|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
CS 352 - Unix Software Development
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||
|
New to Overclock.net
![]() |
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 --
Last edited by deafboy : 10-17-09 at 01:27 AM Reason: Quarter Started |
||||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
With great difficulty
![]() |
The language itself or OS-level programming? If you want a C book, K&R is the Bible
__________________
|
|||||||||||||
|
|
|
|
#3 (permalink) | ||||||||||||
|
New to Overclock.net
![]() |
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.
|
||||||||||||
|
|
|
|
|
#4 (permalink) | |||||||||||||
|
New to Overclock.net
|
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.
__________________
|
|||||||||||||
|
|
|
|
|
#5 (permalink) | ||||||||||||||
|
PC Gamer
![]() |
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?
__________________
Quote:
|
||||||||||||||
|
|
|
|
|
#6 (permalink) | ||||||||||||
|
New to Overclock.net
![]() |
^
__________________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
|
||||||||||||
|
|
|
|
|
#7 (permalink) | |||||||||||
|
4.0ghz
![]() |
Please let us know how it goes. Zero-C to Kernel in X days.... ouch.
__________________
_₌=The Q9550 Club=₌_
1.16VID Q9550 @ 4.0Ghz (and counting) - 8k ppd GPU - GPUz-Validation Overclock.net Headphone Club: Because perfect hair is overrated. EP45-UD3P/R M.I.T. Template Team Fortress 2 Club
|
|||||||||||
|
|
|
|
#8 (permalink) | ||||||||||||
|
New to Overclock.net
![]() |
Haha, yeah... It wont be the easiest thing. I'll try and keep this thread updated once the quarter starts.
__________________
|
||||||||||||
|
|
|
|
|
#9 (permalink) | |||||||||||||
|
NEEDZ MOAR PPD
![]() |
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.
|
|||||||||||||
|
|
|
|
#10 (permalink) | ||||||||||||||
|
Security Sleuth
![]() |
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:
Proud Member of the Linux Gaming CommunityI am your friend.
|
||||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|