summaryrefslogtreecommitdiffstats
path: root/ddcprobe/bioscall.c
diff options
context:
space:
mode:
authornalin <nalin>1999-08-15 03:20:27 +0000
committernalin <nalin>1999-08-15 03:20:27 +0000
commit39f172f19d4b66ab1ed9c4aa47f41351ced02222 (patch)
tree3bab52d04c409bfda24d67e292a07a619b4fe438 /ddcprobe/bioscall.c
parentef2df67e146d1108b8f6e110114bf8efccb55cad (diff)
downloadanaconda-39f172f19d4b66ab1ed9c4aa47f41351ced02222.tar.gz
anaconda-39f172f19d4b66ab1ed9c4aa47f41351ced02222.tar.xz
anaconda-39f172f19d4b66ab1ed9c4aa47f41351ced02222.zip
updates of some kin
Diffstat (limited to 'ddcprobe/bioscall.c')
-rw-r--r--ddcprobe/bioscall.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ddcprobe/bioscall.c b/ddcprobe/bioscall.c
index 52f9c7898..f58b3b6c0 100644
--- a/ddcprobe/bioscall.c
+++ b/ddcprobe/bioscall.c
@@ -250,6 +250,13 @@ void do_vm86(struct vm86_struct *vm, char *memory, unsigned stop_eip) {
vm->regs.eip++;
break;
}
+ case 0x59: { /* pop cx -- Banshee */
+ vm->regs.ecx &= 0xffff0000;
+ vm->regs.ecx |= *(u_int16_t*)
+ &memory[vm->regs.ss*16 + vm->regs.esp];
+ vm->regs.esp += 2;
+ vm->regs.eip++;
+ }
case 0xc3: { /* ret near, just pop ip */
vm->regs.eip &= 0xffff0000;
vm->regs.eip |= *(u_int16_t*)