/[gxemul]/trunk/src/promemul/pc_bios.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/promemul/pc_bios.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 30 by dpavlin, Mon Oct 8 16:20:40 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: pc_bios.c,v 1.6 2006/03/30 19:41:51 debug Exp $   *  $Id: pc_bios.c,v 1.7 2006/07/26 23:21:48 debug Exp $
29   *   *
30   *  Generic PC BIOS emulation.   *  Generic PC BIOS emulation.
31   *   *
# Line 814  static void pc_bios_int10(struct cpu *cp Line 814  static void pc_bios_int10(struct cpu *cp
814                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x10 function"                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x10 function"
815                      " 0x%02x.\n", ah);                      " 0x%02x.\n", ah);
816                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
817          }          }
818  }  }
819    
# Line 981  static void pc_bios_int13(struct cpu *cp Line 980  static void pc_bios_int13(struct cpu *cp
980                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x13 function"                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x13 function"
981                      " 0x%02x.\n", ah);                      " 0x%02x.\n", ah);
982                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
983          }          }
984  }  }
985    
# Line 1002  static void pc_bios_int14(struct cpu *cp Line 1000  static void pc_bios_int14(struct cpu *cp
1000                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x14 function"                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x14 function"
1001                      " 0x%02x.\n", ah);                      " 0x%02x.\n", ah);
1002                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
1003          }          }
1004  }  }
1005    
# Line 1160  static void pc_bios_int15(struct cpu *cp Line 1157  static void pc_bios_int15(struct cpu *cp
1157                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x15 function"                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x15 function"
1158                      " 0x%02x.\n", ah);                      " 0x%02x.\n", ah);
1159                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
1160          }          }
1161  }  }
1162    
# Line 1230  static int pc_bios_int16(struct cpu *cpu Line 1226  static int pc_bios_int16(struct cpu *cpu
1226                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x16 function"                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x16 function"
1227                      " 0x%02x.\n", ah);                      " 0x%02x.\n", ah);
1228                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
1229          }          }
1230    
1231          return 1;          return 1;
# Line 1255  static void pc_bios_int17(struct cpu *cp Line 1250  static void pc_bios_int17(struct cpu *cp
1250                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x17 function"                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x17 function"
1251                      " 0x%02x.\n", ah);                      " 0x%02x.\n", ah);
1252                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
1253          }          }
1254  }  }
1255    
# Line 1317  static void pc_bios_int1a(struct cpu *cp Line 1311  static void pc_bios_int1a(struct cpu *cp
1311                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x1a function"                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x1a function"
1312                      " 0x%02x.\n", ah);                      " 0x%02x.\n", ah);
1313                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
1314          }          }
1315  }  }
1316    
# Line 1861  int pc_bios_emul(struct cpu *cpu) Line 1854  int pc_bios_emul(struct cpu *cpu)
1854                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x%02x.\n",                  fatal("FATAL: Unimplemented PC BIOS interrupt 0x%02x.\n",
1855                      int_nr);                      int_nr);
1856                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
1857                  return 0;                  return 0;
1858          }          }
1859    

Legend:
Removed from v.29  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26