![]() |
Forum Index : Microcontroller and PC projects : CMM2: Program memory taken by CSUBs
Author | Message | ||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
This is not a complaint merely an RFI. It looks like the ASCII/HEX text of a CSUB definition is maintained in Program memory even though it is presumably never referenced after the "flashing magic" has happened, e.g. for SPForth: > memory Program: 90K (17%) Program (1059 lines) <-- primarily the CSUB text 29K ( 5%) 1 Embedded C Routine 397K (78%) Free Is there any particular reason it has to be kept around, once it has been converted to native code couldn't the in-flash copy of the BASIC program just store blank lines in its place? Perhaps there is nothing to gain because you would be beyond the point where that extra Program Memory was useful. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |