This further confirms what we talked about earlier in the other thread ( ). I needed to install an extra "dummy" interlaced modeline through Soft15Khz before it would work. Interestingly when I first installed this 680x496i modeline through Soft15Khz, the dynamic adjustment would *not* work, not with ddraw or d3d. OK, I forced snowbros to run on and dynamic refresh rate adjustment for the directdraw interlaced screenmode works! Both video and audio are fully smooth and emulation speed is at 100% (config and log attached). The arcade_osd_test_00 logs the following two lines when switching to interlace: I'm not sure if it would help re looking at the WinUAE source code (not sure if it is possible to look at revision), but in any case the changes for interlace seem to have been around the time of winuae_2400b15:Ĭode: Video: Monitor 00010001 = "\\.\DISPLAY1" (primary)ĭirectDraw: Configuring device ATI Radeon HD 4800 SeriesĭirectDraw: Error 80004001 attempting to set video mode call Thus preferably interlaced screens are opened while explicitly specifying the target refresh rate, e.g. Calling it with the "default" refresh rate may result in unpredictable behaviour, because default refresh may not match with the interlace/progressive screenmode flag. For some screenmodes (like 640x480) both 30Hz interlaced and 59Hz and 60Hz progressive may be available. , thus knowing whether the next field will be odd or even.
616 618, if the field is odd it will report 47 49. Use the D3DRASTER_STATUS structure ( ) to get the actual scanline status. To be able to match source and output odd and even fields, one needs to know whether the output (monitor) is currently displaying the even or odd field. So for a typical 60hz refresh (30Hz interlaced) there will be 30 odd fields and 30 even fields alternating, having a total of 60 "progressive" fields per second. When D3DSCANLINEORDERING_INTERLACED is set, frames with the uneven lines (odd field) and frames with even lines (even field) are alternating. Syncing odd and even fields between source and output. The image is created using the interlaced method in which odd-numbered lines are drawn on odd-numbered passes and even lines are drawn on even-numbered passes.