User Tools

Site Tools


ugbasic:user:kw:hires
Translations of this page:


ugBASIC User Manual

HIRES ✓

SYNTAX

   HIRES ink, paper

PURPOSE

`HIRES` is used to switch from text to high-resolution graphics mode and to use the specified colors: ink for the writing color and paper for the background color (both with values from 0 to SCREEN COLORS). The graphics memory is deleted and preset with the specified colors. The color of the screen frame remains unaffected. The selected mode remains active until it is switched off or changed by a command (MULTI, CSET or NRM). Important: the color specifications of almost all other graphics commands that use fg as color parameter refers to the colors specified here. If the color source 0 is specified in a graphics command, the color specified for paper is selected; if 1 is specified, the color for ink is selected; the color specification 2 inverts the controlled pixel (if in hires mode, otherwise see MULTI).

EXAMPLE

  HIRES 0, 1

See also the following example files:

ABBREVIATION

 Hi

AVAILABLE ON

  • Commodore 128 (MOS 8502)

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY