I reused a code from stackoverflow and all I get is a hang trying to return from the interrupt, printing the following:
This is the code and the compiled .exe I reused: https://github.com/MiSTer-devel/PCXT_Mi ... 6/KEY2.zip
It's like not returning properly from interrupt in the:
out 20h, 20h
which in C is: outp(0x20, 0x20);
Expected behaviour (Dosbox execution):
https://user-images.githubusercontent.c ... 520728.mov
Does the code is ok? it looks like