mirror of
https://github.com/jtauber/applepy.git
synced 2024-11-26 16:49:32 +00:00
if writing to text screen row group 3 just skip instead of throwing exception
This commit is contained in:
parent
a9904be5b9
commit
02714dff55
@ -100,7 +100,10 @@ class Memory:
|
|||||||
hi, lo = divmod(base, 0x80)
|
hi, lo = divmod(base, 0x80)
|
||||||
row_group, column = divmod(lo, 0x28)
|
row_group, column = divmod(lo, 0x28)
|
||||||
row = hi + 8 * row_group
|
row = hi + 8 * row_group
|
||||||
assert row_group != 3 # @@@
|
|
||||||
|
# skip if writing to row group 3
|
||||||
|
if row_group == 3:
|
||||||
|
return
|
||||||
|
|
||||||
c = chr(0x20 + ((value + 0x20) % 0x40))
|
c = chr(0x20 + ((value + 0x20) % 0x40))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user