M4 Board – a very simple name for a great board for the Schneider CPC – this time from Denmark. I ordered my version with a connector for the already familiar Mother X4.
Production of the board has since been discontinued (see Update 2025 further down). Fortunately, though, the firmware is relatively easy to update.
The M4 offers a slot for a microSD card and Wi-Fi! The board can be powered directly by the CPC or via a USB power supply. There is a jumper on the M4 for setting this. If EXT is selected, the CPC’s power supply is used; if USB is selected, the USB port is used.
There are two status LEDs:
ON – shows whether the board is receiving power (blue LED)
DD – Disc Drive – this LED flashes when the SD card is being read from or written to
The switch on the M4 can be used to reboot both the board and the CPC.
Usage
Insert a microSD card into the M4 Board. It is best formatted as FAT32. Then switch on the CPC.
From this point on, the SD file system can be used – e.g. SAVE/LOAD/RUN/CAT and so on.
LOAD/SAVE should behave as normal – if no file extension is given, it is added automatically (., .bas, .bin) – .bak files are created when files are overwritten with SAVE.
If you want to use the web interface, the ROM board, the real-time clock or file downloads from the internet, you need to configure the network.
This can be done with an RSX command: |netset,"parameters"
Parameters
name – NetBIOS name, use capital letters and numbers only
ssid – name of the Wi-Fi network (case-sensitive)
pw – Wi-Fi network password
dhcp – 0 = disables DHCP and uses a static IP, 1 = uses DHCP (the static IP settings are ignored)
ip – static IP for the CPC
gw – network gateway
nm – network netmask (normally 255.255.255.0)
dns1 – DNS server (e.g. Google: 8.8.8.8)
dns2 – backup DNS server (e.g. Google: 8.8.4.4)
ntp – NTP time server – used to obtain the time
tz – time zone – can be +/- 12 hours – set it to your own time zone
start – with start=1 the settings are not applied yet. This is intended for parameters longer than the 255 characters of a BASIC line: you then enter the command in two parts.
Example when using a DHCP server
|netset,"name=CPC6128, ssid=NETGEAR, pw=12345678, dhcp=1, dns1=8.8.8.8, dns2=8.8.4.4"
That is enough to get you ready for the internet. The remaining settings can be made via the M4 Board’s web interface.
Checking the settings|netstat
if the connection is working, the IP address is displayed
Enter this IP address (or the NetBIOS name you set earlier) into a browser and make the remaining settings under “settings”.
If you use the NetBIOS name:http://CPC6128
It may take a moment the first time, as the computer first has to associate the NetBIOS name with the IP address.
If you use the IP address:http://192.168.178.203
After the initial set-up, the settings are saved on the microSD card in the folder m4 as config.txt. This file can also be edited, so you can make changes directly. The next time you switch on, these settings are loaded and the CPC is connected to the internet automatically. It is recommended to use a static IP (rather than DHCP), as the M4 Board then connects almost instantly.

File system
For compatibility reasons, file names are shown in 8.3 format. Directory names are shown in full if they are fewer than 17 characters long. If they are longer, short names are used.
Commands
The same commands are used as on the original system, e.g. load, save, run, openin, openout, cat and so on.
To work properly with directories, Wi-Fi and more, some RSX commands with extended capabilities have been added.
On CPCs with BASIC 1.0 (e.g. the CPC464), RSX commands work a little differently: the parameters cannot be passed to the RSX directly. You have to use a variable instead.
For example, changing into a subdirectory (the directory is called DISCS)
BASIC 1.0:A$="DISCS":|cd,@A$
BASIC 1.1:|cd,"DISCS"
Important commands and what they do
|CD – change directory, as familiar from DOS|cd,"games" – changes into the directory “games”|cd,"games/batman" – changes into the directory “games/batman”|cd,".." – goes back one directory|cd,"/" – returns to the root directory of the SD card
DSK files, which are used by many emulators, can also be used like directories|cd,"robocop.dsk" – goes into the DSK file as if it were a folder|cd,".." – jumps back out of the DSK file
Note: DSK files are currently read-only!
|DISC – switches to the AMSDOS disc drive, if there is one
|SD – switches to the M4 (microSD)
|TAPE – switches to cassette
|SNA – starts a snapshot image|SNA,"FRANKIE.SNA"
|COPYF – copies a file|copyf,"test.bas","test2.bas" (source file, destination file)
|FCP – copies files between microSD and floppy disks|FCP,"FILE.BIN","A:" – copies FILE.BIN to drive A
With this command, the SD card can be addressed using drive letter C|FCP,"A:FILE.BIN","C:" – copies FILE.BIN from drive A to the current directory on the microSD card
Wildcards can be used: “*” copies all files from a disk into a directory|FCP,"A:*","C:" – copies all files from disk A into the current directory

|REN – renames a file (new name first, then the old one)|ren,"new.bas","old.bas"
Just as with CPC disks, the command can also be used to move a file or folder from one directory to another|ren,"games/robocop.dsk","robocop.dsk" – moves the file from the current directory into the directory “games”
|ERA – deletes a file or directory
Wildcards can be used to delete several files or directories|era,"*.bak" – deletes all .bak files in the current directory|era,"games/r*.d?k" – deletes all matching files in the directory “games”
|MKDIR – creates a directory|mkdir,"games/discs" creates a subfolder in the directory “games”
|DIR – shows the contents of a directory – just as with CPC disks – wildcards can be used, similar to the CAT command|dir,"games/discs/b?t*.dsk" and so on.
|LS – shows directories with long file names – the maximum length depends on the screen mode (15, 35 or 75 characters)
|DSKX – extracts a DSK|dskx,"somedisk.dsk","/path"
|TIME – shows the current time, if a suitable NTP server has been configured
|NETSET – see the basic settings above
|NETSTAT – shows the current status of the network connection
|HTTPGET – downloads a file from the internet into a particular directory
Parameters: url:port/name
If no port is specified, port 80 is used|httpget,"spinpoint.org:80/battro.dsk" or|httpget,"spinpoint.org/battro.dsk"
|HTTPMEM – downloads a file from the internet into memory; the maximum size in one go is 0x4000 bytes, but an offset can be specified, so more can be loaded in chunks
Parameters: url:port/name, memory address, number of bytes to read|HTTPMEM,"spinpoint.org/cpc/FIST.BIN",&C000,&4000
Example with an offset: |HTTPMEM,"spinpoint.org/battro.dsk, offset=0x10000",&8000,&1000
|ROMUP – loads a ROM into a particular slot (files from the microSD card only).|ROMUP,"UTOPIA.ROM",15 – loads the Utopia ROM into slot 15
|M4ROMOFF – disables the M4 ROM until the next restart – used when you need access to the normal disc drive or want to start a CPC+ cartridge
|CTRUP and |CTR – for CPC+ owners: load and start cartridge images (from firmware 2.0.4)
|VERSION – shows the current firmware version of the ESP8266 and the Cortex M4
|UPGRADE – downloads the latest firmware from the internet, if available. The M4 Board then has to be restarted – either with the reset switch or by switching it off and on again. The upgrade process then starts, and when it has finished, the board shows the normal start-up message again.
My experience
I had already copied a few DSK files to the SD card beforehand. First I unplugged all the other interfaces from the Mother X4 board, plugged in the M4 board and switched on the CPC – not good. So a power supply for the Mother X4 after all (I use 5V 1A). Now everything is fine after switching on. The first thing I typed was CAT, and lo and behold: that already works. The SD card is addressed as A: (with |FCP, on the other hand, it is C:, and there A: stands for the disc drive). Next I set up the Wi-Fi with |NETSET and got an IP address back with |NETSTAT. Sorted 🙂 Having already read about a firmware update in the CPC forum, I tried |UPGRADE and updated to version 1.03. Next I tested the web interface (enter the IP address shown by |NETSTAT). It has several tabs – including ones for file upload, the ROM board and the settings. Everything is very clearly laid out and in CPC style. I “uploaded” another DSK file using the file upload – after CAT on the CPC, I found the file on the SD card too. A DSK file can also be “started” – first “open” the file (disk) with |CD,"WESTBANK.DSK" and start it with RUN" – that works too. If the DSK file name is longer than 8 characters, it looks like this: WESTBA~1.DSK – it can still be opened; the ~ character can be displayed with Control+2. Directory names can be up to 16 characters long.
Testing beta firmware
Beta versions of the firmware appear from time to time – you just need to copy the files to the root directory of the SD card and switch on the computer, and the upgrade is carried out. Once it has finished, the files are removed automatically.
Using it together with XMEM
Since the M4 Board also offers 32 ROM slots, this can overlap with the XMEM. The easiest solution is to disable the XMEM’s ROM slots (set the jumper below the large chip to NO). If you want to use 64 ROM slots (XMEM and M4 together), you have to set the start position of the ROM slots to 32 via the M4’s web interface, so that the M4 slots are mapped after the XMEM slots. However, this can cause problems with the position of the M4 ROM, unless you have a CPC 6128 where ROM 7 can be replaced.
Using ParaDOS
Can ParaDOS be used with the M4? It normally replaces AMSDOS in slot 7
-> the M4 ROM can be used in slot 5, and ParaDOS is then loaded into slot 6.
Important firmware changes
According to the documentation, the latest release is version 2.0.8. An overview of the changes since 2.0.4:
v2.0.4 (previously available as Beta 6 and Beta 8)
– many bug fixes for DSKs – games such as Chibi Akuma now show a loading screen again, and games with fragmented blocks, such as Ninja Grannies and other games by Joseman, now run
– new command |dskx – extracts a DSK. It lets you extract the files from a DSK image. Usage: |dskx,"somedisk.dsk","/path"
– for CPC+ owners: the |CTRUP and |CTR commands for cartridge images
– If 512 KB CPR files (cartridges) are to be used, the upper 16 ROMs of the M4 ROM board have to be sacrificed. Just tick “only 16 roms” on the ROM page in the web interface.
– The option to upload cartridges to the M4 via the web interface and start them was also added.
– You can now also change disks via the web interface – press [CD ON CPC] once the disk has been selected.
v2.0.5
– support for compressed SNA snapshots (v3) and the |ROMSOFF command
– new: the Hack Menu, with snapshots, pokes, memory display and AZERTY support
– |HTTPGET gained the @ and > symbols
– bug fixes for CPC+ cartridges and some Amsoft games
v2.0.6
– fixed a bug in |FCP that corrupted AMSDOS files when copying from microSD to disk
– uploading multiple ROMs with |ROMUP was fixed
v2.0.7
– the behaviour of the RMR “ghost” register was adjusted for FutureOS and IMPdraw on the CPC+
– new: C_ROMLOW and loading of NMIROM.BIN from the SD root
– the Hack Menu was revised
v2.0.8
– DNS resolution under certain conditions and a bug in “net accept” were fixed
Useful software
– cpcxfer
Command-line tool for transferring files to and from the M4 via Wi-Fi.
– YANCC
1. download the latest version and copy it to the SD card
2. open the relevant disk
3. run the file „config.bas“ and start the configuration – to begin with, select n for „Autostart YANCC“ / „Autostart Launcher“
4. YANCC ROM in slot 1 and Launcher ROM in slot 9
– Disk Navigation
A modified version of Joe Halstead’s Disk Menu program that makes navigating directories easier.
1. save the BAS file in the root directory of the SD card – the cursor keys are used for navigation
2. use the space bar to open a directory or select a file to load or run. Cancel lets you choose a different file. 0 = leave the directory
3. if the .BAS file is renamed to autoexec.bas, it is started as soon as the CPC is switched on
4. press ESC twice to exit the program
– Filelauncher
A simple file launcher as an additional program (ROM) for YANCC, which can also be used on its own (but YANCC.ROM and LAUNCHER.ROM must be installed)
– Menu program (the website amstrad.esy.es is currently no longer available)
by Rafa32gr, with programs and games downloaded directly from the internet
– M4FE
a front end for the M4 for starting programs. It is installed in one of the ROM slots and started with |M4FE. It can be operated with the cursor keys or a joystick. The software can also be assigned to one of the function keys – e.g. „F0“ – just type in the following line and save it as AUTOEXEC.BAS:10 KEY n,"|M4FE"+CHR$(13)
Update 2025
At the end of September 2025, Duke stopped producing the M4 Board – after almost ten years and just under 1,500 boards built. The reasons he gives are a lack of time and motivation for assembling them, as well as additional EU bureaucracy from 1 October (announcement of 30 September 2025 on spinpoint.org). The files have been published, however, so anyone can make the boards themselves: https://github.com/M4Duke/m4hardware (Gerber files, schematic, bill of materials and bootloader). Duke’s other repositories on GitHub include m4rom (the Z80 ROM part) and cpcxfer. The board is also available as a shared project on PCBWay, and yawor has published a 3D-printable case. This means ready-made boards are no longer available directly from the maker – you can find tips on building one or tracking one down in the CPCWiki forum.
Duke from Denmark has created a wonderful device here: mass storage for the CPC that is easy to use, plus a ROM board and Wi-Fi. On top of that came firmware with a great range of features and good support. Its success proved him right. Anyone who can build or get hold of an M4 Board will still be getting a board that is highly recommended.

![M4 Board [Schneider CPC]](https://www.jungsi.de/blog/wp-content/uploads/m4-wifi.jpg)
Hallo Jungsi,
ich versuche schon seit einiger Zeit ein M4 und XMEM gleichzeitig in einem CPC464 zu betreiben.
Welche Einstellungen muß ich am XMEM vornehmen und welche im WebInterface des M4 ? Damit ich vom XMEM starten kann und auch die Slots dort mit dem ROMAN sehen kann?
Wo bekommt man das M4 Board her ?
Am einfachsten über das CPC Wiki Forum: http://www.cpcwiki.eu/forum/amstrad-cpc-hardware/amstrad-cpc-wifi/ und eine PN an den Ersteller des Beitrags mit dem Namen „Duke“ senden.
Ein richtig geiles Teil ist das. Nach deinem super Bericht habe ich mir auch direkt eines besorgt!
https://8bitrechner.wordpress.com/2019/03/09/m4-board-fuer-den-cpc/
hola estoy interesado placa m4 board salidos Javier
Hola, lamentablemente no soy el fabricante de la placa M4. Tal vez alguien en el foro CPC-Wiki puede ayudar:
https://www.cpcwiki.eu/forum/index.php