CPCWiki forum

General Category => Applications (CPC and CPC-related) => Topic started by: ComSoft6128 on 14:40, 31 May 19

Title: Various BASIC PD programs from the Eighties/Nineties
Post by: ComSoft6128 on 14:40, 31 May 19
A mixed bag this time.

An anagram generator, 2 biorhythm programs, various printer utilities and other odds and sods. The printer utilities I have just listed as most them don't work as there is no printer attached to the 6128.

https://www.youtube.com/watch?v=DWE6wBStXmY&t=514s (https://www.youtube.com/watch?v=DWE6wBStXmY&t=514s)
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: AMSDOS on 04:58, 02 June 19
Quote from: ComSoft6128 on 14:40, 31 May 19
A mixed bag this time.

An anagram generator, 2 biorhythm programs, various printer utilities and other odds and sods. The printer utilities I have just listed as most them don't work as there is no printer attached to the 6128.

https://www.youtube.com/watch?v=DWE6wBStXmY&t=514s (https://www.youtube.com/watch?v=DWE6wBStXmY&t=514s)


The Calendar programme is trying to find a printer from the very beginning (line 90) which is why nothing is happening in it, PRINT#8 in this case being the culprit which sends info to the printer, if a Printer is not connected, the CPC pauses (until ESC is found). The same thing happens for EVERYDOS.


I vaguely remember the Graph Master suite, I'm just stunned how much stuff was in there, I guess as it came at a stage when AA were giving away Full games like Cybernoid II in this case, these programmes get overlooked. :( I also remember the D.I.Y.F.X Envelope Editor, though like the Graph Master suite, never used it. :( On your Disk I can see all the GM programmes are there, but DIYFX isn't. Unsure about the Graph programme, perhaps Reset the CPC and see if that corrects the Memory Full problem, Memory Full Errors can occur for a number of reasons, so may not necessarily be a ROM issue, although interesting Drive B: failed after that (again), how is the Drive B: issue being corrected? A Bad Command error when "|B" is being used suggest a problem with the DOS, how is Drive A: functioning? Can you insert a Disc and type CAT for example to see the Disc Directory or is it reverting to Tape (by displaying "Press PLAY then Any Key:")?
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: ComSoft6128 on 14:10, 02 June 19
Yes the drive B problem is definitely a Rom or Rombox issue. With the Rombox removed and a Parados cartridge in use the Plus works fine but that means I have no access to the other Rom software.

I've had no problems with the A drive when drive B falls over but did see the "Press PLAY then Any Key" message last year when the ribbon cable between the Plus & the Rombox was showing damage after years of flexing. After Bryce made a new cable for me the Rombox was back to normal. :)

A soft reset after drive B fails makes no difference, neither does switching off the computer at the keyboard.
What does work (every time) is switching off the computer at the monitor waiting a few seconds and switching it back on - this solves the problem (till the next time) but why this works when switching it off at the keyboard doesn't is a mystery to me ??? 
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: AMSDOS on 12:31, 03 June 19
I'm not a Hardware person unfortunately and I know less about the Plus Machines, the old generation CPC 6128 gets it's power for the Disc Drive from the Monitor, I don't know if thats a fault, though the 2nd Disk Drive needs it's own Power Source  I thought.


Some funny background information regarding the Graph Master suite + D.I.Y.F.X I found regarding the Menu, published on the Covertape pages reveals a compatibility problem with the 464, forcing 464 people to load the files individually as shown in the attached image.  :o


I can't remember if anyone wrote in to AA with a correction, though the problem was the Explanation Mark in line 310. For Tape that would mean the Explanation Mark has to be at the Beginning for the Filename! What they should of had is:
310 f$="GM"+HEX$(x)
320 RUN"!"+f$



Having the Explanation Mark with the RUN statement in Line 320 tells the CPC to not print the "Press PLAY then Any Key:" message.
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: ComSoft6128 on 06:49, 11 June 19
One for Clock watchers.
Four BASIC programs this time and Shock!  :o Horror!  :o a small CPM program sneaks in near the end of the video.
The Listing for Life.bas is included in the next video - attempting to List it in this video brought up a "white screen of death" which immediately causes the OSSC to lose Sync/picture.

https://www.youtube.com/watch?v=tN-o5QvKyl8&t=300s (https://www.youtube.com/watch?v=tN-o5QvKyl8&t=300s)
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: AMSDOS on 02:46, 12 June 19
Quote from: ComSoft6128 on 06:49, 11 June 19
One for Clock watchers.
Four BASIC programs this time and Shock!  :o Horror!  :o a small CPM program sneaks in near the end of the video.


I didn't recognise any of the Clocks on display there, though it was unusual there was one there by "DW Software", surely it wasn't commercial?
Along with the Small CP/M Disk utility to read PCW discs, I noticed other files there where I'm guessing relate to Reading/Writing/Formatting PC Disks?


QuoteThe Listing for Life.bas is included in the next video - attempting to List it in this video brought up a "white screen of death" which immediately causes the OSSC to lose Sync/picture.


I could still read the Listing, the "White Screen of Death" was just a Switch in PEN & PAPER (PAPER 1:PEN 0), though from what was Listed there it appeared quite generic. To switch it back: "PAPER 0:PEN 1" will do the trick.
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: ComSoft6128 on 06:20, 12 June 19
Hi Amsdos,
After a little digging it looks like Amsclock was from the prolific David Wild, so was likely to be PD:

https://cpcrulez.fr/applications_util-amsclock-dw_software.htm (https://cpcrulez.fr/applications_util-amsclock-dw_software.htm)

Regarding commercial software, the next video does indeed show a little but this is because these videos are done "on the hoof" - each of these disks are over 25 years old and I no longer remember what most of these programs are - and I simply don't have the time to examine each file individually before Running them.

Thanks for your suggestion on the  "white screen of death" - unfortunately this causes the OSSC to lose sync almost (1-3 seconds) immediately which precludes trying to change inks before the Hauppauge Rocket stops recording and leaves me with a corrupted video file. This problem looks to me like an RGB output issue which I will be posting in Hardware Support soon.

Cheers,

Peter

Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: ComSoft6128 on 14:28, 17 June 19
Video 3.
The file Story.bas causes the OSSC to lose sync, so this video effectively ends when Scanner.bas is Listed. Scanner is from the WACCI library - I'm not sure exactly what Scanner does, could someone enlighten me?

https://www.youtube.com/watch?v=JV00uNv8Tws&t=3s (https://www.youtube.com/watch?v=JV00uNv8Tws&t=3s)

Link:
http://www.cpcwiki.eu/index.php/Auntie_John (http://www.cpcwiki.eu/index.php/Auntie_John)
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: Nich on 21:11, 17 June 19
Quote from: ComSoft6128 on 14:28, 17 June 19
The file Story.bas causes the OSSC to lose sync, so this video effectively ends when Scanner.bas is Listed. Scanner is from the WACCI library - I'm not sure exactly what Scanner does, could someone enlighten me?

I think it's intended to read more than one ASCII (text) file into memory and you can browse through them as if it was a single text file, instead of having to load and browse each file individually.
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: AMSDOS on 00:27, 19 June 19
The odd thing about the Metric programme was I recognised the Authors name (Chris Marlow), but couldn't remember what they had written until I looked them up on CPC-Power. As it turns out, they wrote Abstract, which was a Type-In from one of the earliest AAs I'd collected (AA44), though I'm unsure where this Metric (or Conversions as it is called) comes from. Almost looks as if it was a Type-In from an Earlier AA, though doesn't look like it was an AA Type-In. Maybe it was in ACU, since CPC-Power still has gaps within the ACU Type-In inventory, I checked to see if July '88 Issue of ACU had the Type-In on Archive.org, but had no luck, so it remains a Mystery.  ??? 


Random is an interesting little routine, it simply places 58 numbers 1 to 58 into an array, it then uses the count loop to pick a random position in the array to pick the number from the array, after that that array position becomes zero, the routine slows down towards the end because it continues to find previously found random positions which are now zero, but the routine knows that not all of the positions have been found and won't end until the last position has been found (if that makes sense). I guess this sort of routine can be useful in games where you have a set value of positions, but need it to come out in a random order and the value has to appear only once, interesting that there's a Printer version (random1.bas).
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: ComSoft6128 on 15:12, 21 June 19
Video 4.
Two programs this time, a curiosity and a utility. Please ignore the third program, I will have to revisit it in another video.

https://www.youtube.com/watch?v=jPCIy98Qu7E (https://www.youtube.com/watch?v=jPCIy98Qu7E)
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: ComSoft6128 on 07:26, 26 June 19
Video 5

1. Banner.bas - used this a few times - an excellent little App
2. Disktidy.bas - incorrectly identifies a data disc as system format
3. Memgraf.bas - as this dates from 1988 and is Run on a 6128 Plus with Rombox attached I don't know if the display is accurate
4. Quadplot.bas - guess what

https://www.youtube.com/watch?v=alVjHALNxKM&feature=youtu.be (https://www.youtube.com/watch?v=alVjHALNxKM&feature=youtu.be)


Clive Bellaby was one of the editors of WACCI
http://www.cpcwiki.eu/index.php/WACCI (http://www.cpcwiki.eu/index.php/WACCI)




Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: ComSoft6128 on 09:59, 02 July 19
Video 6

Utilities for ROM and disc software.

Five programs this time but the fifth is merely a loader for a binary file.

1. Romcut.bas - doesn't work (resets the Plus back to DES) but that may be because it was written in 1989 and some of the ROM software is from years later.

2. Romcut2.bas - this does work - |p for the Protext ROM is disabled.

3.Romread.bas - displays information on the ROM software attached to the computer.

4.Romsaver.bas - see the saved ROM image (17k?) in the catalogue at 06:00

5. Tagboot - loader for a binary file
https://www.youtube.com/watch?v=v-YZrlabIKM&feature=youtu.be (https://www.youtube.com/watch?v=v-YZrlabIKM&feature=youtu.be)
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: AMSDOS on 11:38, 02 July 19
Quote from: ComSoft6128 on 09:59, 02 July 19
Video 6

Utilities for ROM and disc software.

Five programs this time but the fifth is merely a loader for a binary file.

1. Romcut.bas - doesn't work (resets the Plus back to DES) but that may be because it was written in 1989 and some of the ROM software is from years later.


I'm unsure, I noticed a while M/C routine gets POKEd to RAM - Lines (90 to 250) and at Line 80 is POKE &AE5E,0:POKE &AE5F,&A0 which looks like it CALLs it, but I don't know that for certain. Upon Testing on a 6128 I noticed AE5E & AE5F points to the address of HIMEM, so that Poke Lowers MEMORY HIMEM to &A000. The Address many different on other systems - at least that's what it appears to be on the 464 which just gave me 0s, so Pluses maybe different too, the best bet is to alter Line 80 to read:

80 MEMORY &9FFF

and see if that works...

Quote2. Romcut2.bas - this does work - |p for the Protext ROM is disabled.



It looks as if it Crashed the Whole System along with it  :o

A programme like this should disable all the ROMs apart from 0 (BASIC) and 7 (AMSDOS), though the Crash Seems odd when it should have produced an 'Unknown Command' error.



Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: ComSoft6128 on 18:30, 02 July 19
Yes it did crash - a soft reset was necessary.
Both the programs are for the original 6128 - the Plus has ParaDOS on cartridge so I wonder if that would make a difference?

Anyone have any thoughts on this?
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: AMSDOS on 01:20, 03 July 19
Sorry, I don't know a lot about the CPC Plusses or ParaDOS, with the ROMCUT.BAS programme I could do a small test relating to the &AE5E and &AE5F on the Old Generation 6128 to determine that they are the Addresses which store HIMEM. I'm unsure if ParaDOS changes this or if it's the Plus system, it could be tested like this though:



PRINT HEX$(PEEK(&AE5E))
PRINT HEX$(PEEK(&AE5F))
MEMORY &A000
PRINT HEX$(PEEK(&AE5E))
PRINT HEX$(PEEK(&AE5F))



If the values are different before and after the MEMORY command, that would suggest those addresses point to HIMEM.


The ROMCUT2.BAS programme is even more of a puzzle, when I've look at the Listing I've noticed that Lines 6-8 and 9-11 are identical! I do not know why the same thing has to be POKEd twice (from Lines 9-11) and below that Line 13 has a Comment 'REST OF PROGRAM', which seems to be suggesting that something else has to go there, I've got no idea what that is if that's the case. I tried searching for this on CPC-Power, but couldn't find anything, I thought it might of been a Type-In, but don't know for sure. I just would of thought More Information would of been provided, as is I don't know. From the M/C Data this programme has I can say it does this:



org &BE80


ld c,&07
ld de,&0040
ld hl,&ABFF
call &BCCE
ret



CALL &BCCE - is KL INIT BACK, there's information about it here in the CPCWiki (https://www.cpcwiki.eu/index.php/BIOS_Kernel_RSX_Functions_(Resident_System_Extensions)#Installing_a_Single_Expansion_ROM).
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: ComSoft6128 on 07:26, 03 July 19
Thanks for the info @AMSDOS (http://www.cpcwiki.eu/forum/index.php?action=profile;u=330) ,

Unfortunately many of the programs lack documentation - even in the form of detailed REM statements - so I have to make do with what I find. :(  No doubt there will be more puzzles along the way............
Title: Re: Various BASIC PD programs from the eighties/nineties
Post by: ComSoft6128 on 07:34, 03 July 19
Video 7

Typing Tutors.

And if any wit would like to suggest that I need to be using these myself - please don't ::)
https://www.youtube.com/watch?v=iQiZLV26V8I (https://www.youtube.com/watch?v=iQiZLV26V8I)
Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: ComSoft6128 on 15:50, 04 July 19
Two programs this time - "PHY-CALC.BAS" AND "TRIG.BAS"
I plan to come back to PHY-CALC this weekend and could use some help with this one.
Not even having a fleeting acquaintance with Physics means any values I could input for the nine options would be of the "Garbage in Garbage out" variety - so can anyone suggest realistic input values that I could use?

https://www.youtube.com/watch?v=I6mojSBJp2k&feature=youtu.be (https://www.youtube.com/watch?v=I6mojSBJp2k&feature=youtu.be)


Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: rambler on 09:30, 05 July 19
Quote from: ComSoft6128 on 15:50, 04 July 19
Two programs this time - "PHY-CALC.BAS" AND "TRIG.BAS"


This reminds of a couple of programs I made on a 664 i had.
I also had a program to decode RTTY (https://en.wikipedia.org/wiki/Radioteletype)
Unfortunately the 664 got fried in the early 90's.
Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: ComSoft6128 on 13:01, 10 July 19
1986 - BASIC PLUS by Alastair M. Scott.

Even though this loads in a binary file, I feel the particular function of this program makes it relevant to this thread.

Now, not being a programmer means I unable to assess if this is a practical tool for daily use or just an interesting experiment.
Would anyone like to comment?
https://www.youtube.com/watch?v=yugf3pD79g4 (https://www.youtube.com/watch?v=yugf3pD79g4)
Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: AMSDOS on 10:55, 11 July 19
It's a RSX (Resident System eXtension) Library, designed to add some extra routines (which they all have) normally through BASIC. This one in particular seems to have a mixture of routines written for the Library, while other Commands just patch straight in to Firmware routines. To patch into the Firmware is usually done if a Firmware instruction isn't accessible through BASIC or to bring some more compatibility from a BASIC 1.1 programme which wouldn't work on a 464 as a number of additional commands found in BASIC 1.1 do exist within the 464s Firmware, however FILL is not one of them, so the FILL routine included within the Library would have been written in Assembly.

The most unusual Library I found like this wasn't really a true Library as such, but it would let you poke the appropriate Assembly Register using a RSX and then CALL a firmware address using it's provided RSX to carry out whatever operation the Firmware has. Seemed interesting in theory, though when I converted a BASIC Graphical Demo, it was much slower to it's BASIC counterpart due to the way BASIC has to slowly interpret RSX commands. It's only benefit would be through a Compiled Language like Hisoft Pascal which has access to RSXs, though impractical since Hisoft Pascal can access the Assembly register set when necessary to access the Firmware.  :D



I started writing an article about it on the CPCWiki (https://www.cpcwiki.eu/index.php/RSX_Routines_From_Magazines) since there's quite a few of these Library programmes floating around. I just felt at the time that a Library programme could easily be forgotten or may contain a Treasure Trove of specifically written routines not found anywhere else which could be useful.
Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: ComSoft6128 on 07:18, 06 August 19
1986 Disc Editor from DW Software.

https://www.youtube.com/watch?v=KrBJBL5OGyI (https://www.youtube.com/watch?v=KrBJBL5OGyI)


Amstrad Action review (from cpcrulez):
https://cpcrulez.fr/applications_disc-disc_editor_AA.htm (https://cpcrulez.fr/applications_disc-disc_editor_AA.htm)
Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: AMSDOS on 10:23, 07 August 19
It's funny that AA were looking at that Disk Editor in 1987 and the same year Martin SHROEDER wrote one (https://www.cpc-power.com/index.php?page=detail&num=13482) which AA published in their Type-Ins (Issue 26).
Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: ComSoft6128 on 06:31, 15 October 19
Two PD BASIC file managers - TIDY.BAS (aka DISKTIDY) and TONYMEN1 (Disc Catalogue)
A modified version of TIDY is shown in video 5 of this thread

Back in the eighties/nineties programs like these might have saved you having to spend a few pounds buying a commercial file management program.
Both programs though originally type-ins were sourced from the WACCI PD library.

https://www.youtube.com/watch?v=wNy2iNlTMVk (https://www.youtube.com/watch?v=wNy2iNlTMVk)

Links:
https://www.cpc-power.com/index.php?page=detail&num=9973 (https://www.cpc-power.com/index.php?page=detail&num=9973)

https://www.cpc-power.com/index.php?page=staff&stafftype=1&lenom=Robin%20NIXON (https://www.cpc-power.com/index.php?page=staff&stafftype=1&lenom=Robin%20NIXON)

http://www.cpcwiki.eu/forum/programming/how-to-get-a-job-with-arnor-in-1987/msg176663/#msg176663 (http://www.cpcwiki.eu/forum/programming/how-to-get-a-job-with-arnor-in-1987/msg176663/#msg176663)

https://www.cpcwiki.eu/index.php/WACCI (https://www.cpcwiki.eu/index.php/WACCI)

Not emulated - original hardware and software.
Please note that the aspect ratio for this YouTube video is 16:9 but the CPC monitor has
an aspect ratio of 4:3 so you may wish to adjust your viewing device accordingly.
Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: AMSDOS on 10:32, 15 October 19
Quote from: ComSoft6128 on 06:31, 15 October 19
Two PD BASIC file managers - TIDY.BAS (aka DISKTIDY) and TONYMEN1 (Disc Catalogue)
A modified version of TIDY is shown in video 5 of this thread

Back in the eighties/nineties programs like these might have saved you having to spend a few pounds buying a commercial file management program.
Both programs though originally type-ins were sourced from the WACCI PD library.



i guess they were handy if you didn't like the Command Line Structure of Renaming or Erasing a File, some of the handier ones could Format the Disc, and I guess viewing the contents of a file. Amstrad Action had so many of them though I vagerally remember them saying they were inundated from people trying to send theirs to Type-Ins to the point I think they weren't going to accept them unless it was short or did something extra special. This simple one called Disc (https://www.cpc-power.com/index.php?page=detail&num=10940) fits in 10-Lines and it could Erase, Unerase, Rename or Change User areas. Though he's a list of all the others they had with some of their features:


Disc Office 2 (https://www.cpc-power.com/index.php?page=detail&num=14632) - Formatting Discs
Disc Doctor (https://www.cpc-power.com/index.php?page=detail&num=14016) - Nothing exciting here
Disc Nurse (https://www.cpc-power.com/index.php?page=detail&num=13848) - Erase/Unerase Files
Disc Nurse v1.1 (https://www.cpc-power.com/index.php?page=detail&num=14348) - Display ASCII file and Formatting Discs.
Disc Manager (https://www.cpc-power.com/index.php?page=detail&num=14222) - Format
Disc Content  (https://www.cpc-power.com/index.php?page=detail&num=14996)- View, Print, Copy and Erase BAK files.


The 2nd programme from your video had a menu system very similiar to the way the files are selected in this Directory Editor (https://www.cpc-power.com/index.php?page=detail&num=14439) as well as some similar looks in colour used. :)
Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: ComSoft6128 on 16:42, 15 October 19
I see Disc Office II BY Nicholas Campbell - @Nich (http://www.cpcwiki.eu/forum/index.php?action=profile;u=53) I guess.

https://www.cpc-power.com/index.php?page=detail&num=14632 (https://www.cpc-power.com/index.php?page=detail&num=14632)

;D   Hi @Nich (http://www.cpcwiki.eu/forum/index.php?action=profile;u=53) - you programming when you were at school?  ;D
Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: Nich on 20:05, 17 October 19
Quote from: ComSoft6128 on 16:42, 15 October 19
I see Disc Office II BY Nicholas Campbell - @Nich (http://www.cpcwiki.eu/forum/index.php?action=profile;u=53) I guess.

https://www.cpc-power.com/index.php?page=detail&num=14632 (https://www.cpc-power.com/index.php?page=detail&num=14632)

;D   Hi @Nich (http://www.cpcwiki.eu/forum/index.php?action=profile;u=53) - you programming when you were at school?  ;D


Yes, that is one of my programs. The silly thing is that the 'Format' option doesn't even work as I forgot to include it - and it would have been plagiarised anyway as I didn't know Z80 assembler back then! :laugh:

I remember being really proud of myself when some of my programs were published (I was 14 years old at the time), but I think I had written some better ones at the time. I sent AA a few dozen programs and let them select the 'best' ones.

Anyone who cares can download a DSK file containing many more of my unpublished BASIC listings and 10-liners from Genesis8 (http://www.genesis8bit.fr/frontend/gamefree/nich10li.zip).
Title: Re: Various BASIC PD programs from the Eighties/Nineties
Post by: AMSDOS on 11:33, 18 October 19
Quote from: Nich on 20:05, 17 October 19
Yes, that is one of my programs. The silly thing is that the 'Format' option doesn't even work as I forgot to include it - and it would have been plagiarised anyway as I didn't know Z80 assembler back then! :laugh:


It's been dated to 1992 when you were 12 and 3/4, though I can't workout which Format Routine it was using, though it's been setup to accept one which can format Vendor or Data and has an origin of &8000, I thought it might of been the QuickFormat from AA73 Oct 1991, but that resides at &4000 and uses a RSX to format the Discs.

QuoteI remember being really proud of myself when some of my programs were published (I was 14 years old at the time), but I think I had written some better ones at the time. I sent AA a few dozen programs and let them select the 'best' ones.

Issue 106 & 107 according to CPC-POWER Archives (https://www.cpc-power.com/cpcarchives/index.php?page=articles&num=163) and in Issue 108 they passed the remark about no more Disk Organisers in a guide to submitting Type-Ins, sadly that was the last issue with Readers Type-Ins in them.  :(


Powered by SMFPacks Menu Editor Mod