Search
lxdream.org :: lxdream/src/display.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.h
changeset 162:f7781f928f7e
prev144:7f0714e89aaa
next327:00d55a462af3
author nkeynes
date Wed Jan 03 09:00:17 2007 +0000 (17 years ago)
permissions -rw-r--r--
last change Adjust timers when they're read rather than waiting until the next time
slice. Also temporarily cut the CPU time by 4.
Initialize the FRQCR register to 0x0E0A for convenience
file annotate diff log raw
1.1 --- a/src/display.h Mon May 15 08:28:52 2006 +0000
1.2 +++ b/src/display.h Wed Jan 03 09:00:17 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: display.h,v 1.1 2006-05-15 08:28:48 nkeynes Exp $
1.6 + * $Id: display.h,v 1.2 2006-06-18 11:57:55 nkeynes Exp $
1.7 *
1.8 * The PC side of the video support (responsible for actually displaying /
1.9 * rendering frames)
1.10 @@ -40,6 +40,8 @@
1.11 #define COLFMT_INDEX4 6 /* 4 bit indexed colour (texture source only) */
1.12 #define COLFMT_INDEX8 7 /* 8-bit indexed colour (texture source only) */
1.13
1.14 +extern int colour_format_bytes[];
1.15 +
1.16 typedef struct video_buffer {
1.17 uint32_t hres;
1.18 uint32_t vres;
.