CPCWiki forum

General Category => Technical Support - Software related => Topic started by: ComSoft6128 on 23:53, 05 January 18

Title: Screen files viewer
Post by: ComSoft6128 on 23:53, 05 January 18
Looking for some help.

As I am working thru the pile of Romdos D20 discs I have here I have found ten which are full of 17k digitised Rombo Vidi screen files. Maybe 200 - 400 screen files in total. These files are from 25 years ago so I simply can't remember what they are and sometimes the filename isn't clear either. Loading the files into Advanced Art Studio individually for examination will probably take me into 2020! 

Does anyone have a program that will catalogue a disc and allow for a screen file to be selected/displayed? Most of the files should be mode 2 with no palette files.

Any ideas?

Cheers,

Peter
Title: Re: Screen files viewer
Post by: fgbrain on 12:45, 07 January 18
If I understood correctly, you need a simple screen viewer for CPC...

If yes, then you can try Ocp Screens Viewer :
http://www.cpc-power.com/index.php?page=detail&num=14430

Title: Re: Screen files viewer
Post by: ComSoft6128 on 14:39, 07 January 18
Many thanks fgbrain, this looks exactly the type of program I am looking for. This will save me hours of work.


My CPC and Laptop are not on speaking terms, can anyone put this on 3" disc for me?
I will send a disc, SAE and postage to anyone who can.


Cheers,


Peter



Title: Re: Screen files viewer
Post by: CraigsBar on 12:42, 10 January 18
Quote from: ComSoft6128 on 14:39, 07 January 18
Many thanks fgbrain, this looks exactly the type of program I am looking for. This will save me hours of work.


My CPC and Laptop are not on speaking terms, can anyone put this on 3" disc for me?
I will send a disc, SAE and postage to anyone who can.


Cheers,


Peter
I can.
I am in ireland however. So if no one closer can do this let me know.

Craig

Sent from my ONEPLUS 3t using Tapatalk

Title: Re: Screen files viewer
Post by: CPC_Fan on 15:48, 17 January 18
Peter - if you can give me a few days and if Craig hasn't already, I can do this for you.
Title: Re: Screen files viewer
Post by: ComSoft6128 on 16:54, 17 January 18
Thanks for that CPC_Fan.


Nich was kind enough to include the Screen Viewer on a disc which arrived here yesterday.
I hope to be using it tonight, most of the images are from films and TV from about 1990 - 1994 but I think that some are friends and family from the same period. 8-Bit digital memories, should be "interesting."


Cheers,


Peter


Title: Re: Screen files viewer
Post by: CPC_Fan on 17:31, 17 January 18
Cool. No problem. I hope that you find some nice memories there.
Title: Re: Screen files viewer
Post by: ComSoft6128 on 17:27, 18 January 18
Bollocks!


The fecking thing did not work. Drive A and B gave the same message - "Disc Error!!!"
This was on a 6128 and a 6128+ with Romboxes (permanently) attached.
Are there any programmers that could have a look at this for me?
I will send a 3" disc with the program and screen files and a stamped SAE for return here.


Cheers,


Peter
Title: Re: Screen files viewer
Post by: GUNHED on 17:31, 18 January 18
Four possible reasons:

- Your drives are gone (belt need replacement or worse)

- Your 3" disc was formatted/written on a drive where the tracks are aligned a bit off, therefore the read error.

- Using the wrong DOS

- Disc got super-magnetized during its stay at the post office

(Assuming that the drive was tested before being mailed).
Title: Re: Screen files viewer
Post by: ComSoft6128 on 17:36, 18 January 18
Thanks for the reply Gunhed.


I checked the drives on both machines by running MicroDesign from 3" disc - no problems. I think it might be a Rom problem of some kind.


Cheers,


Peter
Title: Re: Screen files viewer
Post by: chinnyhill10 on 10:08, 19 January 18
Quote from: ComSoft6128 on 17:36, 18 January 18
Thanks for the reply Gunhed.


I checked the drives on both machines by running MicroDesign from 3" disc - no problems. I think it might be a Rom problem of some kind.


Cheers,


Peter


You need an HXC or an M4 card. While 3 inch drives have their charm, in 2018 at the age they are you're finding out exactly why I rarely touch them any more.
Title: Re: Screen files viewer
Post by: ComSoft6128 on 10:57, 19 January 18
Hi chinnyhill10,


Both the 6128 and the Plus have recently been repaired and the 3" drives are working perfectly. The 3.5" drives are from Ikonsgr and after some initial problems with switches on the cables they are also OK. I think the problem is Rom related and as the discs are Romdos D20 format I wont be removing the Romboxes (with ParaDos) any time soon. However I have another Plus without a Rombox that has ParaDos on cartridge and that might be a solution.
BTW - love the your videos, I always find them interesting. 


Cheers,


Peter
Title: Re: Screen files viewer
Post by: Nich on 14:55, 20 January 18
Quote from: ComSoft6128 on 17:27, 18 January 18
The fecking thing did not work. Drive A and B gave the same message - "Disc Error!!!"
This was on a 6128 and a 6128+ with Romboxes (permanently) attached.
Are there any programmers that could have a look at this for me?
I will send a 3" disc with the program and screen files and a stamped SAE for return here.

Add the following line to the BASIC program and it should work:

195 POKE &8B28,&91:POKE &8B59,&91

The program catalogues the disc and stores the directory between &9800-&9FFF. The above pokes move it to &9100-&98FF, where it shouldn't corrupt anything.
Title: Re: Screen files viewer
Post by: ComSoft6128 on 15:02, 20 January 18
Thanks Nich,


I will try this Tuesday coming.


Cheers,


Peter
Title: Re: Screen files viewer
Post by: Nich on 15:10, 20 January 18
Quote from: ComSoft6128 on 15:02, 20 January 18
Thanks Nich,

I will try this Tuesday coming.

I forgot something else. The BASIC program is compressed, so you will need to type the following lines in first (replacing OSV with whatever the name of the BASIC program is if necessary):

LOAD"OSV"
CALL &17D


This will decompress the program. You can then add line 195 in my previous post and save the program again (although now that it is decompressed, it will take up more space on the disc).
Title: Re: Screen files viewer
Post by: arnoldemu on 15:21, 20 January 18
I am working on a new picture viewer. When I'm done I'll post the source and binaries here.

This viewer:
- works with Vortex, XDDOS and Amsdos
- should work with Dobbertin HD and other drives (more than A and B).
- automatically allocates the space it needs by examining the XDPB of the disc format detected
- displays the name of the file being viewed with other info (overlayed over the image and can be toggled on/off)
- automatically scans all users
- allows you to move forwards/backwards through the file list like a modern viewer on pc
- decompresses art studio pictures + uses palette (with plans to decompress multiface 2 screens too).

As I said, I'm debugging it and I'll post it here when it's done.
Title: Re: Screen files viewer
Post by: ComSoft6128 on 15:41, 20 January 18
Thanks Guys!


As my programming skills are non existent, this is very much appreciated.


Peter



Title: Re: Screen files viewer
Post by: SRS on 21:55, 30 January 18
Quote from: arnoldemu on 15:21, 20 January 18
I am working on a new picture viewer. When I'm done I'll post the source and binaries here.
....
As I said, I'm debugging it and I'll post it here when it's done.

Now you just need to add a put it to your favorite cloud storage via M4 :)
Title: Re: Screen files viewer
Post by: GUNHED on 01:30, 01 February 18
Quote from: ComSoft6128 on 10:57, 19 January 18
Both the 6128 and the Plus have recently been repaired and the 3" drives are working perfectly.


Same here. All my 3" discs from 1987 are still working fine! No problems at all. I use Panasonic and Amstrad disc (they may be relabeled Panasonic discs).  :)
Title: Re: Screen files viewer
Post by: ComSoft6128 on 10:20, 26 July 18
Hi arnoldemu,

Any news on your picture viewer?

Cheers,

Peter
Title: Re: Screen files viewer
Post by: GUNHED on 13:56, 26 July 18
Meanwhile you can use FutureOS to display text files and pictures (all modes) on the following formats: Data, System, IBM, Vortex. But that's probably only an alternative if you have it installed anyway.  ;)


Title: Re: Screen files viewer
Post by: ComSoft6128 on 14:14, 26 July 18
Hi GUNHED,

FutureOS is on my list of CPC "must haves" for the future (no pun intended).
In the short term I am hoping that arnoldemu's program will provide the solution I am looking for in relation to the screen files on Romdos D20 disks.

Cheers,

Peter
Title: Re: Screen files viewer
Post by: GUNHED on 14:23, 26 July 18
In this case there should be something somewhere just using the "actual" DOS for native CPC-OS (here: ROMDOS or ParaDOS will work).  :)
Title: Re: Screen files viewer
Post by: ComSoft6128 on 14:39, 26 July 18
Nich's suggestion "OSV" seemed to be an answer but unfortunately did not work when I tried it here. It may have clashed with the Rom's attached to the machines.
Maybe.

Cheers,

Peter



Title: Re: Screen files viewer
Post by: Ast on 09:46, 27 July 18
Quote from: ComSoft6128 on 23:53, 05 January 18
Looking for some help.

As I am working thru the pile of Romdos D20 discs I have here I have found ten which are full of 17k digitised Rombo Vidi screen files. Maybe 200 - 400 screen files in total. These files are from 25 years ago so I simply can't remember what they are and sometimes the filename isn't clear either. Loading the files into Advanced Art Studio individually for examination will probably take me into 2020! 

Does anyone have a program that will catalogue a disc and allow for a screen file to be selected/displayed? Most of the files should be mode 2 with no palette files.

Any ideas?

Cheers,

Peter


Sûre! iMPdraw v2 do that perfectly !
See : -> http://www.cpcwiki.eu/forum/applications/impdraw-v2-0 (http://www.cpcwiki.eu/forum/applications/impdraw-v2-0/)
Title: Re: Screen files viewer
Post by: arnoldemu on 21:02, 02 August 18
@@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?

Title: Re: Screen files viewer
Post by: Ast on 01:09, 03 August 18
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 !
Title: Re: Screen files viewer
Post by: ComSoft6128 on 05:46, 03 August 18
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
Title: Re: Screen files viewer
Post by: SOS on 17:54, 03 August 18
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?
Title: Re: Screen files viewer
Post by: Ast on 12:31, 04 August 18

@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122) : You could find the last iMPdos Update (http://www.cpcwiki.eu/forum/applications/impdos-public-edition/msg163433/#msg163433) 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!
Powered by SMFPacks Menu Editor Mod