gfx2 screenmode tweak

This commit is contained in:
Irmen de Jong 2024-03-19 01:21:56 +01:00
parent 5f27426f59
commit c38765301e
2 changed files with 9 additions and 3 deletions

View File

@ -55,9 +55,11 @@ gfx2 {
}
else -> {
; back to default text mode
cx16.r15L = cx16.VERA_DC_VIDEO & %00000111 ; retain chroma + output mode
cbm.CINT()
cx16.VERA_DC_VIDEO = (cx16.VERA_DC_VIDEO & %11111000) | cx16.r15L
if active_mode!=0 {
cx16.r15L = cx16.VERA_DC_VIDEO & %00000111 ; retain chroma + output mode
cbm.CINT()
cx16.VERA_DC_VIDEO = (cx16.VERA_DC_VIDEO & %11111000) | cx16.r15L
}
}
}

View File

@ -1,6 +1,10 @@
TODO
====
short-circuit evaluation problem?
in imageviewer: if diskio.f_open(filenameptr) and diskio.f_read(scanline_buf, 2)==2 DOESN'T WORK. (operand order swap maybe???)
...