Running 2 operations at once

Back to the good old days of loop program like BBC basic , instead of event driven programming of Visual Basic etc , But I guess it hard to make a cpu multitask on 1k of ram.