Skip to content

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

Notifications You must be signed in to change notification settings

AlexB7/uIecSwitch64

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published