Perl subroutines for rendering BBC micro mode 7 frames and animations