Diff for /np2/bios/bios18.c between versions 1.32 and 1.33

version 1.32, 2004/03/07 23:04:50 version 1.33, 2004/03/14 23:45:43
Line 41  typedef struct { Line 41  typedef struct {
 static const UINT8 modenum[4] = {3, 1, 0, 2};  static const UINT8 modenum[4] = {3, 1, 0, 2};
   
 static const CRTDATA crtdata[7] = {  static const CRTDATA crtdata[7] = {
                                                 {0x07,  0x00, 0x07, 0x08},              // 200-20                                                  {0x09,  0x1f, 0x08, 0x08},              // 200-20
                                                 {0x09,  0x1f, 0x08, 0x08},              // 200-25                                                  {0x07,  0x00, 0x07, 0x08},              // 200-25
                                                 {0x0f,  0x00, 0x0f, 0x10},              // 400-20                                                  {0x13,  0x1e, 0x11, 0x10},              // 400-20
                                                 {0x13,  0x1e, 0x11, 0x10},              // 400-25                                                  {0x0f,  0x00, 0x0f, 0x10},              // 400-25
                                                 {0x17,  0x1c, 0x13, 0x10},              // 480-20                                                  {0x17,  0x1c, 0x13, 0x10},              // 480-20
                                                 {0x12,  0x1f, 0x11, 0x10},              // 480-25                                                  {0x12,  0x1f, 0x11, 0x10},              // 480-25
                                                 {0x0f,  0x00, 0x0f, 0x10}};             // 480-30                                                  {0x0f,  0x00, 0x0f, 0x10}};             // 480-30
Line 114  const CRTDATA *crt; Line 114  const CRTDATA *crt;
                 gdc.mode1 |= 0x08;                  gdc.mode1 |= 0x08;
                 crt += 2;                  crt += 2;
         }          }
         if (mode & 0x01) {          if (!(mode & 0x01)) {
                 crt += 1;                                               // 20行                  crt += 1;                                               // 25行
         }          }
         if (mode & 0x02) {          if (mode & 0x02) {
                 gdc.mode1 |= 0x04;                              // 40桁                  gdc.mode1 |= 0x04;                              // 40桁
Line 135  const CRTDATA *crt; Line 135  const CRTDATA *crt;
         bios0x18_10(0);          bios0x18_10(0);
 }  }
   
   void bios0x18_0c(void) {
   
           if (!(gdcs.textdisp & GDCSCRN_ENABLE)) {
                   gdcs.textdisp |= GDCSCRN_ENABLE;
                   screenupdate |= 2;
           }
   }
   
 static void bios0x18_0f(UINT seg, UINT off, REG8 num, REG8 cnt) {  static void bios0x18_0f(UINT seg, UINT off, REG8 num, REG8 cnt) {
   
         BYTE    *p;          BYTE    *p;
Line 825  void bios0x18(void) { Line 833  void bios0x18(void) {
                         break;                          break;
   
                 case 0x0c:                                              // テキスト画面の表示開始                  case 0x0c:                                              // テキスト画面の表示開始
                         if (!(gdcs.textdisp & GDCSCRN_ENABLE)) {                          bios0x18_0c();
                                 gdcs.textdisp |= GDCSCRN_ENABLE;  
                                 screenupdate |= 2;  
                         }  
                         break;                          break;
   
                 case 0x0d:                                              // テキスト画面の表示終了                  case 0x0d:                                              // テキスト画面の表示終了

Removed from v.1.32  
changed lines
  Added in v.1.33


RetroPC.NET-CVS <cvs@retropc.net>