- updated Elpin VGA BIOS to version 2.40, and changed pointer in .bochsrc - fixed .conf.x86 script so that it uses c++ instead of egcs for C++ files - now Makefile targets that recurse into subdirectories use double colons, so that it will always recurse into subdirectories. Now a single make command should notice a modified source file in a subdir. - fixed bug in bx_panic. If BX_PANIC_IS_FATAL==0 and a (non-fatal) panic occurs, it used to call bx_atexit() and then return. It should never call bx_atexit, which starts to shut down the simulator, unless it's really going to quit! - support 2.88 MB floppy disks - since dataseghack is checked in as non-executable, invoke it with "csh dataseghack" - double fault patch from Thomas Petazzoni <thomas.petazzoni@ifrance.com>, sourceforge patch #423726. - removed -fno-builtin from fpu makefiles - redefine u_char, u_short, etc. in order to not conflict with system definitions of these same types. - in cdrom.cc, remove the extern "C" { } structure around some of the header files. This is no longer necessary. - do not panic on hard disk command 0x1f2 (read sector count) - in keyboard.cc: - apply Todd Fries' reset patch - recognize most of the "Grey" insert/delete/home/end/etc. keys the same as keypad keys. - removed panic on "kbd_ctrl_to_kbd(): got value of 0x??" - implement mouse command 0xf6 (set defaults) - apply Suboner@aol.com's Xwindows timing patch from http://sourceforge.net/tracker/index.php?func=detail&aid=418730&group_id=12580 &atid=312580 - remove all patches from patches subdir which have already been applied. The remaining ones are under consideration but not applied.
45 lines
1.6 KiB
Makefile
45 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2001/05/25 23:01:30 kei Exp $
|
|
|
|
DISTNAME= bochs-1.1.2
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bochs/}
|
|
|
|
MAINTAINER= root@garbled.net
|
|
HOMEPAGE= http://bochs.sourceforge.net/
|
|
COMMENT= I386 machine emulator capable of running dos/windows
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
#CONFIGURE_ARGS= --enable-debugger --enable-disasm
|
|
USE_X11= yes
|
|
|
|
BOCHS_MAINDIR= ${PREFIX}/share/bochs
|
|
BOCHS_BIOSDIR= ${BOCHS_MAINDIR}/bios
|
|
BOCHS_FONTDIR= ${BOCHS_MAINDIR}/xfonts
|
|
BOCHS_DOCDIR= ${PREFIX}/share/doc/html/bochs
|
|
MESSAGE_SUBST+= BOCHS_MAINDIR=${BOCHS_MAINDIR} \
|
|
BOCHS_FONTDIR=${BOCHS_FONTDIR} \
|
|
BOCHS_DOCDIR=${BOCHS_DOCDIR}
|
|
|
|
post-configure:
|
|
${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' \
|
|
< ${WRKSRC}/.bochsrc > ${WRKSRC}/bochsrc
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${BOCHS_BIOSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/bios/BIOS-bochs-990925a ${BOCHS_BIOSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/bios/VGABIOS-elpin-2.40 ${BOCHS_BIOSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/bios/VGABIOS-elpin-LICENSE ${BOCHS_BIOSDIR}
|
|
${INSTALL_DATA_DIR} ${BOCHS_DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs-html/00README ${BOCHS_DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs-html/*.gif ${BOCHS_DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs-html/*.html ${BOCHS_DOCDIR}
|
|
${INSTALL_DATA_DIR} ${BOCHS_FONTDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/font/hercules.bdf ${BOCHS_FONTDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/font/vga.bdf ${BOCHS_FONTDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/font/vga.pcf ${BOCHS_FONTDIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bochs ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/bochsrc ${PREFIX}/share/bochs
|
|
${X11BASE}/bin/mkfontdir ${PREFIX}/share/bochs/xfonts
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|