封面制作实例

Author: 江 西 黄 焕 如 Date: 1993-02-05

        213特殊显示功能是用INT10H中09号功能实现,以CHR[$](14)+“]”的形式给出的,在Turbo C中利用INT86()函数直接调用其特殊显示功能,即能象BASIC、DBASE或者DOS下一样,十分方便地使用特显来编制丰富多采的图画。下面是实例,可供读者在编制应用软件封面时参考。
        #include“DOSH”#Include“stdioh”
        intxsl(char*cl);
        main()
        {
        XS1(“QROC10BD20,459B600,440]”);
        XS1(“V3,20,459,600,440,3,18,1V3,20,459,600,440,4,18,1]”);
        XS1(“V14,150,230,350,80,3,0,9V12,150,230,350,80,4,5,7]”)XS1(“V12,150,230,350,80,3,5,7]”);
        XS1(“[1661176^0@X*10#6经济核算管理信息系统]”);
        XS1(“C2D149,231B352,82C3D147,233B356,86C4D145,235B360,90]”);
        XS1(“[150m320^15@M*13#0江西拖拉机发动机厂]”;
        XS1(“[2201380^15@U*4#7199210]”);
        XS1(“R1]”);
        }
        XS1(c1)
        char*c1;
        {
        intc2;
        xs2(14);
        while(*c1!;=0)
        {c2=*c1;
        xs2(c2);
        *c1=*c1++;}}
        xs2(c2)charc2;
        {unionREGSin,out;
        inhal+c2;inhah=9int86(0x10,&in,&out);}