Skip to content

Releases

TRX64 MultiCore 0.2.1

Choose a tag to compare

@Jondalar Jondalar released this 22 Nov 17:04
Immutable release. Only release title and notes can be modified.
227926a

TRX64 Ultimate multi-core bundle 0.2.1

One host, 20 cores. The update file installs the host into the flash and copies the cores that lie beside it;
your old firmware stays as a core and keeps starting first. This file is the whole guide: what to download, where
to put it, and what to press.

This bundle contains no ROM, Kickstart or disk image that you have to supply or copy; you bring those yourself (section 5).

The exceptions are inside the TRX64 files: trx64g.cor carries the C64 BASIC ROM and the MOD player cartridge image that Gideon's
Ultimate application links, as his firmware does; trx64u.cor carries the MOD player image for Play MOD.

Changes since 0.2.0

Release 0.2.1 changes the host (boot menu and host gateware) and the core application. The cores keep their version
numbers. Every .cor of this bundle carries the new core application. To update a board that runs the 0.2.0 host,
follow section 3a.

Host:

  1. The boot menu shows the name and version that a firmware from another source gives itself, for example
    Commodore 1.2.1 or Gideon 3.15. Before, it showed the date of the bitstream. An entry added before 0.2.1 keeps
    its old name. To update the entry, open the firmware's .cfw in the host's file browser (F3) and press A.
  2. The keyboard on mainboard connector P7 works in the host and in the core application (#111, #112).
  3. The installer adds every core it finds to the boot menu, up to 32 entries. Before, it added the first 16 (#107). It
    creates the folder of each core with a roms/ folder.

Core application (all cores):

  1. The file browser shows file sizes as numbers. Before, it showed %llu (#121). A file larger than 4 GiB on exFAT
    shows its correct size.
  2. On the ROM wait screen, RUN/STOP and ESC return to the host (#106).
  3. A message shows its whole text. The status line of a list wraps onto more lines (#109).
  4. A pad or joystick button can press any letter key. Select the pad row and press the letter key to assign it. A game
    that uses IJKL or WASD can be played with a USB pad.

C64 with SuperCPU (c64scpu.cor):

  1. More SuperCPU releases show their picture correctly (#108). In emulation mode, the 65816 does the
    read-modify-write cycles and the interrupt timing as the original does. Two known differences remain (#135).
  2. The cache of the 65816 is 32 KiB. Before, it was 8 KiB.
  3. The core has Ethernet and memory access over the REST interface.
  4. The core has no Datasette. The Datasette setting is removed.

1. What you need

  • A C64 Ultimate (C64U). It is the only board on which the firmware is known to work. A C64C Ultimate can contain
    the XC7A100T FPGA. The firmware does not work with the XC7A100T.
  • A USB stick formatted FAT32 or exFAT. An SD card works for cores and ROMs too.
  • An HDMI screen. The picture is HDMI only: this bitstream has no analog video pins, so composite
    and S-video stay black with every core.
  • A PC to prepare the stick. Optional: a network cable, for the web page and FTP.
  • A USB-Blaster, only for the way back if something goes wrong. You do not need it to install.

2. What is in here

File What it is
trx64host_update_0.2.1.cfw the installer, for the file browser of a machine that runs our firmware
trx64host_update_0.2.1.ue2 the same package without the pre-header, for a machine that still runs Gideon's
trx64host_update_0.2.1.txu the same host as an update for a board that already runs a TRX64 MultiCore host (section 3a)
amiga.cor Amiga (OCS/ECS, 68000) 0.2.0, large core: a full bitstream of 1,785,333 bytes + its application 1,763,120 bytes
amiga1200.cor Amiga 1200 (AGA, 68020) 0.3.0, large core: a full bitstream of 1,697,841 bytes + its application 1,763,120 bytes
apple2.cor Apple IIe 0.1.0, partial 1,097,492 bytes + its application 1,763,120 bytes
atari800.cor Atari 800 XL 0.0.1, partial 1,031,200 bytes + its application 1,763,120 bytes
c128.cor Commodore 128 0.1.0, large core: a full bitstream of 1,765,549 bytes + its application 1,763,120 bytes
c264.cor Commodore 264 (C16, Plus/4) 0.1.0, large core: a full bitstream of 1,709,221 bytes + its application 1,763,120 bytes
c64scpu.cor C64 with SuperCPU 0.1.0, large core: a full bitstream of 1,821,641 bytes + its application 1,763,120 bytes
cpc.cor Amstrad CPC 464 / 664 / 6128 0.0.1, large core: a full bitstream of 1,685,289 bytes + its application 1,763,120 bytes
ddt_mandel.cor DDT Mandelbrot (mandelbrUlt) 0.1.0, partial 1,023,144 bytes + its application 1,763,120 bytes
ddt_novic.cor DDT Look Ma, No VIC 0.1.0, partial 985,376 bytes + its application 1,763,120 bytes
diag.cor Port Diagnostics 0.1.0, large core: a full bitstream of 1,677,369 bytes + its application 1,763,120 bytes
neogeo.cor SNK Neo Geo 0.0.1, large core: a full bitstream of 1,656,969 bytes + its application 1,763,120 bytes
nes.cor Nintendo Entertainment System 0.0.1, large core: a full bitstream of 1,687,873 bytes + its application 1,763,120 bytes
pet.cor Commodore PET 0.1.0, large core: a full bitstream of 1,727,937 bytes + its application 1,763,120 bytes
snes.cor Super Nintendo 0.0.1, large core: a full bitstream of 1,840,193 bytes + its application 1,763,120 bytes
trx64g.cor TRX64 Ultimate (Gideon app) 0.3.1, large core: a full bitstream of 1,782,841 bytes + its application 1,685,024 bytes
trx64u.cor TRX64U 0.3.1, large core: a full bitstream of 1,782,841 bytes + its application 1,754,048 bytes
vc20.cor VIC-20 0.3.0, partial 1,011,256 bytes + its application 1,763,120 bytes
zx.cor ZX Spectrum 48K / 128K 0.0.1, large core: a full bitstream of 1,699,477 bytes + its application 1,763,120 bytes
zxnext.cor ZX Spectrum Next 0.0.1, large core: a full bitstream of 1,783,365 bytes + its application 1,763,120 bytes
miniz.u2a an application for every core: Unzip here on a .zip in the F3 browser (section 4)
softboot.u2a an application for every core: Unzip here on a .zip in the F3 browser (section 4)
trex_crt.u2a an application for every core: Unzip here on a .zip in the F3 browser (section 4)
unzip.u2a an application for every core: Unzip here on a .zip in the F3 browser (section 4)
SHA256SUMS checksum of every file above

The installer writes two things, nothing else in the flash changes:

  • flash 0x000000: the full bitstream, 1,704,125 bytes as its own header declares. It holds layer 1
    (the host) and an empty core, the null core, in one image
    : the null core is no machine, it only
    answers what the boot menu asks of the core partition (identity, host key, the picture layer, the
    menu's interrupt). Every machine, the TRX64 C64 included, starts from its own .cor.
  • flash 0x220000: the host boot app, 1,108,628 bytes, loaded to and started at 0x30000. It is not the
    Ultimate app: it is the boot menu that reads a .cor and starts that core.

Built from the tag v0.2.1.

3. Install the host

  1. Unzip the whole bundle into one folder on a USB stick or the SD card, e.g. /TRX64-MC/: the update file and
    the .cor files side by side. The installer copies every .cor and .cfw that lies beside it into /cores, and every .u2a (Unzip) into /cores/apps.
  2. In the file browser of the firmware the machine runs now, open trx64host_update_0.2.1.ue2 (stock firmware: Gideon's, or
    Commodore's 1.1.0, which takes no .cfw) or trx64host_update_0.2.1.cfw (our firmware) and pick Run Update.
  3. Two questions: you leave the warranty of Gideon and Commodore. Answer both with Yes; any No goes back to
    the menu with nothing written.
  4. Pick the medium for the cores: SD or USB. On it the installer creates /cores, and writes:
    • TRXBK_<date>_nnn.BIN and TRXBK_<date>_nnn.CFW: what was in the flash before; the .CFW reinstalls it;
    • the old firmware as a core, e.g. commodore-110.cor or gideon-315a.cor (recovery icon in the menu);
    • the cores that lay beside the update file;
    • /Flash/boot.cfg: the old firmware as the default, the copied cores as further entries, direct start on.
      Then it writes the flash. Do not pull the medium or switch off meanwhile.
  5. Unplug a JTAG adapter, then power-cycle the board. The first start copies the old firmware's bitstream into
    the flash once (shown on screen); then your old firmware starts straight away, as before.
  6. Hold C= (or fire on joystick port 1) while switching on to get the boot menu with all cores instead.
    F8 Settings switches the direct start off if you want the menu every time.

The way back: start the old firmware's .cor from the menu and run an update file it accepts with Run Update:
Gideon's firmware takes the backup TRXBK_..CFW; Commodore's 1.1.0 takes only a .ue2, so use Commodore's own
1.1.0 update file there. By cable: a USB-Blaster and openFPGALoader -c usb-blaster --fpga-part xc7a50tfgg484 -f <bitstream>.

3a. Already on a TRX64 MultiCore host (an earlier bundle)

Order matters: update the host first, then copy the cores. A .cor of this bundle can carry a record an older host does not know (diag.cor has record 8, the files it installs on the card); an older host refuses it.

  1. Copy trx64host_update_0.2.1.txu anywhere on the SD card or stick. Do not use the .cfw here: the host's File Browser starts a .cfw as a core.
    Also copy miniz.u2a, softboot.u2a, trex_crt.u2a, unzip.u2a into /cores/apps/ (create the folder): the update does not copy it.
  2. Host menu, F3, open trx64host_update_0.2.1.txu. It shows what it writes (only the parts that changed) and asks; answer Yes.
  3. When it reports the flash written and verified, power-cycle the board. A host from this bundle on restarts by itself....
Read more

TRX64U MultiCore 0.2.0

Choose a tag to compare

@Jondalar Jondalar released this 18 Nov 19:46

TRX64 Ultimate multi-core bundle 0.2.0

One host, 20 cores. The update file installs the host into the flash and copies the cores that lie beside it;
your old firmware stays as a core and keeps starting first. This file is the whole guide: what to download, where
to put it, and what to press.

This bundle contains no ROM, Kickstart or disk image. You bring those yourself (section 5).

1. What you need

  • A C64 Ultimate (C64U). It is the only board on which the firmware is known to work. A C64C Ultimate can contain
    the XC7A100T FPGA. The firmware does not work with the XC7A100T.
  • A USB stick formatted FAT32 or exFAT. An SD card works for cores and ROMs too.
  • An HDMI screen. The picture is HDMI only: this bitstream has no analog video pins, so composite
    and S-video stay black with every core.
  • A PC to prepare the stick. Optional: a network cable, for the web page and FTP.
  • A USB-Blaster, only for the way back if something goes wrong. You do not need it to install.

2. What is in here

File What it is
trx64host_update_0.2.0.cfw the installer, for the file browser of a machine that runs our firmware
trx64host_update_0.2.0.ue2 the same package without the pre-header, for a machine that still runs Gideon's
trx64host_update_0.2.0.txu the same host as an update for a board that already runs a TRX64 MultiCore host (section 3a)
amiga.cor Amiga (OCS/ECS, 68000) 0.2.0, large core: a full bitstream of 1,739,485 bytes + its application 1,759,960 bytes
amiga1200.cor Amiga 1200 (AGA, 68020) 0.3.0, large core: a full bitstream of 1,698,597 bytes + its application 1,759,960 bytes
apple2.cor Apple IIe 0.1.0, partial 1,173,304 bytes + its application 1,759,960 bytes
atari800.cor Atari 800 XL 0.0.1, partial 1,037,988 bytes + its application 1,759,960 bytes
c128.cor Commodore 128 0.1.0, large core: a full bitstream of 1,757,561 bytes + its application 1,759,960 bytes
c264.cor Commodore 264 (C16, Plus/4) 0.1.0, large core: a full bitstream of 1,735,045 bytes + its application 1,759,960 bytes
c64scpu.cor C64 with SuperCPU 0.1.0, large core: a full bitstream of 1,767,781 bytes + its application 1,759,960 bytes
cpc.cor Amstrad CPC 464 / 664 / 6128 0.0.1, large core: a full bitstream of 1,732,321 bytes + its application 1,759,960 bytes
ddt_mandel.cor DDT Mandelbrot (mandelbrUlt) 0.1.0, partial 1,022,924 bytes + its application 1,759,960 bytes
ddt_novic.cor DDT Look Ma, No VIC 0.1.0, partial 997,500 bytes + its application 1,759,960 bytes
diag.cor Port Diagnostics 0.1.0, large core: a full bitstream of 1,684,917 bytes + its application 1,759,960 bytes
neogeo.cor SNK Neo Geo 0.0.1, large core: a full bitstream of 1,636,417 bytes + its application 1,759,960 bytes
nes.cor Nintendo Entertainment System 0.0.1, large core: a full bitstream of 1,670,069 bytes + its application 1,759,960 bytes
pet.cor Commodore PET 0.1.0, large core: a full bitstream of 1,710,353 bytes + its application 1,759,960 bytes
snes.cor Super Nintendo 0.0.1, large core: a full bitstream of 1,863,145 bytes + its application 1,759,960 bytes
trx64g.cor TRX64 Ultimate (Gideon app) 0.3.0, large core: a full bitstream of 1,800,805 bytes + its application 1,685,024 bytes
trx64u.cor TRX64U 0.3.0, large core: a full bitstream of 1,800,805 bytes + its application 1,751,584 bytes
vc20.cor VIC-20 0.3.0, partial 1,022,504 bytes + its application 1,759,960 bytes
zx.cor ZX Spectrum 48K / 128K 0.0.1, large core: a full bitstream of 1,685,673 bytes + its application 1,759,960 bytes
zxnext.cor ZX Spectrum Next 0.0.1, large core: a full bitstream of 1,746,053 bytes + its application 1,759,960 bytes
miniz.u2a an application for every core: Unzip here on a .zip in the F3 browser (section 4)
softboot.u2a an application for every core: Unzip here on a .zip in the F3 browser (section 4)
trex_crt.u2a an application for every core: Unzip here on a .zip in the F3 browser (section 4)
unzip.u2a an application for every core: Unzip here on a .zip in the F3 browser (section 4)
SHA256SUMS checksum of every file above

The installer writes two things, nothing else in the flash changes:

  • flash 0x000000: the full bitstream, 1,652,981 bytes as its own header declares. It holds layer 1
    (the host) and an empty core, the null core, in one image
    : the null core is no machine, it only
    answers what the boot menu asks of the core partition (identity, host key, the picture layer, the
    menu's interrupt). Every machine, the TRX64 C64 included, starts from its own .cor.
  • flash 0x220000: the host boot app, 1,106,556 bytes, loaded to and started at 0x30000. It is not the
    Ultimate app: it is the boot menu that reads a .cor and starts that core.

Built from the tag v0.2.0.

3. Install the host

  1. Unzip the whole bundle into one folder on a USB stick or the SD card, e.g. /TRX64-MC/: the update file and
    the .cor files side by side. The installer copies every .cor and .cfw that lies beside it into /cores, and every .u2a (Unzip) into /cores/apps.
  2. In the file browser of the firmware the machine runs now, open trx64host_update_0.2.0.ue2 (stock firmware: Gideon's, or
    Commodore's 1.1.0, which takes no .cfw) or trx64host_update_0.2.0.cfw (our firmware) and pick Run Update.
  3. Two questions: you leave the warranty of Gideon and Commodore. Answer both with Yes; any No goes back to
    the menu with nothing written.
  4. Pick the medium for the cores: SD or USB. On it the installer creates /cores, and writes:
    • TRXBK_<date>_nnn.BIN and TRXBK_<date>_nnn.CFW: what was in the flash before; the .CFW reinstalls it;
    • the old firmware as a core, e.g. commodore-110.cor or gideon-315a.cor (recovery icon in the menu);
    • the cores that lay beside the update file;
    • /Flash/boot.cfg: the old firmware as the default, the copied cores as further entries, direct start on.
      Then it writes the flash. Do not pull the medium or switch off meanwhile.
  5. Unplug a JTAG adapter, then power-cycle the board. The first start copies the old firmware's bitstream into
    the flash once (shown on screen); then your old firmware starts straight away, as before.
  6. Hold C= (or fire on joystick port 1) while switching on to get the boot menu with all cores instead.
    F8 Settings switches the direct start off if you want the menu every time.

The way back: start the old firmware's .cor from the menu and run an update file it accepts with Run Update:
Gideon's firmware takes the backup TRXBK_..CFW; Commodore's 1.1.0 takes only a .ue2, so use Commodore's own
1.1.0 update file there. By cable: a USB-Blaster and openFPGALoader -c usb-blaster --fpga-part xc7a50tfgg484 -f <bitstream>.

3a. Already on a TRX64 MultiCore host (an earlier bundle)

Order matters: update the host first, then copy the cores. A .cor of this bundle can carry a record an older host does not know (diag.cor has record 8, the files it installs on the card); an older host refuses it.

  1. Copy trx64host_update_0.2.0.txu anywhere on the SD card or stick. Do not use the .cfw here: the host's File Browser starts a .cfw as a core.
    Also copy miniz.u2a, softboot.u2a, trex_crt.u2a, unzip.u2a into /cores/apps/ (create the folder): the update does not copy it.
  2. Host menu, F3, open trx64host_update_0.2.0.txu. It shows what it writes (only the parts that changed) and asks; answer Yes.
  3. When it reports the flash written and verified, power-cycle the board. A host from this bundle on restarts by itself.
  4. Only now copy every .cor of this bundle into /cores, replacing the old ones.

4. The stick

Prepare the stick (or the SD card) on the PC like this:

/cores/                      the .cor files of this bundle, and any .cfw full firmware
    trx64.cor  vc20.cor  amiga.cor  ...
    apps/                    applications every core reads (T180 D9), from this bundle; never a core's folder:
        unzip.u2a            Unzip here / Unzip to folder / Extract one file, on a .zip in the F3 browser
        miniz.u2a            the zip library Unzip loads (T197); it has no menu entry, and any application that reads a .zip can use it
    <name>/                  one folder per core, made by the core at its first start; never part of a release:
        <name>.cfg           its settings
        roms/                its ROM files (section 5)
        saves/               what it saves
anywhere                     your media: .adf .hdf .atr .xex .d64 .prg .nes .dsk ...
  • Cores: the installer enters the cores it copied (section 3). Later cores you add yourself with A in the
    File Browser (F3), from any folder of the USB stick or the SD card; it does not search the media. One folder per core:
    /cores/<name>.cor; its folder /cores/<name>/ (settings, roms/, saves/) appears beside it at the first start.
  • ROMs: a core reads its ROM files from roms/ in its own folder and nowhere else; no file is shared between cores.
    A file it finds missing is copied once, verified, from the old places (roms/<folder>/ on /flash, /usb0 ... /usb3,
    /sd, and a roms/ folder beside the .cor for a file the core names). /flash/roms is only read, never written.
    A release copied over an older one leaves the folders as they are. F8, "Cores and ROMs", shows what is missing and what is double.
  • Unzip (all cores): the installer (section 3) writes unzip.u2a to /cores/apps/unzip.u2a; after the update in 3a, or by hand, copy it there yourself; every core finds it there, no copy per core folder. A unzip.u2a
    in a core's own /cores/<name>/apps/ wins over that one. Then ENTER on a ...
Read more