Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: JincS on October 12, 2006, 09:18:00 pm

Title: .8xi File Format
Post by: JincS on October 12, 2006, 09:18:00 pm
Hey all! I'm working on a bitmap to .8xi converter module for a larger program I'm working on, but I'm having some troubles. Does anybody know where I can find some info on the TI84+SE PIC file format? I have been scouring the Internet for a few days, to no avail. I need to know how they're stored, bit order, pixel descriptions, etc.

Any help would be greatly appreciated!
Title: .8xi File Format
Post by: bfr on October 13, 2006, 01:37:00 am
I think http://www.ticalc.org/archives/files/fileinfo/268/26877.html gives some information about the format of PIC variables in Week 3 or Week 4.
Title: .8xi File Format
Post by: JincS on October 13, 2006, 07:36:00 am
Finished checking: there was no real info on the 8xi format, other than it has "Two bytes with the number of bytes, which is a complete waste of RAM since it's always $02F4. Followed by a 96
Title: .8xi File Format
Post by: bfr on October 13, 2006, 08:05:00 am
There's also something out that seems to have the capabilities of what you're trying to make.  http://ti.zewaren.net/en/ Maybe you can ask the creator of that website some information about .8xi files.
Title: .8xi File Format
Post by: JincS on October 13, 2006, 08:11:00 am
o.oblink.gif nice interface...I wonder if he'll gimmie the source for his image->8xi converter...

(Thanks again bfr for helping the n00b :Ptongue.gif )
Title: .8xi File Format
Post by: BrandonW on October 13, 2006, 03:29:00 pm
http://www.ticalc.org/archives/files/fileinfo/247/24750.html

This is everything you want and more. The header is the same with all files, 8XI, 8XP, etc. The data after the header is the 756 bytes of pixel data. 12 bytes per row, 8 pixels per byte (naturally). (12*8*64)-12=756, starting from the top left of the screen. The -12 comes from the fact that the bottom row is not stored.

One problem with the guide, though, is that it documents 0Dh as being a fixed byte...this isn't true, it's actually the size of the header to follow. Sometimes this is 0Bh and maybe others.
Title: .8xi File Format
Post by: JincS on October 13, 2006, 07:01:00 pm
Perfect! Many thanks brandon!