Closed bobbimanners closed 4 years ago
Here is what I think was happening. iobuf[]
was 4096 bytes. FILESPERPAGE
is 160 and sizeof(struct tabent)
is 21 bytes.
21*160 = 3360 bytes - should be fine right?
However I think cc65 is padding this to 32 bytes. 32*160 = 5120. Ooops.
Increased iobuf[]
to 8192 bytes. Should be okay now.
I think the updated
file_ui()
code needs to be updated to leave the first part ofiobuf[]
unchanged.