View previous topic :: View next topic |
Author |
Message |
xxhehe Expert Cheater Reputation: 0
Joined: 11 Mar 2015 Posts: 136
|
Posted: Sat Mar 21, 2015 12:15 am Post subject: Error: Identifier not found "SetMXCSR" |
|
|
byteinterpreter.pas(477,11) Error: Identifier not found "SetMXCSR"
byteinterpreter.pas(733) Fatal: There were 1 errors compiling module, stopping
P.S1:
windows XP 32-bit
CE 6.4 SVN 2925
Description: |
|
Filesize: |
148.78 KB |
Viewed: |
15351 Time(s) |
|
|
|
Back to top |
|
|
justa_dude Grandmaster Cheater Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Mar 21, 2015 11:10 am Post subject: |
|
|
Lazarus should be from revision 44997
FPC2.7.1 from revision 27759
Also, you have to apply this patch, if you want 32bit CE:
Code: | Index: pointerscannerfrm.pas
===================================================================
--- pointerscannerfrm.pas (wersja 2926)
+++ pointerscannerfrm.pas (kopia robocza)
@@ -1340,7 +1340,9 @@
for i:=0 to Pointerscanresults.modulelistCount-1 do
sqlite3.ExecuteDirect('INSERT INTO modules(ptrid, moduleid, name) values ('+ptrid+','+inttostr(i)+',"'+Pointerscanresults.getModulename(i)+'")');
- for j:=0 to Pointerscanresults.count-1 do
+ //for j:=0 to Pointerscanresults.count-1 do
+ j:=0;
+ while j<=Pointerscanresults.count-1 do
begin
offsetlist:='';
offsetvalues:='';
@@ -1361,7 +1363,7 @@
progressbar1.position:=ceil(j / Pointerscanresults.count * 100);
progressbar1.Update;
end;
-
+ inc(j);
end;
progressbar1.position:=100;
progressbar1.update;
|
_________________
|
|
Back to top |
|
|
justa_dude Grandmaster Cheater Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Sun Mar 22, 2015 5:44 pm Post subject: |
|
|
I think DB uploaded a patch to SVN, build 2927, that reworks the bit that's causing you compile errors. Give it a try?
Quote: |
475 - {$ifdef windows}
476 - Set8087CW($133f); //disable floating point exceptions (multithreaded)
477 - SetMXCSR($1f80);
478 - {$endif}
475 + SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]);
476 +
|
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
|
Back to top |
|
|
justa_dude Grandmaster Cheater Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Tue Mar 24, 2015 9:22 pm Post subject: |
|
|
mgr.inz.Player wrote: | @justa_dude, that change is for other purposes - to make the code more portable. |
Heh, maybe... you've gotta' admit that it would also eliminate the "byteinterpreter.pas(477,11) Error: Identifier not found "SetMXCSR" error, though.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Mar 28, 2015 1:02 pm Post subject: |
|
|
Nope.
In windows you can use SetMXCSR and Set8087CW to enable/disable exceptions and etc. But, that isn't available in ARM.
SetExceptionMask will work on more machines, also with ARM.
And he needs newer version anyway. there are many changes like this one:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/objpas/sysutils/sysutils.inc?revision=27656&view=markup&pathrev=27656
Code: | Fri Apr 25 15:10:12 2014 UTC (11 months ago) by sergei
File MIME type: text/plain
File size: 17649 byte(s)
* i386 and x86_64 changes for Delphi compatibility:
* 'mxcsr' variable made public and renamed to DefaultMXCSR.
* GetSSECSR and SetSSECSR renamed to GetMXCSR and SetMXCSR, respectively. Previous names continue to exist as deprecated aliases |
_________________
|
|
Back to top |
|
|
justa_dude Grandmaster Cheater Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Sat Mar 28, 2015 4:29 pm Post subject: |
|
|
justa_dude wrote: | Heh, maybe... you've gotta' admit that it would also eliminate the "byteinterpreter.pas(477,11) Error: Identifier not found "SetMXCSR" error, though. |
mgr.inz.Player wrote: | Nope. |
OK, please explain to me how removing the call to SetMXCSR doesn't eliminate the error the OP had with being unable to find the SetMXCSR function? Where would the error come from if byteinterpreter.pas no longer attempts to call SetMXCSR?
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sat Mar 28, 2015 4:31 pm Post subject: |
|
|
that one error might be fixed, but there are lots of other issues that will show up after that (e.g the RPM/WPM parameter change)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
justa_dude Grandmaster Cheater Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Sat Mar 28, 2015 4:36 pm Post subject: |
|
|
Dark Byte wrote: | that one error might be fixed, but there are lots of other issues that will show up after that (e.g the RPM/WPM parameter change) |
Fair enough. I can't claim to know the build environment well, so I'll happily defer on the matter.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
Back to top |
|
|
|