Author Topic: Compiling stuff for Prizm  (Read 69638 times)

0 Members and 1 Guest are viewing this topic.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Compiling stuff for Prizm
« Reply #30 on: April 09, 2011, 07:25:06 am »
Yes, don't use absolute addresses without an abstraction layer. Usage of absolute addresses (beyond the abstraction layer offered by "kernels") wrecked havoc on TI-68k calculators in the late 1990s, when newer OS and hardware versions were released.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: Compiling stuff for Prizm
« Reply #31 on: April 21, 2011, 04:21:07 am »
A mini-Prizm-SDK (version 1.05).

New with version 1.05: corrected the syscall name Bdisp_AllCr_VRAM() to Bdisp_AllClr_VRAM(). Support of assembler modules as additional project sources for the main program as well as for the tools library. Centralized common libraries (f. i. syscall library), hence the directory structure has been changed. Two new important syscalls: PrintMini and PrintMiniGlyph. Changed INSIGHT's moving-boxes example to a moving-balls example to demonstrate glyph-drawing. The console based version is not longer included.

EDIT:
Update http://ourl.ca/9205/204915
« Last Edit: May 03, 2011, 12:27:00 pm by SimonLothar »
I'll be back.

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: Compiling stuff for Prizm
« Reply #32 on: April 21, 2011, 08:26:03 pm »
The Casio SDK currently required to compile code for the Prizm has been made available here. Please note that you must have a Prizm Serial ID in order to download the file.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline JonimusPrime

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 389
  • Rating: +25/-5
    • View Profile
    • Jonimoose.net
Re: Compiling stuff for Prizm
« Reply #33 on: April 22, 2011, 02:19:45 am »
I have made updated and known working exe's for gcc at http://jonimoose.net/calcstuff/prizm/ and I am working on getting a setup for the syscalls working that will link with gcc. Tari on cemetech is working on getting an addin.ld and program to wrap that output in a g3a, if all goes well we should have a usable setup by tomorrow night, no more need for the Casio SDK.

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: Compiling stuff for Prizm
« Reply #34 on: May 03, 2011, 12:25:35 pm »
mini-Prizm-SDK
New with version 1.06:
Syscall Bdisp_WriteGraph accompanied by some demo in insight. Stay put until you have seen the crawling Alien!
In order to allow the usage of virtual class functions, the original setup.obj has to be used, when binding.
A bug has been fixed with the "Save as..." menu option.

Updated: http://ourl.ca/9205/218371
Attachment removed.
« Last Edit: June 11, 2011, 10:31:46 am by SimonLothar »
I'll be back.

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: Compiling stuff for Prizm
« Reply #35 on: May 03, 2011, 12:29:19 pm »
NIce, I'Ll have to check out the new demo.

I'll probably post a news article about this new version as well as the Cemetech PRIZM SDK soon. (I think their version is not dependent on the FX-9860G SDK, but I don't know about the other features, as I did not check forums much lately)

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: Compiling stuff for Prizm
« Reply #36 on: May 06, 2011, 06:42:55 pm »
The fx-9860 SDK has been taken down from my site because of the arrival of the working GCC compiler.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

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: Compiling stuff for Prizm
« Reply #37 on: May 12, 2011, 05:27:14 pm »
Do you mean the one by Tari or another one?

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: Compiling stuff for Prizm
« Reply #38 on: June 11, 2011, 02:48:44 am »
Awesome work cfxm :)

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: Compiling stuff for Prizm
« Reply #39 on: June 11, 2011, 10:30:27 am »
A mini-Prizm-SDK (version 1.07).

New with version 1.07:
Insight: FKey-icon demo (find the FKey-bitmap pointer and display).
Insight: standard-progressbar demo.
Insight: scrollbar demo.

Update:
http://ourl.ca/9205/218794
Attachment removed
« Last Edit: June 13, 2011, 12:36:16 pm by SimonLothar »
I'll be back.

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: Compiling stuff for Prizm
« Reply #40 on: June 11, 2011, 02:42:39 pm »
Cool to hear :D

That reminds me, has anyone tried 3D polygons on the Prizm yet? A demo would be nice. :)

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Compiling stuff for Prizm
« Reply #41 on: June 11, 2011, 06:41:35 pm »
Cool to hear :D

That reminds me, has anyone tried 3D polygons on the Prizm yet? A demo would be nice. :)
I could try in C, but it would take a little while for the code to get running, but if BASIC is good enough I would be more than happy to make a demo of its "speed"

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 SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: Compiling stuff for Prizm
« Reply #42 on: June 13, 2011, 12:34:53 pm »
A mini-Prizm-SDK (version 1.08).

EDIT: attachment removed. Use the new version 1.09:
http://ourl.ca/9205/224838

New with version 1.08:
Insight: direct access of the serial I/O-pins (measured a 17 kHz symmetric and sharp edged square wave with my scope, though higher frequencies are possible).
BTW: I went through a world of hurt, hunting this down!

EDIT:
The following passage of the documentation (CHM) has to be corrected. The published source is OK.
Quote
At first the outer gate has to be opened:
Set bit 3 of port 0xA4050162 to output mode, t. i. set control register 0xA4050142 accordingly.
Set bit 3 and bit 2 of port 0xA4050162. Do not ask why bit 2 has to be set, too. I do not know.

How to control the output of the serial transmit pin:
Set bit 2 of port 0xA4050130 to output mode, t. i. set control register 0xA4050110 accordingly.
Set or clear bit 2 of port 0xA4050130 to control the serial transmit pin state.

How to read the state of the serial receive pin:
Set bit 3 of port 0xA4050130 to input mode, t. i. set control register 0xA4050110 accordingly.
Read port 0xA4050130 and isolate bit 3 to obtain the serial receive pin state.
« Last Edit: July 03, 2011, 07:16:48 am by SimonLothar »
I'll be back.

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Compiling stuff for Prizm
« Reply #43 on: June 13, 2011, 02:50:36 pm »
A mini-Prizm-SDK (version 1.08).

New with version 1.08:
Insight: direct access of the serial I/O-pins (measured a 17 kHz symmetric and sharp edged square wave with my scope, though higher frequencies are possible).
BTW: I went through a world of hurt, hunting this down!
Nice what is the address for direct line access. I had tried port Q earlier, but wasn't getting any feedback. I will though be testing the SIOF later because that can play .wav files.

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: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Compiling stuff for Prizm
« Reply #44 on: June 13, 2011, 03:05:10 pm »
Does it means we can now have music on-calc? O.O