Fix emulation problem manifesting as bug in cracked version of J----

This commit is contained in:
Aaron Culliney 2014-11-08 00:15:32 -08:00
parent 2d6ca9ce89
commit 30d7f88c21

View File

@ -461,6 +461,14 @@ void c_initialize_apple_ii_memory()
apple_ii_64k[1][i] = 0; apple_ii_64k[1][i] = 0;
} }
// Stripe words of main memory on machine reset ...
// NOTE: cracked version of J---- will lock up without this
for (i = 0; i < 0xC000;) {
apple_ii_64k[0][i++] = 0xFF;
apple_ii_64k[0][i++] = 0xFF;
i += 2;
}
for (i = 0; i < 8192; i++) for (i = 0; i < 8192; i++)
{ {
language_card[0][i] = language_card[1][i] = 0; language_card[0][i] = language_card[1][i] = 0;