New File Browser for ZX-UNO

Show us what you're working on, (preferably with screenshots).
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 »

pjrodriguez wrote:
Mon Nov 09, 2020 6:15 pm
Hi Bob,
Thank you for keeping on updating your file browser.
The .scl plugin is a very good idea and in my real Spectrum+3 it creates the .trd in only a few seconds. But the plugin fails to execute the .trd file after creating it (I get an error) and the .trd file has a 8.3 filename. Maybe the two issues are related. Not a big deal but maybe you can fix it.
Thanks! The SCL plugin will create the .trd filename from the 8.3 filename of the SCL file - I'm not adding long filename writing support. :) The .trd file should be slightly larger than the original .scl file if it worked correctly (you should see some lines in the border while it writes the file). Do you have a link or could you make the .scl file available that you tried to convert so I can investigate further? Thanks.
0 x

User avatar
Luzie
Dizzy
Posts: 83
Joined: Fri May 01, 2020 2:07 pm

Re: New File Browser for ZX-UNO

Post by Luzie »

bob_fossil wrote:
Mon Nov 09, 2020 6:15 pm
Okay, so I created a new .hdf image with esxdos 0.8.8, the latest version of my NMI browser and v0.0.17 of Dr Slump's NMI browser. When I hit the NMI, I go into Dr Slump's NMI. I press J, the screen flips back to what it was before the NMI (with some extra code running in the screen) before my NMI browser appears. Seems to work fine here.

Code: Select all

/sys/nmi/old088.sys 441 bytes
Maybe I´ve done something wrong here. Which Emulator/Interface-Settings do you use for testing?
I´ve tried with SpecEmu (divMMC-Emulation only).
Maybe you could share your .HDF-File for comparison with my "compilation"? (Please send PM). Thank you!
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 »

Luzie wrote:
Mon Nov 09, 2020 6:25 pm
bob_fossil wrote:
Mon Nov 09, 2020 6:15 pm
Okay, so I created a new .hdf image with esxdos 0.8.8, the latest version of my NMI browser and v0.0.17 of Dr Slump's NMI browser. When I hit the NMI, I go into Dr Slump's NMI. I press J, the screen flips back to what it was before the NMI (with some extra code running in the screen) before my NMI browser appears. Seems to work fine here.

Code: Select all

/sys/nmi/old088.sys 441 bytes
Maybe I´ve done something wrong here. Which Emulator/Interface-Settings do you use for testing?
I´ve tried with SpecEmu (divMMC-Emulation only).
Maybe you could share your .HDF-File for comparison with my "compilation"? (Please send PM). Thank you!
I've had to switch over to Fuse. During development of the new browser features in v12 and later I found that SpecEmu didn't seem to emulate the divMMC's 128k of memory correctly (only the 32k needed for esxdos to run) which I'm now using for saving the RAM contents and plugins.
1 x

User avatar
Luzie
Dizzy
Posts: 83
Joined: Fri May 01, 2020 2:07 pm

Re: New File Browser for ZX-UNO

Post by Luzie »

bob_fossil wrote:
Mon Nov 09, 2020 6:30 pm
I've had to switch over to Fuse. During development of the new browser features in v12 and later I found that SpecEmu didn't seem to emulate the divMMC's 128k of memory correctly (only the 32k needed for esxdos to run) which I'm now using for saving the RAM contents and plugins.
OK. I not tried it with Fuse yet. This maybe the problem I discovered. Not yet tested "No_MMC_Memory"-Version. I´ll keep you informed.
0 x

pjrodriguez
Berk
Posts: 21
Joined: Tue May 05, 2020 9:38 am

Re: New File Browser for ZX-UNO

Post by pjrodriguez »

The .trd file can't be executed when created after selecting the .scl file but it's always succesfully saved and can be executed later.
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 »

pjrodriguez wrote:
Mon Nov 09, 2020 7:53 pm
The .trd file can't be executed when created after selecting the .scl file but it's always succesfully saved and can be executed later.
Okay, I've fixed the silly bug in the SCL plugin that was stopping auto start working. It will be in the next test release. Thanks for your feedback!
1 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 for the great .SCR viewer. Browsing with 1 and 2 is exactly what was needed... perfect for a nice slideshow of your favorite loading screen$ :D
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 »

tom-cat wrote:
Tue Nov 10, 2020 5:35 pm
Thank you for the great .SCR viewer. Browsing with 1 and 2 is exactly what was needed... perfect for a nice slideshow of your favorite loading screen$ :D
Glad you like it. You can thank @velesoft as he suggested the idea. It wasn't that difficult to add and now all the plugins can access the previous and next files if they need to.
1 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 »

Which assembler do you use for the plugins ? Anything that would work on the commandline of windows 10 ? :)
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:
Wed Nov 11, 2020 6:49 pm
Which assembler do you use for the plugins ? Anything that would work on the commandline of windows 10 ? :)
The browser is developed with z88dk so it's the assembler that comes with that - z80asm. I'm using Ubuntu but you can get z88dk for Windows. I also have a copy of Pasmo on my machine and that will compile a plugin but you'll need to change the DEFC lines as Pasmo doesn't like them. So where you have something like plugin.asm:

Code: Select all

DEFC PLUGIN_ORG=$8000

DEFC PLUGIN_OK=1
DEFC PLUGIN_RESTORE_SCREEN=2
DEFC PLUGIN_RESTORE_BUFFERS=4
DEFC PLUGIN_NAVIGATE=8
DEFC PLUGIN_ERROR=128

DEFC PLUGIN_NAVIGATE_NEXT=1
DEFC PLUGIN_NAVIGATE_PREVIOUS=2

It needs to be changed to:

Code: Select all

PLUGIN_ORG equ $8000

PLUGIN_OK equ 1
PLUGIN_RESTORE_SCREEN equ 2
PLUGIN_RESTORE_BUFFERS equ 4
PLUGIN_NAVIGATE equ 8
PLUGIN_ERROR equ 128

PLUGIN_NAVIGATE_NEXT equ 1
PLUGIN_NAVIGATE_PREVIOUS equ 
to assemble in Pasmo. You can just replace 'DEFC' with blank and '=' with ' equ '. The following command line seemed to build the same binary file as the z88dk assembler.

Code: Select all

pasmo sna.asm SNA
0 x

Post Reply