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 - fb39ca4

Pages: 1 ... 10 11 [12] 13 14 ... 126
166
You will find that BASIC, C and Lua, being high level languages, are very similar in terms of functionality, though there are some differences in the data types and built in functions available. TI-BASIC has all the built in math functions and high precision floating point values used in the calculator app, Lua has its drawing routines, and C is more barebones. BASIC and Lua are interpreted languages, which means the calculator goes through the code you typed out and follows it accordingly, using another program, the interpreter, to do so. This is inefficient, but for many purposes acceptable. C is a high level language like the previous two, but it is compiled into assembly language, which runs directly on the processor, making it very fast. You can also code in assembly, where you are writing out the actual instructions the processor runs. You don't get nice things like if-else statements, loops, array indexing, etc., instead having to recreate these features using the various CPU instructions available to you. Properly written, it is even faster than C, but it takes more skill to do so.

167
ASM / Re: Having trouble compiling and running flash apps
« on: December 12, 2013, 02:46:57 pm »
Bump. Wabbitcode is refusing to compile again. There has to be a better way than this. What does everyone else use for developing flash apps?

168
Miscellaneous / Re: Post your desktop
« on: December 11, 2013, 07:34:49 pm »

169
Miscellaneous / Re: Post your desktop
« on: December 11, 2013, 06:15:19 pm »
I just installed W8.1 yesterday, so my desktop is no longer an embarassment to me.

170
ASM / Having trouble compiling and running flash apps
« on: December 11, 2013, 06:09:20 pm »
So I'm trying to write a flash app, which for now displays a picture on the screen. Here is my code:

Code: [Select]
#include "ti83plus.inc"
#include "app.inc"

.org $4000

defpage(0, "TESTAPP")  
  b_call  _ClrLCDFull
  ld hl, Full_Sized_Picture_Example
  ld de, plotsscreen
  ld bc, 768
  ldir
  b_call _grBufCpy
  b_call _getKey
  bjump(_JForceCmdNoChar)

Full_Sized_Picture_Example:  
.db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%01111111,%11111111,%11111111,%11111111,%11111111,%11111111
.db %11111111,%11111111,%11111111,%11111111,%11111000,%00000000,%00000000,%00001111,%11111111,%11111111,%11111111,%11111111
.db %11111111,%11111111,%11111111,%11111111,%00000000,%00000000,%00000000,%00000000,%01111111,%11111111,%11111111,%11111111
.db %11111111,%11111111,%11111111,%11110000,%00000000,%00000000,%00000000,%00000000,%00000111,%11111111,%11111111,%11111111
.db %11111111,%11111111,%11111111,%10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%11111111,%11111111,%11111111
.db %11111111,%11111111,%11111110,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00111111,%11111111,%11111111
.db %11111111,%11111111,%11110000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000111,%11111111,%11111111
.db %11111111,%11111111,%11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000011,%11111111,%11111111
.db %11111111,%11111111,%10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%11111111,%11111111
.db %11111111,%11111110,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00111111,%11111111
.db %11111111,%11111100,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00011111,%11111111
.db %11111111,%11110000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000111,%11111111
.db %11111111,%11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000011,%11111111
.db %11111111,%11000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000001,%11111111
.db %11111111,%10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%11111111
.db %11111111,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%01111111
.db %11111110,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00111111
.db %11111100,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00011111
.db %11111000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00001111
.db %11111000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00001111
.db %11110000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000111
.db %11110000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000111
.db %11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000011
.db %11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000011
.db %11000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000001
.db %11000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000001
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
.db %11000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000001
.db %11000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000001
.db %11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000011
.db %11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000011
.db %11110000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000111
.db %11110000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000111
.db %11111000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00001111
.db %11111000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00001111
.db %11111100,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00011111
.db %11111110,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00111111
.db %11111111,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%01111111
.db %11111111,%10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%11111111
.db %11111111,%11000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000001,%11111111
.db %11111111,%11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000011,%11111111
.db %11111111,%11110000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000111,%11111111
.db %11111111,%11111100,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00011111,%11111111
.db %11111111,%11111110,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00111111,%11111111
.db %11111111,%11111111,%10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%11111111,%11111111
.db %11111111,%11111111,%11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000011,%11111111,%11111111
.db %11111111,%11111111,%11110000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000111,%11111111,%11111111
.db %11111111,%11111111,%11111110,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00111111,%11111111,%11111111
.db %11111111,%11111111,%11111111,%10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%11111111,%11111111,%11111111
.db %11111111,%11111111,%11111111,%11110000,%00000000,%00000000,%00000000,%00000000,%00000111,%11111111,%11111111,%11111111
.db %11111111,%11111111,%11111111,%11111111,%00000000,%00000000,%00000000,%00000000,%01111111,%11111111,%11111111,%11111111
.db %11111111,%11111111,%11111111,%11111111,%11111000,%00000000,%00000000,%00001111,%11111111,%11111111,%11111111,%11111111

validate()

Spasm compiles it and produces an .8xk file without complaint. If I load this into WabbitEmu, it tells me the file format is invalid. I'm guessing it's because I have to sign the app, so I tried running rabbitsign app.8xk, but it is telling me this:
Code: [Select]
main.8xk: warning: application length incorrect
main.8xk: warning: (perhaps you meant to use -r?)
main.app: Invalid argument

Can someone help me out?

Also, I tried using Wabbitcode previously, but it seems broken. I'm getting errors when I start Wabbitcode, when I load a file, and then when compiling, all the instructions are not recognized.

EDIT: Just tried Wabbitcode again, and it magically worked.

171
News / Re: TI bans community calculator emulation
« on: February 26, 2013, 06:00:56 pm »
One thing I am thinking about is that since education is their main focus, the fact that many teachers here use WabbitEmu (often from student influences) instead of the official emulator might hurt TI's sales. Maybe if TI offered deals to schools to buy calcs/softwares in bulk for cheaper, they might decide to not renew those agreements or deals if the school starts using third-party emulators with pirated ROMs.
It isn't pirated if the school dumps it from their own calculator, and it isn't against the license terms if they acquired it before the change went into effect.

172
TI-Nspire / Re: TI-Nspire emulator
« on: February 24, 2013, 09:19:13 pm »
oh and it just changes from permission denied to boot1.img/M/PB=boot2.img/PO=310.tno: No such files or directory
and I did change the names of the files so they would match yours so the codes would match and be easier to fix if any problems were to occur
or if i Input  boot1.img /M /PB=boot2.img /PO=310.tno it says that boot2.img no such files or directory

Is windows set to show file extensions?

173
News / Re: jsTIfied and iOS6
« on: February 13, 2013, 10:59:11 pm »
You can actually upload files on iOS? Whenever I want to, the button is grayed out.

175
Gaming Discussion / Re: Your best video game pickups.
« on: February 11, 2013, 08:33:03 pm »
They live in Tanzania. My uncle (whom it used to belong to) went to university in England, so he might have gotten it there.

176
Gaming Discussion / Re: Your best video game pickups.
« on: February 11, 2013, 01:42:45 pm »
Oh, and I also found a ZX Spectrum at my grandparent's house. Still need to find a 120v AC adapter for it, though.

177
TI-Nspire / Re: Calculator Emulator
« on: February 10, 2013, 11:59:29 pm »
It is definitely possible, you should be able to write your own or port an existing emulator.

178
Gaming Discussion / Re: Your best video game pickups.
« on: February 10, 2013, 11:58:04 pm »
Then my parents took away and subsequently lost the game

That sucks D: (in both senses :trollface:), I would hate if that happened to me considering how rare and hard to find those games get after a while. Nice that you found it for $6 in the first place, though.
Wow, I didn't even realize that.

179
Axe / Re: What I've done?! O.o
« on: February 10, 2013, 11:56:38 pm »
What is raycasting?
It means projecting a ray into an environment to render it. In this case, rays are cast into a 2D grid of tiles, one for ever column of the screen, and the distance the rays travel is used to calculate the vertical height of the wall rendered.

180
Other / Re: Did you decorate your computer
« on: February 10, 2013, 09:03:03 pm »
I have some blue LED fans, they make your computer run faster ;)

Pages: 1 ... 10 11 [12] 13 14 ... 126