From 0a55c3dd7cdfe6452c5b03dee854897a37d4d440 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 20 Feb 2021 18:46:03 +0200 Subject: [PATCH] UHRES also disable DDFSTRT/STOP limit --- custom.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/custom.cpp b/custom.cpp index 0d5a77ad..86502d96 100644 --- a/custom.cpp +++ b/custom.cpp @@ -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 */ -- 2.47.3