pbp and linux


Closed Thread
Results 1 to 32 of 32

Thread: pbp and linux

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    FL kinda runs, but keeps refreshing every time you try to click on something, and the refreshing takes forever. sometimes, the options and such dont even show up, and the thing just mega tax's your processor and the computer starts sounding like it's wanting to die.

    I tried it a while back and it wasnt even usable due to the refreshing, it takes around a second for the refresh, and it does it every time you click on something or move your mouse over something. I tried setting it up to use it with pbp in the options, and the text on the screen kept dissappearing and you couldnt see what was going on. also I think part of it was maybe the custom theme that the program has.

    might just be me, but I found it to be completely unusable for linux.

    also, Ive heard that freepascal will open the delphi xe3 files and easily works on linux, but not entirely sure about that.
    Last edited by Chirpy; - 9th December 2012 at 16:35.

  2. #2
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    Quote Originally Posted by Chirpy View Post
    FL kinda runs, but keeps refreshing every time you try to click on something, and the refreshing takes forever. sometimes, the options and such dont even show up, and the thing just mega tax's your processor and the computer starts sounding like it's wanting to die.

    I tried it a while back and it wasnt even usable due to the refreshing, it takes around a second for the refresh, and it does it every time you click on something or move your mouse over something.
    The refreshing is FL parsing each line of PBP code for changes before redrawing the bracketing.

    It sounds like Wine/Linux suffers a severe loss of speed.
    Perhaps Wine is using a good amount of CPU cycles to be able to run windows applications on Linux?

    Does Microcode Studio not run in Wine?

    Norm

  3. #3
    Join Date
    Dec 2012
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    microcode studio does run, but you cant compile because of the way it's coded, it wont be able to compile the code. it's written in a way that it cant find the pbp compiler, even tho you point it right at it. also, I believe that part of the issue is with PM.EXE and wine refusing to run it due to it trying to access the first part of the 16 bit memory locations that linux has locked down so nothing bad can attack the system.

    if you do get it to find the compiler tho, which takes a good bit of wine registry hacking, Ive still never been able to get it to work, it usually just outputs an "out of memory" error while compiling, or if using mplab to compile, it causes it to just sit there doing nothing as if it was stuck in an endless loop.

    also, I dont have much trouble with any other programs under wine with the refreshing like that, I was thinking that it could be something to do with the custom theme'ing that you had in FL, Im not entirely sure tbh. I run quite a few other programs in wine including proteus electronics studio, and a few games, and never experience the refresh problems.
    Last edited by Chirpy; - 9th December 2012 at 17:14.

  4. #4
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    Quote Originally Posted by Chirpy View Post
    microcode studio does run, but you cant compile because of the way it's coded, it wont be able to compile the code. it's written in a way that it cant find the pbp compiler, even tho you point it right at it. also, I believe that part of the issue is with PM.EXE and wine refusing to run it due to it trying to access the first part of the 16 bit memory locations that linux has locked down so nothing bad can attack the system.

    if you do get it to find the compiler tho, which takes a good bit of wine registry hacking, Ive still never been able to get it to work, it usually just outputs an "out of memory" error while compiling, or if using mplab to compile, it causes it to just sit there doing nothing as if it was stuck in an endless loop.

    also, I dont have much trouble with any other programs under wine with the refreshing like that, I was thinking that it could be something to do with the custom theme'ing that you had in FL, Im not entirely sure tbh. I run quite a few other programs in wine including proteus electronics studio, and a few games, and never experience the refresh problems.
    I don't know if this will help but the custom theme'ing or skins option can be switched off if options works or open the FineLineIDE.ini file in the same directory as FineLineIDE.exe and manually set "Skin=None" without the parentheses.
    Almost all the options can be set manually in the ini if need be.
    A comparison with another setup of FL's ini could also be helpful.

    Norm

  5. #5
    Join Date
    Dec 2012
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    ok, I just tried it with Skin=None and the skins are still there, and it still is the same way. I dont think it's going to run on linux/wine. I think the only alternative is recompiling using freepascal, which I did look into it and it does open up those xe3 files, also it cross compiles to windows/linux/osx x86.
    Last edited by Chirpy; - 10th December 2012 at 03:00.

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    I just tried FineLine on my openSUSE box and did not have the refreshing problem but the menue bar was invisible.

    Also tried installing PBP3 and did not have any luck due to the activation process. I did not play with it too much though, I am sure that there is a way...

    So I guess we have to decide if it is worth it. I have been running Virtual Box with an XP install for the last year or so to get around issues like these. Works well if your hardware is up to it.

    Linux/Window... different tools for different jobs. But it is frustrating the way the most popular OSs are going with Ubuntu and Unity and Windows with the tiles. I know there are ways around these but...
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Dec 2012
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    yea, the tiles is what bugs me most. I think I rather just finish up my gedit mods and use that, pretty much every other programming language uses gEdit also in linux, so I might as well just add it in and get it working. makes it easier to do everything up in anyways. I always used gedit to mess with python stuff rather than IDLE because it starts faster and does the same thing more or less, also I end up usually just starting the programs from the command line with python. so gedit works better for me with that.

    also, Ive never used pbp3 because of the new keywords and such, also most of the code out there is still using pbp 2 for everything, so I just stick with my 2.6 version that I have. I know that the old code probably should work with the 3.x but why upgrade when you already have something that works good :P

    atm, as far as I can tell, everything works in gedit for compiling, code highlighting, and all of those features. The compiling and burning using pickit2 works too, Ive used it a few times to upload code to my robot. The only thing that isnt implemented yet is a chip selector, but anyone who programs stuff in linux and have gotten this far should probably be able to get back into external tool's manager, and just change the chip name there, where they added in the scripts. nothing too hard and it is changable, and quite easy at that imo.

    I know the scripts are in the ~/.gnome2/gedit/tools/ so it shouldn't be too hard to just write a program to be called up and modify that value in the code in those scripts.

    little by little, it'll get finished
    Last edited by Chirpy; - 10th December 2012 at 05:23.

Similar Threads

  1. Replies: 1
    Last Post: - 30th October 2012, 09:28
  2. Replies: 5
    Last Post: - 16th October 2012, 20:31
  3. Linux with PBP
    By sayzer in forum PBP Wish List
    Replies: 0
    Last Post: - 8th August 2006, 21:27
  4. LINUX IDE and PBP
    By mslaney in forum General
    Replies: 0
    Last Post: - 5th January 2005, 20:43
  5. Linux
    By mackrackit in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 5th February 2004, 21:56

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts