Annotation of researchv10no/cmd/view2d/meth_reset.c, revision 1.1

1.1     ! root        1: #include <stdio.h>
        !             2: #include <libc.h>
        !             3: #include "3610op.h"
        !             4: 
        !             5: main()
        !             6: {
        !             7:   msnare();
        !             8:   mcmd(INI);
        !             9:   mcmd(WRMSKL); mlong(0xffffffff);
        !            10:   mcmd(WRBANK); mbyte(15);
        !            11:   mcmd(ZOOM);mbyte(0);
        !            12:   mcmd(MOVP1);mword(0);mword(0);
        !            13:   mcmd(PPAN);
        !            14:   mcmd(SELRES); mbyte(0xc2); mbyte(0);  /* 24-bit mode */
        !            15:   mcmd(CMSEL); mbyte(0); mbyte(0);     /* write in cmap buffer 0 */
        !            16:   mcmd(CMRAMP);mword(0);mword(256);     /* default linear color map */
        !            17:     mbyte(0);mbyte(0);mbyte(0);
        !            18:     mbyte(255);mbyte(255);mbyte(255);
        !            19:   mcmd(CMACT);                         /* make current buffer active */
        !            20:   mcmd(SETCLL); mbyte(0); mbyte(0); mbyte(0); mbyte(0);
        !            21:   mcmd(CLEAR);                         /* clear all pixels */
        !            22:   mflush();
        !            23:   exit(0);
        !            24: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.