From f29db9e03e272d555bf87ecbfaa187981585f647 Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Tue, 25 May 2004 13:26:21 +0000 Subject: Removed, new version coming svn-id: r13866 --- backends/PalmOS/Src/arm/wide_landscape.cpp | 30 --------------------- backends/PalmOS/Src/arm/wide_portrait.cpp | 43 ------------------------------ 2 files changed, 73 deletions(-) delete mode 100644 backends/PalmOS/Src/arm/wide_landscape.cpp delete mode 100644 backends/PalmOS/Src/arm/wide_portrait.cpp (limited to 'backends/PalmOS/Src') diff --git a/backends/PalmOS/Src/arm/wide_landscape.cpp b/backends/PalmOS/Src/arm/wide_landscape.cpp deleted file mode 100644 index 8590c8cd0e..0000000000 --- a/backends/PalmOS/Src/arm/wide_landscape.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include "PACEInterfaceLib.h" -#include "ArmNative.h" -#include "endianutils.h" -#include "../shared.h" - -unsigned long OSystem_PALMOS_update_screen__wide_landscape(void *userData68KP) { - DataOSysWidePtr dataP = (DataOSysWideType *)userData68KP; - - Coord x, y; - UInt8 *dst = (UInt8 *)ReadUnaligned32(&(dataP->dst)); - UInt8 *src = (UInt8 *)ReadUnaligned32(&(dataP->src)); - - for (y = 0; y < WIDE_HALF_HEIGHT; y++) { - for (x = 0; x < WIDE_HALF_WIDTH; x++) { - *dst++ = *src++; - *dst++ = *src; - *dst++ = *src++; - } - for (x = 0; x < WIDE_HALF_WIDTH; x++) { - *dst++ = *src++; - *dst++ = *src; - *dst++ = *src++; - } - - MemMove(dst, dst - 480, 480); - dst += 480; - } - - return 0; -} diff --git a/backends/PalmOS/Src/arm/wide_portrait.cpp b/backends/PalmOS/Src/arm/wide_portrait.cpp deleted file mode 100644 index 7e4213137e..0000000000 --- a/backends/PalmOS/Src/arm/wide_portrait.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include "PACEInterfaceLib.h" -#include "ArmNative.h" -#include "endianutils.h" -#include "../shared.h" - -unsigned long OSystem_PALMOS_update_screen__wide_portrait(void *userData68KP) { - DataOSysWidePtr dataP = (DataOSysWideType *)userData68KP; - - Coord x, y; - UInt8 *dst = (UInt8 *)ReadUnaligned32(&(dataP->dst)); - UInt8 *src1 = (UInt8 *)ReadUnaligned32(&(dataP->src)); - UInt8 *src2 = src1; - - for (x = 0; x < WIDE_HALF_WIDTH; x++) - { - for (y = 0; y < WIDE_HALF_HEIGHT; y++) - { - *dst++ = *src1; - src1 += WIDE_PITCH; - *dst++ = *src1; - *dst++ = *src1; - src1 += WIDE_PITCH; - } - src1 = --src2; - dst += 20; // we draw 200pix scaled to 1.5 = 300, screen width=320, so next is 20 - - for (y = 0; y < WIDE_HALF_HEIGHT; y++) - { - *dst++ = *src1; - src1 += WIDE_PITCH; - *dst++ = *src1; - *dst++ = *src1; - src1 += WIDE_PITCH; - } - src1 = --src2; - dst += 20; - - MemMove(dst, dst - WIDE_PITCH, 300); // 300 = 200 x 1.5 - dst += WIDE_PITCH; - } - - return 0; -} \ No newline at end of file -- cgit v1.2.3