]> git.sur5r.net Git - c128-kasse/commitdiff
kasse: Add comment why we disable IRQs mxf/umlauts
authorMaik Fischer <maikf@qu.cx>
Sun, 15 Oct 2017 22:26:47 +0000 (00:26 +0200)
committerMaik Fischer <maikf@qu.cx>
Sun, 15 Oct 2017 22:26:47 +0000 (00:26 +0200)
src/kasse.c

index 4bed5cf5f8380ec00aaf5348b3143250e5f58a6b..c7c2cc471adff599b6d9591bebc259220aa60b7c 100644 (file)
@@ -412,6 +412,10 @@ int main(void) {
   /* clock CPU at double the speed (a whopping 2 Mhz!) */
   fast();
 
+  /* Manipulate the VDC with IRQs turned off.
+   * KERNALs default IRQ handler will also try to read the VDC status
+   * register, which could interfere with our code trying to read it.
+   */
   SEI();
   vdc_patch_charset();
   CLI();