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 - blue_bear_94
Pages: 1 ... 22 23 [24] 25 26 ... 68
346
« on: March 05, 2013, 03:51:25 pm »
How did you compiled your program? What's the gcc command line used to compile this?
> sh3eb-elf-gcc bullets.o posnmath.o starvak2.o xpo.o -mb -m4a-nofpu -mhitachi -nostdlib -TC:/Users/Kook/Desktop/TISTUFF/PrizmSDK-0.3/common/prizm.ld -Wl,-static -Wl,-gc-sections -LC:/Users/Kook/Desktop/TISTUFF/PrizmSDK-0.3/lib -lfxcg -lgcc -o C:/Users/Kook/Desktop/TISTUFF/PrizmSDK-0.3/projects/starvak2/starvak2.bin For some reason it's ignoring the standard libs. However, I can't change this because the make.bat file calls make.exe in the /bin folder. Both malloc and free are implemented in <stdlib.h>, but try including the raw library in your build folder and using #include "stdlib.h" to see if that fixes the problem. Otherwise, you're not calling the linker properly.
Will try! Edit: tried it, and got the same error.
347
« on: March 04, 2013, 08:16:41 pm »
TIFreak already said that the screenshots are actually mockups.
348
« on: March 04, 2013, 08:15:05 pm »
As a TI-89 Basic coder myself, I cannot emphasize how unsuitable the on-calc editor is for writing TI-Basic Programs. You have the long key delay, and limited find/replace functionality, not to mention that all the Local declarations should be at the beginning, so it would be useful to have a tool that consolidates them. (And automatic indentation would be nice, too!)
349
« on: March 04, 2013, 05:37:33 pm »
When I try to use stdlib.h functions (regardless of whether I #include <stdlib.h> or not), I get linker errors like these:
bullets.o: In function '_freeList': bullets.c:(.text+0x384): undefined reference to '_free' bullets.o: In function '_createNode': bullets.c:(.text+0x39c): undefined reference to '_malloc' Same for math.h functions. I also have the fxcglib installed. Are these functions not implemented yet?
Thanks in advance!
350
« on: March 04, 2013, 04:40:49 pm »
I can try too. It sounds fun.
351
« on: March 03, 2013, 03:59:52 pm »
No, you should PM (I think) Netham45, who handles the technical stuff on Omni.
352
« on: March 03, 2013, 10:38:54 am »
Rebooting means clearing your RAM.
353
« on: March 02, 2013, 11:34:36 pm »
The Game.
ben_g: Correct!
mvr x mva x lob x die ret ...
354
« on: March 02, 2013, 11:14:03 am »
ldm x,yy ;loads map #x from memory location yy invm x ;goes to map #x engage xx ;engage in a battle with enemy data stored at xx set x,y set xx,yy ;assigns values to registers set (x),y set (xx),yy ;assigns values to memory locations die ;display a "You died" screen ret ret c ret z cp x,y cp xx,yy add ... adc ... sub ... sbc ... sl ... sr ... rl ... rr ... jump xx ;absolute jmpr x ;relative
356
« on: March 01, 2013, 08:02:14 pm »
Looks nice! How much space does the program take?
357
« on: March 01, 2013, 07:43:20 pm »
Is this on Windows or Unix? I presume Unix.
358
« on: February 28, 2013, 08:58:41 pm »
Yes, but he doesn't work on it anymore
359
« on: February 28, 2013, 08:28:29 pm »
I downloaded it near April or May. So sure, I never agreed that I wouldn't use 3.10 on the emulator.
360
« on: February 28, 2013, 04:24:40 pm »
But I'd have to call malloc for each node! Anyway, even if I #include <stdlib.h>, I can't use malloc or free, because they aren't defined...
Pages: 1 ... 22 23 [24] 25 26 ... 68
|