|
@@ -51,6 +51,12 @@ void hook_bios_interrupt ( unsigned int interrupt, unsigned int handler,
|
51
|
51
|
sizeof ( *chain_vector ) );
|
52
|
52
|
DBG ( "...chaining to %04x:%04x\n",
|
53
|
53
|
chain_vector->segment, chain_vector->offset );
|
|
54
|
+ if ( DBG_LOG ) {
|
|
55
|
+ char code[64];
|
|
56
|
+ copy_from_real ( code, chain_vector->segment,
|
|
57
|
+ chain_vector->offset, sizeof ( code ) );
|
|
58
|
+ DBG_HDA ( *chain_vector, code, sizeof ( code ) );
|
|
59
|
+ }
|
54
|
60
|
|
55
|
61
|
copy_to_real ( 0, ( interrupt * 4 ), &vector, sizeof ( vector ) );
|
56
|
62
|
hooked_bios_interrupts++;
|