Author Topic: .8xi File Format  (Read 7226 times)

0 Members and 1 Guest are viewing this topic.

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
.8xi File Format
« 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!

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
.8xi File Format
« Reply #1 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.

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
.8xi File Format
« Reply #2 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

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
.8xi File Format
« Reply #3 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.

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
.8xi File Format
« Reply #4 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 )

Offline BrandonW

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 115
  • Rating: +38/-1
    • View Profile
.8xi File Format
« Reply #5 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.

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
.8xi File Format
« Reply #6 on: October 13, 2006, 07:01:00 pm »
Perfect! Many thanks brandon!