Alexandre Julliard | 9ea19e5 | 1997-01-01 17:29:55 +0000 | [diff] [blame] | 1 | /* |
| 2 | * DOS interrupt 4bh handler |
| 3 | */ |
| 4 | |
Marcus Meissner | 317af32 | 1999-02-17 13:51:06 +0000 | [diff] [blame] | 5 | #include <stdio.h> |
Alexandre Julliard | 9ea19e5 | 1997-01-01 17:29:55 +0000 | [diff] [blame] | 6 | #include "miscemu.h" |
| 7 | |
| 8 | /*********************************************************************** |
| 9 | * INT_Int4bHandler |
| 10 | * |
| 11 | */ |
Alexandre Julliard | 617955d | 1999-06-26 18:40:24 +0000 | [diff] [blame] | 12 | void WINAPI INT_Int4bHandler( CONTEXT86 *context ) |
Alexandre Julliard | 9ea19e5 | 1997-01-01 17:29:55 +0000 | [diff] [blame] | 13 | { |
| 14 | switch(AH_reg(context)) |
| 15 | { |
| 16 | case 0x81: /* Virtual DMA Spec (IBM SCSI interface) */ |
| 17 | if(AL_reg(context) != 0x02) /* if not install check */ |
| 18 | { |
| 19 | SET_CFLAG(context); |
| 20 | AL_reg(context) = 0x0f; /* function is not implemented */ |
| 21 | } |
| 22 | break; |
| 23 | default: |
| 24 | INT_BARF(context, 0x4b); |
| 25 | } |
| 26 | } |