There's an initial check-in of the code here:
https://github.com/hoglet67/PiTubeClien ... 5tubeasm.S
I'm testing this running bare metal on a Raspberry Pi, acting as second processor to the Beeb. I've now got the startup banner coming up on the Beeb, so quite a lot is working.
The next hurdle is to add in interrupt handling so I can do some more testing with real programs, like the Klaus Dormann's test suites.
I'm wondering if it might actually be possible to use ARM interrupts directly, and in the FETCH_NEXT macro briefly enable them and disable them. The problematic bit is that IRQ is level sensitive, which is not supported by the directly by the bcm2835.
Dave