kervinck / gigatron-rom

System, apps and tooling for the Gigatron TTL microcomputer
BSD 2-Clause "Simplified" License
229 stars 79 forks source link

Hack Browser_SDCard_ROMv2_v1.gbas to fit in Pro Micro memory #229

Closed lb3361 closed 2 years ago

lb3361 commented 2 years ago

My mistake. The revised version of the sdcard browser didn't fit in the pro micro rom. This version makes it small enough.

Note that I gave up on ROMv1 because FindLoader does not deal with ROMv1 either. The big gain was to check only the high byte of loaderExec to for checking DEVROM variants. Nevertheless I had to reorder some ifs to optimize the && and &.

Bad news are:

lb3361 commented 2 years ago

Thanks to veekoo, we know it works: https://forum.gigatron.io/viewtopic.php?p=2968#p2968