mirror of
https://github.com/flowenol/apple1cartridge.git
synced 2024-12-26 13:31:15 +00:00
bin2a1monitor.py script fix
This commit is contained in:
parent
012d30fd11
commit
53abc88b83
@ -1,5 +1,4 @@
|
||||
import sys
|
||||
import binascii
|
||||
|
||||
"""
|
||||
This utility transforms binary data to A1 monitor format, starting offset
|
||||
@ -20,7 +19,7 @@ if __name__ == "__main__":
|
||||
byte = file.read(1)
|
||||
while byte:
|
||||
|
||||
row.append(binascii.hexlify(byte).upper())
|
||||
row.append(byte.hex().upper())
|
||||
if len(row) == 8:
|
||||
print_row(row_offset, row)
|
||||
row = list()
|
||||
|
Loading…
Reference in New Issue
Block a user