File Formats

From SpecNext official Wiki
Revision as of 18:38, 10 June 2019 by SevenFFF (talk | contribs)
Jump to: navigation, search

The NextZXOS can read and load these kind of files: bas, tap, nex, z80, sna, snx, dot, o, p

  • .z80, .sna and .snx are Spectrum snapshots, more suitable as emulator compatibility than a real format
  • .o is a ZX80 snapshot
  • .p is a ZX81 snapshot
  • .nex is good for a program that takes over the machine
  • .dot is good for dot commands and programs that can coexist with BASIC/NextZXOS and can return to BASIC safely (i.e. counterpart to nex)
  • .tap is a simple container format that can hold many files, is compatible with emulators and supported by many tools.
  • .bas is the native SD-card format for BASIC programs (first 128 bytes of the file form standard +3DOS header).
  • .scr is used for a standard Spectrum screenshot created with SAVE "picture.scr" SCREEN$ (256x192, 15 colours per character cell).
  • .shc is used for a screenshot in Timex 8x1 Hi-colour mode (256x192, 15 colors).
  • .shr is used for a screenshot in Timex Hi-res mode (512x192, mono).
  • .slr is used for a lo-res screenshot (128x96, 256 colours).
  • .sl2 is used for a Layer 2 screenshot (256x192, 256 colour).
  • .pal is a 9-bit palette format (256 pairs of bytes in %RRRGGGBB, %P000000B format). Files can be loaded and saved from the Screenshots menu in NextZXOS after pressing the M1 button or F9. The P bit sets priority when used in layer 2 palettes. Palette entries with P=1 cause their pixels to appear above everything else, regardless of globally-set layer priorities.
  • .npl is a 9-bit palette format. It The first 512 bytes are identical to a .pal file. The 513th byte designates transparency - for sprite palettes, the transparency byte is a real index, and for other palettes it is a colour mask. .npl files can be created, saved and loaded by WASPtools.