Page 1 of 1
[Implemented] #PB_Compiler_CPU
Posted: Mon Feb 27, 2006 8:55 pm
by Flype
Could it be possible to add this constant #PB_Compiler_CPU ( or #PB_Compiler_Processor ) ?
It could allow some preprocessor code like :
Code: Select all
CompilerSelect #PB_Compiler_CPU
CompilerCase #PB_CPU_x86
; some specific ASM code
CompilerCase #PB_CPU_PPC
; some specific ASM code
CompilerCase #PB_CPU_Alpha
; some specific ASM code
CompilerEndSelect
I need it to convert a project from C to PB...

Posted: Mon Feb 27, 2006 9:25 pm
by Nik
Isn't Alpha a little bit useless
Posted: Mon Feb 27, 2006 11:36 pm
by Flype
yes, it was just for the example

Posted: Mon Feb 27, 2006 11:45 pm
by Berikco
Nik wrote:Isn't Alpha a little bit useless
No, it's for the AlphaSND cpu

Posted: Mon Feb 27, 2006 11:52 pm
by Nik
Where can I order, if i's only 1/100s as fast as AlphaSND himself we will never need a faster cpu.
Posted: Tue Feb 28, 2006 12:46 am
by jack
I second that, it could be very useful.
Posted: Tue Feb 28, 2006 8:31 am
by Flype
Berikco wrote:Nik wrote:Isn't Alpha a little bit useless
No, it's for the AlphaSND cpu


Posted: Thu Sep 18, 2008 11:42 pm
by Flype
ho yes so it's added now in 4.30
- Added: Compiler constant: #PB_Compiler_Processor (= #PB_Processor_x86, ..._x64, ..._PowerPC, ..._mc68000)
thank you pb team.
Posted: Thu Sep 18, 2008 11:47 pm
by ts-soft
Flype wrote:ho yes so it's added now in 4.30
- Added: Compiler constant: #PB_Compiler_Processor (= #PB_Processor_x86, ..._x64, ..._PowerPC, ..._mc68000)
thank you pb team.
yes, thanks
but missing the
#PB_Processor_Alpha 
Posted: Thu Sep 18, 2008 11:49 pm
by freak
Please don't resurrect all old feature requests that are now implemented.
Posted: Fri Sep 19, 2008 1:12 pm
by Flype
Ok Freak, Sorry. Now i know.