Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Complete Novice
« previous next »
  • Print
Pages: [1]

Author Topic: Complete Novice  (Read 2473 times)

Offline kickflare

  • Member
  • *
  • Posts: 1
Complete Novice
« on: April 14, 2008, 02:34:37 PM »
Hey,

I'm completely new to programmer coding and i was wondering if anyone wants to teach me? I'm a very quicker learner and i woul love to help out ^^

Also does anyone have the media software for elio photo jukebox or a patch for it so i can get my new mp3 player working?
Logged

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Complete Novice
« Reply #1 on: April 14, 2008, 05:51:22 PM »
Rockbox is written mainly in c, there are lots of good tutorials on the net and there are many good books. I suggest you start reading because I don't think anyone here want's to be your private tutor  ;)
Logged

Offline lee321987

  • Member
  • *
  • Posts: 76
Re: Complete Novice
« Reply #2 on: April 15, 2008, 10:17:20 PM »
   I'm about to start teaching myself C.  You said Rockbox is written "mainly" in C.  What other languages will I need to learn? 
   I've got Microsoft Visual Studio, but as far as C goes it only seems to support Visual C# and Visual C++, so am I right that it will be no help?  It'd be nice to stick with one IDE.  But if not could someone suggest a good one?  (I have Cygwin now because of Rockbox)


   Thanks,

Will
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

zajacattack

  • Guest
Re: Complete Novice
« Reply #3 on: April 15, 2008, 10:25:04 PM »
You can use a C++ compiler to compile C if you really want to, but Microsolf Visual C++ will not work.
You also have to set up a Linux or cygwin development environment, which it appears you have done.
Read:
http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling
« Last Edit: April 15, 2008, 11:01:26 PM by zajacattack »
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Complete Novice
« Reply #4 on: April 15, 2008, 10:44:18 PM »
Rockbox also uses some assembly code in various parts to improve performance where possible, though I doubt you'd need to concern yourself with that too much...
Logged
Welp, my iriver H10 20GB is out of commission again.

zajacattack

  • Guest
Re: Complete Novice
« Reply #5 on: April 15, 2008, 11:16:12 PM »
If this is hijacking a thread, tell me, but wouldn't that logic lead to coding all of rockbox in assembly?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Complete Novice
« Reply #6 on: April 15, 2008, 11:23:15 PM »
Quote from: zajacattack on April 15, 2008, 11:16:12 PM
If this is hijacking a thread, tell me, but wouldn't that logic lead to coding all of rockbox in assembly?

No, because most code doesn't not actually impact performance:

http://en.wikipedia.org/wiki/Ahmdal%27s_Law#Speedup_in_a_sequential_program

Generally assembly is reserved for code that is performance critical enough to motivate its use.
Logged

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Complete Novice
« Reply #7 on: April 16, 2008, 08:13:57 AM »
To start hacking rockbox, the following secion in the wiki is pretty helpful
http://www.rockbox.org/twiki/bin/view/Main/DocsIndex#For_Developers
it covers setting up your choice of development environment, svn etc.

@zajacattack
Assembler code is (as saratoga) said used in performance critical parts and parts that cannot be done in c (like some hardware setup). Assembler code is not portable between cpu architectures and is much harder to read/maintain for most people so it is only used where necessary.
« Last Edit: April 16, 2008, 08:17:21 AM by nls »
Logged

Offline Smallz

  • Member
  • *
  • Posts: 17
Re: Complete Novice
« Reply #8 on: April 16, 2008, 05:30:06 PM »
I am also very interested in learning c. Is there a specific book or website that anyone can recommend to me?
Logged

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Complete Novice
« Reply #9 on: April 16, 2008, 05:51:48 PM »
IMHO the best way to learn is to start out with some short tutorials on the basics (most tutorials are pretty much the same) and then starting to read through real code looking up things as you go and changing stuff to see what happens.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Complete Novice
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.102 seconds with 15 queries.