Search found 10 matches

by d.j.peters
Wed Apr 04, 2012 9:05 pm
Forum: Off Topic
Topic: Commodore BASIC for OS X
Replies: 11
Views: 2038

Re: Commodore BASIC for OS X

It's the result of a competition.
The challenge was to get a commodore BASIC ROM and a 8 bit CPU emulation working in 8 hours.
If you take a look in the source code you will see there isn't a real video or sound chip emulation.
My code is open source and you can translate it to PB and add missing ...
by d.j.peters
Thu Mar 29, 2012 1:17 pm
Forum: Tricks 'n' Tips
Topic: SetParent for Linux and Windows
Replies: 7
Views: 3484

Re: SetParent for Linux and Windows

Should be more safe now.
(see at first post)

DJ.
by d.j.peters
Thu Mar 29, 2012 12:55 am
Forum: Tricks 'n' Tips
Topic: SetParent for Linux and Windows
Replies: 7
Views: 3484

Re: SetParent for Linux and Windows

and for multiprocessor, it is better to use integer for handles The result of XXXId() are handles and can be pointers * or integers
but in my "pseudo code" the params #child and #parent are only numbers
and the range of 32 bit numbers are more than you will ever use in any PB application.

Or do ...
by d.j.peters
Tue Mar 27, 2012 11:49 pm
Forum: Off Topic
Topic: Commodore BASIC for OS X
Replies: 11
Views: 2038

Re: Commodore BASIC for OS X

I wrote this two years ago in 8 hours
I's a real 6502 CPU emulator not only the commodore BASIC V2.0

try it out if you like

DJ.
http://www.alice-dsl.net/d.j.peters/c64/c6401.png
[escape] = quit
[F2] = save commodore basic program
[F3] = load commodore basic program

Download windows binary: c64 ...
by d.j.peters
Tue Mar 27, 2012 11:32 pm
Forum: Tricks 'n' Tips
Topic: SetParent for Linux and Windows
Replies: 7
Views: 3484

SetParent for Linux and Windows

The most of you (hardcore coders) knows that a PB child window is a bit misspelled.
A real child window exist only inside the client region of it's parent.
How ever I searched the forum and found more than 50 times SetParent_ the WINDOWS API command
but nothing about Linux. (or I'm blind)

here are ...
by d.j.peters
Mon Mar 26, 2012 8:20 pm
Forum: Game Programming
Topic: [PB4.31] Car Physics (based on Marco Monster's Tutorial)
Replies: 27
Views: 19817

Re: [PB4.31] Car Physics (based on Marco Monster's Tutorial)

Comtois wrote:It isn't documented , you can try this ...
you made my day, thank you very mutch.

But how do you know about none documented command and there are more ?

edit:
I found it out self by looking to the pb lib's with an hex editor. :wink:

DJ.
by d.j.peters
Mon Mar 26, 2012 8:14 pm
Forum: Applications - Feedback and Discussion
Topic: Pure OpenGL demo. (good looking car rendering)
Replies: 7
Views: 5257

Re: Pure OpenGL demo. (good looking car rendering)

There are two primary open questions in my mind.

1) does it works without any changes on a 64 bit Linux ?
2) Is a pure basic window on mac a GTK window too ?

DJ.
by d.j.peters
Mon Mar 26, 2012 5:06 pm
Forum: Applications - Feedback and Discussion
Topic: Pure OpenGL demo. (good looking car rendering)
Replies: 7
Views: 5257

Re: Pure OpenGL demo. (good looking car rendering)

The demo works under Windows 7 64 bit (exe compiled as 64 bit). Good to know thank you for testing.
Only thing the objects are more near to the viewer when I compile from the source. You can set the camera position glTranslatef().
Is this the model format used ? http://www.c3d.org/ No it's my ...
by d.j.peters
Mon Mar 26, 2012 3:06 am
Forum: Game Programming
Topic: [PB4.31] Car Physics (based on Marco Monster's Tutorial)
Replies: 27
Views: 19817

Re: [PB4.31] Car Physics (based on Marco Monster's Tutorial)

hello Kelebrindae
I read your version of simple car physics,
good job.

I'm working on simple car physics too.
Here are one video (the first in the list) if you like.

Next step are the OpenGL car rendering engine.
(I posted a demo today)

Normaly i would use OGRE with PureBasic but the most ...
by d.j.peters
Mon Mar 26, 2012 2:01 am
Forum: Applications - Feedback and Discussion
Topic: Pure OpenGL demo. (good looking car rendering)
Replies: 7
Views: 5257

Pure OpenGL demo. (good looking car rendering)

I tryed OpenGL without Engine3D and Sprite 3D.

Here are the result: for Linux and Windows x86 ~11MB zip file (~28MB extracted) source code included.
Download: PureOpenGLDemo.zip

Wold be cool if someone can test it on 64 bit Linux/Windows too.

Thank you

DJ.

PureBasiuc Gtk window as OpenGL ...