News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

How does the M4 launch files?

Started by kolleykibber, 11:57, 29 April 21

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kolleykibber


I was wondering how @Duke 's amazing M4 board manages to get the CPC to launch files over wifi.


My guess would be it rewrites the rom initialisation routine before it reboots the cpc? Or is there some other clever trickery going on?




Duke

Quote from: kolleykibber on 11:57, 29 April 21
I was wondering how @Duke 's amazing M4 board manages to get the CPC to launch files over wifi.


My guess would be it rewrites the rom initialisation routine before it reboots the cpc? Or is there some other clever trickery going on?

You can always take a look at the rom source code:
https://github.com/M4Duke/m4rom

It uses the "autoexec patch".  I remember it got a bit complicated back in the day, probably there is cleaner methods one could write :)
- And yes parameters are written to the m4 rom before resetting.

Powered by SMFPacks Menu Editor Mod