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 - Jim Bauwens

Pages: 1 ... 11 12 [13] 14 15 ... 125
181
For those of you who are on OS X and are having trouble building Luna, I found out why it won't build. In the Luna's readme, it states you need gcc >=4.5, but apple's gcc is gcc 4.2. Using MacPorts (or Homebrew, Fink), install gcc 4.7 (run "sudo port install gcc47"). Then open up Luna's Makefile with a text editor and change any instances of "gcc" to "/opt/local/bin/gcc-mp-4.7". Cd to the Luna directory in Terminal, and do make "dist luna", and it builds!

Code: [Select]
CC:=/opt/local/bin/gcc-mp-4.7
CFLAGS:=-W -Wall -m32
LDFLAGS:= -lssl -lz -m32
VPATH := minizip-1.1

OS ?= `uname -s`
ifeq ($(OS),Windows_NT)
  EXEEXT = .exe
else
CFLAGS := $(CFLAGS) -DUSE_FILE32API
LDFLAGS:= $(LDFLAGS) -lcrypto
endif

all: luna$(EXEEXT)

luna$(EXEEXT): luna.o zip.o ioapi.o
/opt/local/bin/gcc-mp-4.7 -o $@ $^ $(LDFLAGS)

dist: clean all
mkdir -p dist/src
rm -f *.o
find . -maxdepth 1 ! -name 'luna$(EXEEXT)' -a ! -name dist -a ! -name . -exec cp -r {} dist/src \;
cp luna$(EXEEXT) *.dll *.txt dist

clean:
rm -rf *.o luna$(EXEEXT) dist

Also, link for those who don't want to build themselves:
https://dl.dropbox.com/u/4657389/luna-v3.0a-osx-intel.zip

Thanks for sharing, I'm sure this will help several members :)

182
Other Calculators / Re: Black edition of NSpire CM-C CAS
« on: January 20, 2013, 05:18:34 am »
Where did you see that it has less memory? On the page it says 128MB flash and 32MB RAM (is that less than a CX?).

The CX has 64MiB of RAM.

183
General Calculator Help / Re: Hacking the TI Nspire CX Native OS?
« on: January 18, 2013, 03:56:08 am »
The best way is to hot patch the OS, add hooks and stuff such as Adriweb mentioned. This is probably more easy too.

184
Computer Projects and Ideas / Re: 1TB USB Stick
« on: January 11, 2013, 12:17:22 pm »
My dad just bought me a 128GiB usb stick for my birthday :)
It was 99 euro, so kinda cheap in comparison ^.^


185
TI-Nspire / Re: subnett and/or networking calc for nspire
« on: January 05, 2013, 06:03:31 pm »
Hi bearscup, there isn't such a calculator at the moment. However it shouldn't be too hard to make one^^
Maybe when I got a spare moment I'll make one.

I just finished my C.C.N.A. a couple of weeks ago, hope yours goes well too :)

186
Lua / Re: Question on TI-Lua programming
« on: December 31, 2012, 07:10:27 am »
Yes, indeed.

When just loading the script, the height and width of it are still 0, because the window is still loading. On your computer the window is already loaded.
The best is to use on.resize to set your width and height, as it will get called as soon as the window has a proper size.

Also, don't use image.copy in on.paint. The window doesn't resize every time you redraw it ^^
Rather do something like this:
Code: [Select]
str = "4\002\000\000t\001\000\000\000\000\000\000h\004\000\000\016\000\001\000\254\251\\159\239\159\239\159\ ... "

function on.construction()
    monImage = image.new(str)
end

function on.resize(width, height)
    h = heighy
    w = width
    px = w/2
    py = h/2
    wim = w/2
    him = h/2
    monImage = image.copy(monImage, wim, him)
end


function on.arrowKey(key)
    if key == "up" then
        wim = 1.1*wim
        him = 1.1*him
    elseif key == "down" then
        wim = 0.9*wim
        him = 0.9*him
    end

    platform.window:invalidate()
end

function on.paint(gc)
    gc:drawImage(monImage, px - wim/2, py - him/2)
end

187
Lua / Re: Question on TI-Lua programming
« on: December 31, 2012, 06:58:49 am »
Well, it's not a beginners mistake, don't worry ;)

I'm not yet going to explain what is happening, but could you add
Code: [Select]
function on.resize(ww, hh)
 w, h = ww, hh
end

See if that helps :)
I'll explain later ^^

188
Lua / Re: [Lua] math.atan2() problem
« on: December 29, 2012, 07:22:04 am »
Could you test if the parameters you give to atan2 are the same?
Maybe some other issue causes certain variables to be different. (such as putting calculation code in your paint function).
Also, can you test just a single atan2 statement, no other code? That way we can see if that function really is the issue.

189
TI-Nspire / Re: Interpretor of BrainFuck
« on: December 28, 2012, 06:15:01 pm »
Don't forget that Homer made a BF interpreter in Lua ^^

Anyways, looks fun :)

190
Other Calculators / Re: Can someone tell me what this is?
« on: December 20, 2012, 03:15:58 pm »
It's the content of the filesystem, used by the OS (Nucleus).
It included many things such as language files.

191
TI-Nspire / Re: [Lua] Unnamed danmaku
« on: December 19, 2012, 03:57:14 pm »
Looks fun :)
Tried it in PCspire and it seems to work :D

192
TI-Nspire / Re: Breakout board for the TI nSpire
« on: December 14, 2012, 02:38:51 pm »
Hello,

I'm currently developing a cheap breakout board for the TI nSpire series. I am developping this because I don't like to solder directly to my nSpire. This breakout board will be converting the dock connector to a connector with 0.1 inch pitch (normal header size). All 26 pins will be connected to a main connector, with two seperate pin headers for easy connecting of the UART, 3.3V and ground.

I'm letting you know this because if I get the breakout board prototypes, I get 10 pieces. Is anyone intersted in buying such a breakout connector? The price will be around €7 or €8 + shipping. I'm not at home ATM, so I will be posting some pics of the digital PCB render tomorrow.

DebboR

Hi DebboR,
I'm interested in getting one :)
Something like this is very handy when debugging.
Looking forward to the renders!

193
TI-Nspire / Re: [Lua] CHIP-8 emulator
« on: December 12, 2012, 03:11:14 pm »
If it was on the computer, then  how did an emulator of a '80s device  manage to be slower on a GHz processor speed machine? O.O
Well, it was made in Javascript. But still, it could have been faster.
Or I'm just emulating too fast...

194
TI-Nspire / Re: [Lua] CHIP-8 emulator
« on: December 12, 2012, 02:16:11 pm »
Well, there isn't a 'real' thing, but the only other CHIP-8 emulator I tested was slower :P
But maybe I just didn't test a good one ^.^

195
TI-Nspire / Re: [Lua] CHIP-8 emulator
« on: December 10, 2012, 01:11:33 am »
Yes, the emulator is fully in Lua ^^

Will see to make a decent release soon.

Pages: 1 ... 11 12 [13] 14 15 ... 125