Is VIO 16 bit in OS/2?

Video input/output, the console API
Post Reply
admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Is VIO 16 bit in OS/2?

Post by admin »

Viking

Joined: 29 Sep 2006
Posts: 44
Location: Sweden
Posted: Mon Dec 04, 2006 3:49 pm

Hi

I was wondering about what parts of OS/2 is still 16 bit code. The interface part to
applications. So is VIO 16 bit?
admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Post by admin »

valerius

Joined: 03 Apr 2005
Posts: 50
Location: Elizovo, Kamchatka, Russia
Posted: Tue Dec 05, 2006 2:01 am

2Viking: Yes, VIO, MOU and KBD calls in OS/2 (intel) are 16-bit. So, there is some problem to implement
these API's as is in osFree over L4 microkernel. OS/2 (PPC) introduced 32-bit VIO API, so, osFree probably
must do the same. The question remains how to make osFree compatible with old applications using 16-bit
API's. May be, it is possible to do so via emulation (?). It seems that 16-bit code doesn't work in 32-bit L4
environment, only pure 32-bit code.
_________________
WBR,
Valery V. Sedletski
Post Reply