Intermec 6100 Guide De Référence

Page de 328
SECTION 6
Conversions and Interfaces
6-58    PEN*KEY
R
 6100 Computer Programmer’s Reference Guide
INT 10h, Function AX = 7F28h:  Get Window Size
VROTATE
Gets information about the current window size and position where the standard
video BIOS calls are restricted.  The restricted area is the only area that stanĆ
dard BIOS calls can modify.
Default window size may vary.  Mileage may vary.
"
NOTE:
For a rotated system, the calls are based on the rotated window,i.e. 0,0 for the rotated 0,0.
On Entry:
AH = 7Fh
AL = 28h
On Return:
AX = 007Fh
CX = Window width
DX = Window height
SI = Window X position
DI = Window Y position
INT 10h, Function AX = 7F2Ah:  Physical Write Image
VROTATE
Bolts graphical data anywhere to the physical screen.  Call goes around the winĆ
dowing to allow the application to place graphics outside the emulated video
BIOS screen.
"
NOTE:
Pass data with each scan line starting on a byte boundary.
On Entry:
AH = 7Fh
AL = 2Ah
ES:DI = Pointer to image data block
Image data block format:
Type
dw 0
; must be zero
X,Y
dw ?
; x,y on screen to place block
Width
dw ?
; width of image
Height dw ?
; height of image
BPP
db ?
; bits per pixel
Image
db ? dup( ? ) ; image packed to match display
On Return:
AH = Error code
0 = Successful
1 = BPP not supported
AL = 7Fh
There is a windows utility (currently called BMUTIL") that takes a standard
Windows BMP file that is in line art resolution (1 BPP) and generates a C" inĆ
clude file with the data for the width, height, and image information.  The asĆ
sumption is that this can compile into a C" application.
6. Conversions and
Interfaces