I was wondering how @Duke (https://www.cpcwiki.eu/forum/index.php?action=profile;u=1624) '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?
Quote from: kolleykibber on 11:57, 29 April 21
I was wondering how @Duke (https://www.cpcwiki.eu/forum/index.php?action=profile;u=1624) '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.