151
News / Re: Omnimaga Contest 2011 Part 1 results
« on: August 01, 2011, 12:30:28 am »
Congratulations, leafiness!
Post so I can give you a thumbs up!
Ninja'd
Ninja'd
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. 151
News / Re: Omnimaga Contest 2011 Part 1 results« on: August 01, 2011, 12:30:28 am »
Congratulations, leafiness!
Ninja'd 152
TI Z80 / Re: Croquette IDE« on: July 30, 2011, 03:44:08 pm »Linux AND Mac OS X can be bundled into a single executable (surprisingly)! Ooh, I see, that explains things. I used pyinstaller to build the exes, but I only own a Windows computer... To clarify, exes made on Linux are also compatible with Macs? 153
TI Z80 / Re: Croquette IDE« on: July 29, 2011, 01:25:56 am »Wow, that was pretty fast. btw, I might make few minor changes to the GUI from time to time (feel free to do the same to my code) Also, how far are we planning to take this? 154
TI Z80 / Re: Croquette IDE« on: July 28, 2011, 04:39:14 pm »
Wow, that was pretty fast.
It looks nice! Consider highlighting some keywords like 'If', 'While', and ' Repeat'? 155
Other Calculators / Re: Innovations in the Calculator Programming World« on: July 28, 2011, 01:56:32 pm »
I think xLib (or any of the original assembly libraries) should be added.
They did greatly enhance the range and depth of TI-Basic games. 156
TI Z80 / Re: Croquette IDE« on: July 28, 2011, 01:24:15 pm »
I made an exe, for Windows users
(I think it's suppose to work in Linux and Macs, too, but I can't confirm.) Link (filesize was too large for Omni) 157
TI Z80 / Re: TIConvert« on: July 28, 2011, 11:58:10 am »
Huh, I didn't even know that there was a "..." token.
Hmm, I might have to replace the "..." token with something like "|...|" or something... Or maybe just remove that token altogether for Axe (although I don't really want to...) Or maybe rewrite part of the parser so that it can tell the difference between a comment '...' and a '...' in a string? Hmmm... Interesting bug -- I'll get started on fixing it! 158
TI Z80 / Re: Detonate« on: July 28, 2011, 11:18:39 am »Couldn't you just push all the bombs out of the way to get to the flag?Yup! (Remember that this is a test level, and I wanted a way to test exiting before I coded the bomb explosion code.) Real levels won't be so easy. Ah, ok, I see. And you should make a level editor Are there going to be more tiles then just the solid walls and the bricks? 159
TI Z80 / Re: TIConvert« on: July 28, 2011, 02:48:44 am »
Now it does
Depending on the first character is a period or not, it'll automatically convert to Axe or Basic (either way). There's also an option to force a conversion to either Axe or TI-Basic, if you need it. 160
Computer Programming / Re: 8xp File Structure« on: July 28, 2011, 01:46:07 am »
(Disclaimer: it's late at night, and I probably got something wrong. Any corrections or modifications will be welcomed with open arms.)
The checksum is the sum of all the data from offsets starting from byte 55. That means the sum of all the data in this region: Code: [Select] METADATA: ...is the checksum.For example, if I had the program, Code: [Select] 3->A the full 8xp (in hex) would be the following: Code: [Select] Packet The length of the Data section (present in the header) and the length of the Variable Data (present in the Data section) all are the number of bytes in their respective sections. For example, if you were to count all the bytes in the Data section, you would get 22, which is 16 in hexadecimal, which, as you can see, is the the value recorded right after the comment. The checksum, however, is the sum of all the bytes. 0B + 00 + 05 + 00 + 05 + 54 + 45 + 53 + (etc, might have missed a few numbers there) + 33 + 04 + 41 = 1D5 (in hex). The least significant byte goes first, so the checksum is D501. (Random question: why is it that in the 8xp file, the least significant byte goes first, but looking at the actual data, specifically two-byte-tokens, the least significant byte goes last? Wouldn't it be more consistent for the least significant byte to go last in the 8xp file format too?) 161
TI Z80 / Re: Detonate« on: July 28, 2011, 01:10:55 am »
Hmm, a question:
Couldn't you just push all the bombs out of the way to get to the flag? And if you couldn't push the bombs away from the flag (because they're so densely packed), then wouldn't that mean that attempting to remove any bombs in the way via explosion would also destroy the flag? ~~~ I like the brick sprite -- it looks nice 162
Computer Programming / Re: 8xp File Structure« on: July 26, 2011, 08:31:24 pm »
Ok, I see what you mean. Yep, I think the two should be the same.
A quick comment: in your document, you have a comment delimiter at byte 53: I don't think there's actually one. If you remove that, and shift down all the offsets accordingly, your file format should output something identical to mine. 163
Computer Programming / Re: 8xp File Structure« on: July 26, 2011, 08:19:25 pm »@Michael_Lee, thanks! I'll try doing everything that way when I get back to my computer. Just a question though... Isn't the part where it says "final size - 57" the same as Data Section + 19 (76, 74 bytes before the Data Section and the checksum, minus that 57)? Erm, I'm not really sure what you mean -- could you clarify? I do know that in the Data section, the length of the Variable Data section is repeated twice, if that's what I think you're asking. 164
TI Z80 / Re: TIConvert« on: July 26, 2011, 06:35:15 pm »
Update!
Version 0.5 > Detokenizing and tokenizing TI-Basic is supported! > You can now use special characters (like λ and → instead of lambda and ->) > More tokens supported! > Detokenize or tokenize all files in a directory! (Drag a folder over the .bat or .exe) > Better documentation -- see zip file for a list of all possible tokens. And just for ephan... > Made ticonverter.py functions easier to use. Coming up next: > Better support for special tokens? > An online version! 165
Computer Programming / Re: 8xp File Structure« on: July 26, 2011, 05:13:26 pm »
This is what I use (all values that start with '$' are in hex):
Code: [Select] METADATA: And the checksum is the sum of everything in the Data section only. |
|