Author Topic: GCC help  (Read 5078 times)

0 Members and 2 Guests are viewing this topic.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
GCC help
« on: April 29, 2011, 07:40:06 pm »
As some of you know, GCC for Prizm has been delayed a few days because of a bug in the assembly of some RAM initialization code. For some reason, the file crt0.s (the source) is generating interrupt errors when compiled with GCC, but not when compiled with the fx-9860 SDK and Hitachi's compiler. We've been looking at it for some time and it's not immediately apparent what the difference is. Any help would be appreciated.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: GCC help
« Reply #1 on: May 02, 2011, 07:32:01 pm »
So this is the same source, but one assembled with the Renesas compiler and one with GCC. And it is only the Renesas version that works now. So could I see a pre-assembled copy of that code from each compiler, that way I can view the hex to see how it is different.

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: GCC help
« Reply #2 on: May 02, 2011, 07:44:51 pm »
crt0.s is the source. default(5).g3a contains the binaries from GCC in standard .g3a format. DEAULT.g3a contains the binaries from the Hitachi/Renesas compiler.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: GCC help
« Reply #3 on: May 12, 2011, 05:14:15 pm »
Is GCC the Cemetech Prizm SDK?

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: GCC help
« Reply #4 on: May 13, 2011, 01:28:19 am »
Is GCC the Cemetech Prizm SDK?
GCC is the compiler of the newest Prizm SDK. GCC isn't the compiler if you use Simon's Mini-SDK, though.

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: GCC help
« Reply #5 on: May 13, 2011, 02:08:10 am »
Simon's Mini-SDK uses the Renesas compiler which is less optimized than the gcc compiler. The Casio SDK is also more difficult to use and requires that you already own a fx9860g unless you got the SDK already from fishbot. ;)

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: GCC help
« Reply #6 on: May 23, 2011, 12:11:33 am »
Ah ok thanks for the info, and yeah it can be an hassle. I got a 9860G but I still had to sign up an account on Casio site...