Tailbite v1.4.17 for Windows and PB 5.31 + PB 5.40 LTS

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

mpz
Enthusiast
Enthusiast
Posts: 494
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Tailbite v1.4.17 for Windows and PB 5.31 + PB 5.40 LTS

Post by mpz »

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
Last edited by mpz on Wed Dec 16, 2015 1:36 am, edited 11 times in total.
Working on - MP3D Library - PB 5.73 version ready for download
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: Tailbite v1.4.12 for Windows and PB 5.31

Post by falsam »

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 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
mpz
Enthusiast
Enthusiast
Posts: 494
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: Tailbite v1.4.12 for Windows and PB 5.31

Post by mpz »

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 - PB 5.73 version ready for download
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: Tailbite v1.4.12 for Windows and PB 5.31

Post by falsam »

ok mpz, works fine with pb 5.31:)

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: Tailbite v1.4.12 for Windows and PB 5.31

Post by falsam »

This snippet does not work if one parameter is optional. The library is created but you must enter the two parameters.

Code: Select all

ProcedureDLL Increment(Value, Inc = 2)
  ProcedureReturn(Value + inc)
EndProcedure
debug Increment(3) does not work

debug Increment(3,2) works

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
mpz
Enthusiast
Enthusiast
Posts: 494
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: Tailbite v1.4.12 for Windows and PB 5.31

Post by mpz »

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: Select all

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 - PB 5.73 version ready for download
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: Tailbite v1.4.12 for Windows and PB 5.31

Post by falsam »

Strange but this is the best solution. Thanks mpz :)

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
mpz
Enthusiast
Enthusiast
Posts: 494
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: Tailbite v1.4.13 for Windows and PB 5.31

Post by mpz »

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 - PB 5.73 version ready for download
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1243
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Re: Tailbite v1.4.13 for Windows and PB 5.31

Post by Paul »

Whatever I try to TailBite with your version, I receive fasm error..

Example:

Code: Select all

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
mpz
Enthusiast
Enthusiast
Posts: 494
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: Tailbite v1.4.13 for Windows and PB 5.31

Post by mpz »

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: Select all

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: Select all

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
Last edited by mpz on Tue Jan 20, 2015 9:14 am, edited 2 times in total.
Working on - MP3D Library - PB 5.73 version ready for download
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: Tailbite v1.4.13 for Windows and PB 5.31

Post by Bisonte »

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 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
mpz
Enthusiast
Enthusiast
Posts: 494
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: Tailbite v1.4.13 for Windows and PB 5.31

Post by mpz »

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 - PB 5.73 version ready for download
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: Tailbite v1.4.13 for Windows and PB 5.31

Post by Bisonte »

thx. Now it seems to work.
I will have more testing ;)
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
akee
Enthusiast
Enthusiast
Posts: 475
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: Tailbite v1.4.13 for Windows and PB 5.31

Post by akee »

Thanks mpz
mpz
Enthusiast
Enthusiast
Posts: 494
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: Tailbite v1.4.14 for Windows and PB 5.31

Post by mpz »

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
Last edited by mpz on Tue Sep 01, 2015 3:26 pm, edited 1 time in total.
Working on - MP3D Library - PB 5.73 version ready for download
Post Reply