Skip to content

title: "vbmScrollLeft" description: TRSE built-in method (from IDE help)


vbmScrollLeft

Systems: VIC20
Parameters:


vbmScrollLeft( );

Description

Rearranges the character map used to display the bitmap to make the screen appear to scroll to the left by 8 pixels (1 column). This form of scrolling is quite fast but does pose some limitations to be aware of.

Specifically, address $1100 will not necessarily be at the top left of the bitmap. After the first vbmScrollLeft this address will have moved to the far right. Therefore, commands such as vbmNextColumn, vbmDrawSprite8 and vbmDrawSprite16 will not work correctly. Use vbmSetColumn and vbmDrawSpriteSlice instead.

Example

vbmDebug(1); // show the ROM characters for this demonstration vbmScrollLeft(); // scroll one column to the left

See also

  • vbmScrollRight
  • vbmScrollFixTop
  • vbmScrollFixBottom