Git Product home page Git Product logo

lain's Introduction

Lain

Description

esxDOS dot command to upload machine code programs over the air from PC to wifi equiped ZX Spectrum(like wload by mcleod_ideafix).

It based on two sides - Speccy part and PC part.

ZX Spectrum part

It's creates TCP server that listen 6144 port.

It accepts connection, receives data as plain values and tries execute it as snapshot(SNA format, 48k and 128k both supported).

When you'll execute it - you'll see IP address of server and port. So you'll ready for transfering snapshot.

Speccy part preset with lain dot command. Just call it from basic and you'll be ready for receiving snapshot:

.lain

PC part

Can be implemented via any TCP transmit programm starting from netcat and ending with special implemented(example in pcutil directory).

Simplest way(using netcat utility) similar to wload usage except you're using plain snapshots:

nc <ip_address_of_speccy> 6144 < test.sna

Also there're example tool written in Rust present.

It self documentary - just call it with --help key:

sna-upload 0.1.0 (c) Alex Nihirash
This utility used for delivery snapshot to ZX Spectrum running Lain

Usage: sna-upload <IP> <SNAPSHOT>

Arguments:
  <IP>        IP address of ZX Spectrum that's runs Lain
  <SNAPSHOT>  File name of snapshot to deliver

Options:
  -h, --help  Print help information

Development

For development speccy part I'm using sjasmplus and GNU version of make.

If you want add additional device to support - please place uart driver to drivers directory, logical modules should be placed to modules directory.

If you have some replacement logic for some target(for example, different wifi routines) - use conditional build based on flags and implement logic in same named modules but in different files and include required file by selected target.

Legal

This part of software is unlicensed - it's public domain.

lain's People

Contributors

nihirash avatar anarsoul avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.