Email or username:

Password:

Forgot your password?
Top-level
Devil Lu Linvega

This means that would I loose a source file, I can recover the sources from the rom and the symbols file and resume working on a project.

9 comments
lions & tamsyn & bears, oh my!

@neauoire could you integrate the symbols file into the ROM format, so that source code can always be recovered? (obviously, the symbols can always be stripped, but it would give a clear indication of the expectation of openness)

Devil Lu Linvega

@thamesynne I could yeah, also I think it would be pretty safe to pad the symbols to 0x10000, it would just make roms that are mostly empty space, but wouldn't bread compatibility

Devil Lu Linvega

@thamesynne I'd pick some lz compression scheme that could easily be implemented in uxntal ;)

lions & tamsyn & bears, oh my!

@neauoire lz4, maybe? pretty much any compression scheme will dispose of acres of white space

Devil Lu Linvega

@thamesynne yeah I was thinking something like that. I took at stab at an implementation once but it kicked my butt. I'd have to try again

lions & tamsyn & bears, oh my!

@neauoire might also be useful to look at Einar Saukas' Spectrum-targeted compression algorithms - although they're more concerned with decompression size and speed, assuming a "grown up" computer will throw billions of cycles at the compression

github.com/einar-saukas

Go Up