Publishing from a real C64

How does a page get from a Commodore 64 onto the web? Through the new publishing API: a small HTTP interface simple enough for an 8-bit machine to speak on its own. It does exactly one job: it lists, reads, uploads and deletes the files of one plot.

  1. Make a key file on your Account page, in a modern browser.
  2. Copy it to the machine, for example to the C64 Ultimate’s SD card.
  3. Your editor publishes with it. It signs every request with the key, so the key itself never travels over the line.

Signing is real work for a 6502: about 1.3 seconds per kilobyte at 1 MHz, measured before we settled on it, and most of it happens while the page is being sent anyway. A machine without signing code can send its request through a small proxy on your own PC instead, which passes it on over HTTPS.

The first pages from a real C64

The first editor to use it is SEE64YOU, Daniel Keating’s 8TML editor for the C64 Ultimate. This morning the first test pages arrived in town, published from a real C64U.

A test page published from a C64 Ultimate, "Real C64U test", shown in VVV
The first page published from a C64U, seen in VVV

The API is a test draft and may still change. When it settles, a publishing package will let anyone run it on their own site. How it works: Publishing pages.

Comments

Leave a Reply