Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I have a question regarding function 2, int 16h. I have a 16-bit dos-based text editor which I'm trying to add menu's that can be access with -, - and - I'm having a real difficult time getting this to work. Essentially I'm using:
mov ah, 2h
mov FLAGS, al
to read the flags, store them in a BYTE variable so that I can reference the flags at a latter time. How do I go about integrating this into my application and allowing for these keystroke combonations to be used?
Any suggestions would be greatly appreciated.