1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/emulators/pcemu/files/patch-c2-rom8x16
Joerg Wunsch 6c96bb41e7 This is the last of the ports PRs assigned to me... and actually a
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
2000-02-21 22:40:56 +00:00

20 lines
574 B
Plaintext

diff -ru orig.vga.c vga.c
--- orig.vga.c Wed Feb 18 11:11:30 1998
+++ vga.c Mon Feb 16 18:08:24 1998
@@ -558,6 +558,15 @@
wregs[BP] = ChangeE(0);
}
break;
+ case 0x14: /* Load rom 8x16 font */
+ if (height != 25) {
+ height = 25;
+ SetHeight(height);
+ SetSize((width+1) * (height+1) * 2);
+ new_screen(width+1, height+1, screen_mem);
+ clearscr(0,0,width, height, 0x07);
+ }
+ break;
default:
printf("Unimplemented int 0x10 function 0x11 sub-function %02Xh\n",*bregs[AL]);
#if PANIC