Diff for /np2/bios/bios.c between versions 1.72 and 1.75

version 1.72, 2005/02/09 20:11:33 version 1.75, 2005/03/16 06:05:17
Line 85  static void bios_reinitbyswitch(void) { Line 85  static void bios_reinitbyswitch(void) {
         UINT8   prxcrt;          UINT8   prxcrt;
         UINT8   prxdupd;          UINT8   prxdupd;
         UINT8   biosflag;          UINT8   biosflag;
           UINT8   extmem;
         UINT8   boot;          UINT8   boot;
   
         if (!(np2cfg.dipsw[2] & 0x80)) {          if (!(np2cfg.dipsw[2] & 0x80)) {
Line 132  static void bios_reinitbyswitch(void) { Line 133  static void bios_reinitbyswitch(void) {
                 biosflag |= 0x40;                  biosflag |= 0x40;
         }          }
         mem[MEMB_BIOS_FLAG1] = biosflag;          mem[MEMB_BIOS_FLAG1] = biosflag;
         mem[MEMB_EXPMMSZ] = (UINT8)(pccore.extmem << 3);          extmem = pccore.extmem;
           extmem = min(extmem, 14);
           mem[MEMB_EXPMMSZ] = (UINT8)(extmem << 3);
           if (pccore.extmem >= 15) {
                   mem[0x0594] = pccore.extmem - 15;
           }
         mem[MEMB_CRT_RASTER] = 0x0f;          mem[MEMB_CRT_RASTER] = 0x0f;
   
         // FDD initialize          // FDD initialize
Line 259  void bios_initialize(void) { Line 265  void bios_initialize(void) {
                 }                  }
                 file_close(fh);                  file_close(fh);
         }          }
   #if defined(BIOS_SIMULATE)
         mem[0xf8e80] = 0x98;          mem[0xf8e80] = 0x98;
         mem[0xf8e81] = 0x21;          mem[0xf8e81] = 0x21;
           mem[0xf8e82] = 0x1f;
           mem[0xf8e83] = 0x20;    // Model Number?
           mem[0xf8e84] = 0x2c;
           mem[0xf8e85] = 0xb0;
   
           // mem[0xf8eaf] = 0x21;         // <- これって何だっけ?
   #endif
 #endif  #endif
   
 #if defined(BIOS_SIMULATE)  #if defined(BIOS_SIMULATE)

Removed from v.1.72  
changed lines
  Added in v.1.75


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