Author Topic: PD BASIC files  (Read 525 times)

0 Members and 1 Guest are viewing this topic.

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.605
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1646
  • Likes Given: 3548
PD BASIC files
« on: 15:07, 12 September 20 »
Hi,

I've recently purchased a GOTEK from CPCSTORE and I've been looking at transferring some of the BASIC files I have here from the 3" drive A on the Plus to the GOTEK as drive B. Can anyone that downloads this file check that everything is OK?

Thanks,

Peter


CPCSTORE link:
https://www.cpcstore.co.uk/s/shop
« Last Edit: 16:25, 12 September 20 by ComSoft6128 »

Online Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.945
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3413
  • Likes Given: 6125
Re: BASIC files
« Reply #1 on: 15:12, 12 September 20 »
Ah cool. Basically, .bas files are accepted as well 😉

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.605
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1646
  • Likes Given: 3548
Re: BASIC files
« Reply #2 on: 15:12, 12 September 20 »
 :) ;) :D ;D

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 720
  • Country: gb
  • PCW since '85
  • Liked: 157
  • Likes Given: 7
Re: PD BASIC files
« Reply #3 on: 17:15, 12 September 20 »
I've downloaded the file.

I note that the image is an 'Extended' image, not sure why that was needed.   You used the SAMdisk system to create it, maybe that defaults to the Extended format, rather than the simpler (smaller) variant?

I note that the image is of a CPC System Format disk, and contains 9 @ .BAS files total 97k, with 81k free.

I see that there are even more 'deleted' files on the disk, and I suspect that many could be recovered as the alloc blocks have not been re-used by the .BAS files.  The filenames don't suggest anything 'interesting', but OWL and OTTER might be worth a look only they're .SCR and I'm not sure I've got something that will display that format.   It was .SPC I was messing with recently.

Don't know if the .BAS files would be OK on my PCW system, I'll check that.  On one at least!!

Oh, forgot to mention.   The image opens within Joyce fine.

Geoff
« Last Edit: 17:19, 12 September 20 by GeoffB17 »

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.605
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1646
  • Likes Given: 3548
Re: PD BASIC files
« Reply #4 on: 17:25, 12 September 20 »
Hi @GeoffB17 ,

The deleted files are from the original .dsk file "Amiga Art" which I emptied using ParaDos before transferring the files from the 3" drive. The .dsk file was then renamed on my laptop. As for Running the files on the PCW these are Locomotive BASIC files for the CPC but I would imagine you would know if there is a way to do this.

Video:


https://www.youtube.com/watch?v=DsHKP204YAU

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 720
  • Country: gb
  • PCW since '85
  • Liked: 157
  • Likes Given: 7
Re: PD BASIC files
« Reply #5 on: 21:26, 12 September 20 »
Just to complete the 'story', I should say that I expected that the files would NOT work, and sure enough, they do not.

If I try to LOAD them, nothing happens.   But no error or message?

Anyway, if I DUMP the file, they look normal encoded BASIC, including clearly CPC commands.   Pity, the EDITOR game looked unusual (about being the editor of a magazine).  If it was saved as ASC and didn't have too many CPC-only bits, could be worth trying.

Geoff

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.605
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1646
  • Likes Given: 3548
Re: PD BASIC files
« Reply #6 on: 12:02, 13 September 20 »
And on the CPC?


Any feedback?

Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.892
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 1104
  • Likes Given: 1867
Re: PD BASIC files
« Reply #7 on: 14:01, 13 September 20 »
And on the CPC?


Any feedback?


Didn't appear to be any issues with it in the online Emulator CPCBox and was able to play some Connect 4 and then the Magazine Editor.
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Offline Skunkfish

  • Supporter
  • 6128 Plus
  • *
  • Posts: 547
  • Country: gb
  • Editor of Colour Personal Computing
    • CPCSTORE.CO.UK - Dedicated to the Amstrad CPC
  • Liked: 401
  • Likes Given: 1015
Re: PD BASIC files
« Reply #8 on: 13:57, 15 September 20 »
I wasted more time than I should have on the Magazine Editor game - I shouldn't allowed near those sorts of simulation/management games!   :D
An expanding array of hardware available at www.cpcstore.co.uk (and issue 3 of CPC Fanzine!)

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 720
  • Country: gb
  • PCW since '85
  • Liked: 157
  • Likes Given: 7
Re: PD BASIC files
« Reply #9 on: 00:40, 16 September 20 »
So, might be worth making a PCW version of it.   Maybe even adding some extras - if it was published 1990 ish (?) that's 30 years ago, so now there could be an on-line version, and any cover disk would be a cover CD or now a DVD?   Or would it be better to leave it all totally retro??

Geoff

Offline Skunkfish

  • Supporter
  • 6128 Plus
  • *
  • Posts: 547
  • Country: gb
  • Editor of Colour Personal Computing
    • CPCSTORE.CO.UK - Dedicated to the Amstrad CPC
  • Liked: 401
  • Likes Given: 1015
Re: PD BASIC files
« Reply #10 on: 00:56, 16 September 20 »
I'd be tempted to add in multiple magazines covering different platforms and rival magazines to compete against!
And advertising revenue as a factor... And staff costs!

It may over complicate things though....
An expanding array of hardware available at www.cpcstore.co.uk (and issue 3 of CPC Fanzine!)

Offline Nich

  • Supporter
  • 6128 Plus
  • *
  • Posts: 741
  • Country: gb
  • CPC Game Reviews webmaster
    • CPC Game Reviews
  • Liked: 633
  • Likes Given: 745
Re: PD BASIC files
« Reply #11 on: 17:44, 17 September 20 »
I wasted more time than I should have on the Magazine Editor game - I shouldn't allowed near those sorts of simulation/management games!   :D

I played that Magazine Editor game a lot back in the day as well. It was a relatively small type-in that was published in Amstrad Action yet it was quite addictive to play (for me anyway).

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 720
  • Country: gb
  • PCW since '85
  • Liked: 157
  • Likes Given: 7
Re: PD BASIC files
« Reply #12 on: 20:19, 17 September 20 »
Any chance someone could save this Editor game as asc/text?   I'd be much obliged.   Try to get it working on the PCW.

I assume the usual method should work.   LOAD the EDITOR.BAS file, then SAVE "EDITOR.ASC",A using the different filename so it doesn't overwrite the .BAS file   Prob needs to be zipped to be posted back here.

And YES, THANKS, it IS a MASSIVE help that .DSK files can now be attached as-is!!

Geoff

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.605
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1646
  • Likes Given: 3548
Re: PD BASIC files
« Reply #13 on: 20:34, 17 September 20 »
I'll do it tomorrow @GeoffB17  :)

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.605
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1646
  • Likes Given: 3548
Re: PD BASIC files
« Reply #14 on: 20:41, 17 September 20 »
Bugger it I'll do it now ;)

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.605
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1646
  • Likes Given: 3548
Re: PD BASIC files
« Reply #15 on: 21:33, 17 September 20 »
Bugger again!


This should be the correct file now.

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 720
  • Country: gb
  • PCW since '85
  • Liked: 157
  • Likes Given: 7
Re: PD BASIC files
« Reply #16 on: 21:58, 17 September 20 »
hello - thanks very much for trying, but it's NOT an ASC file, as in plain text.   It's still tokenised BASIC.

Most BASICs that I've used have the option to SAVE that way, using the SAVE "filename",A option.   It's the ,A on the end that does it.   Maybe the CPC BASIC is different?   Either you've not used the ,A, or CPC BASIC needs something else?

As you can attach a .txt file OK, it would be a lot easier to save as  SAVE "editor.txt",A - except that the forum needs it to be lower case, it doesn't like .TXT but does like .txt so it might help just to rename the file once it's on the PC?

Thanks again.

Geoff

Offline Skunkfish

  • Supporter
  • 6128 Plus
  • *
  • Posts: 547
  • Country: gb
  • Editor of Colour Personal Computing
    • CPCSTORE.CO.UK - Dedicated to the Amstrad CPC
  • Liked: 401
  • Likes Given: 1015
Re: PD BASIC files
« Reply #17 on: 22:10, 17 September 20 »
Try this Geoff!
An expanding array of hardware available at www.cpcstore.co.uk (and issue 3 of CPC Fanzine!)

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 720
  • Country: gb
  • PCW since '85
  • Liked: 157
  • Likes Given: 7
Re: PD BASIC files
« Reply #18 on: 22:17, 17 September 20 »
Yes, this looks a LOT better.

File is actual plain text, so that's something to work with.

VERY interesting to see how small the file is, much less there than I'd have expected.   Yes, there are some CPC commands there, MODE, INK etc, but can soon replace them with something appropriate.

Get it working as-is, then fancy it up a bit, THEN think about adding things to it.

OOOps - sorry, didn't see the earlier 2nd attempt, but still in a .dsk file.   The .txt file is immed useable, the .dsk needs a whole set of extra steps to get at whatever's in there.

Geoff
« Last Edit: 22:22, 17 September 20 by GeoffB17 »

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.605
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1646
  • Likes Given: 3548
Re: PD BASIC files
« Reply #19 on: 07:02, 18 September 20 »
This might help with converting the file to Mallard:


https://cpcrulez.fr/coding_basic-mallard_BASIC_to_CPC_BASIC__TAU.htm
« Last Edit: 08:40, 18 September 20 by ComSoft6128 »