Skip to content

Commit

Permalink
ega plane reset on mode change
Browse files Browse the repository at this point in the history
  • Loading branch information
xrip committed Dec 2, 2023
1 parent 8c480b9 commit f0a3e4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,7 @@ INLINE void intcall86(uint8_t intnum) {
//if (videomode >= 8) CPU_AL = 4;

// FIXME!!
ega_plane = 0;
RAM[0x449] = CPU_AL;
RAM[0x44A] = (uint8_t)videomode <= 2 ? 40 : 80;
RAM[0x44B] = 0;
Expand Down

0 comments on commit f0a3e4b

Please sign in to comment.