Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

MMX

Can I use somehow MMX instructions and MMX registers under 16-bit DOS ??

If a little source example, please.


Comments

  • It's not a good idea to use MMX. A lot of people may not have MMX Enhanced computers. (Which is usually 686+) Use FPU instructions instead.


    For the best results, it may be a good idea to have your program check for MMX & FPU first before anything else. If MMX is found, then your program uses MMX. If MMX isn't found, then it'd use FPU instead. If both FPU and MMX are not found, then it'd use regular 80x86 instructions. Doing this is quite complicated.


    You'd have to detect if the computer is a 486+. If it's not a 486+, you'd use regular 80x86 instructions. If it's a 486+, then you'd use the CPUID instruction to detect if there's an FPU, and then detect if it's a 686+. I don't know how to do this.


  • So can I use MMX under 16-bit DOS


  • Justin BibJustin Bib USAMember Posts: 0

    \ http://forcoder.org \ free video tutorials and ebooks about | Visual Basic .NET, Perl, C, PHP, Assembly, R, Java, C++, MATLAB, C#, PL/SQL, Swift, Python, Go, Scratch, Ruby, Objective-C, Visual Basic, JavaScript, Delphi SAS, Lua, Apex, ABAP, Hack, Clojure, Erlang, Scala, LabVIEW, Logo, Alice, Awk, Julia, Rust, COBOL, Scheme, Crystal, F#, Ada, Fortran, Bash, Transact-SQL, VBScript, Kotlin, Dart, Prolog, FoxPro, Lisp, ML, D | ________

Sign In or Register to comment.