bas7advr.hlp (Topic list)
PCOPY Statement Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
Copies one video memory page to another.
 
PCOPY sourcepage%,destinationpage%
 
Usage Notes
    ■ The number of video memory pages available depends on the current
      screen mode, the graphics adapter, and how much screen memory is
      on that adapter:
 
      MDPA Screen Modes:
               Rows and
        Mode   Columns    Resolution   Pages
        0      80x25      720x350      1
 
      Hercules Adapter Screen Modes:
               Rows and
        Mode   Columns    Resolution   Pages
        0      80x25      720x348      2
        3      80x25      720x348      2
 
      CGA Screen Modes
                Rows and
        Mode    Columns    Resolution   Pages
        0       40x25      320x200      8
                80x25      640x200      4
        1       40x25      320x200      1
        2       80x25      640x200      1
 
      EGA Screen Modes
                Rows and                             Page
        Mode    Columns  Display(a)     Resolution   Size   Pages
        0       40x25    Color          320x200       -     8
                40x25    Enhanced       320x350       -     8
                40x43    Enhanced       320x350       -      (c)
                80x25    Color          640x200       -      (c)
                80x25    Enhanced       640x350       -      (c)
                80x25    Color          640x200       -      (c)
                80x25    Monochrome     720x350       -      (c)
                80x43    Enhanced       640x350       -     4(c)
                80x43    Monochrome     720x350     -       4(c)
        1       40x25     -             320x200    16K      1
        2       80x25     -             640x200    16K      1
        7       40x25     -             320x200    32K       (a)
        8       80x25     -             640x200    64K       (a)
        9(d)    80x25    Enhanced       640x350    64K      1
                80x43    Enhanced       640x350    64K      1
                80x25    Enhanced       640x350    128K      (a)
                80x43    Enhanced       640x350    128K      (a)
        10      80x25    Monochrome     640x350    64K       (b)
                80x43    Monochrome     640x350    64K       (b)
        ___________________________________________________________________
        (a)  Pages = Screen memory divided by page size. Eight page maximum,
                     one page minimum.
        (b)  Pages = Screen memory divided by 2 divided by page size. Eight
                     page maximum, one page minimum.
        (c)  Number of pages is halved with 64K.
        (d)  The first two entries under mode 9 are for an EGA with 64K
             of screen memory. The next two entries assume more than 64K
             of screen memory.
 
      VGA Screen Modes:
                Rows and              Page
        Mode    Columns   Resolution  Size    Pages
        0       40x25     360x400      -      8
                40x43     320x350      -      8
                40x50     320x400      -      4
                80x25     720x400      -      8
                80x43     640x350      -      4
                80x43     720x350      -      4
                80x50     640x400      -      4
                80x50     720x400      -      4
        1       40x25     320x200      16K    1
        2       80x25     640x200      16K    1
        7       40x25     320x200      32K     (a)
        8       80x25     640x200      64K     (a)
        9       80x25     640x350     128K     (a)
                80x43     640x350     128K     (a)
        10      80x25     640x350      64K     (b)
                80x43     640x350      64K     (b)
        11      80x30     640x480      64K    1
                80x60     640x480      64K    1
        12      80x30     640x480     256K    1
                80x60     640x480     256K    1
        13      40x25     320x200     64K     1
        _____________________________________________________________________
        (a)  Pages = Screen memory divided by page size. Eight page maximum.
        (b)  Pages = Screen memory divided by 2 divided by page size. Eight
                     page maximum.
 
      MCGA Screen Modes:
                Rows and                  Page
        Mode    Columns    Resolution     Size     Pages
        0       40x25      320x400         -       8
                80x25      640x400         -       8
        1       40x25      320x200        16K      1
        2       80x25      640x200        16K      1
        11      80x30      640x480        64K      1
                80x60      640x480        64K      1
        13      40x25      320x200        64K      1