Questions tagged [file-format]

Relating to the encoding format of data within files.

Filter by
Sorted by
Tagged with
7
votes
1answer
86 views

Understanding the DMK disk image file format used by TRS-80 emulators

DMK is a low-level disk image file format used by TRS-80 Model I & Model III, Tandy Color Computer, Dragon 32 & 64, and MSX emulators. It's capable of representing copy-protected disks and all ...
1
vote
1answer
117 views

Opening a .zbd file

I have a .zbd file from my military service with sensitive information on it from 2004. I have downloaded the ZoomBrowser from Canon, it does not recognize it as a file. I downloaded the Zebedee ...
7
votes
2answers
757 views

How can I programmatically determine whether an Apple II .dsk disk image is a DOS .do image or a ProDOS .po image?

I'm interested in working with the most common Apple II disk image file format, .dsk. (I only programmed these machines briefly in Basic around 1979-81 and have not been in the emulator scene, so I'm ...
3
votes
1answer
74 views

Do TRS-80 Model I and Model III load and execute /CMD files using specific memory addresses?

/CMD files on the various TRS-80 Model I and III OSes are machine code command files. They seem to have some internal format but not really a file header. They often start with 01 02 and then a 16-...
2
votes
1answer
45 views

What is the layout of the directory track on a TRS-80 Model I/Model III disk?

I've decided to add support for some more classic Z80 computers I used to use to my Ghidra modules, and the first Z80 systems I used were the TRS-80 model I and model III. I've found documentation ...
5
votes
1answer
190 views

What is the format of the static libraries shipping with legacy Microsoft C for DOS?

I have installed Microsoft C 5.10 on DOS 6.22. It created a 'LIB' directory with static libraries to link against. Now I need to extract the symbols and the code for the functions from them, but can't ...
2
votes
1answer
78 views

Are the last 4 bytes in .SCL disk image files for Spectrum clones meaningful or spurious?

I recently added support for .scl images files to my Ghidra module which already supported .trd images. They are both representations of TR-DOS floppy disks as used mainly on Spectrum clones from ...
16
votes
1answer
3k views

How did large .COM files work?

An MS-DOS .com file is just raw code/data without header, thus no linking information, and was limited to be loaded into just one segment (64kB). That's the reason corrupted binaries would print "...
3
votes
2answers
513 views

What file formats were used for binary executable files on later Sinclair ZX Spectrums?

The last official version of the Sinclair ZX Spectrum was the +3, released after the company was owned by Amstrad. It included a 3-inch floppy disk drive as used on other Amstrad computers. But even ...
7
votes
2answers
563 views

Why does the .z80 emulator-snapshot format have separate fields for the 8-bit refresh register and bit 7 of R?

I've been looking at the .z80 file format for Sinclair ZX Spectrum games. Most docs discussing the format include pretty much this wording: Offset Length Description -----------------------...
20
votes
8answers
3k views

Do the holes in Jacquard loom punched cards represent input data or program code?

I think they represent data because I feel it is a mechanical machine which is fully configured and the holes decide only that the thread related to each hole must be moved or not. Thus the holes ...
3
votes
2answers
400 views

How can I extract game data from Nitemare 3D files?

I am trying to reverse engineer an old Wolf3D style Dos game named "Nitemare 3D". I can get a raycasting engine with directional sprites running pretty easily using SDL2, but I have no experience with ...
15
votes
2answers
885 views

IBM mainframe classic executable file formats

Most modern platforms have pretty well-defined file formats; e.g. Windows uses PE, Linux and BSD - ELF (previously a.out), macOS - Mach-O, AIX - XCOFF and so on. What were (are?) common executable ...
24
votes
5answers
5k views

How well known and how commonly used was Huffman coding in 1979?

Infocom's Z-Machine, designed in 1979, compresses text using a basic 5 bit code which is not very efficient in practice, achieving maybe a 1.5:1 compression ratio. Huffman coding would be far more ...
4
votes
2answers
309 views

What was the format for .OBJ files produced by M80.COM for CP/M?

When DOS released in 1981, the assembler that came with it produced .OBJ files that were OMF format. However there was a predecessor to it, M80.COM that ran under CP/M and also used .OBJ as the file ...
9
votes
1answer
300 views

What are the best file formats for backup & emulation of retro game CDs? And why?

In other words, what are some factual, non-subjective reasons why you might choose (or avoid) a certain file format ? (For example, disk usage, audio accuracy, emulator compatibility, etc). I'm ...
6
votes
3answers
348 views

Opening or converting GFA Basic files to something readable?

There is a bunch of GFA BASIC for Amiga files (the source code for Blender's ancestor, Traces, downloadable here: http://zgodzinski.com/blender-prehistory/) that I would like to peek at. Despite my ...
6
votes
3answers
494 views

How can I debug a Mac OS Classic application?

I have a Mac OS Classic application (a game) that I want to "debug". It has data files in a unique format than I am attempting to reverse-engineer. I've made some progress with a hex editor, but ...
11
votes
2answers
617 views

Origin of “tarball”

It seems to be common (at least among my section of the world's *NIX users) to refer to "tape archives" made with GNU tar or similar as "tarballs". I always thought this was a slightly odd choice, ...
16
votes
5answers
3k views

What determines which architecture an a.out executable runs on?

The ELF file format has an e_machine field in the header, which specifies which ISA the executable expects. And the e_ident structure also has an EI_OSABI field that specifies which ABI the executable ...
10
votes
1answer
398 views

How to open a CorelDraw WI wavelet-compressed image

I have a large sample of .WI images I need to convert to e.g. JPEGs, but the format now seems defunct. The mimetype is image/wavelet. The compression algorithm was developed by Summus, a US company ...
28
votes
3answers
5k views

Magnetic exposure to floppy disk damages file system and requires complete reformat?

What I noticed is, that formatting a floppy disk takes three times as much time for the same data amount as writing a file to the disk normally. The accoustically perceivable jumps of the head between ...
17
votes
2answers
1k views

What is the difference between DriveSpace and DoubleSpace?

DriveSpace is the successor to DoubleSpace. Both are DOS systems that mount a Compressed Volume File as a drive, allowing ordinary programs to interface with a compressed drive without an intermediate ...
52
votes
5answers
12k views

Why did base64 win against uuencode?

From the the two methods of encoding 8-bit data as human-readable ASCII, for a time, uuencode format was more popular. USENET 'binaries' groups were filled with uuencoded posts with whatever goodies ...
19
votes
1answer
711 views

When was the relocatable object module invented?

During the time when programming was done in machine codes, there was no need for object modules; it just wouldn't make sense. People would write the whole program they needed to run in "zeroes and ...
10
votes
2answers
2k views

Documentation on Windows Explorer Shell Command Files

Windows Explorer Shell Command Files are a feature added to Windows with Internet Explorer 4 (95 / NT 4). They were used in the now-defunct Quick Launch bar to show the desktop, open IE4's Channels ...
11
votes
1answer
505 views

On-disk structures for Files-11 format (RSX11)

I'm looking for an explanation, or a link to documentation of the on-disk structures of the Files-11 format, that is, the format of disks used by RSX-11 on the PDP-11. Also known as ODS-1, the ...
12
votes
1answer
507 views

How are File Timestamps recorded in classic Mac OS?

When I save a file it has a 'Created At' and 'Updated At' Value saved as well. I would like to know HOW these values are saved? Are they saved as an integer representing a number of seconds since 1904?...
17
votes
2answers
695 views

What was the end of line convention for text files on the 8-bit Commodores

A two part question: Did an agreed upon convention for end of line (EOL) within text files exist on the 8-bit Commodores? If there was a convention, what was it?
6
votes
1answer
2k views

Converting ZX Spectrum .ipf files to .z80 or .tzx for use in Fuse on RetroPie?

I have a 'perfect' set of ZX Spectrum games (in .ipf format) that I would like to use in EmulationStation (RetroPie) but the Fuse emulator doesn't recognize .ipf files. Are there any tools that will ...
5
votes
1answer
259 views

Magnetic tape data preservation format

What 'virtual tape' image format is most suited for data preservation i.e. can store metadata like density and media type of original tape, presence of data past EOT marker, parity/ECC bits etc.?
30
votes
5answers
3k views

What were the differences in floppy disk formats between Amiga and IBM/PC compatible computers?

The capacity in Amiga Old File System format (OFS, OS version 1.x) was 840KB, with the Fast File System ("FFS" (!)) introduced for OS 2.x onwards able to store 880KB. The PC format stored 720KB on the ...
10
votes
3answers
1k views

What format is the (Timex) Sinclair ZX Spectrum SCREEN$/.SCR file

What format is the (Timex) Sinclair ZX Spectrum SCREEN$/.SCR file and how is the fore/background and attribute data encoded within this format?
23
votes
2answers
4k views

How to convert Amiga DMS to ADF?

Our demoscene group managed to release only one demo before it fell apart, but these being the early days of the Internet in my country, and me getting lucky with obtaining access to it and creating ...