Skip to content

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


CopyHalfScreen

Systems: X16,C64, MEGA65, PLUS4, C128, VIC20, PET, NES
Parameters: a,a,b,b,n


CopyHalfScreen( [address 1], [address 2], [byte 1], [byte 2], [byte 3] );

  • [address 1] - source address
  • [address 2] - destination address
  • [byte 1] - number of lines
  • [byte 2] - inverted y range
  • [byte 3] - inverted x range

Description

Copies the number of lines from the source address to the destination address either inverted y range and/or inverted x range.

Example

// Copies 13 lines from bank 0 to bank 1 with descending y values, increasing x values CopyHalfScreen(^$0400, ^$4400 -^1, 13, 1, 0);