{{htmlmetatags>metatag-robots=()
metatag-title=(HIRES | ugBASIC User Manual)
metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
metatag-description=(Manual page for HIRES)
metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
metatag-og:title=(HIRES | ugBASIC User Manual)
metatag-og:description=(Manual page for HIRES)
}}
====== 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:
* ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/tsb_block_rec_01.bas|tsb_block_rec_01.bas]]''
==== 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 [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON HIRES|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY =====
[[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]