Search found 202 matches

by Ralf
Sun Feb 19, 2006 3:40 pm
Forum: General Discussion
Topic: truth and lie about purebasic
Replies: 109
Views: 35869

truth and lie about purebasic

dear fred.
i like the idea behind your nice purebasic lanuage but please remove following marketing texts from your website, because its a lie and not truth! :wink:

text from website:
External libraries are fully written in hand optimized assembler for maximum speed and compactness

following ...
by Ralf
Thu Nov 10, 2005 12:31 am
Forum: Feature Requests and Wishlists
Topic: Wishlist for PureBasic v4.0
Replies: 232
Views: 67474

Another vote for native 7zip 8)
by Ralf
Mon Oct 10, 2005 4:57 pm
Forum: Feature Requests and Wishlists
Topic: Wishlist for PureBasic v4.0
Replies: 232
Views: 67474

for Wolf: We are talking about PureBasic and not about other Basic lanugages :wink:

for Fred: Sure, 2,5 kb isnt bad but when it could be smaller. Using 10 kb for a window and EventLoop could be a lot smaller in size! FASMCam is a very nice and extrem small FASM example opening a window with ...
by Ralf
Mon Oct 10, 2005 1:54 am
Forum: Feature Requests and Wishlists
Topic: Wishlist for PureBasic v4.0
Replies: 232
Views: 67474

smaller and more optimized purebasic header! even when compiling a=2, the exe is 2560 bytes! I think this happens, because purebasic has internally a setup code/init code for any program like where to find the jump adress of a included lib and so on... some basically stuff but maybe some to much not ...
by Ralf
Fri Sep 23, 2005 8:11 pm
Forum: Coding Questions
Topic: How to draw a star by using sin() cos() ?
Replies: 6
Views: 2759

i need a routine that plot a star like the one on this screenshot http://strider.mjjprod.free.fr/dck/ryuse1.gif (without the long line)

version 1) looks like " + "
version 2) looks like " + " and " x " merged


:?: :roll:
by Ralf
Wed Sep 21, 2005 11:08 pm
Forum: Coding Questions
Topic: How to draw a star by using sin() cos() ?
Replies: 6
Views: 2759

How to draw a star by using sin() cos() ?

how to draw a star with sin() or cos() like in old demos end of the 90th?
the stars are available in the RSI demomaker package and looks something like this (bad example):

often seen with 8 lines (like an + and an x joined ...
by Ralf
Thu Jun 23, 2005 10:00 pm
Forum: Coding Questions
Topic: Use own brush for drawing !?
Replies: 1
Views: 1087

i found following example on the forum to change the brush size.. the brush looks like a circle!

Is there any way to set the brush to an object like "heart", "line" or whatever...? for example following as pen.. ??

00000000
00000000
00000000 ; 8 x 8 brush <<<< is this pattern as brush possible ...
by Ralf
Thu Jun 23, 2005 9:21 pm
Forum: Coding Questions
Topic: Flickering #2
Replies: 6
Views: 2275

Re: hmmm

yes, seems to be a bug with some sprite/screen stuff!?


http://forums.purebasic.com/english/viewtopic.php?t=15443&highlight=flicker

Adding Delay() seems to be one way to solve the problem but its not the best... until we dont really know what happen this prob...


maybe this workaround will ...
by Ralf
Thu Jun 23, 2005 10:30 am
Forum: Coding Questions
Topic: Use own brush for drawing !?
Replies: 1
Views: 1087

Use own brush for drawing !?

i saw an API example where you can set the size of the brush you want use... for example draw a line with a size of 12 pixel!

Is there any way to draw a line for example with an own brush like...

00000
00000
11111
00000
00000


or

00100
00100
11111
00100
00100

0 = pixel transparent or black ...
by Ralf
Mon Jun 20, 2005 1:16 pm
Forum: General Discussion
Topic: VOTE --- STEP of FOR/NEXT as expression instead #constant !?
Replies: 11
Views: 3403

Hi Fred!
Will you surprise us with this feature for 3.94 final? :wink:
by Ralf
Sun Jun 19, 2005 2:24 pm
Forum: Coding Questions
Topic: Label as argument for Procedure ???
Replies: 5
Views: 2421

sec wrote:you're missing ? , it would be WhatsWrong(?label1)
oh my god :wink:
i havent noticed that while searching for the bug... thanks
by Ralf
Sun Jun 19, 2005 2:07 pm
Forum: Coding Questions
Topic: Label as argument for Procedure ???
Replies: 5
Views: 2421

why does this doesnt work.. inline asm enabled..


Procedure WhatsWrong(LabelAdress.l)

! MOV eax,[esp]
! MOV dword [PB_DataPointer],eax

Read Value.w
Debug Value.w

EndProcedure


WhatsWrong(label1)


DataSection
label1:
Data.w 4096 ; anzahl

EndDataSection
by Ralf
Sun Jun 19, 2005 1:36 pm
Forum: Coding Questions
Topic: Label as argument for Procedure ???
Replies: 5
Views: 2421

very cool jack! many thanks! *GREAT* :D

Your example with strings and modifing to read vals works fine! But in my example i get everytime "invalied memory adress" message... (does not work) - now i am trying to check where the problem is...

possible the labeladress is doublelong?
by Ralf
Sun Jun 19, 2005 1:19 pm
Forum: Coding Questions
Topic: Label as argument for Procedure ???
Replies: 5
Views: 2421

Label as argument for Procedure ???

Is there any way, to parse a labeladress to a procedure like following "not working" example :?:


; ---- Label as argument in Procedure? ----

Procedure LabelTest(?LabelAdress)
Restore ?LabelAdress
Read text.s
Debug text.s
EndProcedure


LabelTest(?label2)
End


DataSection
label1:
Data.s ...
by Ralf
Mon May 30, 2005 12:23 am
Forum: General Discussion
Topic: What is MultiMediaBase Lib?
Replies: 2
Views: 1388

What is MultiMediaBase Lib?

when compiling my project with asm output, i noticed a lib called MultiMediaBase (around 10 kb) will be added to my program!

What is this 10k MultiMediaBase for? (when will it be linked to the exe?)
Is there any way to leave this lib out of the exe?