pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators
Module Name: pkgsrc
Committed By: nia
Date: Thu Jul 18 10:44:57 UTC 2019
Modified Files:
pkgsrc/emulators: Makefile
pkgsrc/emulators/libretro-sameboy: Makefile
Added Files:
pkgsrc/emulators/sameboy: DESCR Makefile Makefile.common PLIST distinfo
Removed Files:
pkgsrc/emulators/libretro-sameboy: distinfo
Log Message:
sameboy: Update to 0.12.1. Add the SDL version.
0.12.1:
Bug Fixes
- Fixed the CGB and AGB boot ROMs being corrupt on the Windows version
- Improved audio quality on the SDL ports on systems using a large audio buffer
0.12:
New/Improved Features
- An experimental support for emulating CGB-CPU C is now available in the Cocoa port. This is still experimental and does not accurately represent all differences between CGB-CPU E and CGB-CPU C yet
- The Libretro port no longer restarts the core after changes to the high-pass filter or color correction
- The SDL port can now start in fullscreen mode via a command line argument
- High level emulation of Super Game Boy:
- Supports game colorization
- Supports borders, including correct emulation of the fade animations and borders that obscure parts of the Game Boy display window
- Up to 4-player multiplayer (Currently only in the Cocoa and Libretro ports)
- Can choose between Super Game Boy (NTSC), Super Game Boy (PAL) and Super Game Boy 2, with correct CPU speed emulation
- All models include open source boot ROMs, just like previously supported models
- Includes a default border for games without SGB support
- Includes a boot animation
- Accurate emulation of cases where the internal frame buffer loses sync with the SNES/SFC side
- New CRT display filter
- New preference panel in the Cocoa port
- Minor visual improvements to the icon
- Many performance all around the core
- The debugger now includes jump-to breakpoints
- New APU debugger commands
- The SDL port now has mouse support
- The SDL port now has an "Open ROM" dialog window, in addition to the previously available drag and drop support
- The Cocoa and SDL ports now have better support for sub-frame input accuracy
- The VRAM display window in the Cocoa port can now display SCX and SCY on the tilemap
- Redesigned audio API that should improve audio quality in all ports
Accuracy Improvements/Fixes
- WRAM, VRAM, and other types of memory are now realistically initialized to random values. The randomization patterns vary across emulated models and revisions. This fixes several games that rely on
non-zero values on boot
- Slightly more accurate emulation of the undocumented $FF4C register, which controls DMG mode on CGBs
- Fixed an APU regression where the noise channel's volume envelope ran too fast
- More accurate emulation of analog APU characteristics
- Fixed a CGB boot ROM bug that made some games boot with incorrect palettes
- Fixed incorrect emulation of echo RAM
- Fixed a very rare edge case when an interrupt occurs while the stack points to $FF11
- Correct emulation of the time required to switch the CPU speed
- Correct emulation of CGB palette accessibility in different PPU timings, fixes Lego Racers
- Other accuracy improvements to OAM and VRAM accessibility
- The serial registers now behave realistically by working with bits instead of bytes
- More accurate initial RAM and VRAM values when using the built in CGB boot ROM
- Accurate emulation of AGB audio mixing, which is different from older models
- Fixed the behavior of the wave channel's first sample playback, fixes buzzing sounds on LSDJ and several games
- Most aspects of STOP mode are now accurately emulated
- Fixed a bug where initial register values were incorrect when selecting a palette for a DMG game in the built in CGB boot ROM
- Fixed incorrect emulation of the Background and Window enable bit in LCDC
Bug Fixes
- Fixed a bug where the SDL port would not recognize joypads if started directly to a ROM
- Fixed a bug where the Quick Look previewer would show glitched thumbnails for DMG games
- Fixed a regression that made the Cocoa port unable to display anything on Macs not supporting Metal
- Fixed a bug where modifying RTC data could corrupt MBC RAM data
- Fixed a bug where CGB save states were significantly larger than they should have been, older save states are converted
- Fixed several bugs in expression parsing in the debugger
- Work around a bug where some Windows 10 machines using Intel HD Graphics had unresponsive UI in the SDL port
- Fixed a bug where the D-Pad did not work on several gamepads in the Cocoa port
- Fixed a bug where the gamepad D-Pad had unexpected behaviors in the menus of the SDL port
- Fixed a bug where underclocking slowed down the core to ~40% of its speed instead of an exact 50%
Misc Internal Changes
- Rename all Z80 instances to SM83, which is most likely the name of the CPU core used in the Game Boy
- Size optimization in the CGB boot ROM
To generate a diff of this commit:
cvs rdiff -u -r1.299 -r1.300 pkgsrc/emulators/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-sameboy/Makefile
cvs rdiff -u -r1.2 -r0 pkgsrc/emulators/libretro-sameboy/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/sameboy/DESCR \
pkgsrc/emulators/sameboy/Makefile \
pkgsrc/emulators/sameboy/Makefile.common pkgsrc/emulators/sameboy/PLIST \
pkgsrc/emulators/sameboy/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/Makefile
diff -u pkgsrc/emulators/Makefile:1.299 pkgsrc/emulators/Makefile:1.300
--- pkgsrc/emulators/Makefile:1.299 Sun Jul 7 13:32:18 2019
+++ pkgsrc/emulators/Makefile Thu Jul 18 10:44:57 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.299 2019/07/07 13:32:18 nia Exp $
+# $NetBSD: Makefile,v 1.300 2019/07/18 10:44:57 nia Exp $
#
COMMENT= Emulators for other operating systems
@@ -166,6 +166,7 @@ SUBDIR+= qemu
SUBDIR+= raine
SUBDIR+= realboy
SUBDIR+= retroarch
+SUBDIR+= sameboy
SUBDIR+= shoebill
SUBDIR+= simh
SUBDIR+= simulavr
Index: pkgsrc/emulators/libretro-sameboy/Makefile
diff -u pkgsrc/emulators/libretro-sameboy/Makefile:1.4 pkgsrc/emulators/libretro-sameboy/Makefile:1.5
--- pkgsrc/emulators/libretro-sameboy/Makefile:1.4 Sat May 18 09:57:12 2019
+++ pkgsrc/emulators/libretro-sameboy/Makefile Thu Jul 18 10:44:57 2019
@@ -1,21 +1,14 @@
-# $NetBSD: Makefile,v 1.4 2019/05/18 09:57:12 nia Exp $
+# $NetBSD: Makefile,v 1.5 2019/07/18 10:44:57 nia Exp $
-DISTNAME= libretro-sameboy-0.11.2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_GITHUB:=LIJI32/}
-GITHUB_PROJECT= SameBoy
-GITHUB_TAG= v${PKGVERSION_NOREV}
+.include "../../emulators/sameboy/Makefile.common"
+
+PKGNAME= libretro-${DISTNAME}
MAINTAINER= nia%NetBSD.org@localhost
HOMEPAGE= https://docs.libretro.com/library/sameboy/
COMMENT= Libretro core based on the SameBoy Game Boy/Game Boy Color emulator
-LICENSE= mit
-EXTRACT_USING= bsdtar
BUILD_DIRS= libretro
-USE_TOOLS+= gmake
-
-TOOL_DEPENDS+= rgbds-[0-9]*:../../devel/rgbds
MAKE_FLAGS+= GIT_VERSION="${PKGVERSION}-pkgsrc"
Added files:
Index: pkgsrc/emulators/sameboy/DESCR
diff -u /dev/null pkgsrc/emulators/sameboy/DESCR:1.1
--- /dev/null Thu Jul 18 10:44:57 2019
+++ pkgsrc/emulators/sameboy/DESCR Thu Jul 18 10:44:57 2019
@@ -0,0 +1,5 @@
+SameBoy is an extremely accurate open source Nintendo Gameboy (DMG)
+and Gameboy Color (CGB) emulator, written in portable C.
+
+It features link cable emulation, and includes open source DMG and CGB
+boot ROMs.
Index: pkgsrc/emulators/sameboy/Makefile
diff -u /dev/null pkgsrc/emulators/sameboy/Makefile:1.1
--- /dev/null Thu Jul 18 10:44:57 2019
+++ pkgsrc/emulators/sameboy/Makefile Thu Jul 18 10:44:57 2019
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2019/07/18 10:44:57 nia Exp $
+
+.include "Makefile.common"
+
+MAINTAINER= nia%NetBSD.org@localhost
+HOMEPAGE= https://sameboy.github.io/
+COMMENT= Highly accurate Game Boy and Game Boy Color emulator
+
+BUILD_TARGET= sdl
+
+MAKE_FLAGS+= DATA_DIR=${PREFIX}/share/sameboy/
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= share/doc/sameboy
+INSTALLATION_DIRS+= share/sameboy
+INSTALLATION_DIRS+= share/sameboy/Shaders
+
+BUILDLINK_TRANSFORM+= rm:-Werror
+
+do-install:
+ cd ${WRKSRC}/build/bin/SDL && ${INSTALL_PROGRAM} sameboy \
+ ${DESTDIR}${PREFIX}/bin/sameboy
+ cd ${WRKSRC}/build/bin/SDL && ${INSTALL_DATA} *.bin *.sym *.bmp \
+ ${DESTDIR}${PREFIX}/share/sameboy
+ cd ${WRKSRC}/build/bin/SDL && ${INSTALL_DATA} LICENSE \
+ ${DESTDIR}${PREFIX}/share/doc/sameboy
+ cd ${WRKSRC}/build/bin/SDL/Shaders && ${INSTALL_DATA} *.fsh \
+ ${DESTDIR}${PREFIX}/share/sameboy/Shaders
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/emulators/sameboy/Makefile.common
diff -u /dev/null pkgsrc/emulators/sameboy/Makefile.common:1.1
--- /dev/null Thu Jul 18 10:44:57 2019
+++ pkgsrc/emulators/sameboy/Makefile.common Thu Jul 18 10:44:57 2019
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile.common,v 1.1 2019/07/18 10:44:57 nia Exp $
+# used by emulators/sameboy/Makefile
+# used by emulators/libretro-sameboy/Makefile
+
+DISTNAME= sameboy-0.12.1
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=LIJI32/}
+GITHUB_PROJECT= SameBoy
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+LICENSE= mit
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= gmake
+
+TOOL_DEPENDS+= rgbds-[0-9]*:../../devel/rgbds
+
+DISTINFO_FILE= ${.CURDIR}/../../emulators/sameboy/distinfo
Index: pkgsrc/emulators/sameboy/PLIST
diff -u /dev/null pkgsrc/emulators/sameboy/PLIST:1.1
--- /dev/null Thu Jul 18 10:44:57 2019
+++ pkgsrc/emulators/sameboy/PLIST Thu Jul 18 10:44:57 2019
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2019/07/18 10:44:57 nia Exp $
+bin/sameboy
+share/doc/sameboy/LICENSE
+share/sameboy/Shaders/AAOmniScaleLegacy.fsh
+share/sameboy/Shaders/AAScale2x.fsh
+share/sameboy/Shaders/AAScale4x.fsh
+share/sameboy/Shaders/Bilinear.fsh
+share/sameboy/Shaders/CRT.fsh
+share/sameboy/Shaders/HQ2x.fsh
+share/sameboy/Shaders/LCD.fsh
+share/sameboy/Shaders/MasterShader.fsh
+share/sameboy/Shaders/NearestNeighbor.fsh
+share/sameboy/Shaders/OmniScale.fsh
+share/sameboy/Shaders/OmniScaleLegacy.fsh
+share/sameboy/Shaders/Scale2x.fsh
+share/sameboy/Shaders/Scale4x.fsh
+share/sameboy/Shaders/SmoothBilinear.fsh
+share/sameboy/agb_boot.bin
+share/sameboy/background.bmp
+share/sameboy/cgb_boot.bin
+share/sameboy/dmg_boot.bin
+share/sameboy/registers.sym
+share/sameboy/sgb2_boot.bin
+share/sameboy/sgb_boot.bin
Index: pkgsrc/emulators/sameboy/distinfo
diff -u /dev/null pkgsrc/emulators/sameboy/distinfo:1.1
--- /dev/null Thu Jul 18 10:44:57 2019
+++ pkgsrc/emulators/sameboy/distinfo Thu Jul 18 10:44:57 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/07/18 10:44:57 nia Exp $
+
+SHA1 (sameboy-0.12.1.tar.gz) = 834f746e6f6e7979a89282b6ccf6591e7a995bde
+RMD160 (sameboy-0.12.1.tar.gz) = 806694f76a86b3b347b5a5a1ca25336b3fdbfcef
+SHA512 (sameboy-0.12.1.tar.gz) = c02c2d77a514dea110c1ffee56291b69e7b44fe41975c03a8df332ed3a5417c2eec71ae1ae5c8fde27b698bd19d803f1102788e34855436ba4cd06a024bd20e6
+Size (sameboy-0.12.1.tar.gz) = 2533327 bytes
Home |
Main Index |
Thread Index |
Old Index