title: "ClearScreen" description: TRSE built-in method (from IDE help)
ClearScreen
Systems: C64, MEGA65, PLUS4, C128, VIC20, NES, PET
Parameters: b, a
ClearScreen( [byte], [address] );
- [byte] - value to use to clear the screen
- [address] - address of the screen memory
Description
Fills the memory address with 40*25 = 1000 bytes of the value specified.
Example
ClearScreen($20, ^$0400); // Clears screen bank 1 with a space character ($20)
ClearScreen(RED, ^$D800); // Fills color ram with red