From: Toni Wilen Date: Sat, 20 Feb 2021 16:46:03 +0000 (+0200) Subject: UHRES also disable DDFSTRT/STOP limit X-Git-Tag: 4900~176 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=0a55c3dd7cdfe6452c5b03dee854897a37d4d440;p=francis%2Fwinuae.git UHRES also disable DDFSTRT/STOP limit --- 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 */