![]() |
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List / Moderators List | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Posts: n/a
|
How does the EA-85 IFF format work, really?
I want to create a new file format, but get some structure, so I wanted to use the EA-85 IFF format. But I don't understand from the standards document exactly how it works. Especially the difference between FORM CAT and LIST is very unclear. (To me.) So I wanted to used iffw.c from EA to help me write correctly and not miss anything. But it does not work... I posted on StackOverflow, but no answer so far. Then I thought here is where all the experts are... http://stackoverflow.com/questions/8...to-write-chunk References: http://netghost.narod.ru/gff/vendspec/iff/iff.txt http://www.fileformat.info/format/iff/egff.htm And links in the StackOverflow question. |
|
|
|
#2 |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,914
|
LIST and CAT are only needed if you want to combine multiple documents in one file. Usually, for example for a picture file, you only need FORM.
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: May 2001
Location: #
Posts: 12,584
|
I love the definition of this format. It's the way media files of today are dealt with. A container like Quicktime surely owes a lot of inspiration to IFF!
|
|
|
|
|
|
#4 |
|
Oldskool Demo Coder
|
Knowing only the IFF format as described in the thick blue Amiga books (online docs here), I'm not sure I can help you. I guess you've googled already. If you describe why the new format and what the files will be for, maybe more people can help you here.
__________________
Henrik. Programs Amiga demos, iPhone apps, websites, etc. A1000/512k - A500 2.0/040@28/4M/.5M slowmem/8M/SCSI/CF - A600 portable II 3.1/ACA630/WiFi/CF - 'A1700' 3.1/68060@80/64M/IDE-Fix Express/CF - etc."The difference between PC and Amiga is that 10yo PCs are worth $0. 20yo Amigas are worth a lot, and Amigas that are only 15yo cost a fortune!" If you like Portal 2, try my >> single player and cooperation maps << |
|
|
|
|
|
#5 |
|
Posts: n/a
|
Thanks!
It's for a flash file for the Natami. The first version will contain only one flash file for a FPGA, but later versions will contain three flash files. So maybe the first version will be a FORM, and later versions a LIST or CAT with three FORMs in them? |
|
|
|
#6 |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,914
|
You shouldn't make it more complicated than it needs to be. A normal FORM file can have multiple chunks of the same type. For example if you check the WBPattern prefs file, you will see that it looks like this:
FORM....PREF PRHD PTRN PTRN PTRN Each of the three PTRN chunks stands for one of the three patterns (screen, workbench, window). |
|
|
|
|
|
#7 |
|
Posts: n/a
|
Thanks
Thanks, I will try this.
|
|
|
|
#8 |
|
Oldskool Demo Coder
|
Yeah, a FORM and a chunk for each 'entry' is good. But if it's 3 separate files of the same type it could be better to make them 3 files and just zip them if you need to distribute as a single file.
Any which way is good really, if it's to be supported in future by the community it would be nice with a few lines in a doc that makes it to the web. ![]()
__________________
Henrik. Programs Amiga demos, iPhone apps, websites, etc. A1000/512k - A500 2.0/040@28/4M/.5M slowmem/8M/SCSI/CF - A600 portable II 3.1/ACA630/WiFi/CF - 'A1700' 3.1/68060@80/64M/IDE-Fix Express/CF - etc."The difference between PC and Amiga is that 10yo PCs are worth $0. 20yo Amigas are worth a lot, and Amigas that are only 15yo cost a fortune!" If you like Portal 2, try my >> single player and cooperation maps << |
|
|
|
|
|
#9 |
|
Posts: n/a
|
Thank you! The official ROM file format for Natami (.nff) is now based on IFF-85 thanks to answers here. The legacy lives. :-)
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PFS3 disks don't work after format?! | emuola | support.WinUAE | 10 | 23 May 2011 04:18 |
| Looking for some info about IFF ANIM+SLA format movies | ImmortalA1000 | Amiga scene | 3 | 12 June 2010 04:32 |
| I need An IFF/8SVX and an IFF/ANIM Player for PC | searcher | request.Apps | 21 | 03 August 2008 19:34 |
| Looking for classic Amiga graphics images in IFF format | mr_a500 | Nostalgia & memories | 0 | 12 September 2005 16:27 |
| IFF Anim Format | Echo | Amiga scene | 10 | 16 February 2003 05:16 |