Socket
Book a DemoInstallSign in
Socket

laser500-exomizer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laser500-exomizer

Exomizer self extracting build tool for Laser 500.

0.0.2
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

laser500-exomizer

Exomizer self extracting build tool for Laser 500.

Takes an exomized Laser 500 program and turns it into a self extracting executable.

The self-extractor uses the Z80 deexo.asm routine relocated at the address $F500. After decompression, the system VARTAB pointer is set according to the uncompressed file length. That can be overidden for special cases (e.g. multiple chunks programs) with the -v option which sets explicitly the VARTAB pointer.

Installation

npm i -g laser500-exomizer

Usage

After installation, you can call the command exolaser from the prompt.

Example:

First create the exomized data bytes from AMSTERD.bin. It's assumed that exomizer.exe is already installed and in the path.

exomizer.exe raw -P0 amsterd.bin -o amsterd.exo.dat

Now create the Laser 500 self extracting program amsterd.exo.bin

exolaser -i amsterd.exo.dat -u amsterd.bin -o amsterd.exo.bin 

Testing

You can also test decompression with the test_deexo command. It runs the deexo routine in a simulated Z80 environment using the given parameters.

Example

test_deexo -o amsterd.bin 8995 -c amsterd.exo.dat e400
  • amsterd.bin is the original uncompressed file
  • 8995 is the memory address where the file will be decompressed to
  • amsterd.exo.dat is the exomized bytes file
  • e400 is the memory address where to put the exomized data bytes

There is also a -b option that switches to backward compression using the Z80 assembler routine deexo_b.asm. It requires that the exomized data bytes are created with the exomizer -b option.

Backward compression is used when the compressed data have to be placed in memory before the decompressed section. Normal forward compression is used when the compressed data are placed after the decompressed section.

FAQs

Package last updated on 21 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.