2 new IDEs for Windows and Linux written in Freebasic
-
- Posts: 134
- Joined: Apr 19, 2007 16:20
- Contact:
2 new IDEs for Windows and Linux written in Freebasic
I have 2 IDEs written, one for Windows, one for Linux.
Its the same, because it is the same code :-)
Please test it.
It is written with pure freebasic commands.
You can someting change with the setup.txt inside the inc folder.
The fbc-Path is only needed by windows.
Please read the setup.txt.
Have fun!
Stevie
www.hundertdrei-allerlei.de/freebasic/fred/fred0864.zip
Its the same, because it is the same code :-)
Please test it.
It is written with pure freebasic commands.
You can someting change with the setup.txt inside the inc folder.
The fbc-Path is only needed by windows.
Please read the setup.txt.
Have fun!
Stevie
www.hundertdrei-allerlei.de/freebasic/fred/fred0864.zip
Last edited by stevie1401 on Jul 19, 2008 10:01, edited 5 times in total.
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Der Pfad zu fbc.exe wird in der setup datei ignoriert :-(
The path to fbc.exe are ignored from setup file
The path to fbc.exe are ignored from setup file
Last edited by D.J.Peters on Oct 03, 2017 6:02, edited 1 time in total.
Re: 2 new IDEs for Windows and Linux written in Freebasic
I have a similar problem like D.J.Peters. But here there comes no error information, it only not compiles.stevie1401 wrote: You can someting change with the setup.txt inside the inc folder.
The fbc-Path is only needed by windows.
Please read the setup.txt.
And will the sourcecode of the editor in any later time published?
Greatings
theuserbl
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
-
- Posts: 134
- Joined: Apr 19, 2007 16:20
- Contact:
I am a german, too. So I think, I would understand it. :-)stevie1401 wrote:The code is at time a horror mix between german and (bad) english, so I guess, you cannot understand what I have written.
Would be nice.But if there are people which want to read the code, I can published it in nearly time.
Three or four yers ago, I also tried to write an editor in FB.
If you want you can download it at
http://www.file-upload.net/download-730 ... r.zip.html
But yours looks much nicer and can open more files.
But you editor don't make use of the "page down" key and so on.
Hopefully I will see new versions of your editor in the future.
theuserbl
-
- Posts: 134
- Joined: Apr 19, 2007 16:20
- Contact:
Re: 2 new IDEs for Windows and Linux written in Freebasic
Please use a more portable format, the .rar is not readable under my Linux boxes. I would try to test it, if I ould install it.
-
- Posts: 134
- Joined: Apr 19, 2007 16:20
- Contact:
Now the code is free for private use.
http://www.hundertdrei-allerlei.de/fbhp/fred/
Have fun.
Stevie
Ubuntu can unrar rar files. I think other linux versions, too.
Which Linux do you have?
Under the link above you can download the editor and the code also as zip file.
http://www.hundertdrei-allerlei.de/fbhp/fred/
Have fun.
Stevie
Ubuntu can unrar rar files. I think other linux versions, too.
Which Linux do you have?
Under the link above you can download the editor and the code also as zip file.
IDE
> I have 2 IDEs written, one for Windows, one for Linux.
> Its the same, because it is the same code
Then it's only ONE ;-)
Started here: http://www.freebasic.net/forum/viewtopic.php?t=8497 as IDE for DOS ...
> The target of the project is to make one code for Windows and Linux.
> (Perhaps a guy can help to make it ready for Dos?)
Then subject should be changed to "Portable IDE written in FreeBASIC" ;-)
COOL. Compiles for DOS like a charm ... but
(shots from Win32 executable running in DOS)
Nice, but doesn't really work. Either it's too buggy, or too CPU hoggy (seems to have less problems on faster PC's), or both.
Does this work well for anyone ?
Various bugs: unresponsive, can't type, C&P doesn't work, CTL-C crashes, black tapes on the screen, ...
Language issues:
- STGR -> CTL
- Menue -> Menu
FYI: the "can't find as.exe" bug is fixed in SVN now, should be in 0.18.4 ;-)
> Its the same, because it is the same code
Then it's only ONE ;-)
Started here: http://www.freebasic.net/forum/viewtopic.php?t=8497 as IDE for DOS ...
> The target of the project is to make one code for Windows and Linux.
> (Perhaps a guy can help to make it ready for Dos?)
Then subject should be changed to "Portable IDE written in FreeBASIC" ;-)
COOL. Compiles for DOS like a charm ... but
(shots from Win32 executable running in DOS)
Nice, but doesn't really work. Either it's too buggy, or too CPU hoggy (seems to have less problems on faster PC's), or both.
Does this work well for anyone ?
Various bugs: unresponsive, can't type, C&P doesn't work, CTL-C crashes, black tapes on the screen, ...
Language issues:
- STGR -> CTL
- Menue -> Menu
FYI: the "can't find as.exe" bug is fixed in SVN now, should be in 0.18.4 ;-)
-
- Posts: 134
- Joined: Apr 19, 2007 16:20
- Contact:
I've tried the IDE, Stevie. First of all I think it is brilliant for someone to write an editor using GFX. Very orignial (and I mean that in a positive way).stevie1401 wrote:Fred0.70 can now print in color.
But the sub is not optimal. In Linux not very fast :-)
The Fred-Twins are at time NOT ready for Dos.
I have written a editor for Dos, and the code was, so I guess, ok, but the hdpmi makes always errors.
But with litte changes you can Fred use for Dos.
Stevie
Now for the program. It is quite responsive on my CPU (IBM with Celeron 1Ghz and 512MB) and the memory use is as expected (about 5MB). On the negative side there seem to be a lot of things that are either absent or not working
For instance I can go beyond the current maximum linenumber (using arrow down) and type something.
Building a GUI with FbGFX is gonna be HARD (to say the least) because GFX comes without widgets. There are some alternative GFX libraries that do come with widgets. FreeBASIC comes with the Allegro library and that library does contain widgets. A tutorial on building a graphical user interface with Allegro can be found here:
http://agdn.netfirms.com/main/gui/
And there is an example on using the widgets in the directory where FreeBASIC is installed (.\examples\libraries\allegro\dialog.bas). You'll need the allegro dll to run it. You can download it here
http://sourceforge.net/project/showfile ... _id=168871
(download allegro-mingw-4.2.2.zip)
After unpacking the archive rename alleg42.dll to aleg40.dll otherwise the example that comes with FreeBASIC will not work.
-
- Posts: 134
- Joined: Apr 19, 2007 16:20
- Contact:
Thank you for the hints.
But that is not my plan.
My plan is, to make an editor with pure freebasic-commands, because I want to found out what is really going with Freebasic for a BASIC programmer.
Look at my code:
You will see, it is NOT the best code and really not optimized.
That is ALL learning by doing.
Please read the setup.txt in the inc-folder in my pogram. There is an entry like "colorprint=1".
Change it to "colorprint=0"
Then it is normal without the color-routine and much faster.
The second problem is:
I have noticed that Linux is MUCH slower than Windows. Perhaps the nvidia-driver, I don´t know.
Very helpfull is to give hints to optimize my code with pure basic commands.
Thank you very much!
Stevie
But that is not my plan.
My plan is, to make an editor with pure freebasic-commands, because I want to found out what is really going with Freebasic for a BASIC programmer.
Look at my code:
You will see, it is NOT the best code and really not optimized.
That is ALL learning by doing.
Please read the setup.txt in the inc-folder in my pogram. There is an entry like "colorprint=1".
Change it to "colorprint=0"
Then it is normal without the color-routine and much faster.
The second problem is:
I have noticed that Linux is MUCH slower than Windows. Perhaps the nvidia-driver, I don´t know.
Very helpfull is to give hints to optimize my code with pure basic commands.
Thank you very much!
Stevie