It is currently Thu Sep 19, 2019 11:48 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 47 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Tailbite v1.4.17 for Windows and PB 5.31 + PB 5.40 LTS
PostPosted: Sun Jan 18, 2015 12:33 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Oct 11, 2008 9:07 pm
Posts: 416
Location: Germany, Berlin > member German forum
Hello,

Fred hat rewritten the Asm output for PB 5.31/5.40 LTS < and the tailbite 1.4.11 version for windows doesnt work in this version. I need tailbite for my engine and so i have made a new version 1.4.17. I hope this version will work. It is my first try to change the code for the new asm output (and it was very hard and i need a long time ;) Please test it and if you find a problem please make a testfile, i will check it...

Please use the normal Tailbite 1.4.11 installer and change the Tailbite.exe file with my version manually

The exe file for exchange
http://www.flasharts.de/mpz/Tailbite/Tailbite.exe

Here the sourcodes i have changed ( with much debug function for testing)
http://www.flasharts.de/mpz/Tailbite/TailBite.pb -> Only new testfile implemented
http://www.flasharts.de/mpz/Tailbite/Tailbite_Res.pb -> only "_ll_" lib function added
http://www.flasharts.de/mpz/Tailbite/Inc_Tailbite.pb -> some pb5.31 functions implemented with (too) much debug functions
http://www.flasharts.de/mpz/Tailbite/Inc_Prefs.pb -> some pb5.40 and win 10 functions implemented
http://www.flasharts.de/mpz/Tailbite/Inc_OS_Win.pb -> some pb5.40 and win 10 functions implemented

restart compiler integrated (Windows only)

* Addition, i have added some functions for x64, float and double ProcedureDLL are working now

Another solution is to create the lib with 5.24 and use this in the 5.31 version

Greetings Michael

_________________
Working on - MP3D Library -


Last edited by mpz on Wed Dec 16, 2015 1:36 am, edited 11 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.12 for Windows and PB 5.31
PostPosted: Sun Jan 18, 2015 1:12 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 606
Location: France
Hello mpz.

Thanks for this new release but ..... :)

Line58
I:\temp\Tailbite 1.4.11\Inc_Misc.pb
Invalid memory access

I do not drive I

_________________

➽ Windows 10 - PB 5.62 & PB 5.70 LTS

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.12 for Windows and PB 5.31
PostPosted: Sun Jan 18, 2015 1:20 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Oct 11, 2008 9:07 pm
Posts: 416
Location: Germany, Berlin > member German forum
Hi falsam,

you need the PB 5.31 version (not 5.30 version) and the tailbite windows must show Version 1.4.12. Please check this...

Greetings Michael

_________________
Working on - MP3D Library -


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.12 for Windows and PB 5.31
PostPosted: Sun Jan 18, 2015 1:24 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 606
Location: France
ok mpz, works fine with pb 5.31:)

_________________

➽ Windows 10 - PB 5.62 & PB 5.70 LTS

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.12 for Windows and PB 5.31
PostPosted: Sun Jan 18, 2015 2:22 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 606
Location: France
This snippet does not work if one parameter is optional. The library is created but you must enter the two parameters.
Code:
ProcedureDLL Increment(Value, Inc = 2)
  ProcedureReturn(Value + inc)
EndProcedure
debug Increment(3) does not work

debug Increment(3,2) works

_________________

➽ Windows 10 - PB 5.62 & PB 5.70 LTS

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.12 for Windows and PB 5.31
PostPosted: Sun Jan 18, 2015 2:38 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Oct 11, 2008 9:07 pm
Posts: 416
Location: Germany, Berlin > member German forum
Dear falsam,

Tailbite cant make these kind of codes. You must make two (ore more) DLL procedures with numbers

procedureDll Increment(Value), procedureDll Increment2(Value,INC), procedureDll Increment3(Value,INC,test)...

Here a testcode for you:


Code:
Procedure Increment_All(Value,INC) ; My kind of solution
 
  ProcedureReturn (Value + INC)

EndProcedure
   
   
ProcedureDLL Increment(Value)  ; Procedure2
 
  INC = 2
  ProcedureReturn Increment_All(Value, INC)
   
EndProcedure
 
ProcedureDLL Increment2(Value,INC) ; Procedure2
 
  ProcedureReturn Increment_All(Value, INC)
   
EndProcedure


Greetings Michael

_________________
Working on - MP3D Library -


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.12 for Windows and PB 5.31
PostPosted: Sun Jan 18, 2015 12:29 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 606
Location: France
Strange but this is the best solution. Thanks mpz :)

_________________

➽ Windows 10 - PB 5.62 & PB 5.70 LTS

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.13 for Windows and PB 5.31
PostPosted: Sun Jan 18, 2015 4:26 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Oct 11, 2008 9:07 pm
Posts: 416
Location: Germany, Berlin > member German forum
HI,

i have actualiced the version to Tailbite v1.4.13 for Windows and PB 5.31.
ProcedureDLL.f and ProcedureDLL.d are working now with PB5.31 x64

Grettings Michael

_________________
Working on - MP3D Library -


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.13 for Windows and PB 5.31
PostPosted: Sun Jan 18, 2015 6:12 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Fri Apr 25, 2003 4:34 pm
Posts: 904
Location: Canada
Whatever I try to TailBite with your version, I receive fasm error..

Example:
Code:
ProcedureDLL TestMe() ;Test Function
  MessageRequester("OK","Done!")
EndProcedure

---------------------------
TailBite Error
---------------------------
FAsm: TestMe.asm

Could not start fasm in standby mode
---------------------------
OK
---------------------------


Using PB5.31x86, TB1.4.13

_________________
Image Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.13 for Windows and PB 5.31
PostPosted: Sun Jan 18, 2015 9:04 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Oct 11, 2008 9:07 pm
Posts: 416
Location: Germany, Berlin > member German forum
Hi Paul,

i have tested you code with 1.4.13 for Windows and PB 5.31 (x86) and it works fine

Please check the "PB 5.31" version, the Tailbite Massage "1.4.13" and have renamed the testfile to TestMe.pb?

Please try to start Purebasic and Tailbite in Administrator Mode.

I have made a little testlib to show how to use the libfiles

Testlib.pb
compiled:
http://www.flasharts.de/mpz/Tailbite/test_lib

Code:
ProcedureDLL integer_test(angle) ; integer DLL
 
  answer = angle *  10
  ProcedureReturn answer

EndProcedure


ProcedureDLL.f floatXfloat_test(angle.f) ; float Dll
 
  answer.f = Float_LimitTo360(angle) *  float_test(angle)
 
  ProcedureReturn answer

EndProcedure

ProcedureDLL.d double_test(angle.d) ; double Dll
 
  answer.d = angle * 100
 
  ProcedureReturn answer

EndProcedure

ProcedureDLL.q Quad_test(angle.q) ; quad Dll
 
  answer.q = angle * 1000
 
  ProcedureReturn answer

EndProcedure

Procedure ParameterProc_all(one, two) ; Procedur to use with two paramters
 
  answer = one + two
  ProcedureReturn answer
 
EndProcedure

ProcedureDLL ParameterProc(one) ; DLL procedure with one Parameter
 
  ProcedureReturn ParameterProc_all(one, two)
 
EndProcedure

ProcedureDLL ParameterProc2(one, two) ;  DLL procedure with two Parameter
 
  ProcedureReturn ParameterProc_all(one, two)
 
EndProcedure

ProcedureDLL TestMe() ; Requester DLL
 
  MessageRequester("OK","Done!")
 
EndProcedure


NewCommands.pb
Code:
Debug Chr(10)+"Float_LimitTo360()"
For n = 0 To 9
  Debug Float_LimitTo360(n * 60)
Next   

Debug Chr(10)+"float_test()"
For n = 0 To 9
  Debug float_test(n) ;
Next   

Debug Chr(10)+"integer_test()"
For n = 0 To 9
  Debug integer_test(n) ;
Next

Debug Chr(10)+"floatXfloat_test()"
For n = 0 To 9
  Debug floatXfloat_test(n) ;
Next

Debug Chr(10)+"double_test()"
For n = 0 To 9
  Debug double_test(n) ;
Next

Debug Chr(10)+"Quad_test()"
For n = 0 To 9
  Debug Quad_test(n) ;
Next

Debug Chr(10)+"ParameterProc(one, two)"
Debug ParameterProc(1)
Debug ParameterProc(1,2)

Debug Chr(10)+"Test_Me()"
TestMe()

Debug Chr(10)+"Done"


Greetings Michael

_________________
Working on - MP3D Library -


Last edited by mpz on Tue Jan 20, 2015 9:14 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.13 for Windows and PB 5.31
PostPosted: Mon Jan 19, 2015 1:39 am 
Offline
Addict
Addict
User avatar

Joined: Tue Oct 09, 2007 2:15 am
Posts: 1082
I have the same problem like Paul.

---------------------------
TailBite Error
---------------------------
FAsm: TestMe.asm

Could not start fasm in standby mode
---------------------------
OK
---------------------------

Equal what I try to "tailbite" and what PB Version.
I try it with 5.24 and 5.31 in both version (x86/x64) on different machines

_________________
PureBasic 5.70 LTS (Windows x86/x64) | Windows10 Pro x64 | Z370 Extreme4 | i7 8770k | 32GB RAM | iChill GeForce GTX 980 X4 Ultra | HAF XF Evo​​
English is not my native language... (I often use DeepL to translate my texts.)


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.13 for Windows and PB 5.31
PostPosted: Mon Jan 19, 2015 9:27 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Oct 11, 2008 9:07 pm
Posts: 416
Location: Germany, Berlin > member German forum
Hi to all,

i am sorry, i tested the download file on another PC and the same error appears there. I think i uploaded a wrong or defective file. I have actualized the Tailbite.exe file with a tested tailbite.exe file. Please download again and test this version...

Greetings Michael

_________________
Working on - MP3D Library -


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.13 for Windows and PB 5.31
PostPosted: Mon Jan 19, 2015 4:25 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Oct 09, 2007 2:15 am
Posts: 1082
thx. Now it seems to work.
I will have more testing ;)

_________________
PureBasic 5.70 LTS (Windows x86/x64) | Windows10 Pro x64 | Z370 Extreme4 | i7 8770k | 32GB RAM | iChill GeForce GTX 980 X4 Ultra | HAF XF Evo​​
English is not my native language... (I often use DeepL to translate my texts.)


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.13 for Windows and PB 5.31
PostPosted: Wed Mar 04, 2015 2:25 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Aug 18, 2004 9:52 am
Posts: 425
Location: Penang, Malaysia
Thanks mpz


Top
 Profile  
Reply with quote  
 Post subject: Re: Tailbite v1.4.14 for Windows and PB 5.31
PostPosted: Thu Jun 04, 2015 11:37 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Oct 11, 2008 9:07 pm
Posts: 416
Location: Germany, Berlin > member German forum
Hello,

i found a next Float/double Problem with PB 5.31 (x64) and have actualized the Tailbite version to version 1.4.14. You find the actualized download on the beginn of these thread.

....
The exe file for exchange
http://www.flasharts.de/mpz/Tailbite/Tailbite.exe -> version 1.4.14

...
http://www.flasharts.de/mpz/Tailbite/Inc_Tailbite.pb -> solved a new found PB31 x64 problem

Greetings Michael

_________________
Working on - MP3D Library -


Last edited by mpz on Tue Sep 01, 2015 3:26 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye