ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
ypen.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

Variableypen (Environment *_environment)
 Emit ASM code for = YPEN().

Function Documentation

◆ ypen()

Variable * ypen ( Environment * _environment)

Emit ASM code for = YPEN().

This function can be used to read the Y (vertical) position of the electronic pen connected to the hardware. The result is stored in a temporary variable.

Parameters
_environmentCurrent calling environment
Returns
Variable* Variable with the result of the reading

Definition at line 51 of file ypen.c.