Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lkj

Pages: 1 ... 5 6 [7] 8 9 ... 33
91
Calculator C / Re: [Ndless] Tunnel
« on: August 27, 2013, 07:45:06 pm »
It only displays a white screen on the CX...

92
For the blue part you would do: color MOD 2^5
For the green part IP(color / 2^5) MOD 2^5
And for the red part IP(color / 2^10) MOD 2^5
For the alpha: IP(color / 2^15)

Edit: IP is the integer part function on the prime

93
TI-Nspire / Re: nLaunch: Now for CX!
« on: August 27, 2013, 02:23:33 pm »
TiLP isn't really necessary, you can just use TI Nspire Computer Link. Just make sure you never click OK when it asks you if you want to upgrade.

94
Calculator C / Re: [Ndless] Tunnel
« on: August 27, 2013, 02:16:50 pm »
*BUMP*
It definitely hasn't been 24 hours, but I felt I should update.

There are two files attached to this post. One in CX, and one is non-CX(though the gray should work just fine on CX). I'd like for tests and screenshots please(I hope it works). Also, if you test it, can you tell me how fast the CX one goes(if it works)?
This one finally works (the one a post before this one didn't, though) :)
It looks like the last color screenshot I posted, just with a white background. I don't know how fast it is on real hardware, though.

95
TI-Nspire / Re: nLaunch: Now for CX!
« on: August 26, 2013, 10:54:37 pm »
Use tnoc on the cas os.
Create a folder called nlaunch and send the cas os after using tnoc to it.

I have to go now, too, though.

96
TI-Nspire / Re: nLaunch: Now for CX!
« on: August 26, 2013, 10:31:31 pm »
That was the next step

97
Calculator C / Re: [Ndless] Tunnel
« on: August 26, 2013, 10:23:25 pm »
Ah, if you use nspire-ld-bflt you have to remove the lines about the objcopy, it isn't needed anymore. That's why it gave you an error.
Apart from that, there's nothing wrong with it.

Edit: This is the makefile the Ndless Editor automatically produces:
Spoiler For Makefile:
DEBUG = FALSE
GCC = nspire-gcc
AS = nspire-as
GXX=nspire-g++
LD = nspire-ld-bflt
GCCFLAGS = -Wall -W -marm
LDFLAGS =
ifeq ($(DEBUG),FALSE)
   GCCFLAGS += -Os
else
   GCCFLAGS += -O0 -g
   LDFLAGS += --debug
endif
CPPOBJS = $(patsubst %.cpp,%.o,$(wildcard *.cpp))
OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) $(patsubst %.S,%.o,$(wildcard *.S)) $(CPPOBJS)
ifneq ($(strip $(CPPOBJS)),)
   LDFLAGS += --cpp
endif
EXE = Tunnel.tns
DISTDIR = .
vpath %.tns $(DISTDIR)

all: $(EXE)

%.o: %.c
   $(GCC) $(GCCFLAGS) -c $<

%.o: %.cpp
   $(GXX) $(GCCFLAGS) -c $<

%.o: %.S
   $(AS) -c $<

$(EXE): $(OBJS)
   mkdir -p $(DISTDIR)
   $(LD) $^ -o $(DISTDIR)/$@ $(LDFLAGS)
ifeq ($(DEBUG),FALSE)
   @rm -f $(DISTDIR)/*.gdb
endif

clean:
   rm -f *.o *.elf $(DISTDIR)/*.gdb $(DISTDIR)/$(EXE)
Maybe try it with this one if it still doesn't work.

98
Calculator C / Re: [Ndless] Tunnel
« on: August 26, 2013, 09:46:04 pm »
Either one of the functions you didn't post is the problem, or something with your SDK or makefile is wrong. It works without a problem after I built it. I'm pretty sure it's a problem with your makefile or Ndless, since my (working) build is 13kb whereas your broken build is almost 700kb big.
Maybe all you have to do is replace "nspire-ld" by "nspire-ld-bflt" in the makefile. If it still doesn't work, could you post the makefile?

99
Calculator C / Re: [Ndless] Tunnel
« on: August 26, 2013, 08:46:47 pm »
You normally don't need lcd_incolor() if you don't have a lcd_ingray() earlier in your program.
It still doesn't work, it only shows a black screen. Or do I need something else than texture.bmp.tns and Tunnel.tns in the same directory?
Could you post the code?

100
TI-Nspire / Re: nTxt - Nspire Text Editor
« on: August 19, 2013, 02:03:15 pm »
No new features this time, but I fixed some annoying "jumps" of the displayed part of the text and made other small improvements.

101
General Calculator Help / Re: Semi-broken Nspire Touchpad calculator
« on: August 15, 2013, 06:22:20 pm »
Right now the noise is hardly noticeable, I can only tell it's coming from the mainboard and not the screenboard. If it gets louder again I may know more precisely.

102
General Calculator Help / Re: Semi-broken Nspire Touchpad calculator
« on: August 15, 2013, 01:33:47 pm »
I've already done that, but nothing looked much different than in a working Nspire Touchpad.
On an unrelated note, it seems to be an older hardware revision than the one that still works, even though they were bought together.

That sound make me think of something like a shortcircuit, I have no idea what could be wrong though. I hope it can be fixed :(
It made me more of think of the sound an NXT makes when it's in firmware update mode. More the sound of a buzzer than something produced by accident.

103
General Calculator Help / Semi-broken Nspire Touchpad calculator
« on: August 15, 2013, 10:44:18 am »
I have a TI Nspire CAS Touchpad calculator which sometimes works normally but sometimes seems like it's dead (doesn't do anything when ON is pressed). Sometimes the calculator also makes strange noises instead of starting up when I switch it on, but after removing a battery it works normally again.
The keypad and the battery aren't the problem, I already changed them.

Attached is a recording of the noise it sometimes makes.

Does anyone have an idea if I can somehow fix it, or what is broken?

104
ASM / Re: [ARM] Problem with branches
« on: August 12, 2013, 03:35:17 pm »
Just the code you posted works. But if you call any function in stuff, r1 (where you stored the keypad address) may change and you read from a wrong address. This happens because r0 to r3 aren't preserved when a function is called, only r4 to r11.
So if you move line 6 of your code after the "keycheck" label everything should work (or if you save the address to r4 instead of r1).

105
TI-Nspire / Re: nTxt - Nspire Text Editor
« on: August 07, 2013, 10:00:51 am »
Yeah, it's not Lua and doesn't support external keyboards (at the moment).
I think ExtendeD was planing on making it easier to add keyboard support to Ndless programs, but I don't know if/when that will happen.

Pages: 1 ... 5 6 [7] 8 9 ... 33