Author Topic: Amstrad CPC WiFi  (Read 330058 times)

AlexM and 2 Guests are viewing this topic.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: Amstrad CPC WiFi
« Reply #400 on: 21:02, 30 June 16 »
I don't know any 8-bit system with 64K VRAM.  ;D


Me neither, the PcW got 128 KB.  ;)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline dcdrac

  • 6128 Plus
  • ******
  • Posts: 923
  • Liked: 204
  • Likes Given: 24
Re: Amstrad CPC WiFi
« Reply #401 on: 23:30, 30 June 16 »
plugged into 6128 fired up card came on now I need an Dummys Guide to getting wireless working with a CPC

Online Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #402 on: 23:48, 30 June 16 »
Type
|netset,"ssid=routerssid, pw=routerpassword, dhcp=1, dns1=8.8.8.8, dns2=8.8.4.4, name=CPC"

(replace routerssid and routerpassword with the ones for your wifi).

Then write:
|netstat
Hopefully you get an IP or an error code.

Detailed instructions on netset command here: http://www.spinpoint.org/cpc/m4info.txt
plugged into 6128 fired up card came on now I need an Dummys Guide to getting wireless working with a CPC

Offline dcdrac

  • 6128 Plus
  • ******
  • Posts: 923
  • Liked: 204
  • Likes Given: 24
Re: Amstrad CPC WiFi
« Reply #403 on: 23:26, 01 July 16 »
I guess take out the " " and commas?

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.235
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 992
  • Likes Given: 2278
Re: Amstrad CPC WiFi
« Reply #404 on: 23:51, 01 July 16 »
Nop, you have to type it exactly like that and replace routerssid and routerpassword with your routers's ssid and password.


For example, if your wifi's name is WLAN_DRAC and the password CPCwikiRules, the command should be typed like this:


|netset,"ssid=WLAN_DRAC, pw=CPCwikiRules, dhcp=1, dns1=8.8.8.8, dns2=8.8.4.4, name=CPC"

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 2.921
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1091
  • Likes Given: 2304
Re: Amstrad CPC WiFi
« Reply #405 on: 09:00, 02 July 16 »
Nop, you have to type it exactly like that and replace routerssid and routerpassword with your routers's ssid and password.

For example, if your wifi's name is WLAN_DRAC and the password CPCwikiRules, the command should be typed like this:

|netset,"ssid=WLAN_DRAC, pw=CPCwikiRules, dhcp=1, dns1=8.8.8.8, dns2=8.8.4.4, name=CPC"

And, if using a CPC464, put the string into a variable first.
a$="ssid=WLAN_DRAC, pw=CPCwikiRules, dhcp=1, dns1=8.8.8.8, dns2=8.8.4.4, name=CPC"
|netset,@a$

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.235
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 992
  • Likes Given: 2278
Re: Amstrad CPC WiFi
« Reply #406 on: 14:40, 02 July 16 »
That is correct, Sir! :D

Offline Kris

  • 6128 Plus
  • ******
  • Posts: 554
  • Country: fr
  • Team Impact
  • Liked: 220
  • Likes Given: 819
Re: Amstrad CPC WiFi
« Reply #407 on: 19:54, 02 July 16 »
Juste received mine and it's simply amazing how fast it could be as soon as config to connect is done !
Really nice piece of hardware, thank you Duke !


Online Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #408 on: 23:28, 02 July 16 »
Little update on things:

57 boards assembled & ready (3 people needs to tell me what connector they need before 100% ready). 3 boards failed (on the shelf after too many hours of fault searching).

Now out of v2.0 pcb's and adapters. V2.1 boards been shipped from China (new batch of 50 pcb's, now blue and with removal of some unused pull ups and unused spi flash, same size, same stencil) should arrive mid next week along with 10 pcs new adapter pcb (bit more compact this time).
Estimated two more weekends to complete the remaning boards (31). Then I will be back to fix up the reported issues and some new featuers of the M4 rom.
Check the updated list in first post of this thread Amstrad CPC WiFi to see what position you have vs ready boards.



Offline radu14m

  • 464 Plus
  • *****
  • Posts: 392
  • Country: ro
  • Follow your dreams and believe !
  • Liked: 67
  • Likes Given: 545
Re: Amstrad CPC WiFi
« Reply #409 on: 15:43, 03 July 16 »
great mate !!!
can"t wait :)

let us know where and when to send you some money :)

Offline dcdrac

  • 6128 Plus
  • ******
  • Posts: 923
  • Liked: 204
  • Likes Given: 24
Re: Amstrad CPC WiFi
« Reply #410 on: 16:01, 03 July 16 »
got netstat

unknown status 255

Online Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #411 on: 18:38, 03 July 16 »
Make sure the SSID is correct (case sensitive) and there is a WiFi signal where the CPC is located.
got netstat

unknown status 255

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.280
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1171
  • Likes Given: 79
Re: Amstrad CPC WiFi
« Reply #412 on: 19:40, 03 July 16 »
got netstat

unknown status 255
My 2 do that too if for any reason they drop the network connection (seems to happen if in use chrome to manage the ROMs etc, Firefox and safari work better) but a simple restart of the CPC/M4 fixes the problems.
IRC:  #Retro4All on Freenode

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.280
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1171
  • Likes Given: 79
Re: Amstrad CPC WiFi
« Reply #413 on: 02:38, 04 July 16 »
OK. Has anyone started to write software for this board yet? Below is my first effort!

10 CLS
20 locate 5,5:|time:goto 20

OK it's really simple, but does turn the CPC into an NTP synced clock ;)

No seriously, one for the real coder's.... How about a program that can be launched from the SD card, that will program the ROM slots on the m4 board directly from the CPC... @Duke is this possible? Maybe by sending the file to the same URL as the web interface? Or can it be programmed directly?
IRC:  #Retro4All on Freenode

Online Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #414 on: 08:40, 04 July 16 »
Yes its possible to make a program on the CPC to program the romslots (well still needing a reboot afterwards). Just modify the romslots.bin (32x16KB plain rom images) under m4 directory and the romconfig.bin. I pasted the struct earlier, but it has had a few additions:
romconfig.bin
int    totalRoms;  //32
int    m4RomNum;
int    m4RomEnable;
int    romRangeStart;    // start mapping roms from
unsigned int reserved[4];
and 32 x
char updateflag;    // 0 = not present (disabled), 1 = present, 2 = new rom (will change to 1 after reboot), 3 = delete rom (will change to 0 after reboot).
char    name[32]; // name displayed in webinterface

OK. Has anyone started to write software for this board yet? Below is my first effort!

10 CLS
20 locate 5,5:|time:goto 20

OK it's really simple, but does turn the CPC into an NTP synced clock ;)

No seriously, one for the real coder's.... How about a program that can be launched from the SD card, that will program the ROM slots on the m4 board directly from the CPC... @Duke is this possible? Maybe by sending the file to the same URL as the web interface? Or can it be programmed directly?

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.099
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3931
  • Likes Given: 410
Re: Amstrad CPC WiFi
« Reply #415 on: 11:09, 04 July 16 »
OK. Has anyone started to write software for this board yet? Below is my first effort!

10 CLS
20 locate 5,5:|time:goto 20

OK it's really simple, but does turn the CPC into an NTP synced clock ;)

No seriously, one for the real coder's.... How about a program that can be launched from the SD card, that will program the ROM slots on the m4 board directly from the CPC... @Duke is this possible? Maybe by sending the file to the same URL as the web interface? Or can it be programmed directly?

Can you document that code with some "REMs" so that we can understand what's happening? :D

Bryce.

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.280
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1171
  • Likes Given: 79
Re: Amstrad CPC WiFi
« Reply #416 on: 11:33, 04 July 16 »
Can you document that code with some "REMs" so that we can understand what's happening? :D

Bryce.
Teeheehee ;)
IRC:  #Retro4All on Freenode

Offline Audronic

  • 6128 Plus
  • ******
  • Posts: 1.265
  • Country: au
  • I know RST3 . I now know a little More.
  • Liked: 296
  • Likes Given: 636
Re: Amstrad CPC WiFi
« Reply #417 on: 11:38, 04 July 16 »
@Duke


Was wondering how you access the 3" floppy that was |A.


I have had a look at the rsx's .
Or have i missed something ??


Thanks        Ray
Procrastinators Unite,
If it Ain't Broke PLEASE Don't Fix it.
I keep telling you I am Not Pedantic.
As I Live " Down Under " I Take my Gravity Tablets and Wear my Magnetic Boots to Keep me from Falling off.

Online Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #418 on: 12:51, 04 July 16 »
For now there is no way to access real floppy drives (unless using raw FDC functions) when M4rom is active before the disc rom.
If you want to use your floppy drives, type |m4romoff. It will last until you power off/on the CPC.

@Duke


Was wondering how you access the 3" floppy that was |A.


I have had a look at the rsx's .
Or have i missed something ??


Thanks        Ray

Offline madram

  • CPC664
  • ***
  • Posts: 68
  • Country: fr
  • Liked: 44
  • Likes Given: 21
Re: Amstrad CPC WiFi
« Reply #419 on: 13:39, 04 July 16 »
Congratulation for this board, what a neat design, and results look really great!

It kind of defeat the idea of "wiki board", nonetheless I've two questions:

* Can a Ethernet version be built?
* If not, can the WIFI be deactivated alltogether?

If either an answer is 'yes', I would like to order 2 of these cards (MX4).

Oh, and how does the M4 play with other RomBoard (e.g. X-MEM)?

Viva el Denmark.

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.099
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3931
  • Likes Given: 410
Re: Amstrad CPC WiFi
« Reply #420 on: 13:46, 04 July 16 »
You could manually disable the Wifi by putting a switch on the VCC pin of the ESP8266MOD (bottom pin furthest from the Antenna).

Bryce.

Online Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #421 on: 13:58, 04 July 16 »
Thanks.

If you don't set up the wifi (ie. no config.txt in m4 directory), it'll be inactive.
For now WiFi is required to upload roms to the board, unless someone makes a tool to do it from the CPC or I add a RSX command for it.

Ethernet version would require a new board/software, be more expensive and a lot more work for me to assemble, so I wont be making one :)
It can work with X-MEM, atleast some have tested it, it's possible to move the rom-range above 31 if you want both rom boards active, or disable romboard part of Xmem.

Let me know if still want them, then I'll add you to the list.

Congratulation for this board, what a neat design, and results look really great!

It kind of defeat the idea of "wiki board", nonetheless I've two questions:

* Can a Ethernet version be built?
* If not, can the WIFI be deactivated alltogether?

If either an answer is 'yes', I would like to order 2 of these cards (MX4).

Oh, and how does the M4 play with other RomBoard (e.g. X-MEM)?

Viva el Denmark.

Online Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #422 on: 14:02, 04 July 16 »
Yeah that unfortunately won't work with current software, as the M4 talks with the ESP chip to check firmware version etc for possibly upgrading it on bootup (and it wont take no for answer), of course that could be changed in a firmware update :)
You could manually disable the Wifi by putting a switch on the VCC pin of the ESP8266MOD (bottom pin furthest from the Antenna).

Bryce.

Offline madram

  • CPC664
  • ***
  • Posts: 68
  • Country: fr
  • Liked: 44
  • Likes Given: 21
Re: Amstrad CPC WiFi
« Reply #423 on: 14:13, 04 July 16 »
Yes sure I'll take 2 (MX4 connector) with topping if possible: the wifi switcher!

Thank you very much.

Online Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.175
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3008
  • Likes Given: 5344
Re: Amstrad CPC WiFi
« Reply #424 on: 16:14, 05 July 16 »
@Duke how many boards have been made and shipped? It would be amazing to see some SD card based software to run on this board. My initial suggestions are below!
Ssh client



I can only dream of the day when I'll be managing the wiki from my CPC... mind blowing.


For example, if your wifi's name is WLAN_DRAC and the password CPCwikiRules, the command should be typed like this:
   


Best. WiFi. Password.