It's bed decades since I last wrote anything in #Commodore assemby, and the first time I wrote one on the #Commodore16 / #Plus4. Amazed it worked, even if it only used standard kernel routines.
It has probably been written hundred times already, but when I couldn't find one, I figured it was faster to write my own than to continue looking:
https://gitlab.com/nafmo/save-rom
https://github.com/nafmo/save-rom



