Long Filename Browser for ZX-UNO / esxDOS

Field Programmable Gate Array based devices! As exciting as they sound
azesmbog
Manic Miner
Posts: 307
Joined: Sat May 16, 2020 8:43 am

Re: New File Browser for ZX-UNO

Post by azesmbog »

you rename old087.sys to nmi.org
or use the new NMI, or you can press shift + N and return to the original NMI handler.

Many thanks to the author! :)
But on my SD card, the first launch is very slow, apparently too many files) Seconds 5 probably no less, the original starts instantly.
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 »

azesmbog wrote: Sat May 16, 2020 8:51 am you rename old087.sys to nmi.org
or use the new NMI, or you can press shift + N and return to the original NMI handler.
Thank you!
Seems I missed this news info about version"BROWSE_TEST006-2.zip" and "Shift +N" on this posting:
viewtopic.php?f=9&t=2553&p=36752&hilit=nmi.org#p36752
Now I understand this and where "nmi.org" comes from.
And with this I can even load the original esxDOS NMI-browser from "New File Browser for ZX-UNO"
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 »

azesmbog wrote: Sat May 16, 2020 8:51 am you rename old087.sys to nmi.org
or use the new NMI, or you can press shift + N and return to the original NMI handler.

Many thanks to the author! :)
But on my SD card, the first launch is very slow, apparently too many files) Seconds 5 probably no less, the original starts instantly.
Thanks for the kind words and technical support you supplied. :) Yes, the first time you run my NMI.SYS it takes a while to start as it has to create the /TMP/BROWSE.NMI file for the first time. The file is also larger than the file the original NMI creates - I save the whole RAM to disk whereas the original NMI just saves the screen. I guess there is an overhead in esxdos creating a new file and updating the FAT on the card / disk. The delay seems to go away the next time you enter the NMI. Having a lot of files in a folder will increase the time it takes to read the information from the FAT and then sort it into order.
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 »

Luzie wrote: Sat May 16, 2020 9:08 am Thank you!
Seems I missed this news info about version"BROWSE_TEST006-2.zip" and "Shift +N" on this posting:
viewtopic.php?f=9&t=2553&p=36752&hilit=nmi.org#p36752
Now I understand this and where "nmi.org" comes from.
And with this I can even load the original esxDOS NMI-browser from "New File Browser for ZX-UNO"
Glad you got it sorted out.
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 »

v0.06
  • Added NMI.SYS file so you can now use browse as an NMI replacement. Please note that PZX support is disabled when running from the NMI.
  • Kempston joystick support (enable in BRWSCFG).
  • Made navigation (up, down, left, right) and select keys user definable (set in BRWSCFG).
  • Shift + H now shows the in-app help (BIN/BRWSHELP.SCR).
  • Shift + N will now restart the NMI with the file SYS/NMI.ORG. So if you copied the esxdos NMI.SYS to this path, Shift + N would restart the NMI using the default esxdos NMI. To restore the browse NMI, either run the supplied .dot command NMIINIT or hard reset / power cycle your machine.
  • Shift + T cycles ZX-UNO turbo modes - none (3.5mhz), X2 (7mhz) and X4 (14mhz).
  • Shift + M cycles ZX-UNO machine / video timings - 48, 128 and Pentagon.
  • Added NMIINIT .dot command to restore the default SYS/NMI.SYS NMI handler (e.g. if you've done Shift+N and then want to switch back to the default NMI).
  • Previous hotkeys like Q, A and P now have to be SHIFTed.
  • PZX file are only autostarted if you're on a ZX-UNO.
  • If the long file name buffer is full up, the browser will fallback to using 8.3 filenames.
  • Increased maximum number of files allowed in a folder from 256 to 426.
  • Fix reported issue with directories that have 8.3 style filenames.
  • Added 'Working...' indicator text to show that something is happening for larger directories.
  • Replaced hacky .BAS file support with proper autostart support.
Download.
azesmbog
Manic Miner
Posts: 307
Joined: Sat May 16, 2020 8:43 am

Re: New File Browser for ZX-UNO

Post by azesmbog »

bob_fossil wrote: Sun May 17, 2020 4:14 pm
[*]Shift + T cycles ZX-UNO turbo modes - none (3.5mhz), X2 (7mhz) and X4 (14mhz).
[*]Shift + M cycles ZX-UNO machine / video timings - 48, 128 and Pentagon.
Interesting options, but very beloved. I would like to visually see that I switched to the next one.
If it does not greatly affect the size of the code, then let, for example, the border blink for a second in a different color when switching.
Yes, and x8(28 MHz) also needs TURBO for the SID file player
.SCL files would also be desirable to run directly from the browser, without conversion.

And yes, thanks for the new version! :)
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 »

azesmbog wrote: Sun May 17, 2020 9:28 pm
Interesting options, but very beloved. I would like to visually see that I switched to the next one.
If it does not greatly affect the size of the code, then let, for example, the border blink for a second in a different color when switching.
Yes, and x8(28 MHz) also needs TURBO for the SID file player
.SCL files would also be desirable to run directly from the browser, without conversion.

And yes, thanks for the new version! :)
When you change turbo you should see something like 'X2' or 'X4' on the bottom status line (nothing is shown when running without turbo). For the machine timings the texts '48', '128' and 'PEN' should be shown on the bottom status line.

Is the x8 28 MHZ mode both bits 7 + 6 set on the SCANDBLCTRL_REGISTER? Is it supported by all ZX-UNOs? Thanks.
azesmbog
Manic Miner
Posts: 307
Joined: Sat May 16, 2020 8:43 am

Re: New File Browser for ZX-UNO

Post by azesmbog »

And, for sure, I didn’t notice)) My right side of the monitor is a bit closed)
So clearly visible.
x8 (28MHz) is supported in version 0.27, in previous versions only x4 is possible
you can always check with a command with a dot .zxunocfg
There yes, two bits must be switched.
A SID player can work at a standard frequency, but several files require exactly 28 MHz, even at 14 they do not have time to play normally. But there are very few of them.
User avatar
Pobulous
Dynamite Dan
Posts: 1358
Joined: Wed Nov 15, 2017 12:51 pm

Re: New File Browser for ZX-UNO

Post by Pobulous »

Finally had the chance to try this on my +2e with DivMMC EnJOY! *mini*

The LFN support is a gamechanger. I will now need to redo the games on the card, as a lot of them have names mangled into the 8.3 format.

It's great to have a new filebrowser in such active development.
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 »

Pobulous wrote: Tue May 19, 2020 8:09 pm Finally had the chance to try this on my +2e with DivMMC EnJOY! *mini*

The LFN support is a gamechanger. I will now need to redo the games on the card, as a lot of them have names mangled into the 8.3 format.

It's great to have a new filebrowser in such active development.
Thanks for the kind words and feedback! Nice to hear it's working with actual hardware. I had a similar experience going through my SD Card and replacing various cryptic filenames with more descriptive versions.
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

Hi all,

First-time poster after just getting a new Divmmc.

I have installed the software and all is great except a few things.

Is there any way to save a .snap file ( game) apart from using the old NMI?

I can't seem to get the Shift N function to load the old NMI, I have renamed it to NMI.ORG in SYS but it won't switch I just get dumped to basic?

Edit, I'm using it on a +2 (grey with a Divmmc Future running 0.86
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 »

keithshaw3 wrote: Wed May 20, 2020 4:56 pm Hi all,

First-time poster after just getting a new Divmmc.

I have installed the software and all is great except a few things.

Is there any way to save a .snap file ( game) apart from using the old NMI?

I can't seem to get the Shift N function to load the old NMI, I have renamed it to NMI.ORG in SYS but it won't switch I just get dumped to basic?

Edit, I'm using it on a +2 (grey with a Divmmc Future running 0.86
Hi Keith. Thanks for the feedback. I'm currently working on implementing the missing functionality from the original NMI so 48/128k snapshot saving will be in an upcoming version. As for your other issue, I'm running esxdos 0.8.7. here if that makes a difference and Shift + N restarts the old NMI without issues. After you do Shift + N and get dumped back to basic, which NMI do you get when you press the NMI button again?
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

HI,

Thank you for replying so quickly. once I press the NMI button again on the Divmmc I get the old NMI back, I also get the old NMI when I press the button in-game is that how it should be?

Once I am in the old NMI the only way to get back to yours is to reset and type .browse, or hard reset and press the button again?

just noticed that once I type browse after a reset Shift snd N does not work anymore.

oh and I am running v0.06, is there a later one that I should be using?

Thanks,

Keith.
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

I think I may have to do a clean install again as I may have some old files from Dr Slumps NMI mentioned in this thread on the card which might be conflicting with yours?
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 »

keithshaw3 wrote: Wed May 20, 2020 5:39 pm HI,

Thank you for replying so quickly. once I press the NMI button again on the Divmmc I get the old NMI back, I also get the old NMI when I press the button in-game is that how it should be?

Once I am in the old NMI the only way to get back to yours is to reset and type .browse, or hard reset and press the button again?

oh and I am running v0.06, is there a later one that I should be using?

Thanks,

Keith.
I just happened to be online when you posted. :) My understanding is that the NMI.SYS is loaded into place when you get the initial esxdos splash screen before resetting back into BASIC. If you've copied my browse NMI.SYS to SYS/NMI.SYS when you press the button you'll get my NMI browser. If you press Shift +N, my NMI browser will quit back to where you were before and tries to load in the file at SYS/NMI.ORG and jumps into the NMI code again - putting you into the default esxdos NMI at the exact same point as you were before.

Subsequent NMI button presses will then open the esxdos NMI as that has now overwritten the NMI.SYS that got loaded on startup. As you say, hard resetting will force SYS/NMI.SYS to be reloaded restoring my browse NMI. The dot command .browse works independently of the NMI. You can also use the supplied .dot command NMIINIT to force a reload of SYS/NMI.SYS if you don't want to do a hard reset.

v0.06 is the latest.
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

Great, thanks for the info, its an absolute godsend having the file browser showing the full names and is worth the workarounds just for that.

I'm also having an issue where some .sna files are not loading but I will do a clean install and check everything again and let you know how I get on :)

Keith.
akeley
Dynamite Dan
Posts: 1043
Joined: Sat Feb 01, 2020 5:47 pm

Re: New File Browser for ZX-UNO

Post by akeley »

Hi folks, I've just got ZX Uno. I'm struggling to get the esxDOS working though. It loads and runs through the checklist, but when I try Ctrl Alt F5 from Spectrum level, it only displays black screen and a couple of highlight bars.

I've tried all the esx versions and am not sure what to do now. The forum is in Spanish so I thought I ask here first, maybe you have some ideas?
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

ok, I have done a fresh install and still have a few niggly issues.

Now when I press the NMI button mid-game it now takes me to your NMI and not the original one as it did before, so I am unable to save a .sna file?

.sna files are not loading, could this be a 128K/48K thing? also, these are not my saved files but others I acquired if that helps...

when I press Shift-N it still drops me to basic and when I press the button I then get the old NMI as I should.

the only files I can load are .tap files. .z80,.sna, and .tzx files just take me back to the root of the folder I was in ( is this correct as of this version?)

one .sna file for bomb jack gave me the following error ( see screenshot)

Sorry for the long list but I hope it helps you bug find or just confirm that its something to do with just me :)


Image
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: Wed May 20, 2020 7:36 pm Hi folks, I've just got ZX Uno. I'm struggling to get the esxDOS working though. It loads and runs through the checklist, but when I try Ctrl Alt F5 from Spectrum level, it only displays black screen and a couple of highlight bars.

I've tried all the esx versions and am not sure what to do now. The forum is in Spanish so I thought I ask here first, maybe you have some ideas?
Definitely sounds like an esxdos mismatch with the ZX-UNO. What version of the ZX-UNO firmware are you running? It's displayed when you get the ZX-UNO splash screen after doing a hard reset. I'm on EXP27-300320 (Bios v0.76). If you want to run EXP27 you need to flash the firmware with the latest BIOS as EXP27 uses different keyboard handling and you can end up with a ZX-UNO with a keyboard that enters garbage characters. Speaking from experience there. :)
azesmbog
Manic Miner
Posts: 307
Joined: Sat May 16, 2020 8:43 am

Re: New File Browser for ZX-UNO

Post by azesmbog »

akeley wrote: Wed May 20, 2020 7:36 pm maybe you have some ideas?
There is only one idea.
Update esxDOS to version 0.87
This is the best variant. But you need to update the files on both SD and FLASH. It's not so easy. Or still pick up the 0.86 version on the SD-card
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 »

keithshaw3 wrote: Wed May 20, 2020 7:53 pm ok, I have done a fresh install and still have a few niggly issues.

Now when I press the NMI button mid-game it now takes me to your NMI and not the original one as it did before, so I am unable to save a .sna file?

.sna files are not loading, could this be a 128K/48K thing? also, these are not my saved files but others I acquired if that helps...

when I press Shift-N it still drops me to basic and when I press the button I then get the old NMI as I should.

the only files I can load are .tap files. .z80,.sna, and .tzx files just take me back to the root of the folder I was in ( is this correct as of this version?)

one .sna file for bomb jack gave me the following error ( see screenshot)

Sorry for the long list but I hope it helps you bug find or just confirm that its something to do with just me :)


Image
If you put my SYS/NMI.SYS file on your SD card you'll get my NMI browser when you press this button. This doesn't support snapshot saving (yet) but has LFN support. I added the feature Shift+N to switch over to the default NMI handler (or Dr Slump's) which saves snapshots but only supports 8.3 filenames. As far as I can tell on my setup and from other posts in this thread, this is working for people. It's not something I use a lot as I'm happy with using my NMI as is.

What version of the .dot command SNAPLOAD do you have in your /BIN folder? Mine is 6656 bytes long (v0.3.13). Can you load in the .sna files from BASIC using SNAPLOAD? This is what I use to load .z80 and .sna files in. .tzx files are not supported (.pzx is if you have a ZX-UNO via the loadpzx .dot command). I don't have any issues loading .sna or .z80 files here. Can you upload a set of .SNA files (like Bomb Jack which don't work on your setup) somewhere and I can have a look?
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

I will upload some .sna files tomorrow to dropbox for you to test.

I had to swapping of NMI's working great earlier between yours and Dr Slumps then back again to yours using J from his, then it all just stopped again and started crashing back to basic again.

my snapload is 66,220 bytes v0.3.13, I will try direct from snapload tomorrow and report back :)
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

Three .sna files below, the batty file works, the bomb jack file does not and is the same one I got the error from, the other bomb jack file SNAP0000 is one I created which also does not work.

https://www.dropbox.com/s/lwwhx3gul1qnk ... 9.sna?dl=0

https://www.dropbox.com/s/rje9y0lz4nw2b ... k.sna?dl=0

https://www.dropbox.com/s/cegq6tme48n5s ... 0.SNA?dl=0

I can't seem to figure snapload out at all, it won't load anything and I get an error is the following correct?

.snapload -l filename?
Spezzi63
Drutt
Posts: 44
Joined: Sat Dec 28, 2019 1:36 pm

Re: New File Browser for ZX-UNO

Post by Spezzi63 »

Hi Keith,
I tried to reproduce errors.
But the snaps always start without problems.
Note: snapload command - size is 6.50 KB (6,656 bytes)
What size of SD card are you using?
Did you have the TFW8b.com installation package?
Greetings,
Guenter

P.S. bob_fossil: Where did the "x" for EXIT go ?
keithshaw3
Drutt
Posts: 31
Joined: Wed May 20, 2020 4:52 pm

Re: New File Browser for ZX-UNO

Post by keithshaw3 »

Hi,

Its the card supplied from TFW8B 14gb but formated and loaded with lite combo-086 from their web site.

I have done another fresh install this morning using the lite combo files and adding the files from file browser latest version then added the original NMI.sys renamed to .ORG and it still dumps me to basic first before having to press the button to get to browse.

where can I download a new snapload file from incase its that?

Thanks again for everyone's help :)

K
Post Reply