News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Duke

Amstrad CPC WiFi

Started by Duke, 07:36, 07 May 16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GUNHED

Awesome Duke! Thanks!!!  :) :) :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

abalore

Quote from: Duke on 14:10, 05 January 19
M4 Firmware v2.0.5 beta 8 now available.
Download here: http://www.spinpoint.org/cpc/M4FIRM_v205b8.zip
Unpack to root of your microSD.


       
  • Fix DSK file size 0 bug
  • Fix |longname / C_FSTAT bug, now (again) displaying long filenames properly.
  • Fix Hack menu - Slowdown keyboard reading.
  • Added Hack menu - Support full keyboard character set (QWERTY only for now).
  • Added Hack menu - Pokes (Press ESC when done entering pokes)
  • Added Hack menu - Display memory


Awesome. That's going to boost the M4 utilities development dramatically.

dxs

Hi @Duke I made this for AZERTY keyboard. I removed all characters which aren't accepted by AMSDOS (including space), and included all the allowed ones. Should be error-free but who knows  ::)
If this is what you want to do I can correct the QWERTY one to include only AMSDOS allowed characters as well.

key_translate:
        db '.', 13,'3','6','9',0x0,0x0,0x0  ; numeric keys
        db '0','2','1','5','8','7',0x0,0x0  ; numeric keys
        db 0x0,0x0,0x0,'4','#', 13,0x0,0x0
        db 0x0,0x0,'m',0x0,'p','^',0x0,'-'
        db 0x0,0x0,'k','l','i','o',0x0,'à'
        db 0x0,'n','j','h','y','u','è',0x0
        db 'v','b','f','g','t','r',0x0,0x0
        db 'x','c','d','s','z','e',0x0,'''
        db 'w',0x0,'q',0x0,'a', 27,'é','&'
        db 0x8,0x0,0x0,0x0,0x0,0x0,0x0,0x0
key_translate_shift:
        db '.', 13,'3','6','9',0x0,0x0,0x0 ; numeric keys
        db '0','2','1','5','8','7',0x0,0x0 ; numeric keys
        db 0x0,0x0,0x0,'4',0x0, 13,0x0,0x0
        db '/','+','M',0x0,'P',0x0,0x0,0x0
        db '.',0x0,'K','L','I','O','9','0'
        db 0x0,'N','J','H','Y','U','7','8'
        db 'V','B','F','G','T','R','5','6'
        db 'X','C','D','S','Z','E','3','4'
        db 'W',0x0,'Q',0x0,'A', 27,'2','1'
        db 0x8,0x0,0x0,0x0,0x0,0x0,0x0,0x0

Duke

Quote from: dxs on 00:09, 06 January 19
Hi @Duke I made this for AZERTY keyboard. I removed all characters which aren't accepted by AMSDOS (including space), and included all the allowed ones. Should be error-free but who knows  ::)
If this is what you want to do I can correct the QWERTY one to include only AMSDOS allowed characters as well.

Cool, thank you so much @dxs ! Will add it soon.
As for the QWERTY one, I will clean it myself, I can allow for some more characters than AMSDOS, since it will only save to microSD , so what's allowed with FAT32, or lets rather say OS restrictions.
These will not be allowed, maybe there is more : * ? < > | "
And then there is special characters for ie. : Ç ü
Which I don't have in my (lowerrom stolen) font.

Thanks!

Duke

Quote from: abalore on 20:53, 05 January 19

Awesome. That's going to boost the M4 utilities development dramatically.
It can be used as sort of a breakpoint to see, regs and mem for debugging yes.
Be aware, if you interrupt while a command is being sent to the M4, the part of the command that was send will be lost when resumed (maybe I will think of a solution for this). In fact the hack menu might crash.
So you would most likely, just do a "endless: jr endless" in your code where you want to check out things.

Duke

M4 Firmware v2.0.5 beta 9 now available.
Download here: http://www.spinpoint.org/cpc/M4FIRM_v205b9.zip
Unpack to root of your microSD.

Fix Hack menu - Flaw in IM 2 detection.
Fix Hack menu - Resume "some games" (Pinball Fantasies, atleast on my one CPC).
Added Hack menu - AZERTY keyboard support (Huge thanks to @dxs for the painful keymap table! And thanks to @ZbyniuR for the keyboard detection method).

francouai

graphic issue after resuming is now fixed;  Keyboard input Speed is also fixed; AZERTY layout works
Monster Duke!  :-*
--
francois

Duke


It's me again :P (gahhh !)

M4 Firmware v2.0.5 beta 10 now available.
Download here: http://www.spinpoint.org/cpc/M4FIRM_v205b10.zip
Unpack to root of your microSD.

Added ability to launch hack menu via external button.

It requires soldering two wires to the M4 PCB (the wifi module).

If you are happy not using Hack Menu or just launching it from the WEB interface, no reason to make this modification.
If you decide to solder on the switch, be aware it is at your OWN risk.
Be careful not to short the wires to the metal housing of the ESP12F module. I recommend to isolate the wires at the resistor and button to avoid an accidental short.

The instructions in the below pictures.


Rennert

Great[emoji3]
...KC Compact

francouai

Rennert > very nice switch install.My M4 is not like yours, so I cannot do the same.

--
francois

Rennert

Quote from: francouai on 08:03, 08 January 19
Rennert > very nice switch install.My M4 is not like yours, so I cannot do the same.
I have board Rev. 2.0
...KC Compact

Duke

Yes, nice mod by @Rennert .

In fact those with rev. <=v2.4D boards can take both signals from the top header.
If you have IO5 label on the top header, you can take it from there as well as GND.

Rennert

Yes with SMD resistor can place the button directly between GND and IO5. But I like the button on outer edge.
...KC Compact

GUNHED

Hi Duke! Great update! Just gave you like #999, would give you 999 more if possible. Just awesome!!!  :) :) :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

dxs

#2339
Enabling the hack menu with a button is awesome! The AZERTY support works perfectly, apart maybe from missing "é è à", and "^" which returns "(up arrow sign)". Absolutely not very important at all :-) Maybe slow down a bit the up down selection in the main hack menu, sometimes I get double line changes (like in previous beta when typing snapshot name).
I also got (uncommon) crashes when saving in games, would providing the .sna help diagnose the failure mode?

Here is my M4 setup if this can give some ideas, the hack switch is just above the USB stick of the drive, the red button behind (in the 12v plug hole) is the M4 reset switch.
















Duke


Looks great :)

Quote from: dxs on 19:09, 10 January 19
I also got (uncommon) crashes when saving in games, would providing the .sna help diagnose the failure mode?

Just tell me the games, which do occasionally crash, then I can try to test those.
Be aware that any navigation in the webui or ie. loading via the M4 while pressing the hack button, may result in a crash. It's cause any ongoing M4 commands will be corrupted, so safest bet is probably to pause a game then, activate hack (or be sure it's not in the process of loading from the microSD).
I will work on a solution so M4 commands can be interrupted without corruption.

dxs

#2341
I got a crash tonight in Arkanoid (a trained one out of a huge cracked game pack - can provide game files). Doesn't crash very often at all, maybe depends on power ups or something else in game.
I had no computer connected to the WiFi , just the CPC on its own. The crash happened when resuming from hack menu, and later launching the saved .sna resulted in the same crash.

francouai

nice install.but by using your M4 card, you don't no need any more a Gotek drive.install back the original 3" floppy drive.
--
francois

dxs

Original drive was beyond repair  :-[

GUNHED

There are lots of buggy Arkanoid versions out there (problems after some levels or near the end).

If there are problems with a game on M4 card, then it's good to test the disc version on real disc too. Often the crack has problems per se.

Also, it's good to use the newest firmware update.  ;) :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

francouai

I just did the mod on my M4.         I had only one resistor of 2K ohms  :-[ but it do the trick too.
here it is some pictures:    I realised that the game RAMBO doesn't break by pressing the hack switch.
--
francois

deepfb

#2346
Does the M4 work on a KC Compact? Yes, it does :D


And some pictures on how I modified the M4 cards. Old version:



New version:



Savestates/snapshots work like a charm -thank you very much for it!

genesis8

I am trying to launch the GnG CPC+ version of xifos (http://www.cpcwiki.eu/forum/games/ghosts'n-goblins-gx4000-is-out-!/msg160770/#msg160770) but it doesnt work, either using web interface or ctrup and ctr RSX commands.


Did someone already try this CPR file ?
____________
Amstrad news site at Genesis8 Amstrad Page

genesis8

Another question, I try to use firmware 3.1.2 english as my CPC+ is french and hibernated 1 doesnt like it (cant use the letter M).


I check lower rom, upload it in slot 31 but I still have the regular lower rom. Is it possible with a CPC+ ?
____________
Amstrad news site at Genesis8 Amstrad Page

Duke

Quote from: dxs on 21:49, 10 January 19
I got a crash tonight in Arkanoid (a trained one out of a huge cracked game pack - can provide game files). Doesn't crash very often at all, maybe depends on power ups or something else in game.
I had no computer connected to the WiFi , just the CPC on its own. The crash happened when resuming from hack menu, and later launching the saved .sna resulted in the same crash.
Thanks. Will test when I have a bit more time! and in this case .sna + cracked game may be useful, if you still have it.

Quote from: genesis8 on 16:43, 13 January 19
Another question, I try to use firmware 3.1.2 english as my CPC+ is french and hibernated 1 doesnt like it (cant use the letter M).


I check lower rom, upload it in slot 31 but I still have the regular lower rom. Is it possible with a CPC+ ?
I think for CPC plus, you will need to upload Basic 1.1 to from a regular CPC6128 to slot 0 aswell, for FW3.1.X to work.


Quote from: genesis8 on 12:14, 13 January 19
I am trying to launch the GnG CPC+ version of xifos (http://www.cpcwiki.eu/forum/games/ghosts'n-goblins-gx4000-is-out-!/msg160770/#msg160770) but it doesnt work, either using web interface or ctrup and ctr RSX commands.

Oups !
In fact no CPC plus cartridges work anymore. I broke it in an earlier beta.

Here is a fix.....

M4 Firmware v2.0.5 beta 11
Download from  http://www.spinpoint.org/cpc/M4FIRM_v205b11.zip
And unpack to the root of your microSD card.

       
  • Fix CPC plus cartridge support(broken in earlier beta).

Powered by SMFPacks Menu Editor Mod