Changes

V9990

626 bytes added, 12:33, 29 December 2018
/* Command Engine */
== Command Engine ==
 
=== Coordinates ===
 
* sx,sy,dx and dy use image space coordinates. Image space width can be 256, 512, 1024 or 2048 pixels. Image space coordinates are not the same as the display coordinates and display width and height. Coordinate masking is based on image space coordinates.
 
* the image space height is computed from the vram size, bits per pixel and image space width based on an equation like this:
image space width in bytes = (image size width * image bpp)/8
height = vram size bytes / image space width in bytes;
 
For a vram size of 512 this gives image space heights of &1000,&800,&400,&200,&100 and &80.
 
=== LOP ===
2,562
edits