Search found 89 matches

by tinram
May 18, 2007 14:37
Forum: Windows
Topic: v0.17b versus v0.16b executables
Replies: 3
Views: 1720

v0.17b versus v0.16b executables

A file compiled with version 0.17b on Win XP is larger (of all non-cmd line examples I've tried so far) than the same file compiled with 0.16b (e.g. 98kB versus 83kB for a small file). I'm wondering if this is because the default libraries for 0.17 are larger? For pixel plotting, I've found a 0.17-c...
by tinram
Apr 05, 2007 22:15
Forum: Sources, Examples, Tips and Tricks
Topic: Green Gloop!
Replies: 16
Views: 6380

Yes, damn - might have a decent job if I could program like that.
by tinram
Apr 05, 2007 22:02
Forum: Sources, Examples, Tips and Tricks
Topic: Island Generator
Replies: 24
Views: 16484

Nice colour palette. Yes it is quite slow for a 320 x 240 window with screenlock (using a P4 3.2) (and it maxes the processor between plots). I tried it with 8bpp to see how much faster it might be... screenres sw, sh, 8 ...didn't make much difference, but did produce psychedelic colours. groovy!
by tinram
Feb 08, 2007 9:54
Forum: Archive
Topic: FB Online Editor
Replies: 26
Views: 11518

Amazing - great concept and execution.
Very good for scenarios such as not being permitted to install FB on the PC used at the time.
by tinram
Feb 05, 2007 18:24
Forum: General
Topic: Fast pixel plotting
Replies: 13
Views: 4672

Thanks anonymous1337 - that's really helpful.

On a PII 300:
(and keeping the fractal form (almost) constant with j=95 and k=45)

your ptr technique is almost twice as fast as pset (averages of 0.58 secs versus 0.99 secs).
by tinram
Feb 05, 2007 15:28
Forum: General
Topic: Fast pixel plotting
Replies: 13
Views: 4672

Fast pixel plotting

I'm wondering about the better ways to plot a large-ish number of pixels (i.e. 200,000+) to the screen. I've noticed that some FB programmers first fill an array with the pixel information and then dump this to the screen in a second loop. (When I tried this technique on a 200,000-pixel fractal on a...
by tinram
Jan 22, 2007 16:32
Forum: Sources, Examples, Tips and Tricks
Topic: Fast Portable Solid RND Generator
Replies: 3
Views: 1767

Nice and concise algorithm.
Thanks for sharing this.
by tinram
Jan 17, 2007 12:38
Forum: Sources, Examples, Tips and Tricks
Topic: Lottery Jackpot and randomness
Replies: 2
Views: 1508

Thanks - I had seen MichaelW's fast ASM randomiser - I'll search for some more and try to improve this aspect of the program. Well, since the probability of getting the jackpot in the UK Lottery is just a little better than 1 in 14 million, you have a way to go. - I was just surprised that a daft se...
by tinram
Jan 16, 2007 23:19
Forum: Sources, Examples, Tips and Tricks
Topic: Lottery Jackpot and randomness
Replies: 2
Views: 1508

Lottery Jackpot and randomness

Thanks to a posting by yetifoot I saw earlier today - this enabled me to bring my 'Lottery Wait' program (UK Lotto type) up to a decent speed. I expect this program has all been done before (and a lot better by someone else) - this one merely started from trying to convince my wife that she will not...
by tinram
Dec 04, 2006 10:32
Forum: General
Topic: How fast is FreeBASIC?
Replies: 11
Views: 2444

Thanks for your responses, and thanks MichaelW for your sort example. Think I'll stick wherever possible to the excellent balance of speed vs programming ease that FreeBASIC offers, and not get into knots with C. (From those shootout links: hope that mandelbrots in Python have only ever been develop...
by tinram
Dec 02, 2006 20:03
Forum: General
Topic: How fast is FreeBASIC?
Replies: 11
Views: 2444

How fast is FreeBASIC?

I expect it's been asked several times, but from a cursory search, I can't find much about FB's speed in the forums. Speed must be difficult to quantify - depending on the task/PC spec/coding style used. With a simple fractal program (using a PII 300, so I could still see the plotting) my LCC-compil...
by tinram
Dec 02, 2006 18:27
Forum: Windows
Topic: In-Memory Dialogs
Replies: 76
Views: 75779

Looks good and comprehensive. Will definitely try out to get around some resource file problems.
by tinram
Dec 02, 2006 18:09
Forum: Sources, Examples, Tips and Tricks
Topic: Quick color number reference
Replies: 2
Views: 1735

Thanks. Your code amendment sorts the text alignment.

(I thought the gray text colour might be a problem - I noticed a considerable difference between an expensive 2-year-old TFT and a cheap new TFT screen [the cheap one was much brighter]. White text is a bit distracting for my eyes though.)
by tinram
Nov 30, 2006 14:18
Forum: Sources, Examples, Tips and Tricks
Topic: Quick color number reference
Replies: 2
Views: 1735

Quick color number reference

I did the following as a quick help for QB codes to color text in Screen modes 13+. Choosing RGB numbers just for text seemed hard work when I just needed a limited range of colors to compare and choose from. Perhaps it might be of use to someone else? (using a different gray number (18) in the draw...