Amiga.org
Amiga computer related discussion => Amiga/MorphOS/AROS Programmers Forum => Topic started by: ALB42 on April 13, 2016, 07:43:58 AM
-
Freepascal 3.1.1 for m68k-amiga with early alpha LCL
Download at FPC-Amiga Page: http://blog.alb42.de/fpc-amigaaros-m68k/
Be warned: LCL is still is very early alpha stage, so expect crashes.
It aims on fast RTG Amigas or even better RTG-UAE, but some simple programs also work on AGA/ECS Screens.
Notice: you need at least 180 MB of free RAM to compile a LCL program
Check example directory or https://github.com/alb42/fpc-tests/ for example codes.
[youtube]ZN0cnRQJ1nU[/youtube]
-
I created a virtual machine with cross compilers for Amiga, AROS and MorphOS and a working Lazarus able to compile LCL programs for all this platforms.
download at Blog Entry (http://blog.alb42.de/2016/04/20/create-programs-for-all-amiga-platforms-with-lazarus) (1.6 GB)
Video showing how to use: (Create/Compile for Amiga, AROS and MorphOS)
[youtube]yKGS6fcLLOE[/youtube]
-
New Virtual Lazarus crosscompiler setup for all Amiga systems.
Changes:
* FIX: Redraw problems on AmigaOS3
* FIX: Size problems
* FIX: Mouse event crashes
* ADD: Support for AmigaOS4
* CHG: Striped image from unneeded things, reduced download size
For more informations check: http://blog.alb42.de/2016/05/16/virtual-lazarus-v2/
-
About this year … 2016
https://blog.alb42.de/2016/12/31/about-this-year-2016/
-
Compile your FreePascal programs directly in the browser, for all Amiga Systems (even usable with IBrowse on a native Amiga)
for example:
https://youtu.be/D3xSsq51syE
see more at http://blog.alb42.de
-
Working on a FreePascal MUI GUI Editor using my new MUIClass implementation.
[youtube]vpDuChDzjFA[/youtube]
Read more:
https://blog.alb42.de/2018/02/16/mui-gui-editor/
-
You need to get an award for sticking with it.
-
The Award I would like to get: Someone use it to create some real program with it.
For now I use it, that's my reward ;-)
-
Is this included in Aros Vision or Aros 68k?
I do see a version for Aros i386.
http://archives.aros-exec.org/index.php?function=showfile&file=development/language/fpc-2.7.1.20131120.i386-aros.tgz
-
You need the latest fpc package:
http://build.alb42.de/fpcreleases/
http://build.alb42.de/fpcreleases/fpc-release.m68k-amiga.lha
The MUIClass Sources you can find on github:
https://github.com/alb42/MUIClass
(The IDE is still not included, I'm working on it)
-
Great. I look to dabble in this.
-
Is this included in Aros Vision or Aros 68k?
I do see a version for Aros i386.
http://archives.aros-exec.org/index.php?function=showfile&file=development/language/fpc-2.7.1.20131120.i386-aros.tgz
Yes it is (I think in directory developer if I remember right). Pascal sources even can be compiled by rightclick and select compile
-
Yes it is (I think in directory developer if I remember right). Pascal sources even can be compiled by rightclick and select compile
Right Click and Compile makes it sound easy.
I ordered a book on Data Structures using Pascal.
I guess it is not too difficult to use them in other languages.
-
Source creation and Eventhandlers are working, .... somehow
Slowly (VERY slowly) it becomes a program :lol: (the Source of the IDE is also on GitHub from now on, in the MUIClass repository, folder IDE)
More about last advanced (again with Video)
https://blog.alb42.de/2018/02/22/mui-ide-source-and-events/
-
MUIIDE reached next mile stone
multiple windows, loading/saving source creating is working
https://blog.alb42.de/2018/03/07/muiide-the-next-mile-stone/ (with Video) (https://blog.alb42.de/2018/03/07/muiide-the-next-mile-stone/)
-
For the upcoming FreePascal 3.2 I started to create Amigastyle Installers. MorphOS is already finished a while before, now there is also Amiga68k and AmigaOS4 available for testing
News about + Videos:
https://blog.alb42.de/2019/12/14/installer-os4/
https://blog.alb42.de/2019/12/15/installer-amiga-68k/
Installers at:
http://build.alb42.de
-
I tried the morphos version but the installer fails if you change the default path destination.
I have installed to work:freepascal , copied to my desired site, changed the user-startup et voila.
Thanks for the work.
-
I can not reproduce that, I just installed it to "Work:Other" and it worked... to where you tried to install?
-
I tried to install in Work:Prog/ several times and always with an error copying files to dest dir.
-
hmm strange, also works for me:
https://youtu.be/PbB-WmkAnDU
-
Dont ask why but I have tried again and worked.
I did it almost ten times without results.
:)
-
MCAmiga 0.2 a Midnight/Norton commander style file manager for all Amiga systems ;)
Video:
https://blog.alb42.de/2020/05/08/more-playing-with-video-unit/ (https://blog.alb42.de/2020/05/08/more-playing-with-video-unit/)
Download Version 0.2:
https://blog.alb42.de/2020/05/10/mcamiga-0-2/ (https://blog.alb42.de/2020/05/10/mcamiga-0-2/)
-
Yikes! :)
-
@ALB42
For being a blog about development there is not much to read, especially in relation to any previous(?) post, if any. What does this 'playing with video unit' mean?
Is this MC working in a console or does it just look like it is using the IBM font?
-
Sorry in this V2 archive all Executables are the 68k Version.
Thats the reason for the new Version 0.3 (and some more features like search in viewer)
Download here
MCAmiga Page (https://blog.alb42.de/programs/#MCAmiga)
-
@ALB42
For being a blog about development there is not much to read, especially in relation to any previous(?) post, if any. What does this 'playing with video unit' mean?
Is this MC working in a console or does it just look like it is using the IBM font?
video unit is a "unit" (name for libraries in pascal) which gives functions to write to a DOS Console directly (if you ever used TurboPascal you should know it)
FreePascal has also a TurboPascal-compatible video unit, on non-DOS systems the DOS console is emulated, like e.g. on FreePascal for Amiga-systems. I never used the video unit in the past, I started with pascal with Delphi on Windows with GUI.
Playing with video means I try to learn how to use it and debug it ;) already fixed some problems, and increased speed a bit.
-
MCAmiga now also with mouse and drag n drop (Appwindow) support
https://blog.alb42.de/2020/05/15/1814/ (https://blog.alb42.de/2020/05/15/1814/) (with video)
-
@ALB42
Regarding MCAmiga:
Played with it a bit. Looks great.
Thanks!
Are you interested in bug reports? I have a couple of them.
And probably a couple feature requests too, if you would like to hear them.
-
sure. I always like to hear feedback (good or bad, as long it's not just destructive :-P)
On which system did you test?
-
Hi,
Test system:
A1200 + 4 MB fast
kickstart 3.1.4 + AmigaOS 3.1.4.1
kickstart 3.2 beta + AmigaOS 3.2 beta
Issues:
1. After enlarging the MCAmiga's window, if you reduce it you get
graphic corruption at the bottom section of the window.
2. Element count is taking into consideration the parent directory
link. On AmigaOS this is not counted.
3. The version that appears in the titlebar contains between other
things the string "$VER:" which should be omitted.
4. The MCAmiga window does not fit on a default High-Res screen mode.
Not everyone has a scan doubler or RTG.
5. The program requires more than 2 MB of ram. Is it possible to lower
this requirement? Speaking about requirements: can it run on a 68000?
6. To use MultiView you need to press SHIFT + F3 according to the
video. This is not documented using the F1 key. Anyway, can that
shortcut be configurable?
7. There is no CLI dialog at the lower portion of the window.
8. You cannot drag and drop between panels.
9. It would be nice that it could also display protection bits, not
only file/dir names and sizes.
10. How do you run a file that is currently selected?
Thank you again for MCAmiga.
-
Thanks for your feedback highly appreciated :-)
1. After enlarging the MCAmiga's window, if you reduce it you get
graphic corruption at the bottom section of the window.
yeah I also noticed that, I try to work around it (it happens because the windows size does not fit exactly to the char borders)
2. Element count is taking into consideration the parent directory
link. On AmigaOS this is not counted.
ok
3. The version that appears in the titlebar contains between other
things the string "$VER:" which should be omitted.
that is just me lazy ;)
4. The MCAmiga window does not fit on a default High-Res screen mode.
Not everyone has a scan doubler or RTG.
I also do not have on my A1200, I use a hires lace screen ;) by default, you can use a smaller font, later should be in the manual for sure
try:
echo vga8 >env:FPC_VIDEO_BUILTINFONT
and restart the program
5. The program requires more than 2 MB of ram. Is it possible to lower
this requirement? Speaking about requirements: can it run on a 68000?
Atm. it can only run on a 68020+ and OS3.x+ you could compile it for 68000 but it would still need OS3.x (because of the memory management)
It would be quite difficult to lower the memory need a lot because I tend to use all the latest language features in my programs
(the program has Streams, RTTI, OOP, inheritance, Generics and so on) of course you could write it without, but thats not my aim.
One could try the very nice NTP-Commander: http://aminet.net/package/util/dir/ntp_commander_2.2 (http://aminet.net/package/util/dir/ntp_commander_2.2) if it runs on a lower Amiga.
I aim more for newer, expanded one.
6. To use MultiView you need to press SHIFT + F3 according to the
video. This is not documented using the F1 key. Anyway, can that
shortcut be configurable?
its a 0.4 ;-) of course the Help is not finished, its written in the readme btw. the in program help is so short becasue I need to make it scrolling I guess at some point.
in the Readme it is also written how to configure, hint via the ToolTypes of the icon
7. There is no CLI dialog at the lower portion of the window.
? I do not understand
8. You cannot drag and drop between panels.
Yeah and I'm also not sure thats want I want to implement (remember that is char based ;))
9. It would be nice that it could also display protection bits, not
only file/dir names and sizes.
I thought about it but it's already tight on place, maybe one could make it switchable or so, because the date/time would be also nice
10. How do you run a file that is currently selected?
not implemented atm.
I have to think about a way to do that, maybe even make some clever file recognition part, I still dont know ;)
-
I quickly tested it under OS4 X-5000 and at first it did not work because the tooltype is wrong (project instead of tool) and then got a total freeze ! the 68k is working fine though.
I guess it is the same bug that prevent MUImapparium to work on X-5000 hardware. Is it something to do with the non aligned memory which was removed from the kernel of X-5000 version of OS4 ?
-
I quickly tested it under OS4 X-5000 and at first it did not work because the tooltype is wrong (project instead of tool) and then got a total freeze ! the 68k is working fine though.
I guess it is the same bug that prevent MUImapparium to work on X-5000 hardware. Is it something to do with the non aligned memory which was removed from the kernel of X-5000 version of OS4 ?
As written on MUIMapparium Release, no FreePascal program will work on the CPU of X-5000, seems its not a PowerPC compatible CPU :o
We don't have one, there is no AmigaOS4 FreePascal Maintainer (we asked multiple times already, but nobody is willing to do it), so there is very little chance this will change.
I try to keep the OS4 FreePascal port at least somewhat working and compatible with Amiga, AROS and MorphOS but to be honest, I hear/read so often that I should not care about FreePascal, better write my program with language X,Y,Z that Pascal is so bad because XXXX (insert some 70-ties pascal fact) that my focus changed a bit, but not the way the people wanted to.
Sorry for the bad news. But you should be able to use the 68k Version. The speed difference should be not that big for MCAmiga.
-
@ALB42
Thank you for your answers.
I still have a few things I would like to follow up considering the
point number and the answers you provided.
4. Despite using echo vga8 >env:FPC_VIDEO_BUILTINFONT, the right
window border is not drawn because the window still does not properly
fit.
5. I see your points regarding the hardware requirements. It would be
good that they are noted in the manual/readme. BTW, providing a 68000
version, then could be an interesting posibility for those that have
one of those abundant brand new 68000 accelerators.
7. What I meant as a CLI at the lower portion of the window, is the
same thing that both Norton Commander and ntp_commander_2.2 have. They
simply hold a command prompt on the same window, at the bottom.
Thank you again for the time and effort spent on this great program.
-
4. Despite using echo vga8 >env:FPC_VIDEO_BUILTINFONT, the right
window border is not drawn because the window still does not properly
fit.
Sorry I misunderstood that. I tried to improve the situation,
https://blog.alb42.de/2020/05/21/mcamiga-4-colors/ (https://blog.alb42.de/2020/05/21/mcamiga-4-colors/)
7. What I meant as a CLI at the lower portion of the window, is the
same thing that both Norton Commander and ntp_commander_2.2 have. They
simply hold a command prompt on the same window, at the bottom.
Yeah, but as you might notice in ntp-commander that is also not a real Amiga-CLI, it's an own implemented language there
because (as far as I know) it's not really possible to include there a real Amiga shell. Thats the reason I left that away for now.
But hey it's open source maybe someone has an idea and implement that, who is smarter than me ;)
-
Added Syntax Highlighting for FreePascal for the Annotate editor on aminet.
Find it here: http://aminet.net/package/text/edit/annotate_pascal_syntax
-
LHA archives should be browsable like normal directories.... Thats the way I want it... this could be good ;)
https://blog.alb42.de/2020/05/22/mcamiga-lha-archives/ (with video)
P.S. @nyteschade: thanks looks good, even I dont like Annotate so much, because it seems to be too unstable for long time use.
-
This feature now sets MCAmiga apart from the file manager lot.
Well done!
-
I am not sure this will outweight the GUI blasphemy he's pulling there... :o :P ;D
This feature now sets MCAmiga apart from the file manager lot.
Well done!
-
MCAmiga 0.5
with support for lha/lzx archives read/write, browse, edit/view files and so on
support for xadmaster.library for other archive types.
Tools menu
start executables
and many fixes, especially on rescale
Download and source link: MCAmiga 0.5 (https://blog.alb42.de/2020/05/27/mcamiga-0-5/)
-
I got some questions if I could also compile that for 68000, of course I can, but I never tried, at least it does not crash imidately.
I supply an extra archive for the 68000 Version, next to the MCAmigaV05
https://blog.alb42.de/2020/05/27/mcamiga-0-5-68000/
-
Hi, I gave it a quick test. :D
Machine:
A1200 + 4 MB RAM kickstart & AmigaOS 3.1.4.1
A1200 + 4 MB RAM kickstart & AmigaOS 3.2 beta
Tested the 68020+ version
Mouse selection on the "Parameter" dialog box does not allow you to
select the "Yes" or "No" buttons. But the tab and return key work for
this purpose.
Command output execution on the new cli has the "FPC Console Output"
as a name for it. Shouldn't it be better to modify it to
"MyCommander Console Output" or something along those lines?
The Help screen (F1) gets corrupted in the first two lines of text.
The corruption involves some transparent/non-drawn characters which
let you see through, to the actual file manager panels.
If you press either the left or right cursor keys, you get an
"FPC Console Output" with a printed "Key:$FF23" and "Key:$FF25"
strings respectively.
I also gave a quick test of the 68000 on an A500Plus + 4 MB (AmigaOS
3.1). It did work but had the same cursor keys and help screen bugs as
the 020+ version.
I really enjoyed all the fixes and features you implemented since last
version. Thank you for your continued work!
-
I’m mostly intrigued by the “terminal” or “console” aspect of this - could this “curses” framework also be used for things like for porting other curses based programs that otherwise struggle with “amiga ansi” console, like pine, mutt, vim, nano etc, or even hell-freezing concepts like a multiplexing terminal emulator for 68k Amiga with serial, telnet and modern ssh support? :)
-
Gulliver: big thanks for the very good bug reports. really helpful.
Mouse selection - fixed
Command output execution on the new cli has the "FPC Console Output"
as a name for it. Shouldn't it be better to modify it to
"MyCommander Console Output" or something along those lines?
hmm I have no real influence to that, that console window only opens (automatically by FPC) if you start by icon and therefore no console is available. if you start the program via shell the output would just go to the the shell you used.
Help Screen - yes as I said ;) I have to implement scrolling, already did it yesterday, so hopefully fixed as well
Printed Key:$... ups I forget some debugoutput
I will work on some more issues the Weekend and make a bugfixed version
-
kolla:
in principle yes becasue the full Code page 437 is available to use, but of course the is a problem, it is Pascal obviously ;)
for exampe chainQ did that: https://twitter.com/chainq/status/1259478508683870208 with the same method.
But not easy to use from a C source, but because FreePascal and this sources are open source, one could get that idea an implement a C version of that method, should be not too hard, it's just Amiga API.
-
MCAmiga Version 0.6
News:
- fixed wordwarp in viewer fixed missing char
- bottom menu line (with tooltype setting)
- fixed parent select when leaving archive
- tooltype for fullscreen (own screen) setting
- Scroll help screen text if needed
- catch exception for external programs
- unpack archive in tools menu
Download: https://blog.alb42.de/2020/05/30/mcamiga-0-6/
-
Working on Search function for MCAmiga:
https://blog.alb42.de/2020/06/01/working-on-search/ (video)
-
Don't you find it just a little weird to have "help" on something else than the actual "help" key? :)
-
MCAmiga V0.7
after a long weekend finished the source function and made a little release
Download and more information on my Blog https://blog.alb42.de/2020/06/01/mcamiga-v0-7/
Have fun!
@kolla: not really, problem, atm I do not get an event for the Help key, (remember I use a DOS like emulation layer and there is no Help Key, of course I could map that to F1, would be reasonable, but that I have to change inside FreePascal)
-
MCAmiga v0.8
News:
- Bugfix Move from archive
- lynx type movement
- Bugfix initial view as drive view
- Bugfix overwrite requester when extracting files
- Bugfix crash on double click on file in archive
- Ask to rename the icon together with the file
- Tool entry to select all info files of selected files
- Better support for german umlauts
- automatically create dir icon on request
https://blog.alb42.de/2020/06/05/mcamiga-v0-8/ (https://blog.alb42.de/2020/06/05/mcamiga-v0-8/)
-
Since the long standing bug preventing the execution of FreePascal-based software on X-5000 has been found and fixed, do you plan to update your programs ?
-
unlikely
https://blog.alb42.de/2020/06/06/open-source/ (https://blog.alb42.de/2020/06/06/open-source/)
MCAmiga 0.9 should work (it's compiled with the latest FPC)