ecm Düsseldorf, Germany, 09.03.2018, 13:11 |
How to set an .EXE stack segment same as the code segment? (Developers) |
During some work on RxCMD, I noticed that the original reference file has exeInitSS = 0 and exeInitSP = 0 too. That means the stack lives at the end of the (64 KiB) first segment of the file. exeMinAlloc doesn't cover this usage, even though it should. --- |
ecm Düsseldorf, Germany, 09.03.2018, 14:13 @ ecm |
How to set an .EXE stack segment same as the code segment? |
As a side-effect of making RxDOS 7.22's RxCMD build with NASM's internal (bin) linker, I was able to manually set the exeMinAlloc as required, and I left both exeInitSS and exeInitSP as zero. --- |
alexfru USA, 10.03.2018, 06:35 @ ecm |
How to set an .EXE stack segment same as the code segment? |
> Now, I wanted to explicitly set the stack as a segment, but I can't seem to |