mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-09-27 09:55:43 +00:00
Memory is now filled with 00,00,FF,FF
This commit is contained in:
parent
80682935f9
commit
d5ca179418
@ -965,8 +965,21 @@ void MemReset ()
|
|||||||
|
|
||||||
// INITIALIZE THE RAM IMAGES
|
// INITIALIZE THE RAM IMAGES
|
||||||
ZeroMemory(memaux ,0x10000);
|
ZeroMemory(memaux ,0x10000);
|
||||||
|
|
||||||
ZeroMemory(memmain,0x10000);
|
ZeroMemory(memmain,0x10000);
|
||||||
|
|
||||||
|
// TODO: Verify the RAM pattern is still valid for an Apple //e
|
||||||
|
int iByte;
|
||||||
|
for( iByte = 0x0000; iByte < 0xC000; )
|
||||||
|
{
|
||||||
|
iByte++;
|
||||||
|
iByte++;
|
||||||
|
|
||||||
|
memmain[ iByte++ ] = 0xFF;
|
||||||
|
memmain[ iByte++ ] = 0xFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// SET UP THE MEMORY IMAGE
|
// SET UP THE MEMORY IMAGE
|
||||||
mem = memimage;
|
mem = memimage;
|
||||||
image = 0;
|
image = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user