mirror of
https://github.com/romychs/OK240.2-Firmware.git
synced 2026-11-01 20:57:26 +03:00
Monitor R7 crc32: 93bd95bd disasm
This commit is contained in:
1 parent
36d4022af1
commit
1a2570d95f
16 files changed
+6958
-32
No files matched your search
@@ -1,20 +0,0 @@
|
||||
#!/bin/python3
|
||||
|
||||
row = 32
|
||||
col = 0
|
||||
width = 7
|
||||
|
||||
with open('font.bin', 'rb') as f:
|
||||
data = f.read()
|
||||
for b in data:
|
||||
print("0x{:02x}".format(b), end='')
|
||||
if col < (width-1):
|
||||
print(", ", end='')
|
||||
col = col + 1
|
||||
if col == width:
|
||||
col = 0
|
||||
if row < 127:
|
||||
print(" ; '{}'".format(chr(row)))
|
||||
else:
|
||||
print(" ; xx")
|
||||
row = row + 1
|
||||
Reference in new issue
Block a user