Turbo Pascal overlays (Announce)
> Just to play around, I have a small project that is nine files (8 units and
> one main .PAS), not even 600 lines total. It doesn't use the heap at all
> (so uses roughly 33 kb of memory).
Because overlays use the heap, I wasn't sure, so I just removed the {$M ...} pragma from my source. But I should've just used {$M 4096,0,655360} to minimize the stack (which is a generous 16k by default, quite large for 16-bit). So that saves me an additional 12k. So the program really only needs about 20k of RAM. Obviously it doesn't matter than much on "modern" (full 640k) machines, but since we're splitting hairs anyways ....
Complete thread:
- MSA assembler released under MIT - DosWorld, 10.11.2019, 13:44 (Announce)
- MSA assembler released under MIT - tom, 10.11.2019, 19:00
- MSA assembler released under MIT - DosWorld, 12.11.2019, 14:42
- MSA assembler released under MIT - Rugxulo, 15.11.2019, 03:24
- MSA assembler released under MIT - DosWorld, 15.11.2019, 16:38
- MSA2 and TP7 overlays - Rugxulo, 02.12.2019, 20:47
- MSA2 and TP7 overlays - marcov, 03.12.2019, 16:37
- MSA2 and TP7 overlays - Rugxulo, 04.12.2019, 03:59
- MSA2 and TP7 overlays - marcov, 04.12.2019, 10:41
- Turbo Pascal overlays (overleden? ha!) - Rugxulo, 16.02.2020, 03:48
- Turbo Pascal overlays - Rugxulo, 18.02.2020, 03:03
- Turbo Pascal overlays & NASM Preprocessor - ecm, 05.03.2020, 16:42
- Turbo Pascal overlays (overleden? ha!) - Rugxulo, 16.02.2020, 03:48
- MSA2 and TP7 overlays - marcov, 04.12.2019, 10:41
- MSA2 and TP7 overlays - Rugxulo, 04.12.2019, 03:59
- MSA2 and TP7 overlays - rr, 03.12.2019, 21:34
- MSA2 and TP7 overlays - Rugxulo, 14.12.2019, 13:28
- MSA2 and TP7 overlays - rr, 14.12.2019, 23:42
- MSA2 and TP7 overlays - marcov, 15.12.2019, 21:07
- MSA2 and TP7 overlays - Rugxulo, 16.12.2019, 19:15
- MSA2 and TP7 overlays - marcov, 15.12.2019, 21:07
- MSA2 and TP7 overlays - rr, 14.12.2019, 23:42
- MSA2 and TP7 overlays - DosWorld, 15.12.2019, 21:42
- MSA2 and one-pass assemblers - Rugxulo, 16.12.2019, 19:32
- MSA2 compilation with GCC - Rugxulo, 12.02.2020, 08:18
- MSA2 and TP7 overlays - marcov, 03.12.2019, 16:37
- MSA assembler released under MIT - Rugxulo, 15.11.2019, 03:24
- MSA assembler released under MIT - DosWorld, 12.11.2019, 14:42
- MSA assembler released under MIT - tom, 10.11.2019, 19:00