If I run "mode 4" before and run the binary the screen background turns to magenta and fonts are corrupt (with blue lines or similar).
Code: Select all
move.b #%00001000,$18063 ;turn on 8 color mode
The other way (from 8 to 4 color mode by switching 3rd bit to zero, delivers similar result).
What is wrong with this snippet? I even tried to switch off interrupts but without effect.
(I use vasm as compiler on Windows and run the binary on real QL with Minerva (QemuLator behaves same))