Author Topic: Amstrad CPC WiFi  (Read 330368 times)

0 Members and 2 Guests are viewing this topic.

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #250 on: 20:52, 06 June 16 »
Cool that's good to hear. What CPC do you use btw.?

Hi

Got it tonight, tested it, works like a charm :)


Thanks a lot

Offline dirtybb

  • CPC664
  • ***
  • Posts: 68
  • Country: fr
  • Liked: 28
  • Likes Given: 97
Re: Amstrad CPC WiFi
« Reply #251 on: 21:05, 06 June 16 »
Cool that's good to hear. What CPC do you use btw.?


Amstrad CPC 6128

Offline rcmolina

  • CPC464
  • **
  • Posts: 16
  • Country: es
  • Liked: 6
  • Likes Given: 8
Re: Amstrad CPC WiFi
« Reply #252 on: 23:21, 06 June 16 »

Hi Duke,

Also wanted 1x M4 board with edge connector for my CPC6128 .


Is it possible or it's too late?

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #253 on: 23:54, 06 June 16 »
Hi

You are not too late for second batch, I've added you. But please have patience list is long. Made some progress today, 5 more boards almost ready, but parts are coming in too slow atm. Probably it will change in a couple of days and I have more parts than I can manage to build boards.
Regards,

Duke
Hi Duke,

Also wanted 1x M4 board with edge connector for my CPC6128 .


Is it possible or it's too late?

Offline reidrac

  • Supporter
  • 6128 Plus
  • *
  • Posts: 691
  • Country: gb
  • Trying to gamedev!
    • index.php?action=treasury
    • usebox.net
  • Liked: 1186
  • Likes Given: 729
Re: Amstrad CPC WiFi
« Reply #254 on: 22:38, 07 June 16 »
I got mine! So far, very impressed. Excellent hw!

I can't seem to be able to make CD to work, I always get "Type mismatch" error.

This is a CPC 464 with no expansions.

EDIT: also tried run"file.bin" and I get "Line too long" error. Forget about this one, I'm stupid and the binary didn't have the appropriate header.

Still can't make the CD command work. Wireless works perfect, though.
« Last Edit: 23:56, 07 June 16 by reidrac »
Released The Return of Traxtor, Golden Tail, Magica and The Dawn of Kernel for the CPC.

If you like my games and want to show some appreciation, you can always buy me a coffee.

Offline anyf33

  • CPC464
  • **
  • Posts: 44
  • Country: gr
  • devilmarkus come back
  • Liked: 10
  • Likes Given: 65
Re: Amstrad CPC WiFi
« Reply #255 on: 00:51, 08 June 16 »
i also got mine !!!
and finaly works !!!  ;D ;D ;D ;D ;D ;D
HINT To other users:dont forget to set an ip from your router. to work . otherwise with http://10.0.0.37 will not work!!

Thank you Duke again for your excelent support
« Last Edit: 01:00, 08 June 16 by anyf33 »

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.236
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 992
  • Likes Given: 2278
Re: Amstrad CPC WiFi
« Reply #256 on: 00:55, 08 June 16 »
Reidrac, on basic 1.0 the syntax of the CD command is:

A$="name":|CD,@A$

Offline reidrac

  • Supporter
  • 6128 Plus
  • *
  • Posts: 691
  • Country: gb
  • Trying to gamedev!
    • index.php?action=treasury
    • usebox.net
  • Liked: 1186
  • Likes Given: 729
Re: Amstrad CPC WiFi
« Reply #257 on: 08:01, 08 June 16 »
Reidrac, on basic 1.0 the syntax of the CD command is:

A$="name":|CD,@A$

I'll try that, thanks!

EDIT: works perfect! This is an amazing card for the CPC, thanks @Duke !
« Last Edit: 21:29, 08 June 16 by reidrac »
Released The Return of Traxtor, Golden Tail, Magica and The Dawn of Kernel for the CPC.

If you like my games and want to show some appreciation, you can always buy me a coffee.

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 #258 on: 08:15, 08 June 16 »
Noob question.

Is there any way a ROM can create KEY DEF's?

If yes, then maybe one could do

KEY DEF 0,"a$="+chr$(34)
KEY DEF 1,"|cd,@a$"+chr$(13)
KEY DEF 2,"|cd,@a$"+chr$(13)+"cat"+chr$(13)
and so forth

to speed up the process.

Offline reidrac

  • Supporter
  • 6128 Plus
  • *
  • Posts: 691
  • Country: gb
  • Trying to gamedev!
    • index.php?action=treasury
    • usebox.net
  • Liked: 1186
  • Likes Given: 729
Re: Amstrad CPC WiFi
« Reply #259 on: 08:16, 08 June 16 »
Noob question.

Is there any way a ROM can create KEY DEF's?

If yes, then maybe one could do

KEY DEF 0,"a$="+chr$(34)
KEY DEF 1,"|cd,@a$"+chr$(13)
KEY DEF 2,"|cd,@a$"+chr$(13)+"cat"+chr$(13)
and so forth

to speed up the process.

Well, is not that bad. Definitely faster than using tape :)
Released The Return of Traxtor, Golden Tail, Magica and The Dawn of Kernel for the CPC.

If you like my games and want to show some appreciation, you can always buy me a coffee.

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 #260 on: 08:22, 08 June 16 »
Well, is not that bad. Definitely faster than using tape :)

True, but if it's not a problem, then why not use the F-keys for various commands like this?
F0 = Set a$
F1 = CD a$
F2 = CD a$ and CAT
F3 = DELETE a$
F4 = RENAME a$ to b$
F9 = Set b$
and so forth.

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #261 on: 09:26, 08 June 16 »
It's a good idea. I don't know how to do that from assembler though. Even better would be I think, if you just typed ie |cd [return] it would write a ? and you could type dirname or use shift+curser keys and copy, it's definately possible but a bit of work :) -Maybe if someone is bored? I would add it to the rom.
True, but if it's not a problem, then why not use the F-keys for various commands like this?
F0 = Set a$
F1 = CD a$
F2 = CD a$ and CAT
F3 = DELETE a$
F4 = RENAME a$ to b$
F9 = Set b$
and so forth.
« Last Edit: 09:30, 08 June 16 by Duke »

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #262 on: 22:15, 08 June 16 »
Glad to hear you like it :)

 - Don't forget to try the cpcxfer program, if you want to quickly move files for testing from pc to cpc.

xfer -u <cpc ip> FILE.BIN / 0   
( '/' indicating the file should be stored in root, '0' assuming the file has prebuild amsdos header. )

I'll try that, thanks!

EDIT: works perfect! This is an amazing card for the CPC, thanks @Duke !

Offline reidrac

  • Supporter
  • 6128 Plus
  • *
  • Posts: 691
  • Country: gb
  • Trying to gamedev!
    • index.php?action=treasury
    • usebox.net
  • Liked: 1186
  • Likes Given: 729
Re: Amstrad CPC WiFi
« Reply #263 on: 22:18, 08 June 16 »
Glad to hear you like it :)

 - Don't forget to try the cpcxfer program, if you want to quickly move files for testing from pc to cpc.

xfer -u <cpc ip> FILE.BIN / 0   
( '/' indicating the file should be stored in root, '0' assuming the file has prebuild amsdos header. )

I can start a simple HTTP server in my laptop and download things too.  I love this a lot!

I was wondering if there would be a way of getting a socket interface so we can implement things like telnet on the CPC (just daydreaming).
Released The Return of Traxtor, Golden Tail, Magica and The Dawn of Kernel for the CPC.

If you like my games and want to show some appreciation, you can always buy me a coffee.

Offline radu14m

  • 464 Plus
  • *****
  • Posts: 392
  • Country: ro
  • Follow your dreams and believe !
  • Liked: 67
  • Likes Given: 545
Re: Amstrad CPC WiFi
« Reply #264 on: 22:19, 08 June 16 »
@Duke: you let us know when we should send you the money ?  ;)

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #265 on: 22:26, 08 June 16 »
Not yet, but it's on the to do list.
I was wondering if there would be a way of getting a socket interface so we can implement things like telnet on the CPC (just daydreaming).

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #266 on: 22:27, 08 June 16 »
Yes, I will pm each one of you with details, when your board is ready.

@Duke: you let us know when we should send you the money ?  ;)

Offline SRS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 562
  • Country: de
  • Schneider CPC464 - what else ?
  • Liked: 547
  • Likes Given: 289
Re: Amstrad CPC WiFi
« Reply #267 on: 00:23, 09 June 16 »
Yes, I will pm each one of you with details, when your board is ready.

I can confirm that. Undusting my 464 tomorrow :)

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.177
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3009
  • Likes Given: 5346
Re: Amstrad CPC WiFi
« Reply #268 on: 13:28, 09 June 16 »
Hmmm looks like I missed quite a few posts in this thread... hope I didn't lose my position in the queue :D

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 #269 on: 18:21, 09 June 16 »
A technical question: Reading the docs it seems like that the M4 hast two ports. Now one sends a command (and maybe data bytes) to one port and then the command is 'ended' by sending a byte to the other port. That's a fine way to do it.  :)

Now, to get the result data, one will read values out or ROM 7 (or 6, depending on CPC model). This is fine for any application residing in RAM. And since this is kind of memory mapped I/O it's probably super fast.  :)

Now my question: Instead of reading data from the ROM, is there a possibility to read it from I/O ports instead?

The reason for asking is that a ROM program can't directly access another ROM without a routine to read, previously put into RAM.

It's not a problem, I'm just curious.  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #270 on: 18:42, 09 June 16 »
Actually it could be any rom (6 and 7 are just default choices, it can be set in the config which rom it maps), so it's best to lookup the rom some way.
Currently it is not possible to read data back via I/O ports.
- Not sure if it ever will be, the timing in the ARM handler loop is very tight, a instruction in the wrong place could break it all :)
I see what you mean though, but again a small handler put into ram could do the trick from rom to rom (as you said).

A technical question: Reading the docs it seems like that the M4 hast two ports. Now one sends a command (and maybe data bytes) to one port and then the command is 'ended' by sending a byte to the other port. That's a fine way to do it.  :)

Now, to get the result data, one will read values out or ROM 7 (or 6, depending on CPC model). This is fine for any application residing in RAM. And since this is kind of memory mapped I/O it's probably super fast.  :)

Now my question: Instead of reading data from the ROM, is there a possibility to read it from I/O ports instead?

The reason for asking is that a ROM program can't directly access another ROM without a routine to read, previously put into RAM.

It's not a problem, I'm just curious.  :)
« Last Edit: 18:44, 09 June 16 by Duke »

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #271 on: 19:24, 09 June 16 »
@TFM

I may make it possible to replace M4 rom in a coming upgrade if there's interest for that, this way you could have the receive buffer in your own rom.

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 #272 on: 20:04, 09 June 16 »
It's a shocking cool system you are applying here.  :)  A MPU feeding the CPC in realtime data by simulating a ROM.  :)  Never thought that this one day will happen.  :)


To be able to 'choose' another ROM would be interesting indeed. Well, I'm really looking forward to use the M4 expansion card. That's IMHO the biggest quantum jump forward in the history of the CPC.  :o
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline SRS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 562
  • Country: de
  • Schneider CPC464 - what else ?
  • Liked: 547
  • Likes Given: 289
Re: Amstrad CPC WiFi
« Reply #273 on: 22:57, 09 June 16 »
So, the access to SD-Card on a Schneider CPC464 with nothing else connected (like DDI) ....

WORKS !

ha[attachimg=1]

And @EgoTrip : Amy works , too :)

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 #274 on: 23:33, 09 June 16 »
One question.. If the m4 ROM is moved to slot 6 with amsdos (or parados in 7) are the floppies and the sdcard accessible, and if so which drive letter does the SD card use? |S maybe or |M for SD or Mass Storage accordingly? If this works then this will be perfect.
IRC:  #Retro4All on Freenode