| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | int86 |
Francois Thunus wrote in a message to All: FT> EMX 9a chokes on int86(0x10,&inreg,&outreg); FT> I have #include and FT> grep told me that it was in fact _int86 for emx. FT> I FT> #ifdef emx FT> #define int86 _int86 FT> #endif emx FT> compiles but dies sys1808 with exception code 0005. FT> What am I doing wrong ? Is there no way to access int86 ? FT> Intdos compiled fine. FT> (this is legacy code and I don't want to rewrite it if I can FT> avoid it). Are you trying to generate a software interrupt in a native OS/2 program? In a DOS program, Int 0x10 is the BIOS video service, which is unavailable from native OS/2. You need to use the VioXxxxx API calls instead. Can you give us a more broad overview of what you are trying to accomplish? If you are doing something simple to port, such as setting or getting the video mode, then there are nearly direct equivalents for this in the OS/2 API. If you are trying to set up the video system for direct access to the hardware, you are doomed to a complete rewrite. -- Mike ---* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107) SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809 @PATH: 323/107 170/400 396/1 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.