•  Back 
  •  XBIOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileVgetSize()                                                            XBIOS

Syntax

LONG VgetSize( mode )
WORD mode;

Function      VgetSize() returns the size of a screen mode in bytes.

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.