mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-28 19:30:11 +00:00
Memory is now filled with 00,00,FF,FF
This commit is contained in:
parent
ea1144fb58
commit
e56172caeb
@ -965,8 +965,21 @@ void MemReset ()
|
||||
|
||||
// INITIALIZE THE RAM IMAGES
|
||||
ZeroMemory(memaux ,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
|
||||
mem = memimage;
|
||||
image = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user