Log In  

How to reproduce:

  • save a zero length pico8 file
  • reload() file from another cart

surprise! 0x0 -- 0x42ff was been wiped out clean even if "blah.p8" doesn't contain any data :/

P#137575 2023-11-17 18:24 ( Edited 2023-11-17 18:25)


this is actually what I would expect to happen... cart ROM is not a variable length; it always contains data in the entire addressable data region. maybe you are thinking of the p8 file as the cart? but to me it is just a text representation of the cart, and anything empty there is actually just 0s at runtime when the cart is loaded

P#137580 2023-11-17 19:35

I agree with kittenm4ster. This is to be expected. Roms are all the same size. Technically a .p8 isn't a rom, it's just info on what to put in a rom. The .p8.png is a rom, and it's always the same size. Being able to treat a .p8 as if it were a rom is just a dev convenience, I'd say.

P#137631 2023-11-19 03:18 ( Edited 2023-11-19 03:25)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-12-05 17:26:55 | 0.006s | Q:13