flat assembler
Message board for the users of flat assembler.
Index
> DOS > minimun stack size recommended |
Author |
|
Cas 04 May 2006, 05:08
I don't know. It'll depend on your DOS version and on which interrupts you're going to call. Usually, DOS interrupts will not eat that much stack, but if you're calling mouse driver interrupt or EMS interrupt services, you will most likely need a little more. Anyway, even if you find your application runs always fun with 64 bytes of stack that may not be the same after you load a TSR that may get hooked from those interrupt vectors. I'd suggest a little more... say, to feel it safe, at least 256 bytes. But that is just my own opinion.
|
|||
04 May 2006, 05:08 |
|
LocoDelAssembly 04 May 2006, 12:07
OK, I will set 256 bytes then, thanks Cas
|
|||
04 May 2006, 12:07 |
|
Japheth 07 May 2006, 07:05
256 bytes is better than 64, but IIRC there are some known problems with CWSDPMI on certain conditions because it supplies a default real-mode stack of just 256. To be on the safe side a stack of 512 should be supplied.
|
|||
07 May 2006, 07:05 |
|
LocoDelAssembly 07 May 2006, 15:14
Thanks for the info Japheth!!
|
|||
07 May 2006, 15:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.