- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
i'm tying to re-use same routines in assembler that use INT 22 (16h) interrupt to test keyboard usage from a fortran main.
the old version was written in microsoft fortran for dos and microsoft macro assembler 5.1.
now i have CVF 6.6 and Masm 6.14.
The program crashes at instruction INT 22 in the assembler subroutine.
I use "console application" project.
Is there something ican do or i have to forget my old programs?:smileysad:
thanks
cecio
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to forget the old code, which assumed a DOS environment. There are library routines provided to test for unsolicited console input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
...namely, GetAsyncKeyState, GetKeyboardState (USE DFWIN).
Jugoslav
![](/skins/images/2F496A9BF2E73260E2FDFDBCABF91248/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page