Update editor to emit the new style of character bitmap

This commit is contained in:
Ben Harris 2024-10-26 18:58:25 +01:00
parent e303c792d3
commit e129bcd034

4
editor
View File

@ -193,8 +193,8 @@ class EditorGui:
def key(self, event):
if event.char in (' '):
bm = ",".join(map(lambda n: "%03o" % n, self.bitmap))
print(" {{%s}, 0x }," % bm)
bm = "".join(map(lambda n: "\\%02o" % n, self.bitmap))
print(' {"%s", U() },' % bm)
elif event.char in ('c','C'):
for y in range(YSIZE):
for x in range(XSIZE):