]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Line 0 A1000 and OCS Agnus strobe fix
authorToni Wilen <twilen@winuae.net>
Sun, 12 May 2024 16:30:28 +0000 (19:30 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 12 May 2024 16:30:28 +0000 (19:30 +0300)
custom.cpp

index c2ec739bc65856501488bd90e79ee52d67fd8f7b..5368371d4b545c606e62e915b2df7e1df11bae50 100644 (file)
@@ -2561,6 +2561,13 @@ static uae_u16 get_strobe_reg(int slot)
                strobe = 0x3c;
                if (vb_start_line > 1 && vpos < get_equ_vblank_endline() && vpos >= get_equ_vblank_startline()) {
                        strobe = 0x38;
+                       if (vpos == 0) {
+                               if (agnusa1000) {
+                                       strobe = 0x3c;
+                               } else if (!ecs_agnus) {
+                                       strobe = 0x3a;
+                               }
+                       }
                } else if (vb_start_line > 1 || vb_end_line || vb_end_next_line) {
                        strobe = 0x3a;
                }