Menu
JAQForum Ver 19.10.27

Forum Index : Microcontroller and PC projects : File Manager for PicoMite

   Page 13 of 17    
Posted: 09:17pm
23 Mar 2025
Copy link to clipboard
dddns
Guru

Very nice work and improvements to me, it looks more structured and parameterized!
With two minor modifications (substitute "colour map") it runs as well on a 800x480 LCD. But only with font 1.
Only parts behind F2 and F9 are causing errors because of the VGA/HDMI specific tile commands.

All the best to you!
 
Posted: 11:10pm
23 Mar 2025
Copy link to clipboard
dddns
Guru

I played a bit. All your screen positioning is based on FW and FH. I think it would be better to base it on CHR and CVR like the screensaver.
As your development is for VGA/HDMI console, I think processing speed and response times could be improved by replacing "print@" with the "text" command.

Then again FW and FH could make sense..
Edited 2025-03-24 09:13 by dddns
 
Posted: 07:19pm
24 Mar 2025
Copy link to clipboard
javavi
Guru


Please advise!
Is it possible to read file attribute bytes from the FAT16 FAT32 file system on an SD card in PicoMite?
 
Posted: 07:58pm
24 Mar 2025
Copy link to clipboard
twofingers
Guru

  javavi said  ...Is it possible to read file attribute bytes from the FAT16 FAT32 file system on an SD card in PicoMite?

Hi Vadim,
I suppose it was not designed for that.
What do you need that for?
Regards
Michael
 
Posted: 07:57pm
27 Mar 2025
Copy link to clipboard
javavi
Guru


  twofingers said  I suppose it was not designed for that.
What do you need that for?

I thought about displaying these file attributes on panels in color. But if PicoMite doesn't use it, then it's not necessary?!

Next question:
Is there a Font for TeraTerm terminal with the same encoding as Font 1 for PicoMite?
So that when it is used in the terminal, pseudographics are displayed correctly.

Regards,
Vadim
 
Posted: 07:49am
28 Mar 2025
Copy link to clipboard
Frank N. Furter
Guru

@Vadim:

I have problems with copying with version “FM140”. I want to copy the folder "SPO256Phonemes" from the attachment from B: to A: with SHIFT+F5. I get the error message “Could not find the file”.

When I create the folder on drive A: manually and use SPACE to mark files from the folder on drive B:, it unfortunately does not copy the marked files, but ONLY THE FIRST FILE THAT IS NOT MARKED AFTER THAT!?!

Frank


SPO256Phonemes.zip
 
Posted: 11:34am
29 Mar 2025
Copy link to clipboard
twofingers
Guru

Hi Vadim,
  javavi said  I thought about displaying these file attributes on panels in color. But if PicoMite doesn't use it, then it's not necessary?!

you are correct. It's a miracle for me to have a fairly complete film system on a Pico. Personally, I don't like the many different colors either, but that's probably a matter of taste.

  javavi said  Next question:
Is there a Font for TeraTerm terminal with the same encoding as Font 1 for PicoMite?
So that when it is used in the terminal, pseudographics are displayed correctly.

Actually, everything about this has been said in the FM-VT100 thread. I use the "TERMINAL" font with my old Teraterm (4.85). It's largely compatible with the MMBasic font. Others wanted a font with ASCII characters <127 for their setup. That's why both are implemented in the VT100 version.

FM02034.1.zip
(02034->02034.1, replaced due to a typo)

In this new version, I've completely removed the Alt-F keys (it never worked for me). Instead, I use the Shift-F keys (F3, F4, F9, F10) and CTRL keys. F12 now replaces the ESC key to exit. Everything else is in the help page. At the beginning of the program, there's a marked area that users are supposed to configure themselves.

'* User config:
Const SStimeout=300000 'Screen saver timeout
Const RMax=200 'Max files in a folder to read
Const Diskinfo_Path$  ="B:/di.bas" 'Path to diskinfo
Const Snippet_Path$   ="B:/snippet.cut"'a snippet can be any text/.bas file
Const MergedText_Path$="B:/merged.txt" 'result of merge
Const CLEAR_KBBUFFER=TRUE' Clearing the keyboard buffer prevents the cursor from
                        ' moving too far, but makes the cursor more sluggish.
Const SClr=12        'Color of selected files
'***************


Regards
Michael
Edited 2025-03-30 04:04 by twofingers
 
Posted: 12:39pm
30 Mar 2025
Copy link to clipboard
javavi
Guru


  twofingers said  I use the "TERMINAL" font with my old Teraterm (4.85). It's largely compatible with the MMBasic font. Others wanted a font with ASCII characters <127 for their setup. That's why both are implemented in the VT100 version.

Hi Michael,
I have now completely abandoned the use of tiles in the working version, and the cursor works both on the local monitor and in the terminal. But if I replaced the "Terminal" font with a font with the encoding like PicoMite, then it would look just as correct in the terminal, only not colored.
Now, due to the mismatch of encodings on the terminal, it looks like this:

Regards
Vadim
Edited 2025-03-30 23:03 by javavi
 
Posted: 01:22pm
30 Mar 2025
Copy link to clipboard
dddns
Guru

  thwill said  In Linux Putty you could try changing "Window->Translation->Remote character set" to CP852 as that code-page (amongst others) contains the line drawing characters.

Best wishes,

Tom


My 2 cent: if you use a font which makes re-configuring/changing the default necessary, that will be not helpful for many. The first impression with a default setup for putty or terraterm will be disturbing like the screen..


If characters > 127 are used is really a point, which could be made configurable like Twofingers did. Please stop hardcoding :))
Edited 2025-03-30 23:37 by dddns
 
Posted: 02:41pm
30 Mar 2025
Copy link to clipboard
javavi
Guru


FM v.1.45 for PicoMite VGA/HDMI
FM145.zip
This version supports multiple file selection for copying, moving and deleting. (No folders yet)
Attention! When multiple selection, files are processed without confirmation of the action.
I have stopped using TILES, only the PRINT command.
 
Posted: 07:11pm
31 Mar 2025
Copy link to clipboard
javavi
Guru


FM v.1.46 for PicoMite VGA/HDMI
FM146.zip
Now it can delete folders with files and subfolders, also by multi-selection...
Be careful!
And all this while playing MP3, MOD, FLAC music :))
Maybe we should make a player for compositions selected by multiselect?
 
Posted: 07:41pm
31 Mar 2025
Copy link to clipboard
Volhout
Guru

  twofingers said  
FM02034.1.zip
(02034->02034.1, replaced due to a typo)

In this new version, I've completely removed the Alt-F keys (it never worked for me). Instead, I use the Shift-F keys (F3, F4, F9, F10) and CTRL keys. F12 now replaces the ESC key to exit. Everything else is in the help page. At the beginning of the program, there's a marked area that users are supposed to configure themselves.

Regards
Michael


Hi Michael,

I have only now find time to play with this. On my PS2 controlled 2040 VGA platform, <shift>-F does not work. So this improvement is useless for me. I cannot change drive anymore. B.t.w I used your earlier 02032 to completely re-arrange an SD card. Worked well.

Volhout
 
Posted: 08:08pm
31 Mar 2025
Copy link to clipboard
Volhout
Guru

@javavi,

FM146 works nice, also with copying selections.

If I may make a suggestion: the blue color for audio files does not work nice on my screen. It is too dark. Maybe use a different color.
And files types that you do not recognize are colored green. Maybe these should be left white. Then use the green for audio files.

I think I need to get used to the color changes. The early versions had a very simple interface, easy to the eye. The new coloring sometimes looks like "too much". It works well, but too many colors confuse. In hind-sight, just coloring the BAS files in one color, and the known audio and video files in another color. The rest stays white.

I know that everyone taste is different. I hope you do not feel offended by my comment.

Volhout

P.S. I take the liberty to play with these idea's in my own copy...
Edited 2025-04-01 06:09 by Volhout
 
Posted: 08:20pm
31 Mar 2025
Copy link to clipboard
javavi
Guru


  Volhout said  Maybe use a different color.

There you can disable Colorer by specifying a color constant. You can even disable it for just one panel.
Suggest your own colors for file types?
I think I'll make a settings panel in the future.
Edited 2025-04-01 06:21 by javavi
 
Posted: 06:40am
01 Apr 2025
Copy link to clipboard
TassyJim
Guru


Useful fonts that use the line drawing characters are

Courier New - which comes with Windows
Lucida Console - later Windows and
Ubuntu Mono - which is readily available.


Jim
 
Posted: 07:22am
01 Apr 2025
Copy link to clipboard
Mixtel90
Guru


Or put a font with line drawing characters into the Library?
 
Posted: 07:28am
01 Apr 2025
Copy link to clipboard
matherp
Guru

Font 1 has line drawing - CHR$() codes below
Single lines
topleft  218
topright 191
bottomleft 192
bottonright 217
horizontal 196
vertical 179
cross 197
tup 193
tdown 194
tleft 195
tright 180

double lines
topleft  201
topright 187
bottomleft 200
bottonright 188
horizontal 205
vertical 186
cross 206
tup 202
tdown 203
tleft 204
tright 185
 
Posted: 08:35am
01 Apr 2025
Copy link to clipboard
Mixtel90
Guru


Thanks, Peter. I'd forgotten that. I've used them too... :)
It's the console font that I had to change when I was playing with my VT100 library routines for the Micromite.
 
Posted: 08:49am
01 Apr 2025
Copy link to clipboard
twofingers
Guru

  Volhout said  
  twofingers said  ...

... On my PS2 controlled 2040 VGA platform, <shift>-F does not work. So this improvement is useless for me. I cannot change drive anymore. ...


Hi Harm,
That's a shame, sorry! I was hoping the Shift-F keys would work universally. Unfortunately, I only have a few USB keyboards to test.
Thanks for your hint! ;-)
This will probably happen again and again, just like I can't type anything with Alt-Fx.
I suspect Vadim has a PS2 keyboard, which is why there have been several misunderstandings.

The good news is, you no longer need the F keys to change drives. Changing drives is now done with the "DEL" key. This works, IMHO, even better than with F1/F2. However, I have to do without Vadim's nice drive menu.
The F3/4 keys for sort mode are also unnecessary, because you can use CTRL + s, d, n. A new solution would only be needed for cutting and pasting (merging).

  Volhout said  ... B.t.w I used your earlier 02032 to completely re-arrange an SD card. Worked well.


You have a lot of trust! I'm glad!

Thanks for testing!


@Vadim,

Hi,
I really like your version 1.45, apart from the colors, which can apparently be turned off. You've cleaned things up. And implemented some ideas that I would have done very similarly. The file cursor runs very smoothly. I think it would be good to work further on merging the two panels into one code with a two-dimensional array. You've already started. I tried it twice and failed due to the limitations of MMBasic. But that's ultimately just cosmetic!

Regards
Michael
 
Posted: 08:49am
01 Apr 2025
Copy link to clipboard
TassyJim
Guru


I should have been clear. I was suggesting fonts to use in your PC terminal program to match the line drawing in pico font 1

Jim
 
   Page 13 of 17    
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025