LONG VgetSize( mode )
WORD mode;
VgetSize() returns the screen buffer size in bytes that is needed for the specified screen mode.
Opcode
91 (0x5B)
Availability
Available if the
_VDO cookie has a value of
0x00030000 or greater.
Parameters
mode is a modecode as defined in
VsetMode()?.
Binding
move.w mode,-(sp)
move.w #$5B,-(sp)
trap #14
addq.l #4,sp
Return Value
VgetSize() returns the size in bytes of a screen mode of type mode.
See Also