New File Browser for ZX-UNO

Show us what you're working on, (preferably with screenshots).
tom-cat
Berk
Posts: 17
Joined: Sat Oct 03, 2020 7:39 am

Re: New File Browser for ZX-UNO

Post by tom-cat »

Thank you. Got it working with the z88dk :)
0 x

tom-cat
Berk
Posts: 17
Joined: Sat Oct 03, 2020 7:39 am

Re: New File Browser for ZX-UNO

Post by tom-cat »

There is a bug in the browser when going through Screenshots with 1 and 2 and you go past the page of the selection (lets say you start on page 1 and then with 2 you go into page 2 or even furhter) when you go back out of the screenshot viewer with SPACE (or with 2 if you are on the last entry) the first page is displayed with no selection and it bugs from then on when you move around. You have to go back up one dir to make it ok again.
0 x

azesmbog
Dizzy
Posts: 76
Joined: Sat May 16, 2020 8:43 am

Re: New File Browser for ZX-UNO

Post by azesmbog »

DEFC SCR_SIZE=6912
if a screenshot has a size of 6144, it doesn't stop being a screenshot because of this. Or since it is black and white, does it mean segregation? BLM?)
Well, it doesn't show - well, okay.

I found a .SNA file that works very strangely in the EXP27 version in ZXUno - there is sound, and there is a border, but there is no image :)
Is it just me so broken? :))
https://drive.google.com/file/d/15o9Fd9 ... sp=sharing
0 x

User avatar
bob_fossil
Manic Miner
Posts: 272
Joined: Mon Nov 13, 2017 6:09 pm

Re: New File Browser for ZX-UNO

Post by bob_fossil »

tom-cat wrote:
Thu Nov 12, 2020 5:35 pm
There is a bug in the browser when going through Screenshots with 1 and 2 and you go past the page of the selection (lets say you start on page 1 and then with 2 you go into page 2 or even furhter) when you go back out of the screenshot viewer with SPACE (or with 2 if you are on the last entry) the first page is displayed with no selection and it bugs from then on when you move around. You have to go back up one dir to make it ok again.
Thanks for the report. I think I've fixed it. Took me longer to find and download enough .scr files to replicate the issue than it did to fix. :) It will be in the next test build.
1 x

User avatar
bob_fossil
Manic Miner
Posts: 272
Joined: Mon Nov 13, 2017 6:09 pm

Re: New File Browser for ZX-UNO

Post by bob_fossil »

azesmbog wrote:
Thu Nov 12, 2020 8:32 pm
DEFC SCR_SIZE=6912
if a screenshot has a size of 6144, it doesn't stop being a screenshot because of this. Or since it is black and white, does it mean segregation? BLM?)
Well, it doesn't show - well, okay.

I found a .SNA file that works very strangely in the EXP27 version in ZXUno - there is sound, and there is a border, but there is no image :)
Is it just me so broken? :))
https://drive.google.com/file/d/15o9Fd9 ... sp=sharing
All the .scr files I had previously encountered were all 6912 bytes so this seemed a sensible sanity check. What attribute value is typically used - INK 0 : PAPER 7 or PAPER 7 : INK 0 if the file doesn't specify colours?

Does .snapload load your snapshot correctly? I'm just executing that dot command with the snapshot filename.
0 x

azesmbog
Dizzy
Posts: 76
Joined: Sat May 16, 2020 8:43 am

Re: New File Browser for ZX-UNO

Post by azesmbog »

bob_fossil wrote:
Thu Nov 12, 2020 10:16 pm
What attribute value is typically used - INK 0 : PAPER 7 or PAPER 7 : INK 0 if the file doesn't specify colours?
The correct question.
The Z80Stealth emulator loads such screenshots, but does not change the attributes, it would be reasonable to clear and set the standard attributes.
The very good BMP2SCR program loads such files without problems and does not reflect on the size of 6144.
Even in your program there are 2 such files, with hints :) Also, the bitmap font file is usually the same size, there information about the color is not important.
As far as I remember, other programs and emulators can save a file with a size of 6144. So this format has existed for a long time, but whether to support it or not is a master's business :)
1 x

User avatar
bob_fossil
Manic Miner
Posts: 272
Joined: Mon Nov 13, 2017 6:09 pm

Re: New File Browser for ZX-UNO

Post by bob_fossil »

New test version available here.

Plugin system now supports navigating to the first and last files in a folder. You can also return a status message from a plugin to tell the user information. Hopefully fixed the reported SCL plugin bug and navigation issues in the browser. Please check:

Code: Select all

plugins/plugins_info.txt
for the latest set of features and changes to the plugins as some of the keys have changed.

Oh and in other news - 30,000+ view for this topic. :)
2 x

tom-cat
Berk
Posts: 17
Joined: Sat Oct 03, 2020 7:39 am

Re: New File Browser for ZX-UNO

Post by tom-cat »

Thank you. The bug with the navigation in the browser is fixed. I have modified the plugin a bit so it doesn't need CAPS SHIFT pressed for navigation, since I use it on a plain rubber 48k. Also added a crude way of automatically navigating to the next SCR file if nothing is pressed for a period of time, making an automatic slideshow :) Would be nice to be able to save some sort of configuration byte for a plugin so one could turn the automatic slideshow on/off with a key or something, but that is a tough one I think.
0 x

User avatar
bob_fossil
Manic Miner
Posts: 272
Joined: Mon Nov 13, 2017 6:09 pm

Re: New File Browser for ZX-UNO

Post by bob_fossil »

tom-cat wrote:
Sun Nov 15, 2020 5:48 pm
Thank you. The bug with the navigation in the browser is fixed. I have modified the plugin a bit so it doesn't need CAPS SHIFT pressed for navigation, since I use it on a plain rubber 48k. Also added a crude way of automatically navigating to the next SCR file if nothing is pressed for a period of time, making an automatic slideshow :) Would be nice to be able to save some sort of configuration byte for a plugin so one could turn the automatic slideshow on/off with a key or something, but that is a tough one I think.
You can still access the esxdos api from the plugin so there's nothing stopping you writing a byte or bytes from the plugin on exit and saving them to the /BIN/BPLUGINS folder and then loading them back on next startup.
0 x

tom-cat
Berk
Posts: 17
Joined: Sat Oct 03, 2020 7:39 am

Re: New File Browser for ZX-UNO

Post by tom-cat »

bob_fossil wrote:
Sun Nov 15, 2020 5:57 pm
You can still access the esxdos api from the plugin so there's nothing stopping you writing a byte or bytes from the plugin on exit and saving them to the /BIN/BPLUGINS folder and then loading them back on next startup.
Good idea.

btw. would be nice to have common navigation handling in the plugins as it is in the browser. Maybe a way to include the code that reads the configuration for the keys and a routine that scans them and returns if one of the navigation keys were pressed ? Possibly too much hassle, but if it is simple to do would be nice.
0 x

Post Reply