Skip to content
Permalink
Browse files

INT 10 in PC-98 mode: Clear text/attr RAM but stop short of erasing n…

…on-volatile RAM at A3FE0h
  • Loading branch information...
joncampbell123 committed Sep 4, 2019
1 parent 3e70cbf commit 1e2bcb6bc0ca8182221f107f6b1f12d9dc7e9d33
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/ints/int10.cpp
@@ -1175,7 +1175,7 @@ void INT10_Startup(Section *sec) {
mem_writeb(0x71F,0x01); /* scrolling speed is normal */

/* init text RAM */
for (unsigned int i=0;i < 0x2000;i += 2) {
for (unsigned int i=0;i < 0x1FE0;i += 2) {
mem_writew(0xA0000+i,0);
mem_writeb(0xA2000+i,0xE1);
}
@@ -1184,6 +1184,7 @@ void INT10_Startup(Section *sec) {
mem_writew(0xA8000+i,0);
mem_writew(0xB0000+i,0);
mem_writew(0xB8000+i,0);
mem_writew(0xE0000+i,0);
}
}
}

0 comments on commit 1e2bcb6

Please sign in to comment.
You can’t perform that action at this time.