Search found 302 matches

by lassar
Feb 15, 2018 16:10
Forum: Linux
Topic: How do I detect if a file is symbolic link?
Replies: 6
Views: 6124

How do I detect if a file is symbolic link?

How do I detect if a file is symbolic link?

Can you detect a symbolic link using DIR()?
by lassar
Jan 02, 2018 4:08
Forum: Linux
Topic: How do I install freebasic in ubuntu xenial?
Replies: 4
Views: 2205

How do I install freebasic in ubuntu xenial?

How do I install freebasic in ubuntu xenial?

I have checked the forum and all the post is rather old.

What I need to know about is the dependences.
by lassar
May 17, 2017 17:41
Forum: Linux
Topic: Question about gcc internal library
Replies: 10
Views: 1597

Re: Question about gcc internal library

I am talking about the gcc runtime library, not the freebasic runtime. There are several programs in linux that uses lots of string compares, and string functions. Examples of these are bash, awk, sed, and python. Inline assembly for string operations are about 10 to 20 times faster, than regular c ...
by lassar
May 16, 2017 14:51
Forum: Linux
Topic: Question about gcc internal library
Replies: 10
Views: 1597

Question about gcc internal library

I am thinking about using assembly in the gcc internal libray to speed up gcc output binaries. It seems to me that all the internal library is done in c code, and none in assembly. I found out, in speeding up RadioTelephone Tutor, I had to redo the most simple routines in assembly. And example of th...
by lassar
Apr 30, 2017 1:18
Forum: Tips and Tricks
Topic: VRC1100 Remote control software
Replies: 0
Views: 799

VRC1100 Remote control software

Linux program for VRC-1100 remote controls. Should work for other mce remotes. But not tested on any other remotes. Makes it so the device driver is automatically gotten. Replaces old keynames with new keynames. Shells out to ir-keytable to make this work. #LANG "fblite" #include "dir...
by lassar
Apr 26, 2017 17:20
Forum: Linux
Topic: What is the best freebasic IDE for 2017?
Replies: 7
Views: 3397

Re: What is the best freebasic IDE for 2017?

At first I thought the ubuntu version of xchm could not do context help. After 10 to 30 attempts, I got xchm to work. Here is the deal, you need quotes around the chm file location. Won't work without the quotes. In "context action" put: xchm "file:/home/username/freebasic/FB-manual-1...
by lassar
Apr 26, 2017 2:16
Forum: Linux
Topic: What is the best freebasic IDE for 2017?
Replies: 7
Views: 3397

Re: What is the best freebasic IDE for 2017?

It's tricky to get the "context action" to work.

I thought, that kchmviewer is the best chm viewer.

But now, it crashes on me, and it crashes every time I try to use it.

I guess I will have to try to get xchm to work instead.
by lassar
Apr 24, 2017 22:39
Forum: Linux
Topic: What is the best freebasic IDE for 2017?
Replies: 7
Views: 3397

Re: What is the best freebasic IDE for 2017?

I did some googling, and found that, you can use geany with kchmviewer to get context help. Go to Edit, Preferences, Tools, Context Action. Set it to "kchmviewer --sindex %s /chm-path" Go to Edit, Preferences, Keybindings, go to edit section, "Context Action", press "Change ...
by lassar
Apr 21, 2017 16:54
Forum: Linux
Topic: What is the best freebasic IDE for 2017?
Replies: 7
Views: 3397

What is the best freebasic IDE for 2017?

I am a newbie at using freebasic in linux.

What is the best linux freebasic IDE ?

Looking for one that you can pull up the help section by pressing F1 .
by lassar
Feb 12, 2016 18:52
Forum: General
Topic: Any thing I should know about converting from fb 24 to fb 1.0 ?
Replies: 6
Views: 520

Re: Any thing I should know about converting from fb 24 to fb 1.0 ?

Since the problem only occurs in windowed mode, here is the full mode & window mode code. The code works perfectly in full screen mode. WindowTitle "RadioTelephone Tutor" IF FullScreen% = 1 THEN SCREENRES 640,480,32,,&H01 OR AltEnter& OR GFX_HIGH_PRIORITY VideoPtr = SCREENPTR I...
by lassar
Feb 12, 2016 17:41
Forum: General
Topic: Any thing I should know about converting from fb 24 to fb 1.0 ?
Replies: 6
Views: 520

Re: Any thing I should know about converting from fb 24 to fb 1.0 ?

The program is 4992 lines long.

I have tried shorter code. Been unable to reproduce problem in shorter code.

Problem only appears in windowed mode.

The mouse only acts wacky in windowed mode.

I am looking for tips and tricks for getting it to work in FBC 1.05
by lassar
Feb 12, 2016 16:11
Forum: General
Topic: Any thing I should know about converting from fb 24 to fb 1.0 ?
Replies: 6
Views: 520

Re: Any thing I should know about converting from fb 24 to fb 1.0 ?

Yes I have tested it with fbc 0.24 with option '-exx with "on error" checking.
by lassar
Feb 11, 2016 22:51
Forum: General
Topic: Any thing I should know about converting from fb 24 to fb 1.0 ?
Replies: 6
Views: 520

Any thing I should know about converting from fb 24 to fb 1.0 ?

I am having problems trying to convert a program from fb 24 to fb 1.0 This program works perfectly in fb 24. Do you have any tips on converting from fb 24 to fb 1.0 I am using the "FBLITE" dialect. When my program is running, the mouse also tends to stay in the upper left had corner of the...
by lassar
Feb 11, 2016 16:34
Forum: General
Topic: Did Freebasic 1.0 change library locations?
Replies: 5
Views: 365

Re: Did Freebasic 1.0 change library locations?

I am beginning to to think that FB 1.0 broke FBLITE mode. You code works in fb (default mode) ,but does not work in FBLITE. Anyone have any idea why? #LANG "FBLITE" DECLARE FUNCTION sndPlaySound LIB "WINMM" ALIAS "sndPlaySoundA" (SoundName as zstring ptr, uFlags AS LONG...
by lassar
Feb 11, 2016 8:32
Forum: General
Topic: Did Freebasic 1.0 change library locations?
Replies: 5
Views: 365

Did Freebasic 1.0 change library locations?

I was try to compile RadioTelephone Tutor using Freebasic 1.0. It compiles, and works good on Freebasic 24. Compiles, and doesn't work with Freebasic 1.0 What changed in Freebasic 1.0 Has some of the library locations changed? Example of trouble: DECLARE SUB PlayWave(BYREF SoundFile$) DECLARE FUNCTI...

Go to advanced search