VOGONS


Questions about fpu

Topic actions

  • This topic is locked. You cannot reply or edit posts.

Reply 24 of 30, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Sorry, missed the external.

Try the following for FLD STi:
gen_protectflags();
gen_load_host(&TOP,DREG(TMPW),4);
gen_dop_word_imm(DOP_ADD,true,DREG(TMPW),decode.modrm.rm);
gen_dop_word_imm(DOP_AND,true,DREG(TMPW),7);
gen_call_function((void*)&FPU_PREP_PUSH,"");

gen_load_host(&TOP,DREG(TMPB),4);
gen_call_function((void*)&FPU_FST,"%Dd%Dd",DREG(TMPW),DREG(TMPB));

fpu.top is modified by prep push, but the parameter (the i in STi)
is based on the unmodified value.
At least Quake runs then, the other opcodes are fine afaict.

wd

Reply 27 of 30, by red_avatar

User metadata
Rank Oldbie
Rank
Oldbie

Is there a way a normal person who doesn't have C++ compilers at home can easily use the enhanced code to run games like Tomb Raider ?

Retro game fanatic.
IBM PS1 386SX25 - 4MB
IBM Aptiva 486SX33 - 8MB - 2GB CF - SB16
IBM PC350 P233MMX - 64MB - 32GB SSD - AWE64 - Voodoo2
PIII600 - 320MB - 480GB SSD - SB Live! - GF4 Ti 4200
i5-2500k - 3GB - SB Audigy 2 - HD 4870

Reply 28 of 30, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Ask someone who's already compiled it, wait for CVS, wait for official ver, get a free compile and compile it yourself.

DOSBox Compilation Guides
DosBox Feature Request Thread
PC Game Compatibility List
How To Ask Questions The Smart Way
Running DRM games offline

Reply 30 of 30, by leecher

User metadata
Rank Newbie
Rank
Newbie
DosFreak wrote on 2005-04-15, 21:43:

Ask someone who's already compiled it, wait for CVS, wait for official ver, get a free compile and compile it yourself.

Sorry for digging up this old thread, but I was in the need of a DOS FPU tester myself and wanted to attach a link to my compiled version here so that other ppl searching for it have a download link and don't need to compile it themselves:

https://github.com/leecher1337/ntvdmx64/files … 1/testfloat.zip