Git Product home page Git Product logo

ugo's Introduction

ugo 0.2

Ugo provides 1541Ultimate control to run and mount C64 programs and disks via TCP. It is a partial port of Ucodenet by TTL in pure Go by burg.

Features

  • Mounts and runs .prg and .d64 files transparently.
  • Supports multidisk and flip disk, just hit enter at the turn disk part.
  • Force mount (no run) with the -m flag.

Install Library

go get github.com/staD020/ugo

Use Library

Error handling omitted, see source for more options.

package main

import (
    "os"
    "github.com/staD020/ugo"
)

func main() {
    f, _ := os.Open("file.prg")
    defer f.Close()
    u, _ := ugo.New("192.168.2.64:64")
    defer u.Close()
    _ = u.Run(f)
    return
}

Install Command-line Interface

go install github.com/staD020/ugo/cmd/ugo@latest

usage: ./ugo [-h -a 192.168.2.64:64 -timeout 3] FILE [FILES]

You can also set your 1541u's address with environment variable UGO.

export UGO=10.1.1.64:64

Options

  -a string
    	network address:port for the TCP connection to your 1541Ultimate (default "localhost:6464")
  -h	help
  -help
    	show help
  -m	always mount, never reset
  -timeout int
    	connection timeout in seconds (default 1)

ugo's People

Contributors

stad020 avatar

Stargazers

 avatar Jakub Pamulski avatar Michæl avatar  avatar Rolf avatar Renaud Guérin 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.