Author Topic: How to simply transfer floppy content from cpc to a pc?  (Read 892 times)

0 Members and 1 Guest are viewing this topic.

Offline Spaceeman

  • Speccy
  • *
  • Posts: 1
  • Country: be
    • Spaceeman
  • Liked: 0
  • Likes Given: 0
 How to simply transfer floppy content from cpc to a pc?
For example, I imagine some Basic little code to read floppy sector by sector and show QRcode on the screen, then with my phone I should retrieve raw data from QRCode on the screen… Any tutorial about that?
Thanks.
 

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.260
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1002
  • Likes Given: 2334
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #1 on: 14:34, 21 September 18 »
Using Duke’s M4 board to copy from a CPC disk to an SD card would be easier.


I like the concept of generating QR codes though.


Oh, and welcome to the CPCWiki!  ;)

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.192
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3907
  • Likes Given: 415
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #2 on: 14:35, 21 September 18 »
The biggest QR Code at the moment is 177x177. It can hold 23,648 raw bits (in ECC Level L) which is about 2.9K in Amstrads world. A 3in disk holds 178K of data. So you would need to create and photograph around 62 QR Codes to transfer one side of a disk... Good luck with that.

Try getting a HxC or similar SD Card Floppy Emulator, which you can use to transfer a lot faster in both directions.

Bryce.
« Last Edit: 14:37, 21 September 18 by Bryce »

LambdaMikel

  • Guest
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #3 on: 19:33, 21 September 18 »
How to simply transfer floppy content from cpc to a pc?
For example, I imagine some Basic little code to read floppy sector by sector and show QRcode on the screen, then with my phone I should retrieve raw data from QRCode on the screen… Any tutorial about that?
Thanks.


Wouldn't it be easier to generate morse code with CPC audio speaker and have it record with the phone, or emit smoke signals and let the phone camera detect it? You could also flash an LED and record that with the phone. Or just use the parallel port cable like people did in the old days and write a simple BASIC program (ok, now you need a parallel port cable adapter for your phone... let's see if Apple can add that back after they banned everything else  :laugh:  )


Also, thumbs up for the "simple" part of your idea  ;) I always like people that have a practical mindset.
« Last Edit: 19:38, 21 September 18 by LambdaMikel »

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.298
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3032
  • Likes Given: 5489
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #4 on: 15:16, 07 November 18 »
I happened to be looking into QR codes recently during a labeling process and indeed the 23.648 figure is correct with error correction embedded. Oh, and you'd need a good camera and super, super steady hands. I do seem to remember though that you can use that in colour which would probably and dramatically raise the amount of data stored (didn't look into it much though because the vendor couldn't do colour).


But it's a nice idea, and resembles the awesome Pico8 distribution format (i.e., png files that include the 'cover' of the game but also the game itself).

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.492
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 678
  • Likes Given: 1777
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #5 on: 17:44, 07 November 18 »
Well, what's your equipment on CPC and on PC side? (e.g. floppies, etc).
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline Otto

  • CPC464
  • **
  • Posts: 13
  • Country: de
  • Liked: 7
  • Likes Given: 204
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #6 on: 10:36, 02 October 19 »
So today, a year later, what would be the simplest and cheapest way to transfer files from a PC to an original CPC 6128, and the other way round?

Like, I download a ".dsk" image file on a PC and would like to get it on a CPC disk "somehow".

Some of you mentioned some board for the CPC which would allow to read/write from/to a SD-card. Do you have any links to it, please, or some experience?

Thanks!

P.S. I searched the CPCwiki main page, but maybe I've been searching for the wrong keywords.

Online SkulleateR

  • CPC664
  • ***
  • Posts: 138
  • Country: de
  • Liked: 67
  • Likes Given: 43
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #7 on: 11:53, 02 October 19 »
Some of you mentioned some board for the CPC which would allow to read/write from/to a SD-card. Do you have any links to it, please, or some experience?


Probably this one -> [size=78%]http://www.cpcwiki.eu/index.php/M4_Board[/size]


Offline SOS

  • Supporter
  • 464 Plus
  • *
  • Posts: 321
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 217
  • Likes Given: 195
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #8 on: 12:38, 02 October 19 »
simplest and cheapest way to transfer files from a PC to an original CPC 6128, and the other way round?

Like, I download a ".dsk" image file on a PC and would like to get it on a CPC disk "somehow".
Get an Gotek-Device from China, but you Need to Flash it with FlashFloppy ("medium" simple).
You Need also an Power-Source + Data-Cable for the Gotek (Maybe you will find an "complete kit" on eBay or so...)
CPC 3"->Gotek: Maybe with Discology as software
PC->Gotek: You can download Windows-Software from hxc2001.com

Offline shifters74

  • CPC664
  • ***
  • Posts: 50
  • Country: gb
  • Liked: 36
  • Likes Given: 16
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #9 on: 21:34, 03 October 19 »
You could also use IKONSGR serial interface with a USB to serial cable - costs about £15 in total.

See his indepth post in hardware http://www.cpcwiki.eu/forum/amstrad-cpc-hardware/universal-serial-interface-for-amstrad-cpc/
The board is neat and well made - it had detailed instructions and can talk to many things via serial not just your PC.  His software does all the hardwork on the PC end.
cheers
Shifters

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 2.988
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1182
  • Likes Given: 2383
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #10 on: 12:14, 04 October 19 »
The biggest QR Code at the moment is 177x177. It can hold 23,648 raw bits (in ECC Level L) which is about 2.9K in Amstrads world. A 3in disk holds 178K of data. So you would need to create and photograph around 62 QR Codes to transfer one side of a disk... Good luck with that.

I find this idea really geeky. And everything geeky is good.

Write a CPC app that reads the whole disk, and outputs 62 QR codes as fast as possible.
Set a phone to videorecord the screen, and write a phone app to convert that video into a CPC dsk file.
Geeky!

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.192
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3907
  • Likes Given: 415
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #11 on: 13:32, 04 October 19 »
I find this idea really geeky. And everything geeky is good.

Write a CPC app that reads the whole disk, and outputs 62 QR codes as fast as possible.
Set a phone to videorecord the screen, and write a phone app to convert that video into a CPC dsk file.
Geeky!

And how do you error check the data?

Bryce.

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 2.988
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1182
  • Likes Given: 2383
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #12 on: 15:25, 04 October 19 »
And how do you error check the data?

I imagine running the 62 QR codes 2-3 times maybe.

This isn't about speed. Just about geekiness.

And you should find your inner geek and stuff away that grumpy old dude.  ;)

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.192
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3907
  • Likes Given: 415
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #13 on: 16:17, 04 October 19 »
I imagine running the 62 QR codes 2-3 times maybe.

This isn't about speed. Just about geekiness.

And you should find your inner geek and stuff away that grumpy old dude.  ;)

:D Nope. Geeky would be if it printed the QR codes to paper and the PC would scan them back in on a flatbed scanner :)Then you could release software via QR code in a magazine too.

Bryce.

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 2.988
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1182
  • Likes Given: 2383
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #14 on: 19:56, 04 October 19 »
:D Nope. Geeky would be if it printed the QR codes to paper and the PC would scan them back in on a flatbed scanner :)Then you could release software via QR code in a magazine too.

Just a teeny weeny little more time consuming, but yes, definitely also geeky.

Offline mv

  • CPC464
  • **
  • Posts: 22
  • Country: de
  • CPC6128
  • Liked: 61
  • Likes Given: 43
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #15 on: 00:29, 07 October 19 »
I find this idea really geeky. And everything geeky is good.

Write a CPC app that reads the whole disk, and outputs 62 QR codes as fast as possible.
Set a phone to videorecord the screen, and write a phone app to convert that video into a CPC dsk file.
Geeky!
This reminds me of a German TV magazine from the 80s, in which data were sent in a small area on the TV screen
and called it VIDEODAT. Just found a link (German):youtu.be/HNUkYRt_oX4
Something like this on a CPC:
Code: [Select]
10 mode 2:defint a-z
20 byte=rnd*255
30 a=&c000:bit=1
40 for l=0 to 7
50 if byte and bit then scr=255 else scr=0
60 bit=bit*2
70 for c=0 to 5:poke a,scr:a=a+1:next c
80 a=a+&800-6:next l
90 call &bd19:goto 20
« Last Edit: 00:33, 07 October 19 by mv »

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.192
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3907
  • Likes Given: 415
Re: How to simply transfer floppy content from cpc to a pc?
« Reply #16 on: 09:23, 07 October 19 »
This reminds me of a German TV magazine from the 80s, in which data were sent in a small area on the TV screen
and called it VIDEODAT. Just found a link (German):youtu.be/HNUkYRt_oX4
Something like this on a CPC:
Code: [Select]
10 mode 2:defint a-z
20 byte=rnd*255
30 a=&c000:bit=1
40 for l=0 to 7
50 if byte and bit then scr=255 else scr=0
60 bit=bit*2
70 for c=0 to 5:poke a,scr:a=a+1:next c
80 a=a+&800-6:next l
90 call &bd19:goto 20

That was done in the UK too for BBC computers, but the data was in the Teletext area and there was an interface available to extract it.

Bryce.