Calculator Community > Calculator C

Nspire C text output/input

(1/2) > >>

bwang:
Is there any way to output/input text on the Nspire when programming in C?

miotatsu:
I have not tried to do any programming for the nspire yet, but i would bet on it, check out the documentation that came with ndless/ your compiler/ any libraries for the nspire and see what is and is not included, also see what is supported library wise - that would be the number one thing to worry about, because you will need to know what you have to work with. when you know that just check the documentation for the libraries to see what is and is not included in them, as well as the syntax as how to use them. I hope this helps :)

fb39ca4:
I wonder how calc84maniac did the menu in gbc4nspire? Did he do the text himself, or is it some sort of os call?

apcalc:

--- Quote from: fb39ca4 on July 07, 2010, 02:59:36 pm ---I wonder how calc84maniac did the menu in gbc4nspire? Did he do the text himself, or is it some sort of os call?

--- End quote ---

I don't think calc84maniac wrote his emulators in C.  I think they are in ARM9 Assembly.  When you look in the header file os.h there is a definition for a function named "printf".  I wonder if this could be used for text, or maybe it just has not been written yet, just defined there?

calc84maniac:

--- Quote from: apcalc on July 07, 2010, 04:31:28 pm ---
--- Quote from: fb39ca4 on July 07, 2010, 02:59:36 pm ---I wonder how calc84maniac did the menu in gbc4nspire? Did he do the text himself, or is it some sort of os call?

--- End quote ---

I don't think calc84maniac wrote his emulators in C.  I think they are in ARM9 Assembly.  When you look in the header file os.h there is a definition for a function named "printf".  I wonder if this could be used for text, or maybe it just has not been written yet, just defined there?

--- End quote ---
I grabbed a bunch of font bitmap data and wrote my own display routine. It's very console-like.

And the "printf" function is in the OS, but it prints through the RS232 cable, not anywhere on the screen.

Navigation

[0] Message Index

[#] Next page

Go to full version