Hello Bret Johnson,

[Steve Nickolas:]

Stack allocation could be implicit. Don't know how NASM is handling
this, as I wouldn't touch that one with a barge pole... ;-)
Check the list file when assembling this..

In TSR's, the stack is NEVER implicit.  It is something you must explicitly 
handle somewhere in the TSR.  For all but the simplest TSR's, the TSR should 
set up a stack for itself to use while it is processing things.

Well, this is GRAFTABL we are discussing here, so it probably does
qualify as one of the "simplest TSRs". :-)

GRAFTABL basically just needs to install a 1024-byte glyph table
somewhere in conventional memory, and point the int 0x1f vector at it.
(The glyph table can then be used to display "extended ASCII" characters
in a CGA graphics mode.)  There is no need to even install any resident
code.

Thank you!

--
https://gitlab.com/tkchia


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to