mirror of
https://github.com/irmen/prog8.git
synced 2025-01-12 19:29:50 +00:00
added palette.set_all_black() and set_all_white()
This commit is contained in:
parent
442fa07dd4
commit
e145d2255e
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user