I've added .LYX support, but it's currently automatically guessing the block size based on file size. Seems to work on all the .LYX files I've tested. I did start to add support in for .O files, but it needs some thought first. I need to work out where the header is which should look like this:-
Then we can load it to the relevant address and jump to the entry point. I guess that will work since the Lynx is already booted? ie. encrypted loader should not be required?!? The problem is where the code loaded might overlap with the menu loading the code. It might be a case of first relocating the menu loader function to free memory not used by the block in the .o file, and then loading the .o file and then jumping to the jump specified in the header. Just looking back up the post now to see if there's any other LNX files that need checking out. I tested 2 versions of TOKI I have, one has B1 in the filename and that is corrupted (gives a solid colour in Handy, just the same as on the SD card).
EDIT: My .LYX copies of Lode Runner work OK now btw.
Edited by GadgetUK, Sun May 29, 2016 6:27 AM.