Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: DJ Omnimaga on August 21, 2006, 06:17:00 am

Title: 8xi files 779 bytes?
Post by: DJ Omnimaga on August 21, 2006, 06:17:00 am
Hmm while playing some people games over here I,ve noticed some people had picture files that were 779 bytes on calc. However normally a pic file is 767 bytes. Any clue why they are different size? Just wondering  
Title: 8xi files 779 bytes?
Post by: Spellshaper on August 21, 2006, 06:39:00 am
QuoteBegin-irc+-->
QUOTE (irc)

   uhm. some where done with a hacked storepic command?
      at least when i used PIC255 I noticed that pic files suddenly had slightly sifferent sizes
Title: 8xi files 779 bytes?
Post by: kalan_vod on August 21, 2006, 07:24:00 am
SS is right ;)wink.gif
Title: 8xi files 779 bytes?
Post by: DJ Omnimaga on August 21, 2006, 07:36:00 am
aah i c does it do that with xlib too?
Title: 8xi files 779 bytes?
Post by: kalan_vod on August 21, 2006, 08:24:00 am
QuoteBegin-xlibman+21 Aug, 2006, 13:36-->
QUOTE (xlibman @ 21 Aug, 2006, 13:36)
aah i c does it do that with xlib too?  

 It might, testing might prove it? I am not sure how he has it store pictures, as if it is all hacked pictures or not.
Title: 8xi files 779 bytes?
Post by: Halifax on August 21, 2006, 08:38:00 am
You can make the 779 picture into a 767 picture by recalling the pic then storing it to the same picture file. It usually makes the picture 779 if you send it from TI-Connect cause it happens to me all the time.
Title: 8xi files 779 bytes?
Post by: DJ Omnimaga on August 21, 2006, 08:58:00 am
aaah I c, weird
Title: 8xi files 779 bytes?
Post by: threefingeredguy on August 21, 2006, 06:24:00 pm
Um, Kevin, 767+12 = 779. xLIB includes the bottom row, remember? The bottom row is 12 bytes.
Title: 8xi files 779 bytes?
Post by: kalan_vod on August 21, 2006, 06:33:00 pm
QuoteBegin-threefingeredguy+22 Aug, 2006, 0:24-->
QUOTE (threefingeredguy @ 22 Aug, 2006, 0:24)
Um, Kevin, 767+12 = 779. xLIB includes the bottom row, remember? The bottom row is 12 bytes.  

:paf:tripaf.gif
Title: 8xi files 779 bytes?
Post by: threefingeredguy on August 21, 2006, 09:27:00 pm
Haha, I failed to mention that a picture is 767 bytes for 96x64, and that it also requires identifier bytes. The reason that normal pics are 767 is because they have 12 bytes of identifier bytes (name, etc.) and not the last 12 bytes of the picture.
Title: 8xi files 779 bytes?
Post by: tifreak on August 22, 2006, 06:24:00 am
Also, if you named the pic in the file, then it will also take on more bytes... ;)wink.gif
Title: 8xi files 779 bytes?
Post by: DJ Omnimaga on August 22, 2006, 09:41:00 am
QuoteBegin-threefingeredguy+22 Aug, 2006, 1:24-->
QUOTE (threefingeredguy @ 22 Aug, 2006, 1:24)
Um, Kevin, 767+12 = 779. xLIB includes the bottom row, remember? The bottom row is 12 bytes.  

 WHAT???? IT DOES??? *DROOLS* I was sure this row couldnt even be used, even with asm. I wish the xlib storepic function didnt screwed up the Y= menu if called right after using the map functions :(sad.gif