Long Filename Browser for ZX-UNO / esxDOS

Field Programmable Gate Array based devices! As exciting as they sound
Post Reply
User avatar
Seven.FFF
Manic Miner
Posts: 744
Joined: Sat Nov 25, 2017 10:50 pm
Location: USA

Re: New File Browser for ZX-UNO

Post by Seven.FFF »

Try to defrag the temp file on the slow card, see if that speeds it up.

Do you have a lot of files in the root of the slow card?
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel NXTP ESP Update ESP Reset CSpect Plugins
andydansby
Microbot
Posts: 147
Joined: Fri Nov 24, 2017 5:09 pm
Location: Syracuse, NY, USA
Contact:

Re: New File Browser for ZX-UNO

Post by andydansby »

Seven.FFF wrote: Fri May 29, 2020 2:35 pm Try to defrag the temp file on the slow card, see if that speeds it up.

Do you have a lot of files in the root of the slow card?
There are hardly any files, less that 10 in the root directory. Trying with a 3rd card now.

Just did and the same slower speed. Interesting. This was with the windows formatter. I'm going to try the SD Association formatter instead.
User avatar
PeterJ
Site Admin
Posts: 6873
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: New File Browser for ZX-UNO

Post by PeterJ »

I use a SanDisk Ultra 16 GB which was £5.50 from Amazon. No problems to date. I use a lot of Raspberry Pis and the speed difference between cards is amazing. I now have a mix of SanDisk Ultras and Samsung Evo Plus. It's getting harder to find the smaller capacity ones though. Transcend seem the only reputable company to do 4GB and 8GB Cards. The Retroleum card needs a 4GB card formatted as FAT16.

I always buy direct from Amazon and make sure it's both sold and dispatched by them. I know there is never any guarantees it won't be a fake, but at least it's reducing the risk.
andydansby
Microbot
Posts: 147
Joined: Fri Nov 24, 2017 5:09 pm
Location: Syracuse, NY, USA
Contact:

Re: New File Browser for ZX-UNO

Post by andydansby »

[mention]PeterJ[/mention] the Sandisk works great. I’ll find out in a few minutes if it was my choice in formatters. Trying the SD association now (full format).
User avatar
PeterJ
Site Admin
Posts: 6873
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: New File Browser for ZX-UNO

Post by PeterJ »

Yes @[mention]andydansby[/mention]. Good move. The SD Card Association formatting tool is very good.

This is a good site (They only review 32GB and higher cards though).

https://www.cameramemoryspeed.com/revie ... -sd-cards/
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

If it helps.

My card is a Sandisk 16gb formatted ( 1 partition) with the SD card utility recommended by TFW8B and it loads up very quickly..
andydansby
Microbot
Posts: 147
Joined: Fri Nov 24, 2017 5:09 pm
Location: Syracuse, NY, USA
Contact:

Re: New File Browser for ZX-UNO

Post by andydansby »

[mention]keithshaw3[/mention] It’s the PNY Elite that’s troublesome. Very odd indeed. I’m assuming that the “Elite” marking is only in the manufacturers opinion. It works as fast as molasses in winter.
Same result with the SD association formatter. I’m assuming volume name has nothing to do with the speed. Might try for fun later as doing a full format for 20 minutes is so incredibly thrilling.
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

As far as media is concerned I only buy well-known brands and again I buy from amazon direct, its an extra cost but well worth it as I've lost some valuable photos in the past due to a corrupt SD card :(

K
andydansby
Microbot
Posts: 147
Joined: Fri Nov 24, 2017 5:09 pm
Location: Syracuse, NY, USA
Contact:

Re: New File Browser for ZX-UNO

Post by andydansby »

keithshaw3 wrote: Fri May 29, 2020 3:35 pm If it helps.

My card is a Sandisk 16gb formatted ( 1 partition) with the SD card utility recommended by TFW8B and it loads up very quickly..
Do you have a link for that formatter and I’ll give it a try later on.
azesmbog
Manic Miner
Posts: 307
Joined: Sat May 16, 2020 8:43 am

Re: New File Browser for ZX-UNO

Post by azesmbog »

The SD card, which slowly works for me in conjunction with the TMP catalog - manufactured by Mirex, is a fairly well-known manufacturer.
2 Gb, only the card format is FAT.
Perhaps this is the reason.
Reformat in FAT32 not to offer, this card is used in other projects that understand only FAT (FAT16).
Another option is the various circuitry of the DivMMC controllers.
User avatar
Seven.FFF
Manic Miner
Posts: 744
Joined: Sat Nov 25, 2017 10:50 pm
Location: USA

Re: New File Browser for ZX-UNO

Post by Seven.FFF »

Velesoft did some research and found that most SD cards have a similar read speed, but can have a write speed that varies wildly from card to card. He quotes an example of a fast card doing a 128K "S" snapshot from esxDOS NMI menu in 7 seconds, and a slow card taking 50 seconds.

Talk to him if you want further info.
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel NXTP ESP Update ESP Reset CSpect Plugins
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

andydansby wrote: Fri May 29, 2020 4:18 pm
Do you have a link for that formatter and I’ll give it a try later on.
it's the same one recommended earlier I think

https://www.sdcard.org/downloads/formatter/
andydansby
Microbot
Posts: 147
Joined: Fri Nov 24, 2017 5:09 pm
Location: Syracuse, NY, USA
Contact:

Re: New File Browser for ZX-UNO

Post by andydansby »

keithshaw3 wrote: Fri May 29, 2020 4:27 pm
andydansby wrote: Fri May 29, 2020 4:18 pm
Do you have a link for that formatter and I’ll give it a try later on.
it's the same one recommended earlier I think

https://www.sdcard.org/downloads/formatter/
That’s the same formatter that I’m using. First time built in Windows formatter. Second time with SD Association formatter. Same reaction time with NMI browser
User avatar
PeterJ
Site Admin
Posts: 6873
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: New File Browser for ZX-UNO

Post by PeterJ »

Because of this discussion I was looking through my purchase history on Amazon. In 2005 I purchased a 512MB SD card, and it cost £25.99! I can now get close on 5 32GB cards for that! Amazing.
andydansby
Microbot
Posts: 147
Joined: Fri Nov 24, 2017 5:09 pm
Location: Syracuse, NY, USA
Contact:

Re: New File Browser for ZX-UNO

Post by andydansby »

PeterJ wrote: Fri May 29, 2020 5:05 pm Because of this discussion I was looking through my purchase history on Amazon. In 2005 I purchased a 512MB SD card, and it cost £25.99! I can now get close on 5 32GB cards for that! Amazing.
I still have a 5 meg jump drive that I paid a mint for years ago(guessing around 2002-2002). Still have it around somewhere, can’t toss it, it was way too expensive 😆.
Pretty soon it’ll be a “new retro” drive.
akeley
Dynamite Dan
Posts: 1045
Joined: Sat Feb 01, 2020 5:47 pm

Re: New File Browser for ZX-UNO

Post by akeley »

OMG!! I SEE LONG FILENAMES!!!1!!1

Man, this is really amazing. I have finally managed to upgrade my DIV SD's esx to 0.8.8 and I can run this browser now. It really changed my whole DIV experience, I can now see what games I'm playing/looking for...beforehand it was just jumbles of letters and bit of a potluck starting games. Thanks A LOT [mention]bob_fossil[/mention] !

Any chance you could update the first post with all the new instructions, features, keybinds, etc? This thread page count is now in double digits and the info is quite scattered. Is it possible to make snapshots, for example?
User avatar
bob_fossil
Manic Miner
Posts: 654
Joined: Mon Nov 13, 2017 6:09 pm

Re: New File Browser for ZX-UNO

Post by bob_fossil »

akeley wrote: Fri May 29, 2020 5:48 pm OMG!! I SEE LONG FILENAMES!!!1!!1

Man, this is really amazing. I have finally managed to upgrade my DIV SD's esx to 0.8.8 and I can run this browser now. It really changed my whole DIV experience, I can now see what games I'm playing/looking for...beforehand it was just jumbles of letters and bit of a potluck starting games. Thanks A LOT @bob_fossil !

Any chance you could update the first post with all the new instructions, features, keybinds, etc? This thread page count is now in double digits and the info is quite scattered. Is it possible to make snapshots, for example?
Thanks! :) Press Shift + H in the browser to show the help - which should hopefully answer your snapshot question. I can't update the first post. I should probably include a text version of the help screen alongside the changelog in the .zip file.
Last edited by bob_fossil on Fri May 29, 2020 6:07 pm, edited 1 time in total.
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

akeley wrote: Fri May 29, 2020 5:48 pm OMG!! I SEE LONG FILENAMES!!!1!!1
I know it's a revelation and soooo much easier to navigate :)

[mention]bob_fossil[/mention] do you have anywhere to donate to this great project or for a coffee or two :)
akeley
Dynamite Dan
Posts: 1045
Joined: Sat Feb 01, 2020 5:47 pm

Re: New File Browser for ZX-UNO

Post by akeley »

bob_fossil wrote: Fri May 29, 2020 6:04 pm I can't update the first post. I should probably include a text version of the help screen alongside the changelog in the .zip file.
I'm sure [mention]PeterJ[/mention] could help with that. It'd really be great to have all the crucial info in one place (for example I was first trying to install using the old method described there).

But yeah, adding a readme/help to the changelog or into the zip itself would be cool too. There's too many great features which could be missed otherwise.
In fact I was thinking about requesting "jump to the end of dir" and saw you've already implemented it. Then I thought, okay, if I request some way of naming snapshots it'll be too impossible. Cue my jaw literally dropping when I tried to save and saw it working :D

So, I don't know what to ask for, this really is just too perfect. Maybe remembering the last-game-played position within the directory? (I like to check games one by one). It's a very, very minor request thou.

Also, how do you deal with the old NMI again? I just renamed mine to something like "NMI old" but I see it's possible to re-animate it from within the UI?
User avatar
PeterJ
Site Admin
Posts: 6873
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: New File Browser for ZX-UNO

Post by PeterJ »

Hi [mention]bob_fossil[/mention]

Just PM me the changes you want.
User avatar
Luzie
Manic Miner
Posts: 907
Joined: Fri May 01, 2020 2:07 pm

Re: New File Browser for ZX-UNO

Post by Luzie »

akeley wrote: Fri May 29, 2020 8:01 pm Also, how do you deal with the old NMI again? I just renamed mine to something like "NMI old" but I see it's possible to re-animate it from within the UI?
Read on about it from here: viewtopic.php?p=37251#p37251
bukem
Drutt
Posts: 5
Joined: Sat May 30, 2020 10:18 am

Re: New File Browser for ZX-UNO

Post by bukem »

Hi, I'm using version 0.7 on ZX Spectrum Next with FlashAIR 64GB SXDC (FAT32) and it looks like browser is corrupting file system. This is the content of TMP folder where browser is dumping memory snapshot:

Image

When I tried to use brwscfg to change the config it corrupted also the bin folder content.
User avatar
bob_fossil
Manic Miner
Posts: 654
Joined: Mon Nov 13, 2017 6:09 pm

Re: New File Browser for ZX-UNO

Post by bob_fossil »

bukem wrote: Sat May 30, 2020 10:31 am Hi, I'm using version 0.7 on ZX Spectrum Next with FlashAIR 64GB SXDC (FAT32) and it looks like browser is corrupting file system. This is the content of TMP folder where browser is dumping memory snapshot:

Image

When I tried to use brwscfg to change the config it corrupted also the bin folder content.
I'm using the esxdos API functions to write files (/TMP/BROWSE.NMI and /BIN/BROWSE.CFG) to the SD card - so if there is an issue it's likely to be in there. Judging from the filenames and sizes it looks like something has gone horribly wrong when esxdos saved the data to the disk. I don't have a 64gb card or a ZX Spectrum Next to test with. Can you try another SD card - maybe a smaller size?
bukem
Drutt
Posts: 5
Joined: Sat May 30, 2020 10:18 am

Re: New File Browser for ZX-UNO

Post by bukem »

I'll try to find smaller SD card and do some test.
bukem
Drutt
Posts: 5
Joined: Sat May 30, 2020 10:18 am

Re: New File Browser for ZX-UNO

Post by bukem »

OK, I've found the cause :shock: - I had enabled DMA support for esxDOS in config. I've just disabled it and corruption is gone.
Post Reply