Comments (3)
A-ha:
How to detect an Intel 386 vs a NexGen 5x86
So if you set ZF=1 from XOR DX,DX, then execute a divide instruction that will have a nonzero remainder like 0x5555 / 2, the CPU is an Intel CPU if ZF changes, else the NexGen 5x86 does not change ZF.
from dosbox-x.
OK. Most of the programs now detect cputype=386 as a 80386. The only stubborn program that still detects the CPU as a NexGen 5x86 is AGSI.
from dosbox-x.
Fixed. It took some additional work on the DIV instruction emulation. Now most programs detect cputype=386 as an Intel 386DX, except for one that sees the CPU as a Chips & Tech 38600 (Super386), and Windows 95 OSR2 which sees the CPU as a "CyrixInstead" (argh).
I have no idea why Windows 95 OSR2 would misdetect cputype=386 as a Cyrix, but I do have a good idea why the other program misdetects it as a C&T 38600: http://computer-programming-forum.com/46-asm/c4c6d67250609049.htm
The common test seems to be to execute POPAD and a memory EA reference repeatedly to purposely trigger the POPAD bug, then assume that if the bug doesn't trigger the CPU is not an Intel 386. Well, DOSBox doesn't emulate the POPAD bug, so... it thinks we're a C&T 38600 instead of an Intel 386DX.
from dosbox-x.
Related Issues (20)
- Homebrew ports for old consoles HOT 1
- DontPanic demo (1993) is missing the fixed GTSR.exe HOT 7
- Raspberry Pi 5 build HOT 11
- Can support CHD ZSTD and CreateDVD function?
- Windows 98 HOT 1
- Questions about the last nightly build HOT 1
- Disabling the FPU doesnโt stop Quake from running
- Inukaze vs Windows 98SE via DOSBox-X 2024.03.01 HOT 2
- XQueryPointer starts to return constant values after mouse "lock" (cursor sticks to the screen edges) HOT 3
- [Solved] Is VGA 9dot font hardcoded in DOSBox? HOT 5
- 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?
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.