Code Monkey home page Code Monkey logo

uiecswitch64's Introduction

uIecSwitch

Written by Glenn Holmer (a.k.a "Shadow", a.k.a "Cenbe").

https://www.lyonlabs.org/commodore/onrequest/geos/index.html#uIecSwitch

July 20th, 2018

Overview

uIecSwitch is a GEOS 64 application for switching between disk images on a uIEC or sd2iec drive.

Installing

Inside the bin folder is a cc65 compiled version in GEOS CONVERT format which can be copied directly to a .d64, d71 or .d81 image file using DirMaster or another Commodore disk imaging program. When using DirMaster, the file will be automatically converted to GEOS format but with other utilities you may have to manually convert to GEOS format using CONVERT 2.5.

The official geoProgrammer compiled version is also available from the lyonlabs.org web site mentioned above.

Compiling

Compiling requires the cc65 6502 compiler which is available from https://cc65.github.io/cc65/.

The following libraries are required from the GOES 2.0 source code at https://github.com/mist64/geos/tree/master/inc

geosmac.inc
geossym.inc
jumptab.inc

The button bitmap data is contained inside the main source file uIecSwitch128.S. If the .png/.pcx source images are changed, they need to be recompiled using sp65 and then manually added to uIecSwitch128.S. If needed, use Gimp to convert from .png to .pcx.

sp65 -v -r button-open.pcx -c geos-bitmap -w button-open.s,format=asm
sp65 -v -r button-parent.pcx -c geos-bitmap -w button-parent.s,format=asm
sp65 -v -r button-up.pcx -c geos-bitmap -w button-up.s,format=asm
sp65 -v -r button-down.pcx -c geos-bitmap -w button-down.s,format=asm

The program icon is contained in icon-program.bin. If the .png/.pcx source image is changed, it needs to be recompiled using sp65.

sp65 -v -r icon-program.pcx -c geos-icon -w icon-program.bin,format=bin

The following will compile, resulting in a program file which can then be converted using Convert in GEOS or copied directly using DirMaster. See the Installation section.

ca65 -t geos-cbm uIecSwitchS.s
grc65 -t geos-cbm uIecSwitchG.grc
ca65 -t geos-cbm uIecSwitchG.s
ld65 -t geos-cbm -o uIecSwitch.cvt uIecSwitchS.o uIecSwitchG.o geos-cbm.lib

uiecswitch64's People

Contributors

alexb7 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

geos64128

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.