mist64 / visualize_1541 Goto Github PK
View Code? Open in Web Editor NEWA tool that creates visualizations of the data layout on Commodore 1541 disk images
A tool that creates visualizations of the data layout on Commodore 1541 disk images
Hello,
I have some problems with the execution ...
Has someone a hint how to fix it?
$ visualize_1541.py s0.g64 s0.png
track 1.0, offset 2032, size 7814, speed 3, capacity 7814.0
track 2.0, offset 9962, size 7808, speed 3, capacity 7808.0
track 3.0, offset 17892, size 7819, speed 3, capacity 7819.0
track 4.0, offset 25822, size 7822, speed 3, capacity 7822.0
track 5.0, offset 33752, size 7817, speed 3, capacity 7817.0
track 6.0, offset 41682, size 7806, speed 3, capacity 7806.0
track 7.0, offset 49612, size 7809, speed 3, capacity 7809.0
track 8.0, offset 57542, size 7819, speed 3, capacity 7819.0
track 9.0, offset 65472, size 7825, speed 3, capacity 7825.0
track 10.0, offset 73402, size 7820, speed 3, capacity 7820.0
track 11.0, offset 81332, size 7804, speed 3, capacity 7804.0
track 12.0, offset 89262, size 7822, speed 3, capacity 7822.0
track 13.0, offset 97192, size 7819, speed 3, capacity 7819.0
track 14.0, offset 105122, size 7821, speed 3, capacity 7821.0
track 15.0, offset 113052, size 7819, speed 3, capacity 7819.0
track 16.0, offset 120982, size 7808, speed 3, capacity 7808.0
track 17.0, offset 128912, size 7818, speed 3, capacity 7818.0
track 18.0, offset 136842, size 7159, speed 2, capacity 7159.0
track 19.0, offset 144772, size 7154, speed 2, capacity 7154.0
track 20.0, offset 152702, size 7136, speed 2, capacity 7136.0
track 21.0, offset 160632, size 7140, speed 2, capacity 7140.0
track 22.0, offset 168562, size 7141, speed 2, capacity 7141.0
track 23.0, offset 176492, size 7150, speed 2, capacity 7150.0
track 24.0, offset 184422, size 7150, speed 2, capacity 7150.0
track 25.0, offset 192352, size 6677, speed 1, capacity 6677.0
track 26.0, offset 200282, size 6668, speed 1, capacity 6668.0
track 27.0, offset 208212, size 6652, speed 1, capacity 6652.0
track 28.0, offset 216142, size 6677, speed 1, capacity 6677.0
track 29.0, offset 224072, size 6676, speed 1, capacity 6676.0
track 30.0, offset 232002, size 6678, speed 1, capacity 6678.0
track 31.0, offset 239932, size 6241, speed 0, capacity 6241.0
track 32.0, offset 247862, size 6245, speed 0, capacity 6245.0
track 33.0, offset 255792, size 6255, speed 0, capacity 6255.0
track 34.0, offset 263722, size 6263, speed 0, capacity 6263.0
track 35.0, offset 271652, size 6265, speed 0, capacity 6265.0
track 36.0, offset 279582, size 6273, speed 0, capacity 6273.0
track 37.0, offset 287512, size 6274, speed 0, capacity 6274.0
track 38.0, offset 295442, size 6275, speed 0, capacity 6275.0
track 39.0, offset 303372, size 6274, speed 0, capacity 6274.0
track 40.0, offset 311302, size 6273, speed 0, capacity 6273.0
Traceback (most recent call last):
File "/usr/bin/visualize_1541.py", line 62, in <module>
img = img.resize((int(size / 16), int(size / 16)), Image.ANTIALIAS)
^^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
$
$ python3 visualize_1541.py ../marble_madness_s1[ea_1986](!).g64 mm.png
Killed
this is what happens :(
It seems that visualize_1541_blocks.py
is not python3 but python2 ?
visualize_1541$ python3 visualize_1541_blocks.py "somefile.g64" 1b.png
File ".../visualize_1541/visualize_1541_blocks.py", line 108
print "track {}, offset {}, size {}, speed {}".format(trackno, offset, len, speed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.