Diff for /np2/bios/bios19.c between versions 1.6 and 1.7

version 1.6, 2004/03/07 23:04:50 version 1.7, 2005/02/07 14:46:07
Line 19  static const UINT rs_speed[] = { Line 19  static const UINT rs_speed[] = {
   
 void bios0x19(void) {  void bios0x19(void) {
   
         BYTE    speed;          UINT8   speed;
         BYTE    mode;          UINT8   mode;
         RSBIOS  rsb;          RSBIOS  rsb;
         UINT16  doff;          UINT16  doff;
         UINT16  cnt;          UINT16  cnt;
         UINT16  dseg;          UINT16  dseg;
         BYTE    flag;          UINT8   flag;
   
         if (CPU_AH < 2) {          if (CPU_AH < 2) {
                 // 通信速度…                  // 通信速度…
Line 58  void bios0x19(void) { Line 58  void bios0x19(void) {
                 iocore_out8(0x32, CPU_CL);      // cmd                  iocore_out8(0x32, CPU_CL);      // cmd
 #endif  #endif
                 iocore_out8(0x77, 0xb6);                  iocore_out8(0x77, 0xb6);
                 iocore_out8(0x75, (BYTE)rs_speed[speed]);                  iocore_out8(0x75, (UINT8)rs_speed[speed]);
                 iocore_out8(0x75, (BYTE)(rs_speed[speed] >> 8));                  iocore_out8(0x75, (UINT8)(rs_speed[speed] >> 8));
   
                 ZeroMemory(&rsb, sizeof(rsb));                  ZeroMemory(&rsb, sizeof(rsb));
                 rsb.FLAG = (CPU_AH << 4);                  rsb.FLAG = (CPU_AH << 4);

Removed from v.1.6  
changed lines
  Added in v.1.7


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