c128lib Common
Various common functionalities.
Loading...
Searching...
No Matches
video-global.asm File Reference

Functions

macro c128lib_MoveCursor (xPos, yPos)
 
macro c128lib_PrintString (stringAddress)
 
macro c128lib_PrintStringWithLength (stringAddress, length)
 

Function Documentation

◆ c128lib_MoveCursor()

macro c128lib_MoveCursor ( xPos ,
yPos  )

Move cursor to specified coordinates inside current screen. Can be used on 40 columns or 80 columns screen.

Parameters
xPosx position on screen
yPosy position on screen
Remarks
Registers .X and .Y will be modified. Flags N, Z and C will be affected.
Since
0.6.0

◆ c128lib_PrintString()

macro c128lib_PrintString ( stringAddress )

Prints string in current cursor position. Can be used on 40 columns or 80 columns screen.

Parameters
stringAddressAddress of string to print
Remarks
Registers .A and .X will be modified. Flags N, Z and C will be affected.
Note
String should be null termineted. If not, it will stop after 255 chars.
Since
0.6.0

◆ c128lib_PrintStringWithLength()

macro c128lib_PrintStringWithLength ( stringAddress ,
length  )

Prints string in current cursor position with specified length, no matter if string is null terminated.

Parameters
stringAddressAddress of string to print
lengthLength of the string
Remarks
Registers .A and .X will be modified. Flags N, Z and C will be affected.
Since
0.6.0