;
;
;  LCD DESCRIPTION
;
;


; Size of the LCD in pixels
R2D_WIDTH .set 128
R2D_HEIGHT .set 96


; Kind of display
R2D_LCD_DISPLAY .set R2D_COLOR

; Refresh mode of LCD
R2D_REFRESH .set R2D_HORIZONTAL

; ln2 of the number of bits to code a pixel value
; (color depth)
R2D_PIXEL_DEPTH .set 16 ; 8 for alpha channel 

; ln2 of previous value
R2D_PIXEL_POS_TO_BIT_POS .set 4



; ln2 of the number of pixels in one memory word
; (Number of pixels MUST BE A POWER OF TWO 
; for optimization reasons since to compute the address of a pixel
; in memory one would like to avoid division and would prefer
; to use shifts)
; 2^0 = 1 pixel

R2D_PIXELS_PER_MEMORY_WORD .set 1

