-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use subcommands; can now 'write' or 'show'
- Loading branch information
Showing
5 changed files
with
76 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
#!/bin/sh | ||
set -x | ||
set -e | ||
c1541 -format example,ds d64 disk.d64 | ||
|
||
find fluxvis -name \*.py | while read l; do c1541 -attach disk.d64 -write "$l" "`echo ${l##*/} | tr A-Z a-z`"; done | ||
find fluxvis -name \*.py | while read l; do | ||
fn=$(echo $l | sha256sum | cut -b -16) | ||
c1541 -attach disk.d64 -write "$l" "$fn" | ||
done | ||
|
||
~/src/fluxengine/fluxengine write commodore1541 --no-verify -d disk.scp -i disk.d64 --drive.rotational_period_ms 200 | ||
~/src/fluxengine/fluxengine read commodore1541 -s disk.scp -o disk.d64 --decoder.write_csv_to disk.csv --drive.rotational_period_ms 200 -c 0-34 | ||
python3 -mfluxvis disk.scp etc/disk.jpg --oversample 3 --resolution 640 --stride 2 --tracks 35 --diameter 108 | ||
python3 -mfluxvis disk.scp etc/diskcolor.jpg --oversample 3 --resolution 640 --stride 2 --tracks 35 --diameter 108 --location disk.csv | ||
python3 -mfluxvis --oversample 3 --resolution 640 --stride 2 --tracks 35 --diameter 108 write disk.scp etc/disk.jpg | ||
python3 -mfluxvis --oversample 3 --resolution 640 --stride 2 --tracks 35 --diameter 108 --location disk.csv write disk.scp etc/diskcolor.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters