New File Browser for ZX-UNO

Software para o relacionado con el core ZX Spectrum / Software for or related to the ZX Spectrum core
Responder
Avatar de Usuario
desUBIKado
Mensajes: 841
Registrado: 05 Ago 2016, 22:33

New File Browser for ZX-UNO

Mensaje por desUBIKado » 26 May 2020, 18:28

Nuevo navegador de ficheros para nuestros :zxuno: con soporte de nombres largos.

browse003.png
browse003.png (157.23 KiB) Visto 266 veces
Proyecto de Bob Fossil cuya última versión siempre se puede descargar de aquí.

Parece que poco a poco va incluyendo todas las funcionalidades que ya tenía el navegador de Dr. Slump.

Puede seguir su desarrollo en esta entrada de Spectrum Computing


CHANGELOG

v 0.10
  • Browser now shows '123/456' style index indicator in the status line to show the current file position in the directory.
  • Stop flickering when updating the text input field.
  • Increased key delay in the text input field to stop reported issues with key repeating.
  • Wasn't applying any key delay when pressing DELETE to remove characters.

v 0.09
  • Added setting 'Save last selection' to BRWSCFG. When enabled this writes a file /TMP/BROWSE.BMK which holds the current directory and selection index when you select an item for autostart or exit the browser. The next time you enter the browser - so long as the current directory hasn't changed - the selection is restored to the index from the bookmark. This may add a slight delay to autostarting and exiting as the 'bookmark' file is written to the disk.
  • BRWSCFG now has settings categories: Look, Input, Misc and Advanced - to allow the addition of more options. You can switch between the categories with cursor left and right.
  • Symbol Shift + I / O will eject the current input / output .tap.
  • Symbol Shift + X will now exit the browser with a reset.
  • Caps Shift + H now displays multiple help screens (/BIN/BRWSHLP1.SCR /BIN/BRWSHELP2.SCR).
  • If you tried to erase a folder with Caps Shift + E, you got an error code 16.
  • .SCR files are now shown if selected.
  • Fixed bug where you couldn't display file information or delete the first item in the root '/' folder.
  • File sorting now uses the long filename if available to avoid issues with 8.3 filenames that contain random characters that cause the sorting to put them in the wrong place.

v 0.08
  • Added setting 'No NMI write (Slow SD Cards)' to BRWSCFG which disables the saving of RAM when entering the NMI to stop delays on slow SD cards. Be aware that with this option enabled, saving snapshots and POKEs are disabled. It's also highly likely to cause a reset rather than returning you to your previous state if you decide to exit the NMI browser with this setting enabled.
  • Shift + F file information now shows the size of the file in bytes.
  • Shift + E will erase the selected file. Press Shift + Y to confirm.
  • NMI.SYS now creates a /TMP/ folder if not present to stop a reported issue with saving snapshots when the folder isn't there.
  • NMIINIT .dot command now takes an optional filename path parameter to load another NMI.SYS .

v 0.07
  • Initial support for saving snapshots in NMI. Shift + S now saves a 48k/128k .SNA file.
  • Initial support for POKEs in NMI. Shift + K lets you enter up to 8 POKES which are then applied when you exit.
  • Added support for X8 (28mhz) turbo mode on ZX-UNO (needs EXP27 core). Thanks to azesmbog for supplying the register information to enable this.
  • Shift + U now attaches a .TRD file to a virtual device (0-3). The attached devices are shown as 0123 in the bottom status line when attached.
  • Rewrote .SNA / .Z80 loading code to work more like the original esxdos NMI to fix reported issues.
  • Added setting 'Remember last folder' to BRWSCFG. If you're several levels deep in a folder tree, when you navigate to the parent folder, the highlight will be put on the folder you were just inside rather than back at the start of the entries for that folder.
  • Added additional delay for keypresses when moving the selection and not scrolling to make it less 'twitchy'.
  • Shift + L will now exit the browser and auto type the selected filename into BASIC (.dot command only).
  • Shift + F will now show information about the selected file.
  • Shift + I / O will attach the selected .TAP file to tape input / output.

v 0.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.

v 0.05
  • Fixed situation on FAT16 disks where the program fails to start and show the root folder contents.
  • Added settings file - BIN/browse.cfg. Colour settings and the esxdos disk device are now taken from this file rather than using hard coded values. Use the included BRWSCFG .dot command to adjust the browser's settings.
  • Large directory names weren't being truncated correctly.
  • Added .pzx support. Requires a ZX-UNO with .pzx support and the .loadpzx command in BIN (with thanks to the ghost of Daley Thompson's Supertest 128 :) ).
  • Added setting to display additional <DIR> text for directory entries.
  • FAT32 code now handles 32 bit clusters correctly.
brwscfg.png
brwscfg.png (126.57 KiB) Visto 266 veces
For the configuration program. Use cursor up and down to move the '>' to the setting you wish to change. Press ENTER to select. This will either toggle the setting (if it is on/off) or FLASH the setting, letting you know you can modify the value.

You can then use cursor up and down to move the value up or down. For colour settings, cursor up and down changes the PAPER value, cursor left and right changes the INK value and pressing B toggles BRIGHT.

Once you're happy, press ENTER to confirm the new value - the setting will stop FLASHing and you can move the '>' again.

Once you're done, press S to save your new settings or X to leave without saving. If you mess your settings file up with odd colours, delete BIN/browse.cfg and the browser will return to factory defaults.


v 0.04
  • You can now use cursor left / right to scroll up and down a page of files.
  • You can now use q and a keys to jump to the first and last entries in the list.
  • Fix possible issue using incorrect register when autostarting .tap files.
  • Optimisations to the 42 character print routine.
  • For FAT16 discs, the root cluster contains a set amount of directory entries and the code wasn't taking the size of this area into account when calculating the disk sector offset from the starting cluster of a directory entry. This would manifest itself as showing the root directory but showing garbage or empty lists for the subfolders. Thanks to Spezzi63 for supplying me with a HDF file to debug with.
  • Added .SNA and .Z80 autostart support via the .snapload dot command.

v 0.03
  • Added 42 character display.
  • Long filenames that spill over the screen are now truncated to fit the screen width and are indicated with an ellipsis character.
  • You can now select and autostart .trd files.

v 0.02
  • Now supports FAT32.
  • Improved directory handling - some folders were being truncated or listing garbage entries.
  • When you launch the browser it now starts from the current esxdos path, rather than dropping you back at the root folder every time.

v 0.01

To install, unzip and copy the BROWSE file into the root BIN folder (where all the other command files live) on your disk. You should then be able to enter:

.browse

from BASIC to launch the browser.

Keyboard commands:

Cursor up / down - move selection
Space / Enter - select a folder or launch a supported file
Delete / P - navigate to parent folder
Break / X - exit browser

Issues (I'm aware of):

Currently supports FAT16 disks only.
Currently only reads from esxdos device 0.
Limit of browsing 256 files in a folder.
Only launches .tap files (no .sna / .trd support yet).
Doesn't start browsing from the current directory - always starts from the root folder.
Unsupported characters (> ASCII 127) are displayed as '~'.
Filenames (> 32 characters) are not clipped.

Avatar de Usuario
desUBIKado
Mensajes: 841
Registrado: 05 Ago 2016, 22:33

Re: New File Browser for ZX-UNO

Mensaje por desUBIKado » 16 Jun 2020, 18:23

Añadidas las mejoras de las versiones 0.08, 0.09 y 0.10.

Responder