Reply 20 of 40, by DaveDDS
- Rank
- Oldbie
RetroPCCupboard wrote on 2025-08-04, 15:47:... Umm, yeah. That is quite different. You are generating a COM I am making an EXE: ..
The difference between .COM and .EXE isn't much, just a header:
25-08-04 1:00p 551 HELLO2.COM ;Both compiled in25-08-04 1:02p 583 HELLO2.EXE ; Tiny model
I think you are thinking about the difference between TINY model (1 segment)
and other models with multiple segments = more init code to setup)
25-08-04 1:03p 1,079 HELLO2.EXE ; Compiled in SMALL modelTINY map: (all blocks in a single 64 segment)Start Stop Length Name Class00000H 002D7H 002D8H CSEG CODE002E0H 00326H 00047H DSEG IDATA00327H 003D6H 000B0H BSEG UDATA003D7H 003D7H 00001H MSEG UDATAProgram entry point at 0000:0100Warning: no stackSMALL map: (64k cpde + 64k data with InitedDATA overlapped)Start Stop Length Name Class00000H 001EFH 001F0H CSEG CODE001F0H 00236H 00047H DSEG IDATA00237H 002E6H 000B0H BSEG UDATA002E7H 002E7H 00001H MSEG UDATA002E8H 00327H 00040H SSEG STACKProgram entry point at 0000:0000
Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal