23 March 2016, 21:40 | #1 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
|
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:
|
23 March 2016, 22:17 | #2 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
Thanks for your work on this.
Kamelito |
24 March 2016, 10:31 | #3 |
Registered User
Join Date: Oct 2015
Location: France
Posts: 82
|
Great! Thanks!!!
|
24 March 2016, 12:23 | #4 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
Cool !!
But those W3D headers aren't 4.2a (there's no V4 stuff : Drawarrays, DrawElements , etc ) |
24 March 2016, 14:04 | #5 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
|
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?).
|
24 March 2016, 15:20 | #6 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
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 ). |
24 March 2016, 20:11 | #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?
|
24 March 2016, 21:02 | #8 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
|
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. |
24 March 2016, 21:15 | #9 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
|
Quote:
Might be a good idea to add -mrel to the warpos config. Will update that too. |
|
24 March 2016, 21:40 | #10 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
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
|
25 March 2016, 15:26 | #11 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
|
Quote:
Seems it would be better to do that from scratch. |
|
25 March 2016, 15:44 | #12 | |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
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. |
|
25 March 2016, 23:25 | #13 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Thanks a lot!
|
26 March 2016, 01:53 | #14 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 761
|
Thanks! Downloading to my Amiga/MorphOS setups!
|
28 March 2016, 16:04 | #15 |
Code Kitten
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
Thanks for your work, phx!
|
31 October 2016, 18:47 | #16 |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,002
|
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). |
31 October 2016, 19:03 | #17 |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,002
|
Oh and it seems to be disassembled by wosira. So I guess you have to adjust the source to make it compile with vasm
|
31 October 2016, 21:18 | #18 |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,002
|
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 | |
Similar Threads | ||||
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 |
|
|