Table of Contents

HSCROLL

C64 C16 Plus/4 C128 X16

Sets the horizontal smooth scrolling value.

Syntax

' On all Commodore platforms:
HSCROLL <px>
' On the Commander X16:
HSCROLL <layer>, <px> 
  • On C64 C16 Plus/4 C128, <px> is a value between 0 and 7. After this operation, the screen will be moved <px> pixels to the right.
  • On the X16, <layer> is a literal 0 or 1 specifying which layer to scroll. <px> is a value between 0 and 4095

See also