keyboard - Assembly 8086 Pressing two scan codes at the same time -


i'm trying write code changes screen full screen mode. problem run programming in dosbox (windows) have make dosbox become full screened. did research , found out pressing alt+enter dosbox becomes full screen. problem don't want user change full screen, , want program it.

after research found int 16h, 05h. i've set cl ascii value of enter button (0dh). set in ch scan code of alt (38h). tested , yet didn't turn full screen. did check make sure scan code of alt working, changing cl char , worked, that's not problem. tried change ch alt+enter (0ah) , still didn't work.

i think problem int 16h, 05 sends scan code , ascii char, , try refer ascii char button.

is there way press 2 scan codes @ same time? (or make alt become held down , using int 16h,05h press on enter key?)

thank you!

then set in ch scan code of alt (38h). ... did check make sure scan code of alt working, changing cl char , worked, that's not problem.

the bios function simulates keypresses never deal alt way imagine. alt special key mofifies ascii , scan codes of other keys, never show in part of encoding. setting ch 38h won't work.


getting dosbox window full screen windows operation. can windows programming code. can't within dos program running within dosbox emulator.


on idea simulate alt-enter.
in old days of windows 3.1 had pif configuration file allowed specify wether key combinations treated windows or dos program running within windows. correct selection made, dos program recieve alt-enter key.

maybe @ point try exec true windows program maximize dos program's window.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

json - Gson().fromJson(jsonResult, Myobject.class) return values in 0's -