Author Topic: [8X+] flash snacks  (Read 415 times)

0 Members and 1 Guest are viewing this topic.

• Posts: 289
• Rating: +42/-0
[8X+] flash snacks
« on: June 28, 2019, 09:38:06 am »
Welcome =]

All the following will work on all black & white models, under all official OS & boot codes.
I'd say the optimisation ratio is something around 90%/10% (speed/size).
Each routine is pretty deeply documented, but don't hesitate to ask any question if something is unclear.
I ASSUME YOU KNOW WHAT YOU'RE DOING, AND ARE FOLLOWING THE RULES (INPUTS).
Unless specified otherwise, everything not listed in the outputs is unchanged.

flashunlocka & flashunlockb :

Unlocks the flash chip.
Based on thepenguin77's code, i extended its universality, and made it a bit safer.
flashunlocka is the one you'll typically use, compatible in both a prgm or app environement.
flashunlockb works the same way, but uses a custom buffer in case you have some valuable data where the OS writes.

flashlocka & flashlockb :

Locks the flash chip, way faster than with using the actual bcall.
flashlocka is the one to use from a prgm.
flashlockb is the one to use from an app.

flashsize :

Returns the actual rom size.