MSA2 and TP7 overlays (Announce)
> Apparently you use TP7 for that purpose, which I don't have. So I can't
> (easily) compile with "freeware" TP 5.5 because it lacks "pchar" (and other
> things). However, it does support overlays (but I'm not familiar with them
> at all!).
>
> I did put that one function in a separate file, just to prove a point. You
> can change "ord(s[0])" into "length(s)" (at least with TP 5.5), and the
> output .EXE has the exact same CRC32. My point is that it might be
> cleaner, clearer, and more portable to not assume the length is only a byte
> at offset 0. Compile-time calculations and constant expressions are useful
> indeed. Just FYI.
Code for CALLER.PAS was wroten very fast - so i am ask for leniency.
You are right, ut is good point - fix it for TP5.5.
PS: I am little be stuck in code generation process (problem when label change offset betweet compiler pass) - i am try convert msa2 into single pass assembler. When i solve this trouble in my way - i will be very near to obj generation. This is the reason, why i have no new commits now (nothing ready).
---
Make DOS great again!
Carthago delenda est, Ceterum censeo Carthaginem delendam esse.
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