1 |
/* |
/* |
2 |
* Copyright (C) 2005 Anders Gavare. All rights reserved. |
* Copyright (C) 2005-2006 Anders Gavare. All rights reserved. |
3 |
* |
* |
4 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
5 |
* modification, are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions are met: |
25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: pc_bios.c,v 1.3 2005/11/05 13:39:42 debug Exp $ |
* $Id: pc_bios.c,v 1.5 2006/02/16 05:57:10 debug Exp $ |
29 |
* |
* |
30 |
* Generic PC BIOS emulation. |
* Generic PC BIOS emulation. |
31 |
* |
* |
1330 |
static void pc_bios_int1c(struct cpu *cpu) |
static void pc_bios_int1c(struct cpu *cpu) |
1331 |
{ |
{ |
1332 |
unsigned char ticks[4]; |
unsigned char ticks[4]; |
1333 |
int i; |
size_t i; |
1334 |
|
|
1335 |
/* Increase word at 0x0040:0x006C */ |
/* Increase word at 0x0040:0x006C */ |
1336 |
cpu->memory_rw(cpu, cpu->mem, 0x46C, |
cpu->memory_rw(cpu, cpu->mem, 0x46C, |