Log In  

Is there any memory address on PICO-8 that allows us to load a new, custom charset, without using sprite or map data?

P#46314 2017-11-15 11:18 ( Edited 2017-11-16 18:58)

The font may be accessible (and modifiable) in memory somewhere...anyone know if that is the case?

Then you could at least change the font without using up spritesheet or map real estate.

P#46318 2017-11-15 13:08 ( Edited 2017-11-15 18:08)

Yes, that'd be exactly what I am looking for, but the official docs don't mention it, and there's a bunch of memory on the wiki marked as "undocumented".

P#46327 2017-11-15 15:08 ( Edited 2017-11-15 20:08)

I don't think it's in peekable memory, somebody would have found out by now...

P#46329 2017-11-15 15:10 ( Edited 2017-11-15 20:10)

Did anybody poke their nose around 0x5f40 - 0x5f7f and documented it somewhere?
Besides peeking at values randomly, I have no idea how I could figure stuff out.

Wiki says it's "hardware space" and undocumented.

P#46332 2017-11-15 15:33 ( Edited 2017-11-15 20:34)

aw disappoint. I didn't recall anyone finding it but hoped maybe I just missed it.

I guess the font is such low resolution in the first place that I imagine it'd be hard to fit other legible characters in the same size glyphs anyway

P#46340 2017-11-15 18:17 ( Edited 2017-11-15 23:18)

3x5 is a lot of space to make a font :D I have definitely created charsets with that spec before.

Would be cool to be able to change it.

P#46363 2017-11-16 09:17 ( Edited 2017-11-16 14:17)

hmm well I guess if you would hypothetically use code (and thus use up code space) to poke and modify a bunch of characters if the default font was pokeable, it's not that much different if you just poke your characters into the free-use memory area and then use a bit more code space to write a custom print function that blits from there, right?

P#46370 2017-11-16 11:41 ( Edited 2017-11-16 16:41)

True, I guess you might as well do that!
It would have been nice as an extra tab where you could edit it like the sprites or maps ;)

P#46377 2017-11-16 13:58 ( Edited 2017-11-16 18:58)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-20 11:42:19 | 0.012s | Q:17