ultimate64

Crates.ioultimate64
lib.rsultimate64
version0.4.0
sourcesrc
created_at2024-01-15 08:08:11.539165
updated_at2024-01-19 18:38:00.054771
descriptionRust library and command line interface for interfacing with Ultimate-64 and Ultimate-II+ devices using the REST API
homepagehttps://github.com/mlund/ultimate64
repositoryhttps://github.com/mlund/ultimate64
max_upload_size
id1100156
size82,899
Mikael Lund (mlund)

documentation

https://docs.rs/ultimate64

README

Crates.io Rust rust-clippy analyze .github/workflows/release.yml docs.rs

Ultimate64

Rust library and command line interface for communicating with Ultimate-64 and Ultimate-II+ devices using the REST API.

Installation

Either download a pre-compiled binary, or compile and install using cargo, provided that you have a working Rust installation:

cargo install ultimate64

Usage

ultimate64 HOST COMMAND <OPTIONS>

Where HOST is the IP address or hostname of the Ultimate device on your local network. Alternatively specify this in the environmental variable ULTIMATE_HOST as assumed in the following examples.

Examples

ultimate64 --help                            # show available commands
ultimate64 pause                             # pause machine
ultimate64 run skate_or_die.prg              # load and run PRG file
ultimate64 load sprites.dat --address 0x2000 # load data to memory
ultimate65 peek 0x1000 --dasm -n 32          # disassemble memory
ultimate65 poke 0xd020 3                     # write single byte
ultimate65 poke 4096 --xor 0b0000_1100       # bitwise manipulation
ultimate65 poke 0x0400 0x20 --fill 1000      # fill memory
ultimate64 sidplay yie_ar_kung_fu.sid -n 2   # play SID tune
ultimate64 modplay enigma.mod                # play Amiga MOD tune

Addresses can be hexadecimal (0x1000) or decimal (4096).

Features

  • Compiled, small, and cross platform with no external dependencies
  • Can be used either as a CLI tool or as a library
  • Modern CLI with subcommands
  • First class memory safety due to Rust
  • Excellent error handling; error messages; and input validation
  • Convenient decimal, hexadecimal, and binary input
  • Bitwise operations for memory manipulation
  • 6502 disassembly
  • Load address detection
  • Precompiled binaries for MacOS, Linux, and Windows

Todo

  • Disk image and file manipulation
  • Memory bank switching for RAM access
  • Ultimate configuration handling
Commit count: 0

cargo fmt