•  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-FileBlitmode()                                                            XBIOS

Syntax

WORD Blitmode( mode )
WORD mode;

Function      Blitmode() detects a hardware BLiTTER chip and can alter its
              configuration if present.

Opcode        64 (0x40)

Availability  This call is available as of TOS 1.02.

Parameters    mode is used to set the BLiTTER configuration. If mode is
              BLIT_INQUIRE (1), the call will return the current state of
              the BLiTTER without modifying its state. To change the
              method of OS blit operations, call Blitmode() with one of
              the following values:

              Name      mode  Meaning

              BLIT_SOFT   0   If set, use hardware BLiTTER chip, otherwise
                              use software routines.

              BLIT_HARD   1   If set, hardware BLiTTER chip is available.

Binding       move.w   mode,-(sp)
              move.w   #$40,-(sp)
              trap     #14
              addq.l   #4,sp

Return Value  Blitmode() returns the old mode value. Bit #0 of mode
              contains the currently set blitter mode as shown above. Bit
              #1 is set to indicate the presence of a hardware blitter
              chip or clear if no blitter chip is installed.

Comments      You should use this call once to verify the existence of the
              BLiTTER prior to attempting to change its configuration.