Join us on Discord!
You can help CodeWalrus stay online by donating here.

Getting a Monochrome Nspire

Started by 123outerme, January 19, 2017, 11:40:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

123outerme

Quote from: Vogtinator on January 22, 2017, 12:17:33 AM
QuoteSo instead of downloading 3.6, I can download OS 3.1, replace the boot1 with ControlX (which I'm not sure but you said isn't released yet?) and have the same fix for less memory?

ControlX is an nBoot payload and thus only runs on CX HW < W.
Ah, ok (if I'm understanding you correctly, it's delivered by nBoot, so it only runs on color Nspires?). In that case, I'll probably just use OS 3.6 until I figure out if I can just use the boot1 of 3.6, and the other files of 3.1.
  • Calculators owned: TI-84+CSE, TI-nspire Clickpad, TI-84+SE

novenary

#16
Fwiw, 3.6+ features awful USB transfer speeds, so if you're developing for ndless you will want 3.1. If you stick to Lua, you can use the simulator so it's not as much of a problem.
I know the emulator has come a long way, but there are times when it does something different from the real hardware so beware.

123outerme

Quote from: Streetwalrus on January 22, 2017, 10:02:02 AM
Fwiw, 3.6+ features awful USB transfer speeds, so if you're developing for ndless you will want 3.1. If you stick to Lua, you can use the simulator so it's not as much of need  a problem.
I know the emulator has come a long way, but there are times when it does something different from the real hardware so beware.
Hmm, I'll have to give that a thought. I want to develop for ndless eventually, but until I learn C or ASM, I'm gonna be programming in Lua. Thanks for the heads up!
  • Calculators owned: TI-84+CSE, TI-nspire Clickpad, TI-84+SE

Dream of Omnimaga

Dragonsglid and Sorcery of Uvutu in Lua would be cool :3=

  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

123outerme

Quote from: DJ Omnimaga on January 22, 2017, 05:28:09 PM
Dragonsglid and Sorcery of Uvutu in Lua would be cool :3=
Yeah, I was planning on remaking Sorcery for the 84+ (since I'm gonna get the 84+ keypad with my Nspire) and the Nspire once I got acquainted with gamemaking on both systems. It would really expand the userbase then, I feel. In Lua, I could probably even add items to the battle menu like I originally planned, although I won't, to keep them just as ports.
  • Calculators owned: TI-84+CSE, TI-nspire Clickpad, TI-84+SE

123outerme

#20
Sorry for the double-post, however this is a major update (I guess) since I'd like these questions to be answered.

These are all questions about Nspire Lua, and ones that I couldn't (definitively) answer when looking around.
1.  Is there a way I can draw something to the screen again using a custom function like so:
function digits (a)
  return 1 + math.floor(math.log10(a))
end
function textDisp(string, x, y)     //-- This custom function here
  function on.paint(gc)
    gc:drawString(string, x, y)
  end
  return string
end
textDisp("hello world!", 320, 240)
textDisp(digits(100), 0, 20)

and not have it wipe the screen?

2. Also, is there a way to update the graphics context without calling on.paint?
  • Calculators owned: TI-84+CSE, TI-nspire Clickpad, TI-84+SE

Powered by EzPortal