|
flyingfisch
|
 |
« on: 31 August, 2011, 02:55:36 » |
0
|
Does anyone know of a way to compile c on a calc?
|
|
|
|
|
Logged
|
|
|
|
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
Offline
Gender: 
Last Login: Today at 18:13:08
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50196
Total Post Ratings: +2611
|
 |
« Reply #1 on: 31 August, 2011, 02:56:28 » |
0
|
Hmm good question, I do not remember seeing one, but a while ago somebody talked about a tool that let people program some sort of language on-calc. I think it was a derivative of BASIC, though.
|
|
|
|
|
Logged
|
|
|
|
|
flyingfisch
|
 |
« Reply #2 on: 31 August, 2011, 02:58:02 » |
0
|
I remember seeing that on CK.
BTW: does text in mlc work on your hacked calc?
|
|
|
|
|
Logged
|
|
|
|
z80man
Casio Traitor
LV8 Addict (Next: 1000)
      
Offline
Gender: 
Last Login: 04 September, 2012, 19:42:33
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966
Total Post Ratings: +83
|
 |
« Reply #3 on: 31 August, 2011, 03:27:00 » |
0
|
Now that there is the gcc SDK for the prizm someone should port it over to the fx-98 series first off. Then secondly the compiler can be slightly modified and recompiled for the the fx-98. i believe the only thing that needs to be done to have gcc for the fx-98 is write a new linker script and crt.s file which should be rather simple. Then for the on calc version the modifications are a little more intense. the linker script and crt.s file will stay the same but the compiler itself will require a partial STL library to be ported for file io and the console to work properly. it will also require that a new main function is created that allows the user to select the proper file and then calls the original main. I was going to attempt this on the Prizm soon but i could also make an fx-98 version too with only minor modifications
|
|
|
|
|
Logged
|
 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)
|
|
|
|
flyingfisch
|
 |
« Reply #4 on: 31 August, 2011, 03:34:41 » |
0
|
Thats cool. one prob, i cant do c (yet)
|
|
|
|
|
Logged
|
|
|
|
z80man
Casio Traitor
LV8 Addict (Next: 1000)
      
Offline
Gender: 
Last Login: 04 September, 2012, 19:42:33
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966
Total Post Ratings: +83
|
 |
« Reply #5 on: 31 August, 2011, 08:35:38 » |
0
|
no probl Thats cool. one prob, i cant do c (yet)
No problem. I'll check Simon Lothar's documentation on the fx-98 series so I can modify the proper files to work correctly. I will also rewrite mkg3a into a new mkg1a unless such an app already exists. Basically I will turn this Prizm exclusive project into a Casio calc harmony one instead 
|
|
|
|
|
Logged
|
 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)
|
|
|
Horrowind
LV2 Member (Next: 40)

Offline
Last Login: 26 April, 2013, 13:39:16
Date Registered: 12 December, 2010, 17:04:57
Posts: 26
Total Post Ratings: +6
|
 |
« Reply #6 on: 31 August, 2011, 09:34:27 » |
0
|
I will also rewrite mkg3a into a new mkg1a unless such an app already exists. Basically I will turn this Prizm exclusive project into a Casio calc harmony one instead  I think this has already been done. If you take a look here, there is a link for using gcc to compile c programs instead of casios sdk. also g1a wrapper should be the analogon to mkg3a... I should add some userbar/avatar flavor... my post always seem so short 
|
|
|
|
« Last Edit: 31 August, 2011, 09:45:31 by Horrowind »
|
Logged
|
|
|
|
|
flyingfisch
|
 |
« Reply #7 on: 03 September, 2011, 16:22:47 » |
0
|
This is cool! I would be more interested in c if I could do it on my calc since it would be portable and I just find programming on my calc more comfortable.
|
|
|
|
|
Logged
|
|
|
|
|
flyingfisch
|
 |
« Reply #8 on: 13 September, 2011, 18:49:31 » |
0
|
Hey, z80man, are you currently working on this project or are you going to. (not trying to nag you or anything LOL)
|
|
|
|
|
Logged
|
|
|
|
z80man
Casio Traitor
LV8 Addict (Next: 1000)
      
Offline
Gender: 
Last Login: 04 September, 2012, 19:42:33
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966
Total Post Ratings: +83
|
 |
« Reply #9 on: 14 September, 2011, 01:29:38 » |
0
|
I'm going to later on but right now it is a fairly low priority. There is still plenty of documentation to be done and I have a shell to write also.
|
|
|
|
|
Logged
|
 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)
|
|
|
|
flyingfisch
|
 |
« Reply #10 on: 14 September, 2011, 05:54:10 » |
0
|
OK, cool! Be sure to let me know when you start on it!
|
|
|
|
|
Logged
|
|
|
|
|