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
#!/usr/bin/env python | |
# | |
# (c) 2007 Matt Godbolt. | |
# Use however you like, as long as you put credit where credit's due. | |
# Some information obtained from source code from RISC OS Open. | |
# v0.01 - first release. Doesn't deal with GOTO line numbers. | |
# source: http://xania.org/200711/BBCBasicToText.py | |
# 2016 jmechnich, prints and handles line numbers now, can use stdin and stdout |
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
#!/usr/bin/env python | |
# Decode Cassette Filing System, block layer | |
from __future__ import print_function | |
import sys, struct | |
def crc16(data,crc=0): | |
for d in data: |