Skip to content

Instantly share code, notes, and snippets.

@majenkotech
Last active July 24, 2022 21:03
Show Gist options
  • Save majenkotech/cb43db112cffe897beb1d2a869660eb4 to your computer and use it in GitHub Desktop.
Save majenkotech/cb43db112cffe897beb1d2a869660eb4 to your computer and use it in GitHub Desktop.
GreaseWeazle Useful Commands

This is a few useful GreaseWeazle commands for disk reading.

GW commands

  • Reading flux from a 40 track disk on an 80 track drive

Single sided:

$ gw read --tracks c=0-39:h=0:step=2 path/to/flux00.0.raw

Double sided:

$ gw read --tracks c=0-39:h=0-1:step=2 path/to/flux00.0.raw

Convert to ADF (or other image format):

$ gw convert flux00.0.raw newfile.adf

HXCFE commands

Create BMP image

$ hxcfe -finput:flux00.0.raw -foutput:test.bmp -conv:BMP_DISK_IMAGE

ADF archiving script:

#!/bin/bash

BASE=$1

mkdir "$BASE"
gw read "$BASE/flux00.0.raw"
hxcfe -finput:$BASE/flux00.0.raw -conv:AMIGA_ADF -foutput:$BASE.adf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment