mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
6c96bb41e7
rather large patchset improving pcemu. I therefore also decided to bump the version number from 1.01a to 1.01b, David Hedley apparently abandoned all work on pcemu anyway. The exact details of Arne's patches can be studied in the PR, it's something like 50 lines of explanation i don't want to quote in full here. In short, he submitted a number of improvements and a fix for the hard disk emulation in pcemu's BIOS. After a review, i decided to leave the patches verbatim. In addition and while i was at it, i added something i always ment to do: the option to dynamically add floppy disks (and now also hard disks) from within the .pcemurc file, so there's no need to recompile if you just wanna get access to your floppy from within pcemu. Comment it out again once you're done. PR: ports/5788 Submitted by: <arnej@math.ntnu.no> Arne Henrik Juul
72 lines
2.0 KiB
Plaintext
72 lines
2.0 KiB
Plaintext
diff -ru orig.Makefile ./Makefile
|
|
--- orig.Makefile Wed Feb 18 10:50:46 1998
|
|
+++ ./Makefile Wed Feb 18 10:56:07 1998
|
|
@@ -16,6 +16,7 @@
|
|
# -DINLINE_FUNCTIONS if your compiler support inline functions (most do)
|
|
# -DDEBUG prints lots of debugging messages.
|
|
# -DDEBUGGER compiles in the debugger
|
|
+# -DPANIC halt emulator when you hit an unimplemented interrupt
|
|
# -DKBUK if you have a UK style 102 key keyboard
|
|
# -DBIG_ENDIAN if your computer is big-endian (Sparc, 68000 etc)
|
|
# -DCPU_LITTLE_ENDIAN if your computer is little-endian (80x86 etc)
|
|
diff -ru orig.bios.c ./bios.c
|
|
--- orig.bios.c Fri Jun 24 13:39:47 1994
|
|
+++ ./bios.c Wed Feb 18 10:56:07 1998
|
|
@@ -657,7 +657,7 @@
|
|
break;
|
|
default:
|
|
printf("unimplement INT 15h function %02X\n",*bregs[AH]);
|
|
-#ifdef DEBUG
|
|
+#ifdef PANIC
|
|
loc();
|
|
exit_emu();
|
|
#else
|
|
@@ -790,7 +790,7 @@
|
|
break;
|
|
default:
|
|
printf("unimplemented INT 1Ah function %02X\n", *bregs[AH]);
|
|
-#ifdef DEBUG
|
|
+#ifdef PANIC
|
|
loc();
|
|
exit_emu();
|
|
#endif
|
|
@@ -991,7 +991,7 @@
|
|
break;
|
|
default:
|
|
printf("Unimplemented INT 13h function %02X\n",*bregs[AH]);
|
|
-#ifdef DEBUG
|
|
+#ifdef PANIC
|
|
loc();
|
|
exit_emu();
|
|
#endif
|
|
diff -ru orig.vga.c ./vga.c
|
|
--- orig.vga.c Wed Jun 22 16:24:51 1994
|
|
+++ ./vga.c Wed Feb 18 10:56:07 1998
|
|
@@ -560,7 +560,7 @@
|
|
break;
|
|
default:
|
|
printf("Unimplemented int 0x10 function 0x11 sub-function %02X\n",*bregs[AL]);
|
|
-#ifdef DEBUG
|
|
+#if PANIC
|
|
loc();
|
|
exit_emu();
|
|
#endif
|
|
@@ -584,7 +584,7 @@
|
|
break;
|
|
default:
|
|
printf("Unimplemented int 10 function 0x12 sub-function 0x%02X\n",*bregs[BL]);
|
|
-#ifdef DEBUG
|
|
+#ifdef PANIC
|
|
loc();
|
|
exit_emu();
|
|
#endif
|
|
@@ -615,7 +615,7 @@
|
|
default:
|
|
printf("Unimplemented int 10 function: %02X. AL = %02X BL = %02X\n",
|
|
*bregs[AH], *bregs[AL], *bregs[BL]);
|
|
-#ifdef DEBUG
|
|
+#ifdef PANIC
|
|
loc();
|
|
exit_emu();
|
|
#endif
|