Search
lxdream.org :: lxdream/src/pvr2/pvr2.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.h
changeset 953:f4a156508ad1
prev886:2bc6d2329cce
next1066:ddffe9d2b332
author nkeynes
date Mon Jan 26 07:26:24 2009 +0000 (15 years ago)
permissions -rw-r--r--
last change Add read_byte_for_write mem function for correct implementation of AND.B and friends
with TLB enabled.
Add read_byte and read_long MMIO stubs to do correct sign extension of IO reads
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.h Mon Oct 20 05:08:31 2008 +0000
1.2 +++ b/src/pvr2/pvr2.h Mon Jan 26 07:26:24 2009 +0000
1.3 @@ -134,6 +134,8 @@
1.4
1.5 /****************************** Frame Buffer *****************************/
1.6
1.7 +extern unsigned char pvr2_main_ram[];
1.8 +
1.9 /**
1.10 * Write a block of data to an address in the DMA range (0x10000000 -
1.11 * 0x13FFFFFF), ie TA, YUV, or texture ram.
1.12 @@ -219,6 +221,8 @@
1.13 */
1.14 void pvr2_ta_write( unsigned char *buf, uint32_t length );
1.15
1.16 +void FASTCALL pvr2_ta_write_burst( sh4addr_t addr, unsigned char *buf );
1.17 +
1.18 /**
1.19 * Find the first polygon or sprite context in the supplied buffer of TA
1.20 * data.
.