⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 control.lst

📁 epsondriver 驱动源代码
💻 LST
📖 第 1 页 / 共 4 页
字号:
 388          /*********************************************************************************************************
 389          ----------------------------------------------------------------------------------------------------------
 390                                                                                          void SetVSPRSG (void) 
 391                                                                                          Author            : Neil
 392                                                                                          Data              : 2005-5
 393          ----------------------------------------------------------------------------------------------------------
 394          This routine is read data and address 
 395          from 24lc256 to Set Video Signal Processing Green Setting Register
 396                          
 397          *********************************************************************************************************/
 398          void SetVSPGSG (void)
 399          {
 400   1              n=66;
 401   1              for(i=0;i<=18;i++)
 402   1                      {
 403   2                              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 404   2                              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 405   2                              sRecComBuf[2]=SM_Receive (_24LC256, 4*n+2);
 406   2                              sRecComBuf[3]=SM_Receive (_24LC256, 4*n+3);
 407   2                              n++;
 408   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 409   2                              Address0707=*pointer++<<8;
 410   2                              Address0707+=*pointer++;
 411   2                              Data0707   =*pointer++<<8;
 412   2                              Data0707   +=*pointer;
 413   2                              Address24LC256=*pointer++<<8; 
 414   2                              Address24LC256  +=*pointer++;     
 415   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 416   2                              _0707READY();
 417   2                              WRITE_0707(Address0707,Data0707);
 418   2                              NONE_READY();
 419   2                      }
 420   1      }
 421          
 422          
 423          
 424          
 425          
C51 COMPILER V7.06   CONTROL                                                               06/13/2005 12:55:38 PAGE 8   

 426          /*********************************************************************************************************
 427          ----------------------------------------------------------------------------------------------------------
 428                                                                                          void SetVSPRSB (void) 
 429                                                                                          Author            : Neil
 430                                                                                          Data              : 2005-5
 431          ----------------------------------------------------------------------------------------------------------
 432          This routine is read data and address 
 433          from 24lc256 to Set Video Signal Processing Blue Setting Register
 434                          
 435          *********************************************************************************************************/
 436          void SetVSPBSB (void)
 437          {
 438   1              n=85;
 439   1              for(i=0;i<=18;i++)
 440   1                      {
 441   2                              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 442   2                              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 443   2                              sRecComBuf[2]=SM_Receive (_24LC256, 4*n+2);
 444   2                              sRecComBuf[3]=SM_Receive (_24LC256, 4*n+3);
 445   2                              n++;
 446   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 447   2                              Address0707=*pointer++<<8;
 448   2                              Address0707+=*pointer++;
 449   2                              Data0707   =*pointer++<<8;
 450   2                              Data0707   +=*pointer;
 451   2                              Address24LC256=*pointer++<<8; 
 452   2                              Address24LC256  +=*pointer++;     
 453   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 454   2                              _0707READY();
 455   2                              WRITE_0707(Address0707,Data0707);
 456   2                              NONE_READY();
 457   2                      }
 458   1      }
 459          
 460          
 461          
 462          
 463          
 464          /*********************************************************************************************************
 465          ----------------------------------------------------------------------------------------------------------
 466                                                                                          void SetGCRAMR (void) 
 467                                                                                          Author            : Neil
 468                                                                                          Data              : 2005-5
 469          ----------------------------------------------------------------------------------------------------------
 470          This routine is read data and address 
 471          from 24lc256 to Set Red Gamma Correction RAM
 472                          
 473          *********************************************************************************************************/
 474          void SetGCRAMR (void)
 475          {
 476   1              n=104;
 477   1              for(i=0;i<=256;i++)
 478   1                      {
 479   2                              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 480   2                              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 481   2                              sRecComBuf[2]=SM_Receive (_24LC256, 4*n+2);
 482   2                              sRecComBuf[3]=SM_Receive (_24LC256, 4*n+3);
 483   2                              n++;
 484   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 485   2                              Address0707=*pointer++<<8;
 486   2                              Address0707+=*pointer++;
 487   2                              Data0707   =*pointer++<<8;
C51 COMPILER V7.06   CONTROL                                                               06/13/2005 12:55:38 PAGE 9   

 488   2                              Data0707   +=*pointer;
 489   2                              Address24LC256=*pointer++<<8; 
 490   2                              Address24LC256  +=*pointer++;     
 491   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 492   2                              _0707READY();
 493   2                              WRITE_0707(Address0707,Data0707);
 494   2                              NONE_READY();
 495   2                      }
 496   1      }
 497          
 498          
 499          
 500          
 501          
 502          /*********************************************************************************************************
 503          ----------------------------------------------------------------------------------------------------------
 504                                                                                          void SetGCRAMG (void) 
 505                                                                                          Author            : Neil
 506                                                                                          Data              : 2005-5
 507          ----------------------------------------------------------------------------------------------------------
 508          This routine is read data and address 
 509          from 24lc256 to Set Green Gamma Correction RAM
 510                          
 511          *********************************************************************************************************/
 512          void SetGCRAMG (void)
 513          {
 514   1              n=361;
 515   1              for(i=0;i<=256;i++)
 516   1                      {
 517   2                              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 518   2                              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 519   2                              sRecComBuf[2]=SM_Receive (_24LC256, 4*n+2);
 520   2                              sRecComBuf[3]=SM_Receive (_24LC256, 4*n+3);
 521   2                              n++;
 522   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 523   2                              Address0707=*pointer++<<8;
 524   2                              Address0707+=*pointer++;
 525   2                              Data0707   =*pointer++<<8;
 526   2                              Data0707   +=*pointer;
 527   2                              Address24LC256=*pointer++<<8; 
 528   2                              Address24LC256  +=*pointer++;     
 529   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 530   2                              _0707READY();
 531   2                              WRITE_0707(Address0707,Data0707);
 532   2                              NONE_READY();
 533   2                      }
 534   1      }
 535          
 536          
 537          
 538          
 539          
 540          /*********************************************************************************************************
 541          ----------------------------------------------------------------------------------------------------------
 542                                                                                          void SetGCRAMB (void)
 543                                                                                          Author            : Neil
 544                                                                                          Data              : 2005-5
 545          ----------------------------------------------------------------------------------------------------------
 546          This routine is read data and address 
 547          from 24lc256 to Set Blue Gamma Correction RAM
 548                          
 549          *********************************************************************************************************/
C51 COMPILER V7.06   CONTROL                                                               06/13/2005 12:55:38 PAGE 10  

 550          void SetGCRAMB (void)
 551          {
 552   1              n=618;
 553   1              for(i=0;i<=256;i++)
 554   1                      {
 555   2                              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 556   2                              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 557   2                              sRecComBuf[2]=SM_Receive (_24LC256, 4*n+2);
 558   2                              sRecComBuf[3]=SM_Receive (_24LC256, 4*n+3);
 559   2                              n++;
 560   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 561   2                              Address0707=*pointer++<<8;
 562   2                              Address0707+=*pointer++;
 563   2                              Data0707   =*pointer++<<8;
 564   2                              Data0707   +=*pointer;
 565   2                              Address24LC256=*pointer++<<8; 
 566   2                              Address24LC256  +=*pointer++;     
 567   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 568   2                              _0707READY();
 569   2                              WRITE_0707(Address0707,Data0707);
 570   2                              NONE_READY();
 571   2                      }
 572   1      }
 573          
 574          
 575          
 576          
 577          /*********************************************************************************************************
 578          ----------------------------------------------------------------------------------------------------------
 579                                                                                          void SetVSPPQICSR (void) 
 580                                                                                          Author            : Neil
 581                                                                                          Data              : 2005-5
 582          ----------------------------------------------------------------------------------------------------------
 583          This routine is read data and address 
 584          from 24lc256 to Set Video Signal Processing Picture Quality Improvement 
 585          Correction Setting Register
 586                          

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -