added palette.set_all_black() and set_all_white()

This commit is contained in:
Irmen de Jong 2021-05-26 21:33:18 +02:00
parent 442fa07dd4
commit e145d2255e

View File

@ -70,6 +70,14 @@ palette {
}
}
inline sub set_all_black() {
set_monochrome($000, $000)
}
inline sub set_all_white() {
set_monochrome($fff, $fff)
}
sub set_grayscale() {
vera_palette_ptr = $fa00
repeat 16 {