To prevent performance degradation, we will cache the result of GetConsoleOutputCP() after executing every external command.
--
v4: cmd: Use the console output code page to read batch files.
programs/cmd: Factor out code_page when searching for a label.
cmd/tests: Add updated code page test in batch file.
cmd: Use the OEM code page if GetConsoleOutputCP fails.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6885
According to the DPMI specification, DPMI functions 0900h-0902h related to
Virtual Interrupt State has to always return state in AL register.
As wine does not support disabling virtual interrupt flag, report that
interrupts are always enabled (AL=1).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7904
Windows provides DPMI host according to DPMI version 0.9.
Add cases for all missing DPMI 0.9 function calls into wine code, set
Carry flag which indicates DPMI failure and mark them with appropriate
FIXME comments.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7902