Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

QBSBlit

Synchronize the blitter request with the video beam.

Declaration

Source position: agraphics.pas line 2365

procedure QBSBlit(

  blit: pbltnode

);

Arguments

blit

  

A pointer to blitnode structure

Description

The routine that function in the bltnode is pointing to is called when the blitter is ready for work. No other task will be able to access the blitter while you're doing the blit. Queued blits have precedence over a task that tries to own the blitter via OwnBlitter(). So all queued blitter requests will be done first until the task that attempts a OwnBlitter can actually access the blitter.

Not all hardware has a blitter. On hardware where there is no blitter, a blitter is simulated. Therefore all code that will be executed in the function that is called must not contain code that is hacking the blitter's register but should contain calls to graphics functions instead.

See also

QBlit

  

Queue up a request for blitter usage

OwnBlitter

  

get the blitter for private usage

DisOwnBlitter

  

Returns blitter to free state.


Documentation generated on: 2021-07-30