Search found 31 matches

by Juiced
Apr 23, 2012 21:23
Forum: General
Topic: Files in a directory
Replies: 2
Views: 631

Re: Files in a directory

Thank you very much. That works perfectly!
by Juiced
Apr 23, 2012 20:32
Forum: General
Topic: Files in a directory
Replies: 2
Views: 631

Files in a directory

Hi there,
I need some code that will store the names of all files from a defined directory into an array. Anybody have a link to a thread with this kind of code? Or is anybody kind enough to write it/point me in the right direction? Thanks
by Juiced
Apr 01, 2012 2:42
Forum: Projects
Topic: Bazokat
Replies: 12
Views: 3761

Re: Bazokat

Very cool. I like how he jumps from a window an catches the mouse in the air. Can't wait to see the full version.
by Juiced
Mar 03, 2012 18:50
Forum: Sources, Examples, Tips and Tricks
Topic: FB Quine
Replies: 19
Views: 4988

Re: FB Quine

Preprocessor stringize is still allowed though, isn't it? #Define P(X) Print X: Print "P(" & #X & ")" P("#Define P(X) Print X: Print ""P("" & #X & "")""") Edit: Compacted 64-65 byte Version: #Define P(X)?X:?"...
by Juiced
Feb 27, 2012 0:10
Forum: Sources, Examples, Tips and Tricks
Topic: Opengl clock ~ screensaver - Windows
Replies: 13
Views: 3569

Re: Opengl clock ~ screensaver - Windows

Cool clock. I have some suggestions though: -I would make the hands thinner. If the hour hand is between 5 and 7, it covers the digital clock too much. If they are thinner it would make it easier to read it. -Choose a better color scheme. The colors green, yellow, purple and red don't look appealing...
by Juiced
Feb 25, 2012 21:44
Forum: Sources, Examples, Tips and Tricks
Topic: FB Quine
Replies: 19
Views: 4988

Re: FB Quine

Save as 'Quine.bas', compile and run DIM code AS ZSTRING PTR DIM code_len AS UINTEGER ASM .section .data ASM .LT_START_OF_FILE_code: ASM __code__start = . ASM .incbin "Quine.bas" ASM __code__len = . - __code__start ASM .section .text ASM mov dword PTR [code], offset .LT_START_OF_FILE_code...
by Juiced
Feb 24, 2012 7:14
Forum: Sources, Examples, Tips and Tricks
Topic: FB Quine
Replies: 19
Views: 4988

FB Quine

dim as integer i dim as string q=chr(34),c(2)={chr(44)+chr(95),chr(125)},Array(11)={_ "dim as integer i",_ "dim as string q=chr(34),c(2)={chr(44)+chr(95),chr(125)},Array(11)={_",_ "for i=0 to 1",_ " print Array(i)",_ "next i",_ "for i=0 to 10&q...
by Juiced
Feb 11, 2012 4:59
Forum: General
Topic: Timer malfunctioning
Replies: 14
Views: 1720

Re: Timer malfunctioning

MichaelW wrote:The only part that I can see the CMOS RAM battery playing in this would be if the system is not retaining the BIOS setup.
My Bios setup is kept so that eliminates that guess.
by Juiced
Feb 11, 2012 2:36
Forum: General
Topic: Timer malfunctioning
Replies: 14
Views: 1720

Re: Timer malfunctioning

dodicat wrote:If I run this snippet here, I get a jump of either 2 or 3.
I get no beeps.
I'm getting: BEEP,BEEP,BEEP,BEEP,BEEP,BEEP,BEEP,BEEP...lol
Yup, there's something wrong alright. I'll try replacing the cmos battery.
by Juiced
Feb 11, 2012 0:57
Forum: General
Topic: Timer malfunctioning
Replies: 14
Views: 1720

Re: Timer malfunctioning

I think I'll simply use a frame counter to time things. The smallest increment is 1/60 which is small enough.
by Juiced
Feb 11, 2012 0:35
Forum: General
Topic: Timer malfunctioning
Replies: 14
Views: 1720

Re: Timer malfunctioning

These boards are >= 5 years old? I would suggest as a first investigation to check your computer battery, is your computer date and time correct immediately after booting? Batteries last about 5 years. My clock seems fine, but I didn't think the HPET ran off the cmos battery. Unless there's another...
by Juiced
Feb 11, 2012 0:24
Forum: General
Topic: Timer malfunctioning
Replies: 14
Views: 1720

Re: Timer malfunctioning

Gonzo wrote:well, your best bet is google here...
something is wonky with your cpu or drivers or kernel or anything in between
I tried searching for many variations of this subject, but no luck. Anybody have an alternative to Timer since it's unreliable?
by Juiced
Feb 10, 2012 23:40
Forum: General
Topic: Timer malfunctioning
Replies: 14
Views: 1720

Re: Timer malfunctioning

Here are my specs. I believe it's a dual core. Mainboard : MSI K9VGM-V (MS-7253) Chipset : K8M890CE Host Bridge Processor : AMD Athlon 64 X2 3800+ @ 2000MHz Physical Memory : 2048MB (1 x 2048 DDR2-SDRAM ) Operating System : Microsoft Windows XP Professional 5.01.2600 Service Pack 3 (32-bit) The reas...
by Juiced
Feb 10, 2012 23:16
Forum: General
Topic: Timer malfunctioning
Replies: 14
Views: 1720

Timer malfunctioning

It seems something is failing on my motherboard. I've noticed that the Timer function jitters up and down. Here's a printout of several consecutive timer calls: 16090.8648817565 16090.8655844935 16090.8658789935 16090.8661592525 16090.8667812585 16090.8675800095 16090.8679783515 16090.868238152 1609...
by Juiced
Apr 15, 2011 15:20
Forum: General
Topic: Arcade VGA and FB
Replies: 1
Views: 999

There's one made by ATI, that's the only one I know of. There's a company called Ultimarc that sells it. They give you all the info you need: http://www.ultimarc.com/avgainf.html http://www.ultimarc.com/avgafaq.html http://www.ultimarc.com/avgainst.html http://www.ultimarc.com/monfaq.html In terms o...