Comments (2)
White line does not appear unless machine=svga_s3.
Which means the blame lies with this code in src/hardware/vga_draw.cpp:
void VGA_Update_SplitLineCompare() {
vga.draw.split_line = vga.config.line_compare+1;
if (svgaCard==SVGA_S3Trio) {
if (vga.config.line_compare==0) vga.draw.split_line=0;
if (vga.s3.reg_42 & 0x20) { // interlaced mode
vga.draw.split_line *= 2;
}
}
vga.draw.split_line -= vga.draw.vblank_skip;
}
from dosbox-x.
I wonder if the guy who added that code simply wanted to double the line count for interlaced. We could fix this bug and possibly emulate the S3 interlaced line count correctly if we replaced it with:
if (svgaCard==SVGA_S3Trio) {
if (vga.s3.reg_42 & 0x20) {
vga.draw.split_line--;
vga.draw.split_line *= 2;
vga.draw.split_line++;
}
}
The question then comes down to: Do S3 chipsets emulate line compare such that line_compare == 0 means the first scanline is repeated? Or do S3 chipsets special-case against that, and do not repeat the first scanline?
from dosbox-x.
Related Issues (20)
- Does not work at all on Sonoma HOT 1
- DOSbox-X crashes on startup with a PCIe parallel card with address D100 in Windows 10 HOT 19
- Set custom icon from config file?
- Freeze at Joan of Arc: The Siege & The Sword HOT 1
- Screen blank freeze at Bleem 1.4 demo HOT 2
- MT-32/CM32L emulator game issues - Rise of the Dragon, Bumpy HOT 1
- Custom characters and graphical mouse of Norton Desktop for DOS are not working HOT 22
- redirecting any access to the autoexec.bat and config.sys files to a drive the user chooses HOT 3
- Inukaze -VS- Windows 95 OSR2.1 [ Magic3D Drivers ] HOT 11
- Where are these CRTC timings coming from?
- New SFT code causes Windows 3.1 to crash on exit with Invalid Opcode exception (executing random code in HMA). HOT 10
- Input crashes when 1) moving app window to other monitor, 2) switching app windows, 3) minimizing and restoring HOT 5
- Please add the "FIND" command to SHELL_Cmd cmd_list[] HOT 3
- Can't get MIDI Fluidsynth to recognize SF2 Sound font file in Arch Linux HOT 8
- Mode 0x06 has wrong parameters for ega200 machine HOT 4
- Add dosbox.conf option to exclude the DOSBox-X window from screen capture/recording, especially for those who don't want their DOS gaming scraped by the Windows 11 "Recall" feature HOT 3
- Large number of files in dir stalls dosbox-x when entering and use 'dir' command for instance. HOT 11
- 3D Graphics cards HOT 1
- wiki: typo in `mouse_emulation` parameter
- SFT table can potentially be written out of bounds by DOS_MultiplexFunctions HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dosbox-x.