News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_ComSoft6128

Screen files viewer

Started by ComSoft6128, 23:53, 05 January 18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

arnoldemu

@@ComSoft6128 Sorry it took some time.
Viewer with source is attached. This is v1.0. The code is all using firmware.

The viewer is meant to be really easy to use and like a modern picture viewer in that you can move left/right to see the pictures.

run"view"
* No need to list the directory and select the name of the file to view.
* The program auto scans all users from the selected drive. It does this by using |CAT and reading the data in the buffer. (ok for VDOS, Dobbertin, AMSDOS etc, but not ok for OS like ImpDOS, ACMEDOS etc where the CAT doesn't have the internal data as I need it).
* It supports VDOS, Dobbertin, Parados, ROMDOS etc. It should support Vortex 3rd drive and Dobbertin HD.
* It reads the disc XDPB and allocates the memory needed so 128/256 files in directory are ok and large formats are ok.
* It recognises compressed art studio pictures and reads the palette and displays them. I considered supporting other formats and I may still do that.
* It will display pictures, text, memory dump and info.
To use it run it.
When the menu appears:
e.g.
* >A
  <>2/14 "0:CYCLEDEM.PAL"   >Picture Raw
you can move the "*" up and down using cursors or joystick.Moving left/right changes the option next to *.  (in the above it will change drives)

On line 1 you can choose the drive.On line 2 you can choose the file. (in the example above you are viewing 2 out of 14 it's on user 0 and called "CYCLEDEM.PAL"
On line 3 you can choose the view. (in the example above it's viewing a picture. It's not an art studio picture so it's showing it as raw mode 2 pixels)

The "<>"  in the example above means press left to go to file 1, and press right to go to file 3.

Sorry it's not compatible with other DOS that don't fill in the CAT data. I will need to find a new compatible way to do that and it'll only show palettes currently for compressed art studio pics. I'll fix that too.
Any other picture formats I could support that you need?

My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Ast

Quote from: arnoldemu on 21:02, 02 August 18
but not ok for OS like ImpDOS, ACMEDOS etc where the CAT doesn't have the internal data as I need it).

In the latest revision of iMPdos (August 2018), you can do :

ld de,#4000 ; buffer
call #bc9b
...

The directory can be read on bank #cc (#4000-#7fff)
.......Life is so beautiful !
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

ComSoft6128

This is much appreciated arnoldemu.

It is a very rare treat to have a new program to run on the original hardware.

About 90% of the screen files are simple Vidi grabs, with the rest made up of Advanced Art Studio files and also one disc of (Electric Lantern Show) compressed files.

When I have had a look at it on the 6128 and 6128 Plus I will get back to you and let you know what I find.

Thank you!

Peter

SOS

Quote from: arnoldemu on 21:02, 02 August 18
* The program auto scans all users from the selected drive. It does this by using |CAT and reading the data in the buffer. (ok for VDOS, Dobbertin, AMSDOS etc, but not ok for OS like ImpDOS, ACMEDOS etc where the CAT doesn't have the internal data as I need it).
CubeIOS maintains the Data-Buffer, ok Limit to 146 files, but i think, it's ok...
You can also think about to use the |UDIR-Command, than you can get compatibility to M4DOS, ACMEDOS, CubeIOS (with more files).

Quote from: arnoldemu on 21:02, 02 August 18
* It reads the disc XDPB and allocates the memory needed so 128/256 files in directory are ok and large formats are ok.
That's IMHO a greater Problem, what should an modern Massdevice-OS should be reported?

Ast

#29

@arnoldemu : You could find the last iMPdos Update to download.


You could easily add iMPdos onto your Screen Files Viewer


All you have to do is :

...
ld de,#4000
call #bc9b
...



The catalog will be written in bank #cc, adress #4000 upto #7fff.
Have a good fun!
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Powered by SMFPacks Menu Editor Mod