Author Topic: Amstrad CPC WiFi  (Read 305716 times)

zeropolis79 and 1 Guest are viewing this topic.

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 780
  • Country: es
  • Liked: 628
  • Likes Given: 429
Re: Amstrad CPC WiFi
« Reply #2475 on: 20:54, 21 July 19 »
You must forward port 80 (http) to the M4.
Thankyou!!

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 14.977
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 2949
  • Likes Given: 5121
Re: Amstrad CPC WiFi
« Reply #2476 on: 13:22, 23 July 19 »
Wait, the M4 has sold 700pcs???

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 412
  • Country: au
    • 8bitology
  • Liked: 192
  • Likes Given: 111
Re: Amstrad CPC WiFi
« Reply #2477 on: 10:19, 30 July 19 »


Changes since v2.0.5 beta 12:
  • Fix |HTTPGET freeze when URL does not resolve (2 sec DNS lookup timeout)
  • ADDED |HTTPGET use @ symbol at start of request to silent output text of console, ie. |httpget,"@spinpoint.org/cpc/m4info.txt"  (@zhulien)
  • ADDED |HTTPGET use > symbol followed by filename at end of request string to output into desired file, ie. |httpget,"spinpoint.org/cpc/m4info.txt>info.txt" (@zhulien)


Hi Duke, the timeout appears to be working well.  The > however seems to pass the >info.txt up to the server which confuses the server - I can make my server aware of it, however other servers won't know what to do.  Any chance instead of >info.txt to have an optional 2nd parameter?


Thanks

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 412
  • Country: au
    • 8bitology
  • Liked: 192
  • Likes Given: 111
Re: Amstrad CPC WiFi
« Reply #2478 on: 10:20, 30 July 19 »

Hi Duke, the timeout appears to be working well.  The > however seems to pass the >info.txt up to the server which confuses the server - I can make my server aware of it, however other servers won't know what to do.  Any chance instead of >info.txt to have an optional 2nd parameter?


An example is:


http://8bitology.net/ws.php?function=system_getapiversion  which from BASIC's perspective needs the response to go to a nominated file.

Thanks

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.093
  • Country: dk
    • spinpoint.org
  • Liked: 1172
  • Likes Given: 836
Re: Amstrad CPC WiFi
« Reply #2479 on: 21:21, 30 July 19 »
Wait, the M4 has sold 700pcs???
Well not yet, current count is 690 :)


The > however seems to pass the >info.txt up to the server which confuses the server
Will fix soon. No need to send that to the server, somehow I must be stripping it afterwards (doh!).

Offline Monsieurmarc

  • CPC464
  • **
  • Posts: 6
  • Country: gb
  • Liked: 4
  • Likes Given: 1
Re: Amstrad CPC WiFi
« Reply #2480 on: 11:12, 01 August 19 »
Pleased to say my M4 arrived yesterday.  It’s up and running with games, ROMs and telnet
I am really really pleased.
Many thanks Duke

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.248
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 699
  • Likes Given: 1515
Re: Amstrad CPC WiFi
« Reply #2481 on: 23:53, 13 August 19 »
My M4 has the newest firmware 2.0.5 (b12 IIRC). However it connects very poor to the internet. Takes an hour to state "connected", but doesn't even set the time/date.

Signal is about &A4 or &A5. Is this too weak. Any ideas? Did you encounter similar effects?

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 VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.039
  • Country: gr
    • Parts from the past.
  • Liked: 518
  • Likes Given: 1436
Re: Amstrad CPC WiFi
« Reply #2482 on: 00:21, 14 August 19 »
Mine is super fast, maybe dns settings?
To blit, or not to blit?
Amiga 1200 Black Project

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.093
  • Country: dk
    • spinpoint.org
  • Liked: 1172
  • Likes Given: 836
Re: Amstrad CPC WiFi
« Reply #2483 on: 11:23, 14 August 19 »
My M4 has the newest firmware 2.0.5 (b12 IIRC). However it connects very poor to the internet. Takes an hour to state "connected", but doesn't even set the time/date.

Signal is about &A4 or &A5. Is this too weak. Any ideas? Did you encounter similar effects?
Newest firmware is v2.0.5 (non beta).
Yes seems your WiFi signal is very weak, the range goes from &A0 to &FF  (&A0 being the weakest).
It should connect almost instantly, I have not tried working with such a weak signal.

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.248
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 699
  • Likes Given: 1515
Re: Amstrad CPC WiFi
« Reply #2484 on: 19:44, 14 August 19 »
Haha, ok, I can (must sometimes) check with weak signals. Always here for testing.  :)
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 krusty_benediction

  • CPC664
  • ***
  • Posts: 138
  • Country: fr
  • Liked: 102
  • Likes Given: 36
Re: Amstrad CPC WiFi
« Reply #2485 on: 11:22, 15 August 19 »
No idea if it is the best place to post that.
If someone is interested to code a bit of `rust` language, I have partly reimplemented `xfer` (because I need such library with my other tools such as image conversion one) in the toolbox I'm creating for my next demo: https://github.com/cpcsdk/rust.cpclib. It only contains the options I need (dowload/dowload and run/restart CPC/restart M4) and lacks of everything else needed by everyone else.
The only advantages over the original xfer tool are:
  • very minor: the ip value must be provided before the command (and later I will easily remove it in order to read an environment variable or something else)
  • most importantly: it works with snapshots V3 by downgrading them in snapshot V2 before sending them to the CPC. I have validated that with snapshots generated by rasm, there are probably bug to fixes with exotic chuncs.
Note that I am unable to cross-compile it from Linux for Windows, but it should be compilable under windows.
« Last Edit: 20:08, 15 August 19 by krusty_benediction »

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 893
  • Country: fr
  • Liked: 861
  • Likes Given: 134
Re: Amstrad CPC WiFi
« Reply #2486 on: 13:09, 15 August 19 »
Quote
most importantly: it works with snapshots V3 by downgrading them in snapshot V2 before sending them to the CPC. I have validated that with snapshots generated by rasm, there are probably bug to fixes with exotic chucks.

I don't remember having problems with transferring snapshots made with Rasm using the CPC wifi...
Targhan/Arkos

Arkos Tracker 2 - alpha 7 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline krusty_benediction

  • CPC664
  • ***
  • Posts: 138
  • Country: fr
  • Liked: 102
  • Likes Given: 36
Re: Amstrad CPC WiFi
« Reply #2487 on: 20:07, 15 August 19 »
I don't remember having problems with transferring snapshots made with Rasm using the CPC wifi...
I have recently moved and will have no access to a real CPC before weeks (or months...) in order to check.
If I remember well, the snapshot loader of the M4 crashes when using a V3 snapshot. I guess the problem does not come from the chunks, but the fact that the memory is compressed.
Are you sure you do not generate V2 snapshots ?

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.093
  • Country: dk
    • spinpoint.org
  • Liked: 1172
  • Likes Given: 836
Re: Amstrad CPC WiFi
« Reply #2488 on: 00:10, 16 August 19 »
I have recently moved and will have no access to a real CPC before weeks (or months...) in order to check.
If I remember well, the snapshot loader of the M4 crashes when using a V3 snapshot. I guess the problem does not come from the chunks, but the fact that the memory is compressed.
Are you sure you do not generate V2 snapshots ?
Compressed V3 snapshot format was added some time ago and is included in v2.0.5 release version:

Added SNA v3 (compressed sna's) support.
Added SNA v3 (compressed sna's) support.