Author Topic: Programming C for the Prizm  (Read 5591 times)

0 Members and 1 Guest are viewing this topic.

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Programming C for the Prizm
« on: March 25, 2012, 02:17:53 pm »
Hey all, just a cross post. Ashbad (a cemetech user) and I are making a online book/tutorial for programming C for the Prizm. We hope this will further game development as well as teach those interested in coding for the Prizm. We engourage omnimaga users to comment and give suggestions.
Here is our layout so far.

Lesson Layout

Section 1: Introduction
    - Resources for learning the basics of C
    - Setting up the SDK

Section 2: Basics
    - Icon Design Guidelines
    - Hello world -- familiarizing yourself with the compiling process
    - General layout of a C program for the Prizm

Section 3: Simple libfxcg Routines
    - General library layout
    - Simple graphics
    - Timing functions
    - Memory manipulation

Section 4: User interaction/Input
    - Basic user input
    - Advanced

Section 5: File Management
    - Working with file functions
    - Main memory
    - Storage memory and the main filesystem

Section 6: Useful Routines Reference and Documentation
    - Graphical
    - Input and Interactive
    - Mathematical
    - Overwrapped OS routines

Section 7: Your First Game
    - Tying it all together
    - Useful tools and design considerations
    - Ping, Pong, code along
    - Dashing through game development

Section 8: Low Level Workings
    - The Prizm OS at a lower level
    - Interfacing with the hardware directly
    - Working in Real Time

Section 9: Intro to SuperH assembly
    - Basic overview
    - C to Assembly translation
    - Inline Assembly in GCC
    - Linking separate Assembly files





Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Programming C for the Prizm
« Reply #1 on: March 25, 2012, 02:33:27 pm »
Ashbad (a cemetech user)
Lol. No need to introduce him :P

Anyway, it is a great idea, it will be useful for people willing to develop for Prizm, so it will help the Prizm community to grow :)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Programming C for the Prizm
« Reply #2 on: March 25, 2012, 02:38:36 pm »
this will be useful indeed =D
how much is already written?

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Programming C for the Prizm
« Reply #3 on: March 25, 2012, 02:41:35 pm »
this is a great idea
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: Programming C for the Prizm
« Reply #4 on: March 25, 2012, 03:07:59 pm »
Shmibs:
I have section 2 about 85% written, and Ashbad has about 3% of section 3. We only started this Friday night.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Programming C for the Prizm
« Reply #5 on: March 25, 2012, 03:11:34 pm »
Excellent idea :)

I've been waiting for something like this for a long time.



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Programming C for the Prizm
« Reply #6 on: March 25, 2012, 03:27:04 pm »
It will be a good idea to ensure people know the differences between computer C and PRIZM C, so they don't get confused too much if they use a tutorial for computers.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Programming C for the Prizm
« Reply #7 on: March 25, 2012, 03:37:50 pm »
If I find enough time, I would be glad to translate this into French!

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: Programming C for the Prizm
« Reply #8 on: March 25, 2012, 04:24:57 pm »
Eiyeron, once we are done I might take you up on that.

Offline bynary_man

  • LV2 Member (Next: 40)
  • **
  • Posts: 24
  • Rating: +1/-0
    • View Profile
Re: Programming C for the Prizm
« Reply #9 on: March 25, 2012, 05:11:20 pm »
I'm interseting on part 9 : superH assembly !

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: Programming C for the Prizm
« Reply #10 on: March 25, 2012, 06:16:27 pm »
Ahh that will be written by Ashbad, I personally have no SuperH experience (but I will learn).

Offline totoyo

  • LV3 Member (Next: 100)
  • ***
  • Posts: 68
  • Rating: +2/-0
    • View Profile
    • Planète-Casio
Re: Programming C for the Prizm
« Reply #11 on: March 25, 2012, 06:16:31 pm »
Great idea :D !

Maybe I will decide finally to program in C on my Prizm !
Sorry for my bad english, i'm french. Thanks :-)

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: Programming C for the Prizm
« Reply #12 on: March 25, 2012, 06:21:11 pm »
Great idea :D !

Maybe I will decide finally to program in C on my Prizm !
You really should!!

Offline totoyo

  • LV3 Member (Next: 100)
  • ***
  • Posts: 68
  • Rating: +2/-0
    • View Profile
    • Planète-Casio
Re: Programming C for the Prizm
« Reply #13 on: March 26, 2012, 04:34:35 am »
Sure X) !
« Last Edit: March 26, 2012, 06:27:12 am by totoyo »
Sorry for my bad english, i'm french. Thanks :-)