pkgsrc/emulators/fmsx/Makefile
obache 20f40f8c39 Update fmsx to 3.5.1.
approved by agc@.

New in This Version

  * After a long pause, finally updated fMSX-Unix port. fMSX-Unix source code
    is once again available as part of the core source code distribution. It
    has been debugged on the Ubuntu Linux. Let me know of any incompatibilities
    with other Unix flavors.
  * Extended fMSX-Symbian port to support UIQ3 phones from Sony Ericsson and
    Motorola. As I only have key-operated Motorola Z8, testers with pen-based
    SE phones are badly needed.
  * Added run-time compatibility with 8bpp, 16bpp, 24bpp (32bit pixels) and
    32bpp screen depths to fMSX-Unix. IMPORTANT: At this moment, built-in
    config menu, debugger, and NetPlay dialog will only work at X11 screen
    depth that matches your compile-time setting (i.e. -DBPPxx) in Makefile.
    Make sure you always compile fMSX-Unix for your default screen depth.
  * Disabled secondary slots for primary slot #0 in MSX1 mode. DiskROM boots in
    MSX1 mode again.
  * Now syncing all sound channels after loading state, sound does not get
    "stuck" any more.
  * Renamed command line option -zoom/-nozoom into -soft/-nosoft.
  * Moved a few key definitions, so that "!@#$%^..." characters can now be used
    as indices into Keys[]. This is done for compatibility with GDK key events.
  * Renamed KeyMap[] to KeyState[] to avoid name clash with MacOSX system API.
  * ALT swaps joysticks 1/2 on all platforms where applicable.
  * CONTROL/SHIFT keys now act as FIRE-A/FIRE-B joystick buttons on all
    platforms.
  * Improved fMSX-Symbian sound code, although sound problems still persist on
    some UIQ3 phones.
  * Split fMSX-Symbian/S60 configuration menu into four tabs, making "Video"
    and "Audio" settings separate.
  * Added "Audio Latency", "Skip Frames", and "Sync Updates" settings to
    fMSX-Symbian.
  * Added to fMSX-Symbian ability to use Nokia E61/E62 [FUNC] key in the
    built-in menu.
  * Fixed an fMSX-Symbian bug where pieces of virtual keyboard remained on
    screen after closing it.
  * Pressing [8] key on fMSX-Symbian now invokes virtual keyboard, if enabled,
    for the phones which do not have the [EDIT] key.

New in fMSX 3.4

  * Added network play option to fMSX-Windows and fMSX-Symbian!
  * Now not opening printer file until the first character is printed.
  * Fixed OUTD/OUTDR opcodes to modify B register before the OUT operation.
  * No longer trying to load state files from LoadFile().
  * Defined "INLINE" properly, depending on the C standard supported by the
    compiler.
  * Finally retired #ifdef SOUND as sound is always compiled in anyway.
  * Added new, much better, scanline simulation and video softening effects to
    fMSX-Windows.
  * fMSX-Windows full-screen mode now runs in 640x480 resolution.
  * Fixed problem with full-screen SCREEN 6/7 in fMSX-Windows.
  * fMSX-MSDOS has got complete (non-truncated) emulation for SCREEN 6/7 and
    TEXT80 screen modes.
  * fMSX-MSDOS now always runs in 640x480x15bpp VESA screen mode.
  * Added options to simulate TV scanlines (-tv/-notv) and zoom display (-zoom/
    -nozoom) to fMSX-MSDOS.
  * Options -sync/-nosync/-vsync work properly again in fMSX-MSDOS.
  * Added new "Fill & Soften" zoom mode to fMSX-Symbian. It is rather slow
    though.
  * Added ability to use virtual keyboard in fMSX-Symbian to enter filename
    when saving files from the built-in menu.
  * Fixed problem with gameplay being too fast in fMSX-Symbian.
  * Fixed possible source of instabilities in the S60 open file dialog in
    fMSX-Symbian.
  * Fixed exit via Symbian-specific menu.
  * Fixed premature termination of the emulation thread when exiting
    fMSX-Symbian, soundtrack recording and config saving work again.
  * The [C] ("Clear") key is no longer used to toggle sound in fMSX-Symbian. It
    acts as [BACKSPACE] instead.

New in fMSX 3.3

  * Save state format has changed due to serious changes to the emulator
    architecture!
  * Added OpZ80() function and the FAST_RDOP macro to the Z80 emulation to
    optimize code access in architectures with memory-mapped I/O.
  * Added subslot support to all slots.
  * Moved PAINTER.ROM to slot 0:1, FMPAC to slot 0:2, MSXDOS2.ROM to slot 3:0.
  * Reduced the number of user cartridges back to two (A/B). All the other
    slots are taken by system cartridges (MSXDOS2, FMPAC, etc.).
  * Locked user cartridges in slots 1/2 to subslot 0, as external cartridges
    often do not use subslots.
  * If Konami's GMASTER2.ROM or GMASTER.ROM is present in the program
    directory, fMSX will now load it as a system cartridge.
  * Fixed state file name autogeneration.
  * Fixed -rom option behaviour.
  * Fixed hangup when switching from MSX1 to MSX2 mode.
  * Fixed MSXDOS2.ROM and FMPAC.ROM support.
  * Fixed StateID() function to take all cartridges and system ROMs into
    account.
  * Fixed non-working joystick autofire.
  * Now checking joysticks and mice once per frame.
  * Now accelerating horizontal mouse movement in 512-wide screen modes.
  * Mouse buttons are now merged with joystick buttons.
  * Fixed mouse-as-joystick option.
  * Improved file type detection, now automatically detecting saved states,
    disk images, cartridge ROMs, fixed font files.
  * Readded proper support for fixed text mode fonts with LoadFNT().
  * Added proper emulation for the WD1793 FDC (WD1793.c).
  * Added unified .FDI disk image support (FDIDisk.c).
  * Added support for standard, SV738, Arabic, and Brazilian WD1793-based disk
    interfaces.
  * Added support for GZIPped disk images.
  * Made disk geometry discovery smarter (CP/M-80 v2.2 now boots).
  * Moved 720kB floppy utilities (Floppy.c) and SCC sound chip emulation
    (SCC.c) into EMULib.
  * Added command line option to patch DiskROM calls (-simbdos). With this
    option on, fMSX takes over DiskROM disk access routines. When -wd1793 is
    used, fMSX will simulate real WD1793 FDC instead.
  * Rehashed built-in menu to make screen space for more options.
  * Added menu options to select RAM and VRAM sizes, create new disk images,
    save disk images, patch DiskROM calls, load and use fixed text mode fonts.
  * Added virtual keyboard to fMSX-Symbian, invoked by pressing [EDIT] or left
    [SHIFT] key. The keyboard can work in three modes: "Off", "Single Key
    Entry", and "Multiple Keys Entry".
  * Added display orientation settings to fMSX-Symbian ("Landscape",
    "Portrait", and "Auto").
  * Finally fixed opendir() problem in EMULib-Symbian. All built-in menu file
    dialogs work now!
  * Further extended and optimized Symbian screen rendering routines.
  * Fixed and optimized TV scanline simulation in fMSX-Symbian, made scanline
    effect stronger.
  * Now saving RAM and VRAM size settings in fMSX-Symbian.
  * fMSX-Symbian now uses true 512-wide display drivers for SCREEN6, SCREEN7,
    and TEXT80.
  * fMSX-Symbian will now save printer output to E:\Others\fMSX\PRINTER.OUT.
  * Fixed system warnings in when flipping Nokia E70 open/closed.
  * Fixed possible crash when selecting an initial file in fMSX-Symbian.
  * Improved "About" box in fMSX-Symbian.
  * Moved fMSX-Symbian file selection root to E:\.
  * When initial file selection cancelled, fMSX-Symbian will now boot into
    plain BASIC (i.e. no cartridges and no disks).
  * Renamed fMSX-Symbian binary and resource files to avoid name clash with
    fMSX/S60 port by Juha Riihimaki.
  * Fixed mouse support in fMSX-MSDOS.

New in fMSX 3.2

  * Added ChangePrinter() function to set printer redirection file.
  * Moved disk operations to a separate submenu of the built-in menu and added
    "Eject Disk" options.
  * Added an easy "Load File" option to the built-in menu and the fMSX-Windows.
  * Added options to redirect printer and sound logging output to the built-in
    menu and the fMSX-Windows.
  * Added error messages to fMSX-Windows and fMSX-Symbian.
  * Added frame rate display option to fMSX-Symbian.
  * Added "fill screen" zoom option to fMSX-Symbian.
  * Added MIDI soundtrack logging to fMSX-Symbian (saved into E:\Sounds and can
    be used as ringtones).
  * Added configurable button and key mappings to fMSX-Symbian.
  * fMSX-Symbian application menu is now split into three pages.

New in fMSX 3.1

  * fMSX-Windows and fMSX-DOS are now compiled with OpenWatcom C++ and use the
    new EMULib framework. Note that keyboard assignments have changed!
  * Added hardware reset key ([F11]) to reboot MSX.
  * Added universal screen buffer based Z80 debugger ([F10]) that works on all
    platforms.
  * Added universal configuration menu ([F8]) that works on all platforms.
  * Added ResetMSX() function to restart MSX, possibly in a new operating mode.
  * Extended LoadCart() function to load or eject cartridges at runtime.
  * Added Mode variable to store all configuration options.
  * Replaced -vperiod/-hperiod settings with easier to understand -pal/-ntsc
    settings.
  * Replaced -uperiod setting with a finer -skip setting that controls the
    percentage of skipped frames.
  * Fixed Z80 NMI handling to comply with the standard.
  * Fixed SRAM file saving.
  * Fixed state file name generation.
  * Added autofire options for joystick buttons.
  * fMSX-Windows has got a new menu-based GUI, improved sound, and faster
    graphics updates.
  * Fixed USB joypad support in fMSX-Windows.
  * fMSX-MSDOS now uses 16BPP screen mode.
  * Updated the documentation.

New in fMSX 3.0

  * Added transparent support for GZIPped disk images as disks. You can now
    pass .GZ file names in -diska/-diskb command line options.
  * Added transparent support for directories as disks (thanks to Miguel
    Colom). You can now pass directory names in -diska/-diskb command line
    options. Changes to such disks will not be saved for safety reasons.
  * Added DirectDraw-based full screen mode to fMSX-Windows. Press [ALT]+
    [ENTER] to switch in and out of the full screen mode. Use it with caution,
    as DirectDraw is notoriously unstable.
  * Added a full-fledged debugger to fMSX-Windows. Press [F11] to invoke the
    debugger.
  * Fixed several bugs in MIDI implementations that made some games silent when
    logging soundtrack or using MIDI output in fMSX-Windows.
  * Better adapted fMSX-MSDOS to 320x200 VGA screen.
  * "Sync to VBlanks" option is now default in fMSX-MSDOS.

New in fMSX 2.8

  * Fixed initial envelope volume in AY8910.c, thanks to Koichi Nishida.
  * Fixed a problem with 8kB/16kB cartridges failing to execute in the MSX1
    mode.
  * When guessing a MegaROM mapper type, fMSX now tries to look at a data file
    CARTS.CRC containing pairs of cartridge CRCs and mapper types.
  * Added support for the third cartridge slot. You can now give up to three
    cartridge names on the command line and three -rom options.
  * Cartridges are now inserted into slots 1:X (A), 2:X (B), and 3:0 (C). The
    RS232.ROM has been moved to slot 3:3.
  * Added support for the 64kB Panasonic FM-PAC cartridge with 8kB SRAM (-rom
    7).
  * fMSX loads files FMPAC.ROM, MSXDOS2.ROM, and PAINTER.ROM automatically, as
    long as they are in the program directory and there is an empty cartridge
    slot available.
  * Added support for ASCII/8kB cartridges with 8kB SRAM (Xanadu, Royal Blood).
    Please, inform me if this has broken support for any "normal" ASCII/8kB
    cartridges.
  * Added support for ASCII/16kB cartridges with 2kB SRAM (Hydlide 2). Please,
    inform me if this has broken support for any "normal" ASCII/16kB
    cartridges.
  * All battery-backed SRAM save files have now got .SAV extension. For
    example, GameMaster2.rom will produce a SRAM file named GameMaster2.sav.
  * Added reporting of bad memory writes with -verbose 8.
  * The R-Type cartridge and its variants are supported by the ASCII/16kB
    MegaROM mapper (-rom 5).
  * HAL's Hole In One Special cartridge is supported by the GENERIC/16kB
    MegaROM mapper (-rom 1).
  * Konami's Majutsushi (aka Mah Jong 2 or RC765) cartridge is supported by the
    GENERIC/8kB MegaROM mapper (-rom 0), although the D/A audio circuit
    emulation is not implemented.
  * Added fast-forwarding option ([F9]) and moved fixed font switch to a
    different key ([CONTROL]-[F9]).
  * Changed [F6],[F9],[F10] assignments in fMSX-Windows to comply with other
    fMSX ports.
  * Added Options menu to fMSX-Windows.
  * fMSX-FreeBSD now compiles without changes on FreeBSD 5.x (FreeBSD 4.x users
    may have to change the location of the soundcart.h).
  * Fixed sound in fMSX-FreeBSD by increasing the number of sound fragments
    from 8 to 64. If any of FreeBSD developers are reading this, could you
    explain why this is needed?

New in fMSX 2.7

  * Switched to the latest version of the OpenWatcom C/C++ compiler.
  * The infamous Windows problem with spaces in directory names seems to be
    fixed by using a newer compiler.
  * Made some arrays "const" to facilitate porting to run-from-ROM platforms
    (cellphones, PDAs, etc.).
  * Joystick problems in fMSX-Windows are fixed.
  * Descreased the default sound volume in fMSX-Unix.
  * Increased the default wave synthesis frequency to 44.1kHz.
  * Minor fixes to the Unix sound drivers.
  * Removed MIDI volume control from Windows sound drivers.
  * Added TV raster effect to fMSX-Windows.

New in fMSX 2.6

  * Added separate (and correct) emulation for the i8255 PPI chip.
  * Added masking to lower bits of video table addresses.
  * Added timing and other fixes to the Z80 core (courtesy of Omar Cornut).
  * Fixed line coincidence and VBlank handling (thanks to Vincent van Dam).
  * Save state (.STA) file format has changed.
  * Fixed a bug that messed up screen table addresses when restoring state.
  * Fixed a bug that left dummy memory page dirty when loading GZIPped ROMs.
  * Fixed a -home option bug on Solaris (thanks to Eric Boon).
  * Fixed fMSX-Unix to allow it to have an application icon under WindowMaker.

New in fMSX 2.5

  * Added emulation state saving and loading.
  * Added support for GZIPped ROM files and state file.
  * Changed keyboard handler in fMSX-Unix. Hopefully, the key assignments
    should now be more natural.
  * Added sound on/off switch to fMSX-Unix and fMSX-MSDOS.
  * Keyboard assignments changed everywhere.
2010-01-07 08:38:43 +00:00

68 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2010/01/07 08:38:43 obache Exp $
DISTNAME= fMSX351
PKGNAME= fmsx-3.5.1
CATEGORIES= emulators x11
MASTER_SITES= http://fms.komkon.org/fMSX/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://fms.komkon.org/fMSX/
COMMENT= MSX (Z80-based computer) emulator
RESTRICTED= ROM image copyright is questionable
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
BUILD_DIRS= fMSX/Unix
.include "../../mk/bsd.prefs.mk"
.include "../../mk/endian.mk"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
USE_SUN_AUDIO?= YES
.else
USE_SUN_AUDIO?= NO
.endif
DEFS+= -DRomDir=\"${PREFIX:Q}/share/fmsx\"
.if ${USE_SUN_AUDIO} == "YES"
DEFS+= -DSUN_AUDIO
.else
. include "../../mk/oss.buildlink3.mk"
SUBST_CLASSES+= devdsp
SUBST_STAGE.devdsp= pre-build
SUBST_FILES.devdsp= EMULib/SndUnix.c
SUBST_SED.devdsp= -e 's|/dev/dsp|${DEVOSSSOUND}|g'
.endif
.if ${MACHINE_ENDIAN} == "big"
DEFS+= -DMSB_FIRST
.elif ${MACHINE_ENDIAN} == "little"
DEFS+= -DLSB_FIRST
.else
BROKEN+= "Unknown endian"
.endif
MAKE_ENV+= DEFS=${DEFS:Q}
INSTALLATION_DIRS= bin share/fmsx share/doc
# Makefile of fMSX doesn't have install target.
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fMSX/Unix/fmsx ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/fMSX/ROMs/*.ROM ${DESTDIR}${PREFIX}/share/fmsx
${INSTALL_DATA} ${WRKSRC}/fMSX/ROMs/*.FNT ${DESTDIR}${PREFIX}/share/fmsx
${INSTALL_DATA} ${WRKSRC}/fMSX/fMSX.html ${DESTDIR}${PREFIX}/share/doc
.include "../../devel/zlib/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"