set_xres

From ArchaicPixels: HuC and PCEAS Documentation

Jump to: navigation, search

set_xres(int xres);    [ 1.5+]
set_xres(int x_resolution, int color_correct_flag);    [ 3.11+ ]

     Change the horizontal resolution to 'xres' (in pixels).
     This changes the video controller's registers to display
     more pixels on the screen; it does not affect virtual
     calculations.
     color_correct_flag indicates what kind of smoothing must be
     used, XRES_SHARP or XRES_SOFT.
     The 5MHz dot clock will be used up to horizontal resolutions
     of 268.  7 MHz dot clok will be used up to 356.  10MHz dot clock
     will be used beyond this.  Maximum visible resolution seems to be
     about 512.
Personal tools