]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
UHRES also disable DDFSTRT/STOP limit
authorToni Wilen <twilen@winuae.net>
Sat, 20 Feb 2021 16:46:03 +0000 (18:46 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 20 Feb 2021 16:46:03 +0000 (18:46 +0200)
custom.cpp

index 0d5a77adbc60f17e443e7d2a3fb0d068a35d9b63..86502d96c129eb304d2698f2dba4ef888204bc6d 100644 (file)
@@ -746,8 +746,9 @@ STATIC_INLINE int get_equ_vblank_endline (void)
 }
 
 #define DDF_OFFSET 4
-#define HARD_DDF_LIMITS_DISABLED ((beamcon0 & 0x80) || (beamcon0 & 0x4000) || (bplcon0 & 0x40))
-/* The HRM says 0xD8, but that can't work... */
+// VARBEAMEN, HARDDIS, SHRES, UHRES
+#define HARD_DDF_LIMITS_DISABLED ((beamcon0 & 0x80) || (beamcon0 & 0x4000) || (bplcon0 & 0x40) || (bplcon0 & 0x80))
+/* The HRM says 0xD8, but that can't work... */ 
 #define HARD_DDF_STOP (HARD_DDF_LIMITS_DISABLED ? maxhpos : 0xd4)
 #define HARD_DDF_START_REAL 0x14
 /* Programmed rates or superhires (!) disable normal DMA limits */