BitmapGet
Gets a bitmap from the port graphical functions are writing to.
BitmapGet stores a series of bytes (the size of which is defined by BitmapSize) defining a bitmap for a rectangular area (whose boundaries are given using the SCR_RECT structure rect) into a buffer pointed to by BitMap. The data is fetched in the port graphical functions are writing to (see PortSet). The first two words at the address BitMap will contain the height and the width (in pixels) of the rectangular area respectively, then the actual data follows. BitMap is usually a pointer to a BITMAP structure.
Mais c'est lent, si c'est un jeu qui doit sauvegarder à chaque frame quelque chose, fais autrement et enregistre dans un handle, à la main.
Et fait gaffe si tu utilises ça en niveaux de gris, faut rediriger les fonctions du TIOS vers les plages mémoire des plans, regarde PortSet et PortRestore.