FDOS / freecom

FreeDOS Command Shell (command.com)
http://www.freedos.org/
GNU General Public License v2.0
158 stars 38 forks source link

Fix: ia16-elf-gcc code wrongly assumed XMS driver preserves %bx #2

Closed tkchia closed 6 years ago

tkchia commented 6 years ago

This proposed patch fixes a problem which (on my machine) was causing FreeCOM compiled with xms-swap gcc to swap only part of the transient stack area --- rather than the whole stack --- to XMS, and back. The bug ultimately would cause FreeCOM to crash when one tries to EXIT from the shell.

Thank you!

bartoldeman commented 6 years ago

Thanks! I will make the same change to the OW pragma aux for XMS too.