commit fff6a1f

zzo38  ·  2023-04-17 03:17:33 +0000 UTC
parent 20fcde0
Remove nonstandard clear screen command; it is no longer needed, due to using fill mode instead.
2 files changed,  +0, -11
M main.c
+0, -5
 1@@ -223,11 +223,6 @@ emulator to the program), ? for parameters that may be input and/or output,
 2   (if it is unknown or unused, then the emulator MUST ignore it and not
 3   make changes to that data).
 4 
 5-20 flag
 6-  Clear screen. If flag bit0 is set, do not clear the background layer. If
 7-  flag bit1 is set, do not clear the foreground layer. Other bits are
 8-  reserved and must be clear.
 9-
10 Nonstandard ports of devices are:
11 
12 17
M main.c
+0, -6
 1@@ -857,12 +857,6 @@ static void expansion_command(Uint16 addr) {
 2       if(!use_extension) break;
 3       mem[addr+18]=0;
 4       break;
 5-    case 0x20:
 6-      if(!use_extension || !use_screen) break;
 7-      if(size_changed || !bglayer) set_screen_mode(scr_w,scr_h);
 8-      if(!(mem[addr+1]&0x01)) memset(bglayer,0,scr_w*scr_h);
 9-      if(!(mem[addr+1]&0x02)) memset(bglayer+scr_w*scr_h,0,scr_w*scr_h);
10-      break;
11   }
12 }
13