![]() |
![]() |
#1 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,538
|
vbcc V0.9e released
I hope I didn't forget too much. These releases are becoming way too complicated...
http://sun.hasenbraten.de/vbcc/ Changes since last release:
|
![]() |
![]() |
#2 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,835
|
Thanks for your work on this.
Kamelito |
![]() |
![]() |
#3 |
Registered User
Join Date: Oct 2015
Location: France
Posts: 82
|
Great! Thanks!!!
|
![]() |
![]() |
#4 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 762
|
Cool !!
![]() But those W3D headers aren't 4.2a (there's no V4 stuff : Drawarrays, DrawElements , etc ) ![]() |
![]() |
![]() |
#5 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,538
|
Hmm... you're right. I was afraid that I forget something. Will check for the reason this evening (bad FD oder header file passd into fd2pragma?).
|
![]() |
![]() |
#6 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 762
|
There are warp3d_protos already done on my Q2 sources for minigl (just in case).
Just found that in order to use ppcmath.lib, "-mrel" is needed for vlink ( on config warpos_warpos ). |
![]() |
![]() |
#7 |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
The Warp3D SDK has Warp3D.fd (and Warp3DPPC.fd) but this should be Warp3D_lib.fd using standard .fd naming. My FD: directory has Warp3D.fd and Warp3D_lib.fd but both of mine are the new versions. Perhaps the problem is related to this unusual naming?
|
![]() |
![]() |
#8 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,538
|
Ok, found the problem. My clib/Warp3D_protos.h was too old. The FD-files were ok.
Did a "silent update" for the m68k-amigaos and ppc-warpos targets. |
![]() |
![]() |
#9 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,538
|
Quote:
Might be a good idea to add -mrel to the warpos config. Will update that too. |
|
![]() |
![]() |
#10 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 762
|
The whole ppcmath.lib source is located in RayStorm rendering package, made open source a couple of years ago. Some work with macros & stuff is needed to recompile for a clean vbcc lib. Just to inform, not to demand a new one from Phx
![]() |
![]() |
![]() |
#11 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,538
|
Quote:
Seems it would be better to do that from scratch. |
|
![]() |
![]() |
#12 | |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 762
|
Quote:
And wtf is ?? Maybe some Sherlock work on the disassembly could show where it points: Did that some time ago and most of the original library is similar to the sources. Dunno now. |
|
![]() |
![]() |
#13 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Thanks a lot!
|
![]() |
![]() |
#14 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
Thanks! Downloading to my Amiga/MorphOS setups!
|
![]() |
![]() |
#15 |
Code Kitten
![]() Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
Thanks for your work, phx!
|
![]() |
![]() |
#16 |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,039
|
Looking at the source of ppcmath.lib inside Raystorm I think there are a couple of things mixed-up. pow.c and pow_asm.pasm are actually equivalent to exp_asm.pasm (the latter has the correct log_table_base reference).
same for log_asm.pasm. That one is also in exp_asm.pasm. I think you only need acos.c atan_asm.pasm exp_asm.pasm sqrt_asm.pasm trig_asm.pasm (also the only ones referenced in the StormC build files). |
![]() |
![]() |
#17 |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,039
|
Oh and it seems to be disassembled by wosira. So I guess you have to adjust the source to make it compile with vasm
|
![]() |
![]() |
#18 |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,039
|
I compiled bltzquake without ppcmath.lib and I don't see a difference speed-wise with the one compiled by CowCat (which I presume is linked to ppcmath).
edit: nevermind. Used the wrong executables. Not usre if ppcmath is faster or equally fast as m. Last edited by Hedeon; 31 October 2016 at 22:07. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
vbcc 0.9d | phx | News | 43 | 13 July 2015 19:41 |
From gcc to vbcc. | Cowcat | Coders. General | 9 | 06 June 2014 14:45 |
vbcc: no startup | aragon | Coders. C/C++ | 2 | 16 February 2014 14:52 |
VBCC 0.8j for Windows | hitchhikr | Coders. General | 11 | 09 October 2008 00:58 |
Compiler: vbcc 0.8g patch 2 released | Paul | News | 0 | 29 November 2004 15:41 |
|
|