Calc-U 1600Pocket computer emulator Play in browser

Calc-U-1600 Help 10 Reference Media files

Chapter 10 · Reference

Media files

Calc-U-1600 has three kinds of media: the battery-backed module, the floppy disk and the cassette. Each is a file you can keep, copy, import and export. How media are used (templates and instances, Name & Save, inserting and ejecting) is in the shared Media chapter and in Media; this page gives the files themselves.

Medium File Version Its place
Battery-backed module .module.yaml 1 a module slot
Floppy disk .floppy.yaml 3 the CE-1600F drive of the CE-1600P (PC-1600)
Cassette .cassette.yaml with a .wav 1 the cassette recorder of a CE-150 (PC-1500, PC-1500A) or CE-1600P

Common to all three:

Battery-backed module

A battery-backed module is a module definition with battery: true (Module definition format). Its saved instance is the same kind of file, a .module.yaml, written from the template it came from:

A preset plugs a saved instance in by its name, slot-1: { name: … }, like a bundled module: the bundled modules are searched first, then the save folder.

Floppy disk

A disk for the PC-1600's CE-1600F drive, with two sides, 0 and 1, used one at a time. It is the one disk file of every Calc-U product with a floppy drive, so a disk goes from one product to another. The file holds the raw bytes of both sides and nothing else: the files on a side are kept in the disk's own file system, which the CE-1600P's ROM reads and writes as on real hardware.

# Calc-U-1600 floppy disk image
format: sharp-floppy
format-version: 3
disk-name: "Formatted"
description: "Formatted, both sides empty"
template: true
saved: 2026-09-19T10:17:46Z
sides:
  0:
    encoding: addressed-hex
    bytes: |
      $0000: 00...
      $0200: F2 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
      $0210: 00...
      $0400: F2 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
      $0410: 00...
  1:
    encoding: addressed-hex
    bytes: |
      $0000: 00...
Key Required Value
format yes sharp-floppy
format-version yes 3. A file of Calc-U-1600 0.9 (format: ce1600f-floppy, format-version: 2, the same keys otherwise) is read as it is and written as version 3; version 1, of 0.8, named the sides a and b (From 0.8)
disk-name yes The name tag, shown in the disk picker; not empty, without " or a line break
description no One line, the picker's tooltip. Name & Save and every later write keep it
insert-notice no One line shown when you put the template in (Media). Name & Save and every later write keep it
template no true: a template, never written
saved no The time of the last write (UTC, ISO 8601); for information
sides yes Exactly the keys 0 and 1
sides.0, sides.1 yes Exactly encoding: addressed-hex and bytes
…bytes yes The side's 65536 bytes, every byte covered

A side. Each side is 65536 bytes: 16 tracks of 8 sectors of 512 bytes. The drive reads one side, and you turn the disk to use the other, so each side is a volume of its own. A byte's offset in a side is the logical sector × 512, where the logical sector is track × 8 + sector, sectors counted from 0. The boot sector is at $0000, the FAT at $0200, its copy at $0400, the directory at $0600 to $0BFF, and the first data cluster at $0C00.

addressed-hex. Each line is either $XXXX: followed by up to 16 bytes in hex, placed from that offset on, or $XXXX: XX... alone, which repeats the byte XX from that offset up to the next line's offset (or to the end of the side). The lines cover the side without gap or overlap.

Writing. The product rewrites the whole file after the machine wrote to the disk, with saved set to the time of the write. While a disk is in the drive, a change another program makes to its file can be lost: eject the disk before you edit its file.

The bundled templates are Blank (unformatted: INIT it before use) and Formatted (both sides formatted and empty).

Cassette definition

A cassette for the cassette recorder of a CE-150 (PC-1500, PC-1500A) or a CE-1600P. Its tape is sound, in a .wav file; the cassette definition gives it a name and a description, like any other medium, and names the sound file.

# Calc-U-1600 cassette
format: cassette
format-version: 1
cassette-name: "Games"
description: "Three games saved with CSAVE"
saved: 2026-11-17T10:00:00Z
audio: { file: games.wav }
position: 0
Key Required Value
format yes cassette
format-version yes 1
cassette-name yes The name tag, shown in the cassette picker; without " or a line break
description no One line about the cassette
insert-notice no One line shown when you put the template in (Media)
template no true: a template; its sound file is never written either
saved no The time of the last write (UTC, ISO 8601); for information
audio yes The sound file, by file: only, relative to the cassette definition
position no Reserved for later use; must be 0, the default

The bundled template is Blank, a blank cassette.

From 0.8

Calc-U-1600 reads none of the files 0.8 wrote; they stay where they are, and you convert them by hand:

Help built from Calc-U-1600-help.zip 0.9.1, the help of the Calc-U-1600 0.9.1 release.