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 - Xeda112358
Pages: 1 ... 271 272 [273] 274 275 ... 317
4081
« on: February 06, 2011, 08:41:50 pm »
Ah yes, this is a very nice method. I've been doing this since 7th grade I happened to have a trig book from the 50's, no electronics, and a whole summer vacation of having fun with math. In binary: Let: A=Result B=Remainder Initial: d=0 b=01 01.00 00 a=0 Cycle 1 ;shift upper two bits in b to D b=01 00 00 00 d=00 00 00 01 2*A ;A=00 00 00 00 A→C ;C=00 00 00 00 2*C+1 :C=00 00 00 01 cp C,D if C is less than or equal to D D-C→D ; D= 00 00 00 00 A+1→A ;A=00 00 00 01 Repeat;shift upper two bits in b to D b=00 00 00 00 d=00 00 00 01 2*A ;A=00 00 00 10 A→C ;C=00 00 00 10 2*C+1 :C=00 00 00 11 cp C,D ;C is greater than D x if C is less than or equal to D ;False x D-C→D ;Not Executed x ; D= xx ;"" x A+1→A ;"" x ;A=xx ;"" RepeatThe first two bits calculated in this case is the integer part and after that all the bits are the fractional part (in binary). EDIT: Those are supposed to be ; D. grrr...
4082
« on: February 06, 2011, 04:09:21 pm »
I have posted about BatLib on MaxCoderz... >_> Right now, my bookmarks menu have the first six slots as calc websites... it's kind of fun keeping up with 'em all
4083
« on: February 06, 2011, 02:34:37 pm »
Okay, here is the 8x8 version... I wish it looked better !_!
4084
« on: February 06, 2011, 12:32:53 pm »
That's a pretty dragon! It looks kind of like Dragonite! * Xeda112358 likes it!
4085
« on: February 06, 2011, 11:53:32 am »
Okee, so this is what I have at the moment... Does this help?
4086
« on: February 06, 2011, 11:13:22 am »
It could mean that your teacher is a spy >_> Or maybe that she cannot wait for winter break! Or maybe that TI is going to add some support that teachers have been wanting for years... Who knows!?
4087
« on: February 06, 2011, 10:55:06 am »
Ah, yeah it does that. It is command 5 and command 6 does the opposite. I want to add a squisher that works with weird bit sizes so like if you had only 8 tiles, you would need 3 bits per tile in the tilemap... It would also be useful for sprites... especially if they are, say, 5 pixels wide... good for compression...
4088
« on: February 06, 2011, 10:50:47 am »
Ah, okay! Yeah, pretty much if I do 0:Asm(prgmGETNAME it returns the name of the first program. If I use a list instead I can choose the type So pretty much, used with CopyProg you can do some really cool things! I want to add the ability to return some stats about the var (size, archived/unarchived) because then it can pretty much be a BASIC version of MirageOS for nostub programs
4089
« on: February 06, 2011, 10:45:06 am »
Either way, I think I've got ya covered DJ I added the ability to use pictures to store tiles (like with xLIB) and the speed won't be a problem as it converts everything all at once.
4090
« on: February 06, 2011, 02:56:48 am »
Oh, it uses only 16 sprites, so each tile uses half a byte.
4091
« on: February 06, 2011, 02:55:27 am »
Ah, it might help to see the request: mrmprog: Does anyone have a hexcode that can be entered on-calc that would detect the programs on the calculator? Me: How do you mean? Like do you mean return a list of all the programs on the calc? mrmprog: Exactly. The thing is, a string would have to have some type of separator so you would know when one starts and one ends.
I just changed it so instead of returning a string of names, 0 grabbed the first name, 1 got the second, et cetera. Sorry, my brain is kind of dead so I cannot explain well :F
4092
« on: February 06, 2011, 01:50:51 am »
Ooh, I still need to join MaxCoderz. I didn't even know about it until this year!
4093
« on: February 06, 2011, 01:40:18 am »
Well it does return an "E" as the leading byte for a regular program and an "F" for a protected program. However, since that post I have made an updated version. ... And with that update I made an example program... The example uses CopyProg and GetName to handle variables. In this updated version, if you change the input to a list, you can change which variable type to search for. Anyway, here is the example and update.
4094
« on: February 06, 2011, 01:32:37 am »
Ah, yeah, I know what you are talking about... That is where command 35 comes in handy It converts a sprite on the graph screen to data. It even lets you choose the size of the sprite I made the command because BatLib only used data (for speed purposes), so it was more difficult to create sprite data. This command does all the work and saves it in its compressed form.
4095
« on: February 06, 2011, 01:28:36 am »
Ah, it fit in 4096 bytes. I used Str0 to contain the font data and the tilemap data, so Str0 was 4108 bytes of data. Luckily it could be archived
Pages: 1 ... 271 272 [273] 274 275 ... 317
|