Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
cas.php
cas2tsx.php
drg2tsx.php
pzx.php
svi2tsx.php
tsx.php
uef.php
uef2tsx.php

README.md

TSXphpclass

This folder contains:

  • tsx.php: PHP class to read/write/manage TSX and TZX files.
  • pzx.php: PHP class to read/write/manage PZX files.
  • cas.php: PHP class to read/write/manage MSX CAS files.
  • uef.php: PHP class to read/write/manage UEF files.
  • cas2tsx.php: PHP program to convert MSX CAS files to TSX format.
  • svi2tsx.php: PHP program to convert SVI CAS files to TSX format.
  • drg2tsx.php: PHP program to convert DRAGON/CoCo CAS files to TSX format.
  • uef2tsx.php: PHP program to convert UEF files to TSX format (Experimental).

Tools syntax:

$> php cas2tsx.php <filename.CAS> <filename.TSX>

$> php svi2tsx.php <filename.CAS> <filename.TSX>

$> php drg2tsx.php <filename.CAS> <filename.TSX>

$> php uef2tsx.php <filename.UEF> <filename.TSX>

Example tsx.php use:

  include_once "tsx.php";
  
  $tsx = new TSX("MYGAME.TSX");
  
  $block = new Block35();
  $block->key("TSX.RIPPER");
  $block->text("makeTSX v0.8b");
  $tsx->insertBlock(0, $block);
  
  $info = $tsx->getInfo();
  
  $tsx->saveToFile("MYGAME.TSX");

Example pzx.php use:

  $pzx = new PZX();
  
  //Create & Add MSX estandar pilot
  $pzx->addBlock(PZX::createBlock_MSX_Pilot());
  
  //Create & Add MSX Data block 
  $b = PZX::createBlock_MSX();
  $b->data("Data Test...");
  $pzx->addBlock($b);

By NataliaPC (@ishwin74).

Donations

If you've found useful this code please consider a donation:

Donation address

bitcon:1DaY35yWGPRneTK9cUuyvgYcHM9GCGa4Ag