Search found 1323 matches

by dafhi
Feb 29, 2012 3:04
Forum: Tips and Tricks
Topic: Opengl clock ~ screensaver - Windows
Replies: 13
Views: 1780

Re: Opengl clock ~ screensaver - Windows

The only thing sleep does, as far as I know, is hand over control back to the OS so other processes can march, as you say.

[Edit:] before and after performance is 18% and 1%
1.9Ghz Athlon X2 G-Force 8200 M Windows 8 (Dev Preview)
by dafhi
Feb 29, 2012 1:28
Forum: Tips and Tricks
Topic: Opengl clock ~ screensaver - Windows
Replies: 13
Views: 1780

Re: Opengl clock ~ screensaver - Windows

I changed the loop so it uses less CPU. Do t=Time If oldt<> t Then glClear (GL_COLOR_BUFFER_BIT) glbegin (gl_lines) gldraw_string(.05*xres,.08*yres,"Start " & starttime,digitcol(),xres/800) gldraw_string(.05*xres,.15*yres,_dow,dcol(),xres/500) gldigits(t,xres/2-.075*xres,yres/2+.2*yres...
by dafhi
Feb 27, 2012 8:49
Forum: General
Topic: field within union possible?
Replies: 14
Views: 1087

Re: field within union possible?

Found the solution I was hoping for .. the Union I actually had inside a type, so I am doing this Type SDS Field = 2 Union Type As UShort SD_BH As UInteger SD_A As UShort SD_BL End Type Type As UInteger D_A As UInteger D_B End Type ..
by dafhi
Feb 27, 2012 8:07
Forum: General
Topic: field within union possible?
Replies: 14
Views: 1087

Re: field within union possible?

I was hoping to avoid that route. Ah well. Thanks TJF
by dafhi
Feb 27, 2012 5:56
Forum: General
Topic: field within union possible?
Replies: 14
Views: 1087

field within union possible?

Compiler throws an error if I do this:

Code: Select all

Union
    Type Field = 2
        As UShort           t_BH
        As UInteger         t_A
        As UShort           t_BL
    End Type
    Type
        ...
by dafhi
Feb 24, 2012 15:10
Forum: Projects
Topic: Procedural block world project
Replies: 310
Views: 85165

Re: "Above" (procedural block world project thing)

Gonzo your cosnoise is unlike anything I have experienced.
by dafhi
Feb 21, 2012 23:30
Forum: Tips and Tricks
Topic: sine fractals
Replies: 6
Views: 1427

Re: sine fractals

Feb 21 Update
by dafhi
Feb 21, 2012 0:23
Forum: Tips and Tricks
Topic: floor and ceil
Replies: 5
Views: 2631

Re: floor and ceil

I've been looking for a quick floor func, and just now thought about searching 'floor'. Excellent macros I must say '' 2012 Feb 21 - conversion speed tests by dafhi '' ======================== '' '' Timer Core Begin '' '' '' Type SpeedResult As String info As Double s As Integer Show End Type Dim Sh...
by dafhi
Feb 19, 2012 8:56
Forum: Tips and Tricks
Topic: sine fractals
Replies: 6
Views: 1427

Re: sine fractals

original Sine Fractals post '' 2012 Feb 21 - sine fractals by dafhi #Include "fbgfx.bi" #Include "vbcompat.bi" #Ifndef TRUE #Define TRUE -1 #EndIf #Ifndef FALSE #Define FALSE 0 #EndIf Dim Shared As Integer SCR_W = 400 Dim Shared As Integer SCR_H = 300 Dim Shared As Integer WidM: ...
by dafhi
Feb 19, 2012 0:52
Forum: Tips and Tricks
Topic: sine fractals
Replies: 6
Views: 1427

Re: sine fractals

I recently had a look at Ryan Geiss' 3d terrains write-up. Fascinating stuff.
by dafhi
Feb 15, 2012 18:09
Forum: Tips and Tricks
Topic: sine fractals
Replies: 6
Views: 1427

sine fractals

first version can be found a few posts below [Updates] 2013 Oct 16 - gcc-friendly 2013 Oct 03 (below) - fixed (dfield.bi) UB1D calculation -> [new] UB1D = h * .. [old] UB1D = w * .. dfield.bi '' ---------- dfield.bi ----------- '' '' changes - 2013 Oct 03 - bugfix '' Delta Field morphs by dafhi ' A ...
by dafhi
Feb 15, 2012 16:00
Forum: Community Discussion
Topic: Favorite Classic Arcade Game?
Replies: 24
Views: 2320

Re: Favorite Classic Arcade Game?

Fascinating to read those specs, thanks for posting. Had no idea the resolution was that low. I remember when Super Sprint came out. It was one of several that entered the scene on higher resolution hardware.
by dafhi
Feb 14, 2012 15:35
Forum: Community Discussion
Topic: Favorite Classic Arcade Game?
Replies: 24
Views: 2320

Re: Favorite Classic Arcade Game?

1943
Dragon's Lair
Spy Hunter
Rampage
Xevious
Gauntlet
Stun Runner
Raiden (prolly my fave)
Paperboy
Pole Position
Dig Dug
Elevator Action
Twin Cobra
Strikers 1945
Commando
by dafhi
Feb 12, 2012 7:59
Forum: General
Topic: Squares
Replies: 7926
Views: 495070

Re: Squares

Odd state of affairs of the software / hardware industry. Seems like if you buy a product, you should be able to use it. That's not the case when manufacturers won't give out foundational specifications. As much as I've ranted about seemingly inefficient modes of commercial products (file fragmentat...
by dafhi
Feb 12, 2012 7:24
Forum: General
Topic: Squares
Replies: 7926
Views: 495070

Re: Squares

OS creation is on my ToDo list :-)

Go to advanced search