Hahaha, too easy ! it's just a short story about stack... , so, for the rest, i agree with you, it's important to understand what we do.And that you need "ret 4" or "ret 8" is your solution, not mine
Search found 21 matches
- Fri Oct 13, 2017 6:52 pm
- Forum: Tricks 'n' Tips
- Topic: MLF : Make Lib Factory (For PureBasic)
- Replies: 48
- Views: 19392
Re: MLF : Make Lib Factory (For PureBasic)
- Thu Oct 12, 2017 9:18 pm
- Forum: Tricks 'n' Tips
- Topic: MLF : Make Lib Factory (For PureBasic)
- Replies: 48
- Views: 19392
Re: MLF : Make Lib Factory (For PureBasic)
i've just write an asm compiler by the past for all pic microchip...The next step is: LEARNING ASSEMBLER!
ok, so, you are an expert, tell me why we need to add ret 4 ? or ret 8 ?
- Thu Oct 12, 2017 6:26 pm
- Forum: Tricks 'n' Tips
- Topic: MLF : Make Lib Factory (For PureBasic)
- Replies: 48
- Views: 19392
Re: MLF : Make Lib Factory (For PureBasic)
It is definitive not bug.
i not agree your point of view , a "procedure" inside dll or static lib , are in assembly the same , a simple "label" and a return statement , CALL and RET.
so, when you create the object file with fasm for use it with librarymaker , there is no PUSH dword before , but ...
i not agree your point of view , a "procedure" inside dll or static lib , are in assembly the same , a simple "label" and a return statement , CALL and RET.
so, when you create the object file with fasm for use it with librarymaker , there is no PUSH dword before , but ...
- Mon Sep 11, 2017 11:23 pm
- Forum: Game Programming
- Topic: Gif animated backgrounds
- Replies: 14
- Views: 10247
Re: GIF ANIMATED BACKGROUNDS
Hey, very ugly style bro. forget goto loop and use while/repeat loop , and use tab for indent your code, the principal risk when i read this, i'm afraid of becoming blind
and dont forget to close the screen at the end, when i back to my desktop , 640x480 go back me in 1995.
and dont forget to close the screen at the end, when i back to my desktop , 640x480 go back me in 1995.
- Sat Jun 10, 2017 11:14 am
- Forum: Coding Questions
- Topic: ProgressBarGadget bug
- Replies: 12
- Views: 3975
Re: ProgressBarGadget bug
Code: Select all
...
Repeat
ProgressBarGadget(...
Delay(5)
ForEver
...

- Wed Sep 04, 2013 5:43 pm
- Forum: Feature Requests and Wishlists
- Topic: Serial baudrate.
- Replies: 0
- Views: 852
Serial baudrate.
i need to use a big baudrate ( 250000 ) but OpenSerialPort() always return 0 with this speed.
Can you increase this ?
Can you increase this ?
- Sun Sep 02, 2012 2:06 pm
- Forum: 3D Programming
- Topic: PB5.x bowling demo
- Replies: 5
- Views: 3834
Re: PB5.x bowling demo
Possible bug with mousebutton() on mac ?
- Sun Sep 02, 2012 2:00 pm
- Forum: 3D Programming
- Topic: PB5.x bowling demo
- Replies: 5
- Views: 3834
PB5.x bowling demo
This is a simple bowling demo
move with arrow key
look around with the mouse
press & lock first button of mouse for aim and ajust force and ball effect
release mouse button for launch ball
==> Bowling démo
http://img11.hostingpics.net/thumbs/mini_281697screen.png
Be advised :
for shadow ...
move with arrow key
look around with the mouse
press & lock first button of mouse for aim and ajust force and ball effect
release mouse button for launch ball
==> Bowling démo
http://img11.hostingpics.net/thumbs/mini_281697screen.png
Be advised :
for shadow ...
- Sat Sep 01, 2012 5:52 pm
- Forum: Announcement
- Topic: PureBasic 5.00 beta 2
- Replies: 82
- Views: 38450
Re: PureBasic 5.00 beta 2
@Zebuddi123
Strange, remove all older version of purebasic , re-install the latest beta.
Try InitEngine(1) to activate the .log file, and post the file here via pastebin.
i think the bug is the interface between the chair and the keyboard
Strange, remove all older version of purebasic , re-install the latest beta.
Try InitEngine(1) to activate the .log file, and post the file here via pastebin.
i think the bug is the interface between the chair and the keyboard

- Fri Aug 31, 2012 12:08 pm
- Forum: Announcement
- Topic: PureBasic 5.00 beta 2
- Replies: 82
- Views: 38450
Re: PureBasic 5.00 beta 2
My package with some examples :
samples
this package contain :
-Cube Mapping
-Multi CubeMapping
-Send parameter to a shader
-Static geometry
-Render to texture and push it into a .material
-LensFlareEffect
samples
this package contain :
-Cube Mapping
-Multi CubeMapping
-Send parameter to a shader
-Static geometry
-Render to texture and push it into a .material
-LensFlareEffect
- Sat Aug 13, 2011 4:50 pm
- Forum: Linux
- Topic: How to retrieve Gadget Handle ?
- Replies: 0
- Views: 1174
How to retrieve Gadget Handle ?
Hi, i need to have access to the os handle of any gadget ( in windows GadgetID() return a os handle )
in linux i try this :
PB_CONTAINER = ContainerGadget(#PB_Any,10,10,100,100,#PB_Container_Single)
*Widget.GtkWidget = GadgetID(PB_CONTAINER)
*WinObj.GdkWindowObject = *Widget\window
*GdkDrawable ...
in linux i try this :
PB_CONTAINER = ContainerGadget(#PB_Any,10,10,100,100,#PB_Container_Single)
*Widget.GtkWidget = GadgetID(PB_CONTAINER)
*WinObj.GdkWindowObject = *Widget\window
*GdkDrawable ...
- Sun Apr 17, 2011 11:59 am
- Forum: Feature Requests and Wishlists
- Topic: [Implemented] - Attach a light to a node
- Replies: 2
- Views: 1045
Re: [PB4.60B2] - Attach a light to a node
no , you can use another constant, paste LigthID() & #pb_node_node , it's work.
- Sun Apr 17, 2011 9:29 am
- Forum: Game Programming
- Topic: [4.60b2] Ribbon Trail effect
- Replies: 10
- Views: 4308
Re: [4.60b2] Ribbon Trail effect
there is some problems with x64 , fred will be see thats.
What is it "jumpy as well" ?For me (x86 version and beta 2) it is extremely jumpy as well, doesn't look very good.
- Sun Apr 17, 2011 9:28 am
- Forum: Game Programming
- Topic: [4.60] Static Geometry
- Replies: 20
- Views: 8179
Re: [4.60] Static Geometry
the bug is already fixed , i don't make the final package , I don't know when the fix will be included.
- Fri Apr 15, 2011 1:52 pm
- Forum: Coding Questions
- Topic: 4.60 beta 2: What's wrong with MoveNode() ?
- Replies: 2
- Views: 1432