Author Topic: PrizmIO  (Read 30706 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: PrizmIO
« Reply #30 on: August 24, 2012, 05:53:37 pm »
Also, support of VT100 will also be useful for easy cursor movement commands so it'll be easier to port a rogue game.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: PrizmIO
« Reply #31 on: August 27, 2012, 05:46:24 am »
Those squares are made with spaces with a background color. Of course, those colors are also available as text colors.

Next, VT100 escape codes.
Hi, I released new version of fxTerm - VT100 terminal emulator for Casio fx cg with source code. Download on my page (http://martin.poupe.org/casio/)
Reuse what you want for your PrizmIO :-)

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: PrizmIO
« Reply #32 on: August 27, 2012, 08:05:55 am »
Hey thanks, it'll be pretty helpful.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: PrizmIO
« Reply #33 on: October 03, 2012, 01:01:40 pm »
UPDATE

New commit: updated from upstream. So cursors, stdio replacement and stuff like that.


EDIT: Yes there's errors, didn't tested yet.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: PrizmIO
« Reply #34 on: October 09, 2012, 10:34:14 pm »
UPDATE

PrizmIO is now officially deprecated, merged and superseded by Nspire I/O. New versions will now be found on nspforge. Also rewrote the keyboard routines, might not work correctly yet.
« Last Edit: October 09, 2012, 10:37:56 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

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: Re: PrizmIO
« Reply #35 on: October 11, 2012, 07:02:06 pm »
At first I was scared you were dropping this project lol, glad that isn't the case and that it's continuing forward with NspireIO.

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: PrizmIO
« Reply #36 on: December 31, 2012, 05:14:35 pm »
I'm having trouble with this. Whenever I try to compile, it says, "unknown type name 'BOOL'"
I like milk.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: PrizmIO
« Reply #37 on: January 01, 2013, 02:43:09 am »
Are you using the latest version of nspireio ?
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: PrizmIO
« Reply #38 on: January 01, 2013, 12:43:46 pm »
Booleans never worked for me, with or without nspireio

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: PrizmIO
« Reply #39 on: January 01, 2013, 05:19:28 pm »
Are you using the latest version of nspireio ?

Yes
I like milk.

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: PrizmIO
« Reply #40 on: January 01, 2013, 05:27:58 pm »
Could you post the complete build log?

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: PrizmIO
« Reply #41 on: January 01, 2013, 05:36:31 pm »
Here:

Code: [Select]
../..//bin/sh3eb-elf-gcc.exe -c -m3 -mb -O3 -mhitachi -Wall -nostdlib  -I../..//
include -lfxcg -lnspireio -lgcc -L../..//lib -std=c99 main.c -o main.o
In file included from ../..//include/nspireio.h:34:0,
                 from main.c:4:
../..//include/nspireio-platform.h:63:1: error: unknown type name 'BOOL'
In file included from main.c:4:0:
../..//include/nspireio.h:71:2: error: unknown type name 'BOOL'
../..//include/nspireio.h:72:2: error: unknown type name 'BOOL'
../..//include/nspireio.h:76:2: error: unknown type name 'BOOL'
../..//include/nspireio.h:77:2: error: unknown type name 'BOOL'
In file included from main.c:4:0:
../..//include/nspireio.h:233:1: error: unknown type name 'BOOL'
../..//include/nspireio.h:245:1: error: unknown type name 'BOOL'
../..//include/nspireio.h:352:1: error: unknown type name 'BOOL'
../..//include/nspireio.h:404:40: error: unknown type name 'BOOL'
../..//include/nspireio.h:410:49: error: unknown type name 'BOOL'
../..//include/nspireio.h:378:17: warning: inline function 'nio_time_get' declar
ed but never defined [enabled by default]
../..//include/nspireio.h:378:17: warning: inline function 'nio_time_get' declar
ed but never defined [enabled by default]
make: *** [main.o] Error 1
I like milk.

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: PrizmIO
« Reply #42 on: January 01, 2013, 05:55:55 pm »
It looks like something in your Makefile is wrong. Try adding -DPRIZM to the gcc flags or have a look at one of the demo Makefiles.
If that doesn't solve the problem you'll have to ask Juju, he maintains the Prizm stuff ;)

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: PrizmIO
« Reply #43 on: January 01, 2013, 08:18:02 pm »
By the way, if that is what LuaZM 0.1 or so used, you should fix ALPHA/2nd so it operates like the calc by default, because I never got able to switch back to uppercase once <.<

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: PrizmIO
« Reply #44 on: January 02, 2013, 02:24:02 pm »
Hmmm... Probably some file that wasn't defined correctly.

You have to add -DPRIZM somewhere in the CFLAGS or in the gcc command line of your makefile so it knows it have to include the Prizm-specific stuff, which includes a definition of BOOL.
« Last Edit: January 02, 2013, 02:24:22 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.