FujiNetWIFI / fujinet-config

#FujiNet cross-platform CONFIG program
GNU General Public License v3.0
6 stars 19 forks source link

Replace set_cursor with pre-computed offsets per line #73

Closed markjfisher closed 1 year ago

markjfisher commented 1 year ago

I've replaced the complex set_cursor calculation code (that was taking 1107 bytes) with pre-computed offsets for each screen type.

This has lead to a further 737 bytes coming off the application. Also included is a small change to fn_io.lib that removes 41 bytes of table entries that were always overwritten.

Total saving of 778 bytes.