Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 13:40 10 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

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

     Page 13 of 17    
Author Message
dddns
Senior Member

Joined: 20/09/2024
Location: Germany
Posts: 259
Posted: 09:17pm 23 Mar 2025
Copy link to clipboard 
Print this post

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!
 
dddns
Senior Member

Joined: 20/09/2024
Location: Germany
Posts: 259
Posted: 11:10pm 23 Mar 2025
Copy link to clipboard 
Print this post

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
 
javavi

Guru

Joined: 01/10/2023
Location: Ukraine
Posts: 436
Posted: 07:19pm 24 Mar 2025
Copy link to clipboard 
Print this post

Please advise!
Is it possible to read file attribute bytes from the FAT16 FAT32 file system on an SD card in PicoMite?
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1526
Posted: 07:58pm 24 Mar 2025
Copy link to clipboard 
Print this post

  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
causality ≠ correlation ≠ coincidence
 
javavi

Guru

Joined: 01/10/2023
Location: Ukraine
Posts: 436
Posted: 07:57pm 27 Mar 2025
Copy link to clipboard 
Print this post

  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
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 936
Posted: 07:49am 28 Mar 2025
Copy link to clipboard 
Print this post

@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
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1526
Posted: 11:34am 29 Mar 2025
Copy link to clipboard 
Print this post

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
causality ≠ correlation ≠ coincidence
 
javavi

Guru

Joined: 01/10/2023
Location: Ukraine
Posts: 436
Posted: 12:39pm 30 Mar 2025
Copy link to clipboard 
Print this post

  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
 
dddns
Senior Member

Joined: 20/09/2024
Location: Germany
Posts: 259
Posted: 01:22pm 30 Mar 2025
Copy link to clipboard 
Print this post

  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
 
javavi

Guru

Joined: 01/10/2023
Location: Ukraine
Posts: 436
Posted: 02:41pm 30 Mar 2025
Copy link to clipboard 
Print this post

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.
 
javavi

Guru

Joined: 01/10/2023
Location: Ukraine
Posts: 436
Posted: 07:11pm 31 Mar 2025
Copy link to clipboard 
Print this post

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?
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4854
Posted: 07:41pm 31 Mar 2025
Copy link to clipboard 
Print this post

  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
PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4854
Posted: 08:08pm 31 Mar 2025
Copy link to clipboard 
Print this post

@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
PicomiteVGA PETSCII ROBOTS
 
javavi

Guru

Joined: 01/10/2023
Location: Ukraine
Posts: 436
Posted: 08:20pm 31 Mar 2025
Copy link to clipboard 
Print this post

  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
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6220
Posted: 06:40am 01 Apr 2025
Copy link to clipboard 
Print this post

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
VK7JH
MMedit
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7503
Posted: 07:22am 01 Apr 2025
Copy link to clipboard 
Print this post

Or put a font with line drawing characters into the Library?
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 07:28am 01 Apr 2025
Copy link to clipboard 
Print this post

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
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7503
Posted: 08:35am 01 Apr 2025
Copy link to clipboard 
Print this post

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.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1526
Posted: 08:49am 01 Apr 2025
Copy link to clipboard 
Print this post

  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
causality ≠ correlation ≠ coincidence
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6220
Posted: 08:49am 01 Apr 2025
Copy link to clipboard 
Print this post

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
VK7JH
MMedit
 
     Page 13 of 17    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025