Search found 351 matches

by Fox
Aug 28, 2010 20:18
Forum: Linux
Topic: Install FreeBASIC into openSUSE 11.3 (32 bit and 64 bit)
Replies: 2
Views: 1356

Re: Install FreeBASIC into openSUSE 11.3 (32 bit and 64 bit)

swerdna wrote:For information of fellow Susers: I have updated the HowTo page to detail installing the FreeBASIC 32 bit compiler into openSUSE to include the latest release of openSUSE 11.3


Great!

What would be EPIC - is to have a ready-to-use RPM for FreeBASIC installation ;-)
by Fox
Aug 27, 2010 18:26
Forum: DOS
Topic: How to start over in DOS
Replies: 27
Views: 8495

Re: How to start over in DOS

Do you use an IDE based in Windows? Or in DOS? I'm using the regular EDIT editor. Works very well for me :) Which IDE do you recommend, and how do you make sure it doesn't try to do Windows-type compile commands.. aka, how do I set it up SPECIFICALLY for DOS. As I already said, I'm not using any ID...
by Fox
Aug 27, 2010 18:19
Forum: Beginners
Topic: Simple (?) question about binary computation on FreeBASIC
Replies: 10
Views: 1157

I think you misunderstand the way binary operations work. Think of it this way: a bit can only affect a bit of the same value. So: &b1001 AND &b1000 = &b1000, while &b1001 AND &b0001 = 1. I do know how binary operations work. :) 1010 And 0001 is 0, I have no doubt about that (se...
by Fox
Aug 26, 2010 13:01
Forum: Beginners
Topic: Simple (?) question about binary computation on FreeBASIC
Replies: 10
Views: 1157

Simple (?) question about binary computation on FreeBASIC

Hi all! I've just spent 1h tracking down a &*#$! bug in my program, so I don't think very clearly right now :-P I narrowed the problem to this: IF &b1010 AND &b0001 = &b0000 THEN PRINT "a" ELSE PRINT "b" END IF What do you think, what should it display? I was sure...
by Fox
Aug 23, 2010 9:52
Forum: General
Topic: Why is / faster than \ ?
Replies: 10
Views: 1748

Still, it's slower if you add a Fix() around the expression. So a\b still seems to be faster than fix(a/b). Yup, using FIX is definitely slowing down the computation. In my tests, FIX(a/b) is two times slower than (a\b)... However, FIX() is only needed if we talk about possibly-negative values (no ...
by Fox
Aug 21, 2010 6:33
Forum: General
Topic: Why is / faster than \ ?
Replies: 10
Views: 1748

Why is / faster than \ ?

Hi, I always though that \ (integer division) is way faster than / (floating point div), so I used the first one whenever I needed fast int computation. Today I performed a simple test: DIM AS DOUBLE StartTimer, EndTimer DIM AS INTEGER x, z = 70224 DIM AS UBYTE y StartTimer = TIMER FOR x = 1 TO 1000...
by Fox
Aug 19, 2010 13:25
Forum: Beginners
Topic: How to make SLEEP waiting less than 1ms ?
Replies: 15
Views: 3453

How could 100% CPU utilization for < 1ms be a problem, or even be detectable? My situation is that I have a program which performs many many many very short (quick) operations. Each such operation need to be executed about 0.25 ms from each other. As for now, I'm running a loop which is wasting CPU...
by Fox
Aug 18, 2010 16:34
Forum: Beginners
Topic: How to make SLEEP waiting less than 1ms ?
Replies: 15
Views: 3453

This might work. Just set delay to whatever you please. dim delay as single = 1.125 dim t as double = timer do if timer-t > delay then ?"1":t=timer loop until len(inkey) Well - as vdecompo already said, this is not what I am looking for :) In fact, that's what I'm doing right now,...
by Fox
Aug 18, 2010 11:25
Forum: Beginners
Topic: How to make SLEEP waiting less than 1ms ?
Replies: 15
Views: 3453

How to make SLEEP waiting less than 1ms ?

Hi, I am working on a project which requires very high precision in timer handling. So far, I must use a DO..LOOP structure for waiting periods, and this makes my CPU crying. I can't use SLEEP 1,1, because I need to react faster than 1ms. I tried such code: DIM AS DOUBLE StartTimer, Duration DIM AS ...
by Fox
Aug 07, 2010 11:04
Forum: Projects
Topic: Digger Dwarf - a console gopher client for Windows and Linux
Replies: 0
Views: 887

Digger Dwarf - a console gopher client for Windows and Linux

Hi there! Digger Dwarf is a simple console-mode gopher client running on Linux and/or Windows. I hoped to get it compiled for DOS, too, unfortunately I couldn't figure out how to use networking in DOS... The program is written in FreeBASIC, and uses the ChiSock library for its networking stack. Digg...
by Fox
Aug 06, 2010 18:40
Forum: Projects
Topic: ANSiMat - a graphical viewer of ANSI files
Replies: 36
Views: 4868

I don't see instructions, on how to actually make the animated FLC type files,.. In the help (ansimat /h) you can find the following: Usage: ansimat ansifile.ans [outputfile.ext] Therefore, converting your ansistuff.ans file into a neat FLC animation would be as simple as running: ansimat ansistuff...
by Fox
Jul 31, 2010 8:35
Forum: Projects
Topic: ANSiMat - a graphical viewer of ANSI files
Replies: 36
Views: 4868

This is a DOS utility. It makes ANSI's out of text files, and makes it look like it was made off a continuous feed printer, on old school green bar white bar type paper. This is a neat thing :) I do not like very much the overall "look" of the result, but it's mostly a personal taste thing I guess ...
by Fox
Jul 29, 2010 16:40
Forum: Projects
Topic: ANSiMat - a graphical viewer of ANSI files
Replies: 36
Views: 4868

Hello, Just a note to announce the release of ANSiMat v0.93 today! Changelog: ANSiMat v0.93 [29 Jul 2010] - Fixed the ANSiMat palette ("normal" yellow is displayed as brown now, just like on ANSI.SYS), - Added support for "ESC[=7h" and "ESC[=7l" commands (set line wrapping ON/OFF), - Implemented the...
by Fox
Jul 29, 2010 16:37
Forum: Projects
Topic: ANSiMat - a graphical viewer of ANSI files
Replies: 36
Views: 4868

Well.. * ahem cough cough .. * here it is. http://kiyotewolf2.webs.com/FB_KIYOTE072810.ZIP Wow, indeed - it has been a long time since I saw SUCH a mess ;-) I don't tried to compile it - was just curious to see how you figured out the ANSI parser :) It looks like there are several different program...
by Fox
Jul 27, 2010 10:49
Forum: Projects
Topic: ANSiMat - a graphical viewer of ANSI files
Replies: 36
Views: 4868

Hi, Do you have an option to use various palettes? No, no way to use an alternative palette so far. I think you're using the Windows color palette. The picture of the girl looks kinda odd where the brown looks yellow. No, I'm not using the windows palette - I'm using my own, 24-colour palette. What ...

Go to advanced search