Reply 20 of 33, 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 in
25-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 model
TINY map: (all blocks in a single 64 segment)
Start Stop Length Name Class
00000H 002D7H 002D8H CSEG CODE
002E0H 00326H 00047H DSEG IDATA
00327H 003D6H 000B0H BSEG UDATA
003D7H 003D7H 00001H MSEG UDATA
Program entry point at 0000:0100
Warning: no stack
SMALL map: (64k cpde + 64k data with InitedDATA overlapped)
Start Stop Length Name Class
00000H 001EFH 001F0H CSEG CODE
001F0H 00236H 00047H DSEG IDATA
00237H 002E6H 000B0H BSEG UDATA
002E7H 002E7H 00001H MSEG UDATA
002E8H 00327H 00040H SSEG STACK
Program entry point at 0000:0000
Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal