Skip to content

M4 Board

WacKEDmaN edited this page Oct 31, 2026 · 1 revision

M4 Board

The M4 Board by Duke: an SD card and WiFi for the CPC. Its ROM (M4ROM.ROM) is included with Duke's permission and runs without changes.

Fit it

  1. Expansions → M4 board.
  2. M4 folder...: choose the folder on your PC that is the M4's SD card.
  3. Rescan M4 folder reads the folder again after you change files in it outside the emulator.

The SD card

The M4 ROM makes the SD card the current drive when the CPC starts, as on a real CPC.

  • CAT, LOAD, RUN, SAVE work on the card.
  • Long names and folders work: |CD, |LS, |ERA, |REN, |COPYF.
  • A DSK image on the card opens as a folder: type |CD,"game.dsk", then CAT, LOAD and RUN. |CD,".." closes it again. The files are read-only there.
  • To use the floppy drive, type |DISC. |SD goes back to the card.
  • SymbOS reads and writes the card sector by sector, as one FAT16 disc.

WiFi

  • M4 WiFi: the PC's network: the M4's sockets, |HTTPGET and |HTTPMEM use the internet connection of your PC. Off: the board has no network.
  • M4 servers: accept other computers: a CPC program that listens (a server) can be reached from your network. Off: only from this computer (127.0.0.1).
  • CPC programs open TCP sockets, find names (DNS) and run servers. Duke's telnet and TCP examples work.
  • |HTTPGET and |HTTPMEM download plain HTTP files (not HTTPS), as on the real board.
  • |NETSTAT shows the network.

Other commands

  • |M4ROMOFF switches the M4's ROM off until the next power-on.
  • |CTRUP and |CTR load and start a cartridge image from the card (the M4's cartridge flash).

Folders shared with other devices

The M4, the Symbiface IDE and the SF3 USB stick can each use a folder. If two of them use the same folder, write to it from only one of them at a time.

Clone this wiki locally