Author Topic: Amstrad CPC WiFi  (Read 330727 times)

0 Members and 1 Guest are viewing this topic.

Offline XeNoMoRPH

  • 6128 Plus
  • ******
  • Posts: 539
  • Country: es
  • " ... in space no one , can hear you scream ... "
  • Liked: 1076
  • Likes Given: 932
Re: Amstrad CPC WiFi
« Reply #2075 on: 12:56, 30 April 18 »
Hi again Duke .. i
I am trying to make the Z-MEM board work with the M4 and it is impossible for me .. I have moved all the jumpers that come in the Z-mem and I do not achieve anything
EDIT: fixed ...  bad connection .. it's my fault ... working fine now hehe

« Last Edit: 13:15, 30 April 18 by XeNoMoRPH »

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 #2076 on: 17:56, 01 May 18 »
Quite a few have asked for 3D printed case for later revisions of M4 board (v2.4 and v2.5).
Patrick (thanks!) has kindly shared this one for IDC connector:
https://www.thingiverse.com/thing:2858771
I got it printed and find it too snug to fit the m4. Back to a bare board for me.

Sent from my ONEPLUS 3t using Tapatalk

IRC:  #Retro4All on Freenode

Offline voXfReaX

  • CPC664
  • ***
  • Posts: 100
  • Country: gr
    • Benediction
  • Liked: 31
  • Likes Given: 29
Re: Amstrad CPC WiFi
« Reply #2077 on: 16:46, 02 May 18 »
Hello to everyone,


I have ordered a M4 board (v2.5), which can be adapted to work on both CPC old and CPC+ models.


Is there any printed 3D case available for the aforementioned M4 version OR the ones already available fit it as well?


Thanks,
Dimitris/ Voxy


 

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.398
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 793
  • Likes Given: 1674
Re: Amstrad CPC WiFi
« Reply #2078 on: 18:48, 02 May 18 »
Yes, just look 3 posts before yours.  :)
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 Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #2079 on: 20:26, 02 May 18 »
I got it printed and find it too snug to fit the m4. Back to a bare board for me.
Didn't try to print it myself yet. Do you think it would help scaling it a couple of percent? Most slicers will let you scale it when printing.

Offline voXfReaX

  • CPC664
  • ***
  • Posts: 100
  • Country: gr
    • Benediction
  • Liked: 31
  • Likes Given: 29
Re: Amstrad CPC WiFi
« Reply #2080 on: 21:41, 02 May 18 »
Yes, just look 3 posts before yours.  :)


Oops... I should arrange an appointment with an eye doctor pretty soon. Thanks  :)

Offline nonom

  • Speccy
  • *
  • Posts: 1
  • Country: es
  • Liked: 0
  • Likes Given: 0
Re: Amstrad CPC WiFi
« Reply #2081 on: 23:12, 02 May 18 »
Hi @Duke I'm interested, please send me a pm, if you are interested.
 
Thanks.

Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 491
  • Country: de
    • index.php?action=treasury
  • Liked: 243
  • Likes Given: 1213
Re: Amstrad CPC WiFi
« Reply #2082 on: 22:02, 10 May 18 »

xfer -u 10.0.0.38 $(NAME_PART).bin / 2 1000 1000
xfer -x 10.0.0.38 /$(NAME_PART).bin
Hi Duke,
just tried your little toolchain with RASM. What is the option "2" for uploading a file? 0=without header 1=with ASCII header 2=?.
When I try to execute a simple file like
Code: [Select]
org #8000
 ld a,64
 call #bb5a
ret
I do:
xfer -u 10.0.0.38 $(NAME_PART).bin / 2 8000 8000
[/size][/color]
and then
[/size][/color]
[/size][/color]
xfer -x 10.0.0.38 /$(NAME_PART).bin
[/size][/color]
But the CPC resets and the file isn't executed?
...proudly supported Schnaps Demo and Pentomino, NQ-Music-Disc with GFX

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #2083 on: 00:34, 11 May 18 »
just tried your little toolchain with RASM. What is the option "2" for uploading a file? 0=without header 1=with ASCII header 2=?.
Option 2 is for adding a binary header. (see https://github.com/M4Duke/cpcxfer and make sure you are using v2.0.3 for cpcxfer)
Quote
When I try to execute a simple file like
Code: [Select]
org #8000
 ld a,64
 call #bb5a
ret

Try adding jp &bb18 instead of the ret (so it waits for a keypress before returning to nothing).

The execution of that would be same as run"somefile.bin" on the CPC and a direct return would make the CPC reset.

Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 491
  • Country: de
    • index.php?action=treasury
  • Liked: 243
  • Likes Given: 1213
Re: Amstrad CPC WiFi
« Reply #2084 on: 09:52, 11 May 18 »
Thanks Duke.
I missed the 2.0.3. version because I justed looked on the Wiki page.


I will give it a try.

...proudly supported Schnaps Demo and Pentomino, NQ-Music-Disc with GFX

Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 491
  • Country: de
    • index.php?action=treasury
  • Liked: 243
  • Likes Given: 1213
Re: Amstrad CPC WiFi
« Reply #2085 on: 16:46, 11 May 18 »

hmmm, still doesn't work...
The CPC resets with the result below.
...proudly supported Schnaps Demo and Pentomino, NQ-Music-Disc with GFX

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #2086 on: 23:59, 11 May 18 »
hmmm, still doesn't work...
The CPC resets with the result below.

Works fine here, with your example
Code: [Select]
org 0x8000
ld a,65
call 0xbb5a
jp 0xbb18

But you are running 2.0.4 beta 10, maybe there's a bug in it (not tested).
Can you try release version 2.0.4 ?
Code: [Select]
NPP_EXEC: "rasm"
CD: C:\rasm
Current directory: C:\rasm
rasm hal.s -o  hal
Process started >>>
Pre-processing [hal.s]
Assembling
Write binary file hal.bin (8 bytes)
<<< Process finished. (Exit code 0)
================ READY ================

CD: C:\rasm
Current directory: C:\rasm
xfer -u 10.0.0.38 hal.bin / 2 8000 8000
Process started >>>
Upload OK!
<<< Process finished. (Exit code 0)
xfer -x 10.0.0.38 /hal.bin
Process started >>>
Running /hal.bin
<<< Process finished. (Exit code 0)
================ READY ================
« Last Edit: 00:06, 12 May 18 by Duke »

Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 491
  • Country: de
    • index.php?action=treasury
  • Liked: 243
  • Likes Given: 1213
Re: Amstrad CPC WiFi
« Reply #2087 on: 11:36, 12 May 18 »

I found the reason: it's not the version, it is the folders decleration with xfer -u
If I do all the stuff in the roots folder then everything is fine.


By the way: the BIN file is transfered properly (in every version and every folder) onto the SD card. (If I run the code manually with "memory &7fff:load "test.bin":call &8000" it works as expected).


The only thing what doesn't work is running the file via "xfer -x ..." in a SUB-folder.


HAL6128
...proudly supported Schnaps Demo and Pentomino, NQ-Music-Disc with GFX

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #2088 on: 17:04, 12 May 18 »
The only thing what doesn't work is running the file via "xfer -x ..." in a SUB-folder.

I see. Will check it out soon, thanks.

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 780
  • Country: es
  • Liked: 628
  • Likes Given: 429
Re: Amstrad CPC WiFi
« Reply #2089 on: 15:21, 27 May 18 »
Hi @Duke
One question

is possible with xfer to load the binary on a remote cpc (with internet public ip)?
Is necessary to open ports?
Thankyou!

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #2090 on: 18:13, 27 May 18 »
is possible with xfer to load the binary on a remote cpc (with internet public ip)?
Is necessary to open ports?
Yes, you will need to forward port 80 on your router to your CPC, then it should work fine with your external ip over the internet.

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 780
  • Country: es
  • Liked: 628
  • Likes Given: 429
Re: Amstrad CPC WiFi
« Reply #2091 on: 00:13, 10 June 18 »
Hi again @Duke

Thankyou for all your help!
I'm doing a loader for a game that makes savegames to disk.
are the cas out routines of the firmware working on the M4?

thankyou!!
P.S. is the buffer of 2k used on disc/amsdos or the data is directly writed on floppy?
« Last Edit: 00:15, 10 June 18 by Joseman »

Offline VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.130
  • Country: gr
    • Parts from the past.
  • Liked: 621
  • Likes Given: 1587
Re: Amstrad CPC WiFi
« Reply #2092 on: 00:55, 10 June 18 »
No luck with Shinobi as this CPC has no disk drive.
Tried to make the tape version to .dsk with 100% success... not  :picard:

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 780
  • Country: es
  • Liked: 628
  • Likes Given: 429
Re: Amstrad CPC WiFi
« Reply #2093 on: 01:05, 10 June 18 »
No luck with Shinobi as this CPC has no disk drive.
Tried to make the tape version to .dsk with 100% success... not  :picard:
I made modifications to a cracked shinobi to work on m4 some time ago...
do you want to try it?

Offline VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.130
  • Country: gr
    • Parts from the past.
  • Liked: 621
  • Likes Given: 1587
Re: Amstrad CPC WiFi
« Reply #2094 on: 02:43, 10 June 18 »
I made modifications to a cracked shinobi to work on m4 some time ago...
do you want to try it?


YES!
Please.

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 780
  • Country: es
  • Liked: 628
  • Likes Given: 429
Re: Amstrad CPC WiFi
« Reply #2095 on: 02:55, 10 June 18 »

YES!
Please.
Try it
It was a quick little hack, i don't remember exactly what i'd done
http://s000.tinyupload.com/index.php?file_id=78206317051926767285

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #2096 on: 07:21, 10 June 18 »
I'm doing a loader for a game that makes savegames to disk.
are the cas out routines of the firmware working on the M4?
Yes, as long as you are not inside a DSK.
Quote
P.S. is the buffer of 2k used on disc/amsdos or the data is directly writed on floppy?
It is used for cas_out_char.

No luck with Shinobi as this CPC has no disk drive.
Tried to make the tape version to .dsk with 100% success... not  :picard:

The XOR cracked version, runs fine. Both 64KB and 128KB version.

Offline VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.130
  • Country: gr
    • Parts from the past.
  • Liked: 621
  • Likes Given: 1587
Re: Amstrad CPC WiFi
« Reply #2097 on: 12:48, 10 June 18 »
Thank you very much for the file!


Duke, I tried all versions from cpc power and whatever was on my HDD with no results.


I have a Bruce Lee version that works if anyone wants it.

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.138
  • Country: dk
    • spinpoint.org
  • Liked: 1226
  • Likes Given: 918
Re: Amstrad CPC WiFi
« Reply #2098 on: 12:52, 10 June 18 »
Duke, I tried all versions from cpc power and whatever was on my HDD with no results.
You must set M4 rom to 7 as xors crack re-init rom 7. If your CPC cant replace rom7 (regular 6128), use the modified lowerrom from here: http://www.cpcwiki.eu/index.php/M4_Board
Almost all games should run just fine, once you use that or set M7 to rom 7 directly.

Offline Shaun M. Neary

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.349
  • Country: 00
  • Read error a
  • Liked: 468
  • Likes Given: 426
Re: Amstrad CPC WiFi
« Reply #2099 on: 12:54, 10 June 18 »
Setting the M4 to ROM 7 and ParaDOS to ROM 6 has given me the best results so far.
Give that a go, maybe?