Plane Scrolling Routines



void ScrollLeft160(unsigned short* buffer,unsigned short lines) __attribute__((__stkparm__));

void ScrollLeft160_R(unsigned short* buffer,unsigned short lines) __attribute__((__regparm__(2)));

void ScrollLeft240(unsigned short* buffer,unsigned short lines) __attribute__((__stkparm__));

void ScrollLeft240_R(unsigned short* buffer,unsigned short lines) __attribute__((__regparm__(2)));

ScrollLeftX scroll X pixels of nr number of lines of a video plane (240x128 pixels in size) 1 pixel to the left.



void ScrollRight160(unsigned short* buffer,unsigned short lines) __attribute__((__stkparm__));

void ScrollRight160_R(unsigned short* buffer,unsigned short lines) __attribute__((__regparm__(2)));

void ScrollRight240(unsigned short* buffer,unsigned short lines) __attribute__((__stkparm__));

void ScrollRight240_R(unsigned short* buffer,unsigned short lines) __attribute__((__regparm__(2)));

ScrollRightX scroll X pixels of nr number of lines of a video plane (240x128 pixels in size) 1 pixel to the right.



void ScrollUp160(unsigned short* buffer,unsigned short lines) __attribute__((__stkparm__));

void ScrollUp160_R(unsigned short* buffer,unsigned short lines) __attribute__((__regparm__(2)));

void ScrollUp240(unsigned short* buffer,unsigned short lines) __attribute__((__stkparm__));

void ScrollUp240_R(unsigned short* buffer,unsigned short lines) __attribute__((__regparm__(2)));

ScrollUpX scroll X pixels of nr number of lines of a video plane (240x128 pixels in size) 1 line upwards.



void ScrollDown160(unsigned short* buffer,unsigned short lines) __attribute__((__stkparm__));

void ScrollDown160_R(unsigned short* buffer,unsigned short lines) __attribute__((__regparm__(2)));

void ScrollDown240(unsigned short* buffer,unsigned short lines) __attribute__((__stkparm__));

void ScrollDown240_R(unsigned short* buffer,unsigned short lines) __attribute__((__regparm__(2)));

ScrollDownX scroll X pixels of nr number of lines of a video plane (240x128 pixels in size) 1 line downwards.