Title [lDOS] Function 47h (get cwd) should return AX=0100h
AuthorE. C. Masloch
Created2026-06-07 09:16:52 +0200 Jun Sun
State closed

According to the interrupt list:

many Microsoft products for Windows rely on AX being 0100h on success

Reference: https://github.com/LoopZ/TheList/blob/fa803c25/source/Interrupt%20List/INT%2021%20DOS%20Function%20Calls/INT%202147%20DOS%202%20CWD%20GET%20CURRENT%20DIRECTORY.txt

E. C. Masloch on 2026-06-07 09:20:02 +0200 Jun Sun

Fixed in hg 576fbeab0fef on 2026-05-09. It previously zeroed AL instead of setting the entire AX, with the comment "MZ 19 Jan 84".