mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-10 13:29:56 +00:00
This commit is contained in:
parent
be0a105619
commit
07884302bd
@ -4,7 +4,7 @@ AppleWin : An Apple //e emulator for Windows
|
|||||||
Copyright (C) 1994-1996, Michael O'Brien
|
Copyright (C) 1994-1996, Michael O'Brien
|
||||||
Copyright (C) 1999-2001, Oliver Schmidt
|
Copyright (C) 1999-2001, Oliver Schmidt
|
||||||
Copyright (C) 2002-2005, Tom Charlesworth
|
Copyright (C) 2002-2005, Tom Charlesworth
|
||||||
Copyright (C) 2006-2008, Tom Charlesworth, Michael Pohoreski, Nick Westgate
|
Copyright (C) 2006-2010, Tom Charlesworth, Michael Pohoreski, Nick Westgate
|
||||||
|
|
||||||
AppleWin is free software; you can redistribute it and/or modify
|
AppleWin is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@ -125,15 +125,6 @@ enum Color_Palette_Index_e
|
|||||||
, NUM_COLOR_PALETTE
|
, NUM_COLOR_PALETTE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
//#define SRCOFFS_40COL 0
|
|
||||||
//#define SRCOFFS_IIPLUS (SRCOFFS_40COL + 256)
|
|
||||||
//#define SRCOFFS_80COL (SRCOFFS_IIPLUS + 256)
|
|
||||||
//#define SRCOFFS_LORES (SRCOFFS_80COL + 128)
|
|
||||||
//#define SRCOFFS_HIRES (SRCOFFS_LORES + 16)
|
|
||||||
//#define SRCOFFS_DHIRES (SRCOFFS_HIRES + 512)
|
|
||||||
//#define SRCOFFS_TOTAL (SRCOFFS_DHIRES + 2560)
|
|
||||||
|
|
||||||
const int SRCOFFS_40COL = 0; // 0
|
const int SRCOFFS_40COL = 0; // 0
|
||||||
const int SRCOFFS_IIPLUS = (SRCOFFS_40COL + 256); // 256
|
const int SRCOFFS_IIPLUS = (SRCOFFS_40COL + 256); // 256
|
||||||
const int SRCOFFS_80COL = (SRCOFFS_IIPLUS + 256); // 512
|
const int SRCOFFS_80COL = (SRCOFFS_IIPLUS + 256); // 512
|
||||||
@ -294,6 +285,7 @@ void CopySource (int dx, int dy, int w, int h, int sx, int sy )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
void CreateFrameOffsetTable (LPBYTE addr, LONG pitch) {
|
void CreateFrameOffsetTable (LPBYTE addr, LONG pitch) {
|
||||||
if (framebufferaddr == addr &&
|
if (framebufferaddr == addr &&
|
||||||
@ -1461,6 +1453,7 @@ bool UpdateHiResCell (int x, int y, int xpixel, int ypixel, int offset)
|
|||||||
);
|
);
|
||||||
OutputDebugString("sText");
|
OutputDebugString("sText");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BYTE byteval1 = (x > 0) ? *(g_pHiresBank0+offset+yoffset-1) : 0;
|
BYTE byteval1 = (x > 0) ? *(g_pHiresBank0+offset+yoffset-1) : 0;
|
||||||
BYTE byteval2 = *(g_pHiresBank0+offset+yoffset );
|
BYTE byteval2 = *(g_pHiresBank0+offset+yoffset );
|
||||||
BYTE byteval3 = (x < 39) ? *(g_pHiresBank0+offset+yoffset+1) : 0;
|
BYTE byteval3 = (x < 39) ? *(g_pHiresBank0+offset+yoffset+1) : 0;
|
||||||
@ -2203,7 +2196,7 @@ void _Video_RedrawScreen( VideoUpdateFuncPtr_t pfUpdate, bool bMixed )
|
|||||||
|
|
||||||
for( int y = 1; y < FRAMEBUFFER_H; y += 2 )
|
for( int y = 1; y < FRAMEBUFFER_H; y += 2 )
|
||||||
{
|
{
|
||||||
unsigned char *pSrc = pSrc = g_aFrameBufferOffset[y];
|
unsigned char *pSrc = g_aFrameBufferOffset[y];
|
||||||
for( int x = 0; x < FRAMEBUFFER_W; x++ )
|
for( int x = 0; x < FRAMEBUFFER_W; x++ )
|
||||||
{
|
{
|
||||||
*pSrc++ = 0;
|
*pSrc++ = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user