Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: FreePascal for m68k-Amiga with LCL  (Read 3908 times)

0 Members and 1 Guest are viewing this topic.

Offline ALB42

Re: FreePascal for m68k-Amiga with LCL
« Reply #30 on: May 17, 2020, 11:12:23 AM »
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)

Quote
2. Element count is taking into consideration the parent directory
link. On AmigaOS this is not counted.
ok

Quote
3. The version that appears in the titlebar contains between other
things the string "$VER:" which should be omitted.
that is just me lazy ;)

Quote
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:
Code: [Select]
echo vga8 >env:FPC_VIDEO_BUILTINFONT and restart the program

Quote
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 if it runs on a lower Amiga.
I aim more for newer, expanded one.

Quote
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

Quote
7. There is no CLI dialog at the lower portion of the window.
? I do not understand

Quote
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 ;))

Quote
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

Quote
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 ;)
 

Offline lionstorm

Re: FreePascal for m68k-Amiga with LCL
« Reply #31 on: May 17, 2020, 07:58:19 PM »
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 ?
 

Offline ALB42

Re: FreePascal for m68k-Amiga with LCL
« Reply #32 on: May 18, 2020, 08:16:26 PM »
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.
 
The following users thanked this post: lionstorm

Offline Gulliver

Re: FreePascal for m68k-Amiga with LCL
« Reply #33 on: May 21, 2020, 10:01:46 AM »
@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.
« Last Edit: May 21, 2020, 10:02:28 AM by Gulliver »
 

Offline ALB42

Re: FreePascal for m68k-Amiga with LCL
« Reply #34 on: May 21, 2020, 11:22:17 AM »
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/

Quote
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 ;)
« Last Edit: May 21, 2020, 11:27:50 AM by ALB42 »
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 638
  • Total likes: 2
    • http://www.nyteshade.com
Re: FreePascal for m68k-Amiga with LCL
« Reply #35 on: May 22, 2020, 08:07:23 AM »
Added Syntax Highlighting for FreePascal for the Annotate editor on aminet.
Find it here: http://aminet.net/package/text/edit/annotate_pascal_syntax
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline ALB42

Re: FreePascal for m68k-Amiga with LCL
« Reply #36 on: May 22, 2020, 01:13:44 PM »

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.

 

Offline Gulliver

Re: FreePascal for m68k-Amiga with LCL
« Reply #37 on: May 22, 2020, 02:11:44 PM »
This feature now sets MCAmiga apart from the file manager lot.

Well done!
 

Offline TribbleSmasher

Re: FreePascal for m68k-Amiga with LCL
« Reply #38 on: May 22, 2020, 03:59:06 PM »
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!
 

Offline ALB42

Re: FreePascal for m68k-Amiga with LCL
« Reply #39 on: May 27, 2020, 05:33:18 PM »
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

Offline ALB42

Re: FreePascal for m68k-Amiga with LCL
« Reply #40 on: May 27, 2020, 10:11:31 PM »
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/

Offline Gulliver

Re: FreePascal for m68k-Amiga with LCL
« Reply #41 on: May 28, 2020, 12:30:41 PM »
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!
« Last Edit: May 28, 2020, 12:31:21 PM by Gulliver »
 
The following users thanked this post: ALB42

Offline kolla

Re: FreePascal for m68k-Amiga with LCL
« Reply #42 on: May 29, 2020, 12:13:40 PM »
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? :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM460 and Mac minis with MorphOS
 

Offline ALB42

Re: FreePascal for m68k-Amiga with LCL
« Reply #43 on: May 29, 2020, 06:18:35 PM »
Gulliver: big thanks for the very good bug reports. really helpful.

Mouse selection - fixed

Quote
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
 

Offline ALB42

Re: FreePascal for m68k-Amiga with LCL
« Reply #44 on: May 29, 2020, 06:23:16 PM »
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.