The NetBSD Project

CVS log for pkgsrc/emulators/sameboy/Makefile.common

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / emulators / sameboy

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Sep 21 07:46:51 2026 UTC (7 weeks, 6 days ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -5 lines
sameboy: update to 1.0.3.

Fixes build on -current.

Version 1.0.3

New/Improved Features

    Added support for more controllers in the iOS frontend, including singular Joy-Cons
    Pressing buttons while in a locked rewind state now exits rewind mode in the iOS frontend
    The iOS frontend now handles save conflicts with a dialog, making syncing saves across different machines and emulators easier
    An examine/x command can now use the /s modifier to change its output style to RGBDS-compatible assembly
    An examine/x command can now use $ in its modifier to use hexadecimal count values
    It is now possible to adjust the maximum rumble strength
    It is now possible to modify and save a running ROM file from the Memory Viewer in the Cocoa frontend
    Controller buttons can now be assigned to one of 4 hotkey commands in the iOS frontend
    Periodic saves were added to the iOS frontend
    A new screenshot hotkey was added to the SDL frontend
    Controller UI hiding in the iOS frontend can now optionally disable the centering of the game screen
    The Cocoa and SDL frontends now save the battery more frequently

Accuracy Improvements/Fixes

    Added silence detection to eliminate rounding artifacts when playing nothing but frequencies above Nyquist
    Prevented abnormal vblank events from updating the SNES-side buffers prematurely
    Fixed a bug that made reading the PCM registers non-deterministic when emulating a CGB in CPU revision C or older
    Fixed a bug that caused ROMs to be running in the background under some cases in the Cocoa frontend
    Fixed a bug that caused channel PCM12 to output incorrect channel 2 values when emulating CGB in CPU revision C or older
    Improved the accuracy of the PCM registers when emulating CGB in CPU revision C or older
    Emulated a new quirk where volume envelope ticks are delayed while emulating a CGB in CPU revisions D or E
    Corrected the channel alignment of channels 1 and 2 while emulating CGB in CPU revision C or older
    Fixed a bug where a volume envelope quirk that was only applicable to channels 1 and 2 was also applied to channel 4
    Major improvements to emulation of channel 4 start delays
    Emulated a quirk where one of channel 4’s internal counters counts while the channel is inactive
    Emulated LFSR corruptions and “zombie steps” when writing to NR43, including revision differences

Bug Fixes

    Fixed mouse cursor hiding behavior while debugging in the Cocoa frontend
    Fixed an issue where rewinding could reset the ROM under some circumstances in the iOS frontend
    Fixed a visual glitch in the reverse search functionality of the Cocoa debugger console
    Fixed a memory leak in scenarios where getline fails on some platforms
    Fixed a resource leak in scenarios where loading a cheat file fails
    Fixed resource leaks in certain scenarios where loading a battery save or an ISX ROM fails
    Fixed a bug that caused the SDL frontend to be stuck on the greyscale palette
    Fixed a bug where starting an audio recording could crash on Windows on some systems
    Fixed a bug where the Game Boy Camera could not be emulated correctly on some iPhone models
    Fixed a spelling mistake in an iOS tip message
    Fixed a bug where certain versions of macOS did not display SameBoy’s icon
    Fixed an issue that made it impossible to change the RTC mode in link mode in the libretro frontend

Misc Internal Changes

    Updated the boot ROMs so they can be built with the latest version of RGBDS
    Removed code for supporting legacy Windows save states from versions no longer compatible with modern versions of SameBoy
    Fixed compilation of the SDL frontend on unsigned char platforms
    Made it possible to build the Cocoa frontend using older SDKs
    Removed accidentally committed debugging code from the Cocoa frontend

Version 1.0.2

New/Improved Features

    New usage debugger command, displaying the Game Boy CPU’s time outside of halt/stop modes
    The debugger window in the Cocoa frontend now has a CPU usage graph
    The debugger print/eval command no longer adds zero padding by default
    The Cocoa frontend now has an option to force an integer scaling factor with black borders, similar to the SDL frontend
    The iOS frontend can now configure rapid A and rapid B buttons on a controller
    The SDL frontend now supports two optional V-sync modes
    The Cocoa and iOS frontends were updated with UI and UX improvements for macOS and iOS 26, respectively
        This also includes new icons when using on these operating systems, as well as on watchOS 26
    Minor UI improvements were also done for older versions of macOS and iOS
    SameBoy now supports the new menu bar on iPad OS 26
    Improved frame skipping during turbo mode
    Turbo mode can now have a configurable speed cap on all frontends
        In the iOS frontend, this supersedes the 200% and 400% overclocking-based turbo mode options
    Major improvements to audio quality, eliminating aliasing when playing high frequency tones
    The iOS frontend will now alert the user if automatic save states could not be created for some reason (e.g. lack of disk space)
    The iOS frontend will now ask for confirmations before resetting a ROM

Accuracy Improvements/Fixes

    Fixed an inaccuracy where the channel bias is applied to disconnected channel when mixing audio while emulating the Game Boy Advance

Bug Fixes

    Fixed a bug that caused certain GameShark codes to be imported incorrectly
    Pressing the Zoom button with alt/option pressed now resizes the window to the next integer scale even on newer macOS versions
    The debugger side view in the Cocoa frontend no longer scrolls to the bottom on longer outputs
    Fixed a bug that causes cheat search to crash when used on a ROM with no cartridge RAM
    Fixed a bug that prevented the Game Boy Printer from saving printed images to the iOS photo library
    Fixed a bug where certain addresses would be described incorrectly in the Cocoa frontend’s memory viewer
    Fixed a bug that caused GBS files to play the boot ROM jingle upon loading instead of the first track
    Fixed a bug that made the cheat search window remain open even after closing its ROM
    Fixed a bug where imported ROMs were copied instead of moved, and vice versa, on iOS
    Fixed a bug where Cocoa’s VRAM viewer would not show scrolling on some macOS versions
    Fixed a bug where emulation would not automatically resume after reaching the end of the rewind buffer on iOS
    Fixed a bug where the Cocoa frontend will fail update itself if it wasn’t moved to the Applications folder
    The iOS fronted now correctly handles cases where a user tries to open a ROM from an internal iOS or SameBoy folder
    Mitigated a rare bug where certain actions could spontaneously reset a ROM on iOS
    Fixed a bug with the GB_save_state API where it returned success even on failures
    Fixed a bug that prevented the binary releases of the Cocoa frontend from using the Mac’s camera while emulating the Game Boy Camera
    Fixed a bug where the interface would rotate while playing motion-controlled games on some iOS devices

Misc Internal Changes

    Fix build on OpenBSD
    SameBoy’s headers are now compatible with ANSI C and C++ compilation modes
    The DISABLE_* flags can now be used while building subsets of the lib target, as well as the newly-added headers target
    The Windows build process was changed to require Git Bash and Make instead of the GNUWin package

Version 1.0.1

New/Improved Features

    UI improvements to the Cocoa palette editor
    Improved audio quality on libretro; audio is now rendered by SameBoy at 2MHz, and downsampling is now handled by the libretro frontend itself
        In the Wii U build, downsampling is still done by SameBoy
    With the meaning of register $FF75 discovered, it is now referred to as rPGB in the debugger
    The output of the watchpoint debugger command now includes the watchpoint type (read-only, write-only, or read-write)
        This makes the default watchpoint type (write-only) more obvious
    Windows 11 users can now optionally disable rounded corners in the Graphics Options menu
    Official Windows builds no longer require installing MSVC runtimes by linking against mvscrt.dll
    Major improvements to debugging in the SDL frontend:
        The main emulator window is no longer unresponsive when the debugger is stopped
        Pressing keys in the emulator window while the debugger is paused now triggers a terminal bell
        On Windows, sameboy.exe and sameboy_debugger.exe have been merged. Press Ctrl+C at any time to interrupt the debugger and open the debugger console, and close the console window at any time to resume normal gameplay.
        Async debugging now supports all compatible versions of Windows, adding support for Windows 7, 8.x, and earlier builds of Windows 10
    When using an external controller, joysticks can now optionally be used as faux analog controls
        This feature quickly alternates D-pad buttons between pressed and release states to simulate analog inputs
    The SDL frontend will now automatically resize the window when switching between models and border modes as long as the window hasn’t been manually resized
    A workaround for an old RetroArch bug has been removed, audio in the Wii U libretro port is now louder
    It is now possible to enable audio for both Game Boys in the Link Cable mode of the libretro port

Accuracy Improvements/Fixes

    OAM randomization is now more accurate
    Fixed a bug where certain SGB transfers would copy data incorrectly when running SameBoy on big endian platforms
        This fixes many SGB games suffering from garbled graphics when playing on the Wii U
    Fixed a potential accuracy issue when emulating MBC7 games
    The number of band-limited phases was increased in order to reduce overtones in high-pitched sounds

Bug Fixes

    New palettes will now appear on the Cocoa frontend even if the user have previously customized palettes
    Fixed a bug that caused the Pink Pop theme to modify itself once opened in the palette editor, in both the Cocoa and iOS frontends
    Fixed a bug where the vertical layout was not usable on certain iPads
    Resetting emulation in the SDL version while the emulator is paused will now resume emulation
    Fixed a bug where changing the emulated model in the SDL frontend does not immediately closes the menu
    Removed Unicode characters from libretro settings, as many frontends cannot display them
    Fixed a bug that caused ROMs to run without a window in the Cocoa port after changing the emulated revision
    Several iOS and watchOS crashes have been fixed

Removed Features

    Integration with the Homebrew Hub has been removed from the iOS frontend

Misc Internal Changes

    The OpenDesktop thumbnailer is now stripped when built in release configuration, rather than being stripped only upon installation
    Official releases of SameBoy now build using the latest version of Clang, gaining speed boost of around 8%
    The FM synthesis routines used while rendering the SGB jingle have been optimized for speed

Version 1.0

New/Improved Features

    SameBoy for watchOS is now available:
        Transfer ROMs and saves to and from the iOS frontend (App Store only)
        Two customizable control schemes optimized for a small screen
        Fast Forward and Rewind support
        Settings and synced from the paired iPhone
        Available to active supporters or via a one-time payment
    The Cocoa frontend is now digitally signed and notarized
    SameBoy on Open Desktop platform can now generate thumbnails in file browsers via theXDG Thumbnails API
    Improved AirPlay Mirroring support in the iOS frontend
    Full-screen mode is now supported in the iOS frontend if a controller is used
    The Cocoa and SDL frontends now support automatic model selection
    Cheat Search is now available from the Cheats menu in the Cocoa frontend
    The user interface for the Cheats window has been improved in the Cocoa frontend
    The Cocoa and SDL frontends can now associate keyboard or joypad buttons with Rapid A or Rapid B
    Game Boy Printer can now be emulated in the iOS frontend
    Cheats can now be used in the iOS frontend
    iCloud support was added to the iOS frontend (App Store release only)
    The palette editor was added to the iOS frontend; it can now import, export and create its own palettes
    7 new palettes were added to all frontends
    The horizontal layout on iPhones that have a notch has been improved
    3 new interface themes were added to the iOS frontend (App Store release only)
    Improved ISX file compatibility
    The Cocoa frontend and now select a monospace font to be used in the debugger and other development windows
    The cartridge icons have been retouched and visually improved
    The SDL frontend on Windows can now associate itself with supported ROM files, and provide them with icons
    The box filter used for audio downsampling has been replaced with band-limited synthesis, vastly improving audio quality in all frontends
    A warning is now shown when loading a ROM with a RAM size smaller than a single bank
    iPhones that have x4 and x5 cameras can now pick a virtual x2 zoom factor when emulating a Game Boy Camera
    Improved the OAM viewer in the Cocoa frontend so it correctly show objects even when the object palette is all set to a single color
    Quick Look has been updated to support the newer thumbnailing and previewing APIs, required by macOS Sequoia

Accuracy Improvements/Fixes

    Improvements to OAM accessibility timings
    Improvements to PPU timings in CGB revisions 0 to C
        These revisions are no longer marked as “Experimental”
    More accurate emulation of SCX write conflicts on all models
    More accurate PPU fetcher timings, fixes visual glitches in in “Mr. Chin’s Gourmet Paradise” and “Turrican”
    Improved accuracy of cases where WX is 166 on pre-CGB models
    Improved accuracy of window edge cases, including emulation of a newly-discovered CGB window glitch, and improved accuracy in double speed mode
    Improved accuracy of LYC edge cases when emulating CGB revisions 0 to C in double speed mode
    Improved emulation of LCDC OBJ_EN write conflicts

Bug Fixes

    Fixed a bug that caused the Mute menu item to incorrectly appear marked while a ROM is paused in the Cocoa frontend
    Fixed a bug that made keyboard shortcuts affect the wrong ROM in certain cases where multiple ROMs and debug windows were open in the Cocoa frontend
    Fixed a bug that prevented macOS 10.13 and older from using Link Cable emulation in the Cocoa frontend
    Fixed a bug that made importing palettes in the Cocoa frontend glitchy
    Fixed a bug that made Game Boy Camera emulation in the Cocoa frontend sometime incorrectly stretch the camera input to incorrect aspect ratios
    Fixed a bug that made audio output too low in the iOS frontend under certain conditions
    Fixed a bug that caused the Library in the iOS frontend to crash if ROMs were modified in the Files app while it was open

Misc Internal Changes

    The core now supports outputting 2MHz audio (without downsampling)
    The Quick Look plugin and the main application now share the same code on disk, making the Cocoa frontend slightly smaller
    Fixed a bug that caused certain APIs to return success values despite failing
    Improved thread and context safety assertions in the core
    make lib builds SameBoy as a dynamic library now, in addition to the previously available static library
        This includes Windows support, which remains unsupported for static libraries
    Improvements to the core APIs. The API is now stable and documented

Version 0.16.7

New/Improved Features

    It is now possible to cycle between different main cameras on supported iPhone models in the iOS frontend
    The iOS frontend can now directly open ZIP archives
    ROMs can now be deleted from the iOS library using a context menu as well
    The Homebrew Hub in the iOS frontend was moved to a tab
    A new flat CRT filter is now available
    Retouched iOS icons, including support for dark and tinted icons

Bug Fixes

    Worked around a Wayland bug that sometimes caused SameBoy to crash it on exit
    Fixed a bug caused turbo/slow-motion/rewind modes to unexpectedly exit when using an external controller in the iOS frontend
    Prevented the console from flashing in the Windows version
    Fixed a bug when comparison operators had the wrong priority in the debugger
    Fixed a potential crash involving haptics in the iOS frontend
    Fixed a bug that caused the delete and unwatch commands to list the wrong breakpoint/watchpoint after deleting one
    Fixed more potential edge cases that could prevent the Cocoa frontend from opening files
    Fixed incorrect spellings of Game Genie as “GameGenie”

Misc Internal Changes

    Fixed an issue that made macOS binaries incompatible with some older versions of macOS when using the latest macOS SDK
    SDL2 has been upgraded for Windows releases

Version 0.16.6

New/Improved Features

    You can now browse Homebrew Hub and download submitted games and demos directly in the iOS frontend.
        Currently, only open-source submissions can be viewed in-app. The ability to allow other submissions to appear in SameBoy will be added to Homebrew Hub soon.
    The option to open SameBoy’s Library in the Files app has been added to the iOS frontend’s Library screen.
    Screen dimming is now disabled while emulation is running in the iOS frontend.
    Improved D-pad controls in the iOS frontend – the center point of the D-pad is now a safe “rest” zone; dragging a touch outside of the D-pad no longer releases the button.
    User-provided boot ROMs can now be selected in the iOS frontend.

Accuracy Improvements

    Accuracy improvements to the square “zombie stepping” glitch in CGB-D and CGB-E, fixed Telefang title audio that was broken for these revisions.
    Writing to NRx3 and NRx4 in the same cycle these registers are read by the APU is now emulated correctly.
    SameBoy will now select cgbE_boot.bin, if available, when emulating CGB-E.

Bug Fixes

    Fixed a bug that triggered occasional audio distortions on some Macs and iOS devices.
    Fixed a bug that made the iOS version sometimes incorrectly prefer SGB over CGB emulation for some newly imported ROMs.
    Fixed a bug that could crash SameBoy upon pausing in the iOS and Cocoa frontends.
    Fixed a bug that made the Cocoa frontend’s Debug Console windows always on top.
    Fixed a 0.16.5 regression that broke the Cocoa frontend’s Memory window on macOS Sonoma.
    Fixed stability issues when emulating the Game Boy Camera in the iOS frontend.
    Fixed a bug that caused haptics and rumble to temporarily stop working in the iOS frontend.

Misc Internal Changes

    Internal support for AGB-0’s boot ROM was added to the core’s API (AGB-0 remains unsupported as an emulated revision for now)

Version 0.16.5

New/Improved Features

    The iOS frontend is now available on the App Store
        The App Store version requires iOS 13 or higher, while the version targeting side-loading and jailbroken devices still supports iOS 11 and 12.
    The following new features has been added to the iOS frontend:
        Support for MFi, PlayStation, Switch and Xbox controllers. Support includes rumble functionality, motion controls, analog controls, and button remapping.
        A launch screen was added.
        A new “Import ROM File” button was added to the Library screen.
        Multiple interface themes were added.
            The App Store version has additional themes that can be unlocked by supporting SameBoy’s development.
        The iOS frontend now shows tips and facts in the pause menu.
        Tapping SameBoy’s logo now opens the pause menu.
        The button haptics strength can now be changed.
        After importing a new ROM, a suitable model is automatically selected
    The default rewind duration in the Cocoa and iOS frontends was change to 2 minutes to match the SDL frontend.
    Debugger windows no longer hide when the Cocoa frontend is out of focus.
    Each debugger window now includes the ROM name in its titlebar in the Cocoa version.

Bug Fixes

    The Cocoa and iOS frontends no longer incorrectly include the word “Version” in their version strings.
    Fixed a bug that caused filtered screenshots to be saved as 32-bit per channel on the Cocoa frontend.
    Fixed a bug affecting iPads that left the game paused under some conditions after exiting certain screens.
    Fixed incorrect handling of loading save states of an incompatible MBC RAM size.
    Fixed a visual glitch with the Monochrome LCD scaling filter, which also caused filter screenshots to be semi-transparent.
    Fixed a bug that allowed rewinding auto-loaded states back to the boot ROM in the iOS frontend, potentially losing data.
    Fixed a bug that caused the camera-change button to be positioned incorrectly on notched iPhones running the iOS frontend.

Misc Internal Changes

    Fixed build issues when using the current master branch of RGBDS to build SameBoot.
    Fixed a false positive warning when using certain GCC versions.
    The iOS frontend’s license has been updated.

Version 0.16.3

New/Improved Features

    The “Hot Swap Cartridge” functionality now allows hot swapping a file with a newer version of itself in the Cocoa version
        This can also be done with the new “Reload ROM” menu item, available while holding Shift in the Emulation menu
    The SDL frontend now uses the modern folder selection dialog when selecting a boot ROMs folder on Windows
    Add an option to allow pressing A+B by touching the space between the two buttons in the iOS frontend
    The iOS frontend can now choose between 3 audio modes; Enabled, Disabled, and Controlled by Silent Mode
    The iOS IPA release is now ad-hoc signed to prevent TrollStore from signing it with the wrong entitlements
    The iOS Deb release is now compatible with both rootful and rootless jailbreaks

Accuracy Improvements/Fixes

    Updated the built-in SGB boot ROMs so they’re closer in timing to the original boot ROMs

Bug Fixes

    The Cocoa and iOS versions now display the correct license for SameBoy
    Improved compatibility with certain ISX files
    Fixed the States screen displaying incorrectly in iOS 16 and newer
    Fixed several spelling mistakes in the debugger
    Fixed visual artifacts that may appear in certain scaling filters when scaling with a multiple of 3 factor
    Prevent filtered screenshots from using 64-bit color depth on the Cocoa frontend, which improves compatibility with certain apps
    The ticks debugger command no longer outputs “Tick count reset” if the keep flag was used
    Fixed a bug that prevented Turbo Mode from working on iOS if dynamic speed controls were not enabled

Misc Internal Changes

    Improved integration with libretro’s build infrastructure, which should greatly improve the release schedule of the libretro version of SameBoy

Version 0.16.2

Accuracy Improvements/Fixes

    Improvements to the “Accurate” frame blending option; SameBoy now correctly tracks the “parity” of each frame, and uses a more realistic blending ratio
    Support for bootleg ROMs that claim to have no RAM in the MBC field, but also declare a non-zero RAM size

Bug Fixes

    Removed XAudio 2.7 support and replaced it with the redistributable version of XAudio 2.9, fixing various crashes on Windows 7
    Fixed an issue with the menu graphics being glitched in the SDL frontend if SameBoy is set to display a border
    Fixed the update dialog in the Cocoa frontend displaying the changelog in the wrong font on versions of macOS
    Fixed Quick Look support being broken on macOS Sonoma
    Fixed a bug where the Cocoa and iOS frontend would sometimes flicker when using the Metal renderer

Version 0.16.1

New/Improved Features

    SameBoy on iOS will now warn the user if it hasn’t been correctly signed, which could prevent “Open With” from working with SameBoy

Accuracy Improvements/Fixes

    Fixed a bug that made SameBoy think a WorkBoy was connected in some cases where a Game Boy Printer was connected

Bug Fixes

    Fixed a bug that made SameBoy incompatible with macOS versions 10.9 to 10.15
    Fixed several UI issues with the Printer Feed on macOS Big Sur and newer
    Prevent some Cocoa toolbar items from overflowing into a menu item that would crash on click
    Fixed a bug that prevented SameBoy from opening ROM files if VisualBoyAdvance was also installed on macOS
    VSync is now automatically disabled in the SDL frontend if the screen refresh rate is under 60Hz, which could cause garbled audio on some machines
    Fixed a bug where the SDL frontend would indefinitely hang if the current audio device became unavailable while using the XAudio 2.7 driver

Misc Internal Changes

    The iOS Deb releases no longer contain local file ownership information
    The SDL version used in the Windows release has been updated to 2.28.5

Version 0.16

New/Improved Features

    A new, fully-featured iOS frontend:
        Supports every iPhone, iPad and iPod Touch model running iOS 11 or newer (iOS 13 or newer is recommended)
        Can be installed by side-loading (using AltStore or TrollStore) or using a jailbreak
        Innovative and customizable touch controls, including support for analog rewind, fast-forward and slow motion
        Save states
        Scaling filters
        In-game rumble support
        Game Boy Camera support
        Motion controls for supported games
        Notifications for alarm-clock-enabled games
        Advanced emulation settings
        A lot more!
    Reopening a ROM from Finder or other means now reloads the ROM in the Cocoa frontend
    The SDL frontend received a small facelift
    Cheats support in the SDL frontend
    The SDL frontend can now pick a specific revision from CLI
    A new reset command in the debugger, supporting 3 types of resets
    Several new changes that improved performance:
        Disabled inlining of several slow-path functions
        Enabled the compiler’s fast-math flag
        Prevention of loop unrolling for large, non-speed-critical loops, to improve utilization of instruction caches
        Optimize the GUI code for size rather than speed to improve utilization of instruction caches
        Work around Clang and GCC generating slow code for inline compile-time constants
    Support for ranged breakpoints and watchpoints
    Breakpoints and watchpoints are now identified by a unique ID rather than an address, deletion is now done by ID
    The IO_ prefix for hardware registers in the debugger has been removed in favor of the more standard r prefix
    The Cocoa memory viewer’s “Go to” field can now switch banks and address spaces
    The Cocoa memory viewer now symbolicates its selection in the status bar
    The debugger now supports backwards single stepping, if rewinding is enabled (experimental)
    Sending SIGUSR1 to the SDL frontend now triggers a reset command
    Improved controller assignment in the Cocoa frontend, especially when playing multiplayer SGB games or when emulating the link cable
    Menu and keyboard shortcuts to scale windows up and down to the next integer factor in the Cocoa frontend
    The Windows builds are now 64-bit, greatly improving performance on Windows

Accuracy Improvements/Fixes

    Emulation of open bus behavior when reading disabled cartridge RAM
    More accurate emulation of volume envelope locking on the pre-Color models, as well as CGB revisions older than D
    Improved Printer timings, allowing the mini game in Hello Kitty Pocket Camera to be played
    First-party Nintendo games will now have correct initial register values when using the built-in CGB and AGB boot ROMs
    Improved accuracy of JOYP switching delay
    Fixed a timing issue when aborting an object fetch using an LCDC write
    Improvements to object fetching address calculation timings
    Accurate emulation of PPU registers write conflicts in CGB double speed mode
    Correct emulation of reading SVBK, fixes Flyeyes (unlicensed game)
    Wired Switch Controllers now get automatic button mappings in the Cocoa frontend
    Fixed a bug where GBS files were starting with a wrong value in the IE register, fixes several GBS files
    Emulation of the OAM corruption glitch triggered by the jr instruction, as well as halt and stop modes
    Correct read emulation of the BANK register while still in the boot ROM
    Fixed a bug where accurate RTC emulation halted while SameBoy wasn’t running
    Accurate emulation of many sweep-related glitches, including revision differences
    Fixed a bug where HDMA5 was not correctly updated when disabling HBlank HDMA
    Correct, revision-accurate emulation of reading from VRAM in the last cycle of Mode 3
    Channel 3 is now correctly mixed when emulating a GBA

Bug Fixes

    The “Step” icon in the Cocoa debugger was broken on non-Retina displays
    Fixed a bug where certain temperature tint settings would tint too much
    Banked breakpoints no longer trigger while executing the boot ROM
    Fixed camera emulation using the wrong aspect ratio on some Macs
    Fixed a bug that caused artifacts on the right and bottom edges of the Game Boy Camera
    Fixed a bug that allowed rewinding across ROM switches in the SDL frontend
    Fixed a bug that made rewinding try to rewind across model changes
    Fixed a bug that made save states created on Windows incompatible with other operating systems, and vice versa
    Several settings in both the SDL and Cocoa frontends had some unexpected defaults, which have been adjusted
    GameShark cheats were not imported correctly
    Fixed imported cheats not appearing in the Cocoa frontend
    Fixed the built-in MGB boot ROM being unexpectedly larger than it should be
    Prevented cases where the Cocoa debug console would remain open after closing a ROM
    Fixed a bug that caused the Libretro core to crash in link mode
    Fixed support for Xbox Wireless Controllers in the Cocoa frontend
    Some constants in the LCD and CRT filters were not updated when the shaders switched to linear RGB
    Fixed a bug where jump-to breakpoints disassembled the wrong address under certain scenarios
    Fixed an edge case where jump-to breakpoints did not work as expected, or took a slow code path
    Fixes a bug where certain macOS versions would fail to restore the previously opened windows due to a regression in Apple’s code
    Fixed a bug that caused the VRAM viewer’s toolbar to not appear on macOS Sonoma
    Fixed a bug where controllers did not always automatically connect or reconnect in the SDL frontend

Misc Internal Changes

    New APIs to explicitly reset the rewind buffer
    When building SameBoy in debug mode, assertions will now make sure functions are always called from a safe thread context
    Fixed an issue that caused the Cocoa preferences window to not open when building on some Macs
    Certain false positive warnings when building with GCC 9 are now avoided
    SameBoy can now be built as a library, allowing to disable certain features as required
    New APU APIs to allow detailed querying of its state
    SameBoy now correctly refers to its license as the Expat License
    Fixed an issue that prevented SameBoy to be built if the repository’s path included a space

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Aug 11 08:49:13 2023 UTC (3 years, 3 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -1 lines
sameboy: Strip out Werror in the common makefile, not the target-specific one

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Jul 21 09:35:46 2023 UTC (3 years, 3 months ago) by nia
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -1 lines
sameboy: Disable FORTIFY for Linux only. While here, delint.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Dec 15 08:38:28 2022 UTC (3 years, 11 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
sameboy: update to 0.15.8

                                    Changes

Version 0.15.8

   This version is backwards compatible with save states from SameBoy 0.14.3
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * The button mapped to B, on both the keyboard and controllers, can now
       be used to return from menus in the SDL frontend

Version 0.15.7

   This version is backwards compatible with save states from SameBoy 0.14.3
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * The debugger now has an interrupt command, in addition to the
       previously-available ^C key sequence
     * The lcd command now displays the background shifter and fetcher states
     * The tick debugger command now has an optional keep argument, which
       prevents resetting the tick count

  Accuracy Improvements/Fixes

     * Fixed a regression that made DMA restart timing inaccurate
     * Fixed a regression that caused ROMs that trigger one of the pixel
       insertion glitches to display incorrectly (Release builds) or trigger
       an assertion (Debug builds)
     * Fixed a different regression in a different pixel insertion glitch

  Bug Fixes

     * Fixed a bug where the debugger finish command did not behave as
       expected in certain cases where the ROM manipulated the stack

  Misc Internal Changes

     * SameBoy (and SameBoot) can now be built with RGBDS 0.6.x; support for
       RGBDS 0.4.x has been dropped
     * Fixed potential compilation warnings for incoming versions of Clang
       and GCC
     * Added the GB_quick_reset API

Version 0.15.6

   This version is backwards compatible with save states from SameBoy 0.14.3
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * All CGB revisions, as well as MGB, are now available in the libretro
       core
     * The debugger now guides users to use the help command
     * Both frontends can now selectively mute and unmute each of the 4 audio
       channels
     * Both frontends now support cartridge hot swapping

  Accuracy Improvements/Fixes

     * Fixed a bug where the libretro core sometimes ran at an incorrect
       speed after switching models
     * Fixed a minor DMA regression

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Sep 6 15:42:00 2022 UTC (4 years, 2 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
sameboy: Update to 0.15.5

Version 0.15.5

   This version is backwards compatible with save states from SameBoy 0.14.3
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * Both frontends now include links to the debugger documentation and to
       the GitHub Sponsors page

  Accuracy Improvements/Fixes

     * Fixed a bug where certain color correction modes were desaturating
       colors in an unbalanced manner
     * Accurate emulation of the first-frame-behavior while emulating the
       Game Boy Color and Game Boy Advance; fixes white flashes while playing
       games developed by THQ
     * More accurate emulation of the square channels sample repeat glitch,
       fixing certain audio pops in LSDj and various games while using a
       vibrato effect

  Bug Fixes

     * Fixed a bug where MBC state was not properly reset, fixing bugs
       resulting in some games not booting correctly if they were loaded
       after certain other games in the SDL frontend, libretro, and other
       3rd-party frontends

  Misc Internal Changes

     * New memory management APIs for better integration of SameBoy as a
       library

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Aug 3 16:23:36 2022 UTC (4 years, 3 months ago) by nia
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
sameboy: update to 0.15.4

                                    Changes

Version 0.15.4

   This version is backwards compatible with save states from SameBoy 0.14.3
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * The “Emulate Hardware” and “Preserve Brightness” color correction
       modes are now called “Modern – Balanced” and “Modern – Boost
       Contrast”, respectively, to better represent them in the context other
       modes that came after their introduction
     * A new “Modern – Accurate” color correction mode was added. This new
       mode preserves the modern saturation and contrast of “Modern –
       Balanced” but further improves on color balancing accuracy
     * The Anti-aliased Scale4x filter has been revised and improved

  Accuracy Improvements/Fixes

     * A color correction rounding error was fixed

  Bug Fixes

     * Fixed potential visual artifacts when using certain scaling filters on
       some combinations of resolutions and devices
     * Fixed a bug that made SameBoy crash on launch on older versions of
       macOS if an update was available
     * The SDL will no longer get stuck (unless “Skip” is used) when trying
       to use certain joypads’ D-pad to configure the directional keys
     * Attempt to work around an X11 bug that caused file and directory
       selection dialogs to ignore mouse keys

Version 0.15.3

   This version is backwards compatible with save states from SameBoy 0.14.3
   and newer, as well as save states from any BESS compliant emulator

  Accuracy Improvements/Fixes

     * Improvements to all color correction modes

  Bug Fixes

     * Fixed a race condition that could cause the Memory Viewer to crash if
       used without pausing the ROM first
     * Fixed a bug that caused SameBoy to incorrectly warn about saves being
       unwritable
     * Fixed a bug that caused the SDL port to not respect the
       joypads-in-background setting at startup

Version 0.15.2

   This version is backwards compatible with save states from SameBoy 0.14.3
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * A setting to allow joypad input when SameBoy is not in focus was added
       to both frontends
     * The SDL GUI now follows the user-configured Game Boy palette
     * The SDL frontend now supports Game Boy palettes exported from the
       Cocoa port, and now includes 7 new palettes to choose from
     * The scrollbar in the SDL frontend is now draggable
     * The SDL GUI now correctly allows using the user-configured buttons in
       its menu
     * An OpenAL audio driver is now available for Linux and other Unix users
       in the SDL port
     * Up to two joypad hotkeys may now be configured to perform actions such
       as pausing and saving states in both frontends
     * The softbreak debugger command was given a better description
     * Both frontends will now warn you if progress cannot be saved when
       loading a ROM
     * Game Boy Player (using CPU AGB A) is now a selectable Game Boy Advance
       revision

  Accuracy Improvements/Fixes

     * Emulated a glitch where a misconfigured window can insert
       pixels between tiles on models prior to the Game Boy Color, fixes Star
       Trek - 25th Anniversary
     * Fixed a window-related regression, affecting edge cases where WX=0
     * Accuracy improvements to emulation of the Game Boy Camera
     * Accurate emulation of JOYP switching delay on the DMG
     * Realistic emulation of button bouncing while keeping lag to a minimum

  Misc Internal Changes

     * Fixed a potential memory corruption when SameBoy is used as a library
       in a C++ project

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jul 13 09:08:22 2022 UTC (4 years, 4 months ago) by nia
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
sameboy: update to 0.15.1

The SDL frontend now allows switching between audio drivers, rather than defaulting to the "best" supported driver

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jul 7 05:46:15 2022 UTC (4 years, 4 months ago) by nia
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
sameboy: update to 0.15

                                 SameBoy v0.15

New/Improved Features

     * Improved UI for the VRAM Viewer's palette and object views
     * The bundled register names symbol file now correctly names several
       undocumented registers
     * Improved performance by better utilizing Link-Time Optimizations
     * The Memory Viewer, as well as the debugger examine command, no longer
       trigger side effects when reading from memory
     * Introducing PPU "fast paths", improving performance by up to 34% with
       not accuracy losses
     * Removed the use of slow floating point arithmetics in the APU code to
       improve performance
     * Introducing lazy APU output generation, improving performance by up to
       17%
     * Link-Time Optimizations are now enabled for Windows build,
       significantly improving performance on Windows
     * A new dma debugger command
     * New icon, minor visual refresh across both the Cocoa and SDL frontends
     * The debugger apu commands now display a single channel
     * Audio recording is now available in both the Cocoa and SDL frontends
     * The SDL frontend now uses XAudio2 on Windows, when available
     * The more common rX hardware symbol naming scheme now replaces the IO_X
       scheme; the latter remains supported
     * General code optimizations for overall performance improvements

Accuracy Improvements/Fixes

     * The Game Boy Pocket/Light is now available for emulation
     * Every CGB revision is now available for emulation, adding CGB
       revisions 0, A, B and D
          * An option to select the CGB revision is now available in the SDL
            port
     * Added MBC7 support
          * The mouse, as well as a joystick, can be used for motion controls
     * Accurate timing of clearing bits in the IF register
     * Improved accuracy of LY change timings
     * Improved accuracy of the LY=LYC condition in revisions prior to CGB-D
     * Improved emulation of a glitch that makes channel 3 use the CPU's
       address bus as an index to the wave sample buffer
     * Fixed an incorrectly emulated theorized glitch where writing to VRAM
       in certain timings would corrupt data
     * Improved emulation of the TILE_SEL glitch
     * Major improvements to DMA, HDMA, and GDMA, including timings, revision
       differences, interaction with halt/stop, and all sorts of bus
       conflicts
          * This allows pixel-perfect emulation of certain demos, such as It
            Came from Planet Zilog
     * Improved IR modelling, fixes Gen 2 Pokémon Mystery Gift
     * Added MMM01 support, including Mani carts
     * Improved emulation of channel 1/2 "zombie stepping"
     * Improved serial accuracy
     * Correct emulation of how SCX prolongs mode 3
          * Including emulation of "SCX banging", which can disrupt the PPU
            state machine and, on a real device, damage the LCD
     * Improved emulation of object timings where X=0
     * Fixed a regression where MBC5's initial ROM bank was not 1
     * Improved emulation of the Game Boy Camera MBC
     * Improved HuC-1 emulation, fixes a Robopon Japanese Prototype ROM

Bug Fixes

     * Fixed a bug where certain writes, when emulating CGB-C, would corrupt
       the emulator state
     * Fixed a bug where the SDL fronted did not correctly load the palette
       setting
     * Fixed a bug where the debugger undo command was available while not
       stopped
     * Fixed GDMA being used incorrectly in SameBoot
     * Fixed a bug where the obscured object indicator did not function
       correctly in the VRAM Viewer's object view
     * Fixed the Preserve Waveforms setting, now it behaves as intended
     * Fixed SDL crashes on certain Linux systems
     * Fixed UI issues on OS X Mavericks
     * Fixed achievement supports in the Libretro frontend
     * Fixed the 16x16 cartridge icon in both Cocoa and FreeDesktop
     * Fixes audio glitches during the SGB jingle
     * Visual fixes for the GBS player on macOS Big Sur and newer

Misc Internal Changes

     * Improvements to the input hints API
     * Added safe memory read API
     * New memory write callback API
     * New API to determine DMG-mode CGB
     * Improved APIs to handle input
     * New execution callback API
     * New LCD line callback API
     * An API for adjusting the RTC speed, for TAS verifications
     * An API for detecting lag frames
     * The direct access API now supports accessing the CPU registers
     * An API for allowing illegal directional inputs
     * General preparation for future support of different AGB revisions

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Nov 28 11:43:33 2021 UTC (4 years, 11 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
sameboy: update to 0.14.7

                                    Changes

Version 0.14.7

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer, as well as save states from any BESS compliant emulator

  Accuracy Improvements/Fixes

     * Fixed incorrect emulation of the SVBK register
          * This fixed BESS compatibility issues between SameBoy and other
            emulators when importing save states of non-Color games on a Game
            Boy Color and using the original boot ROMs
          * This also fixes RAM not being properly randomized in DMG games
            running on a Game Boy Color when using the original boot ROMs

  Bug Fixes

     * Improvements to stability and security when loading save states

Version 0.14.6

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * Scrolling is now smooth when running the SDL port on macOS
     * The SDL port’s debugger now has a readline-like interface; featuring
       history, search, auto-complete, text formatting, and improved
       asynchronous input

  Accuracy Improvements/Fixes

     * Fixed a bug where NR32 was treated as the wrong value after an APU
       reset
     * Writes to wave RAM are now blocked, as expected, when emulating a Game
       Boy Advance
     * Fixed the Game Boy Color and Advance boot ROM not properly
       initializing wave RAM
     * Improved accuracy of mid-line SCX writes, fixes Infinity
     * ld sp, hl now triggers an OAM corruption on affected models
     * Improved emulation of Super Game Boy multiplayer, fixes several games
       that were not responding to inputs
     * Fixed the Super Game Boy ATTR_SET command not working correctly,
       fixing several mis-colored SGB games
     * Fixed inaccurate Super Game Boy border fade timing, which caused some
       games to have corrupt borders
     * Fixed inaccurate Super Game Boy graphic transfers, which caused some
       games to have corrupt borders
     * Fixed Super Game Boy rendering of unused tiles, which caused some
       games to obscure the Game Boy viewport entirely
     * Fixed a bug that caused 7-part Super Game Boy commands to lock SGB
       features, effectively freezing some games on blank screens
     * Several timing improvements to the Super Game Boy
     * Fixed a mistyped condition that caused a timer glitch to be
       incorrectly emulated
     * Accurate emulation of how the wave channel behaves on restart
     * Mostly complete emulation of an APU glitch where channel 3 could read
       from wave RAM while inactive using the CPU’s main address bus on
       models prior to the Game Boy Advance
     * The Game Boy Color and Advance boot ROM animation had its timings
       slightly altered to better match the original boot ROMs

  Bug Fixes

     * A typo was fixed in the debugger mbc command
     * Fixed a crash in the SDL port that could happen when swapping ROMs
     * Handling of tiny (Less than 32KB) ROMs is now more consistent
     * Fixed a bug in the SDL port that flipped the controller left and right
       keys in the menu

  Misc Internal Changes

     * Fixed an internal struct issue that could have lead to future
       compatibility issues
     * The automatic tester now supports Super Game Boy

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Aug 10 12:20:41 2021 UTC (5 years, 3 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -2 lines
sameboy: update to 0.14.5

Version 0.14.5

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer, as well as save states from any BESS compliant emulator.
   Outside of macOS, this version is identical to 0.14.4 other than the
   version number.

  Bug Fixes

     * Fixed a bug that sometimes prevented opening GBS files

Version 0.14.4

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * GBS support updated to support common non-standard formats, as well as
       ugetab’s GBS extensions
     * SameBoy is now better categorized on Linux desktops
     * Improved support for running without OpenGL in the SDL frontend, added
       command-line flag to disable OpenGL
     * SameBoy will now attempt to load .snX save states (used by other
       emulators such as BGB) if a .sX save state is not found
     * The Cocoa and SDL frontends now include an optional speedrun-friendly
       OSD
     * The SDL frontend now supports the -s/–stop-debugger command line flag,
       which starts SameBoy with a stopped debugged on the first instruction
     * A new realistic low contrast color correction mode, “Harsh Reality”,
       was added
     * Improved the ticks debugger command with more detailed output
     * Improved warnings when entering PPU or APU odd-modes
     * The libretro frontend has been updated to the newer options API, which
       majorly improves core option screens in RetroArch and other libretro
       interfaces

  Accuracy Improvements/Fixes

     * Improved accuracy of RTC latching
     * Fixed a bug that prevented STAT interrupt blocking from functioning
       correctly in the transition to VBlank while the OAM interrupt was
       disabled
     * Disabled an attempt to improve audio accuracy that resulted in audio
       regressions in several games
     * Improved T-cycle accuracy of VBlank
     * Major improvements to emulation of the STOP instruction and speed
       switching
     * MBC5’s RAM enable register is now correctly emulated as an 8-bit
       register
     * Improvements to several edge cases of the OAM corruption bug
     * Fixed an issue where several DMG games would boot with incorrect
       palettes when using SameBoy’s built-in boot ROMs

  Bug Fixes

     * Fixed a bug where the ‘O’ key could not be mapped in the SDL frontend

  Misc Internal Changes

     * The GBS APIs now allow loading from a buffer
     * Redundant MBC data removed from BESS save states

Version 0.14.3

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * GBS APIs available in the core
     * Support for emulation of the homebrew TPP1 MBC
     * Save states can be dropped into emulator windows to load them in both
       the Cocoa and SDL frontends
     * SameBoy now uses the BESS (Best Effort Save State) format within its
       save states, allowing interoperability between big and little endian
       save states, future versions of SameBoy, as well as other BESS
       compliant emulators (Such as the incoming releases of BGB and
       Emulicious)

  Accuracy Improvements/Fixes

     * Fixed time syncing issues when turning the LCD off and on, fixes
       timing issues in Link’s Awakening
     * Fixed a bug where an invalid SGB command would be ignored, while the
       actual SGB firmware would still process it in some manner, fixes
       Donkey Kong Land

  Bug Fixes

     * Better handling of more edge cases in the Linux build system
     * Fixed a memory leak in the SDL and libretro frontends when loading a
       second ROM
     * Fixed several potential crashes involving cheat codes

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Mar 19 12:18:56 2021 UTC (5 years, 7 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
sameboy: Update to 0.14.2

Version 0.14.2

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer.

  New/Improved Features

     * FreeDesktop installations now register and associate .ISX files

  Accuracy Improvements/Fixes

     * Fixed an audio regression where some games would play audio one octave
       lower when emulating a DMG

  Bug Fixes

     * Fixed a bug where certain Cocoa windows would incorrectly remain open
       after closing a ROM

Version 0.14.1

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer.

  New/Improved Features

     * Improvements to installation and packaging support on Linux, BSD and
       other FreeDesktop environments

  Accuracy Improvements/Fixes

     * Fixed a sweep regression when emulating DMG, SGB or CGB-C

  Bug Fixes

     * Fixed various potential crashes when using symbol files
     * Fixed a bug where certain symbols would never be used with an offset

Version 0.14

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer.

  New/Improved Features

     * Emulation of the unreleased Workboy accessory in the Cocoa port
     * Emulation of Game Link Cable and infrared cross-game communication in
       the Cocoa port
     * Multiplayer support in the Libretro core now includes infrared support
     * The debugger now supports the undo command, which will revert the most
       recent state-modifying command
     * The automatic tester can now optionally output TGA files instead of
       BMP files
     * The debugger will now issue a warning when a ROM triggers PPU odd-mode
     * Improved support to non-QWERTY, Latin keyboard layouts in the SDL port
     * Simulation of an ambient light’s effect on the non-backlit screens of
       the Game Boy, with user-controlled ambient light color temperature
     * Improved menu scrolling in the SDL frontend
     * Improved mouse support in the SDL frontend, with mouse wheel scrolling
       and a visual scrollbar
     * The SDL port can now select a boot ROMs folder
     * The escape button now returns to the previous menu in the SDL port
       instead of closing it completely
     * Improved noise when emulating the Game Boy Camera on frontends without
       webcam support
     * The SDL port will exit cleanly and report an error if it fails to
       initialize
     * The automatic tester can now optionally create battery save files
     * Support of two Real Time Clock emulation modes:
          * Sync to system clock (Not affected by turbo, slow motion,
            pausing, etc.)
          * Accurate (Affected by the mentioned above)
     * The automation uses the new accurate RTC mode for stable results
       across runs
     * Refinements to the icon
     * Linux, BSD and other FreeDesktop users can now install SameBoy as both
       a command line utility and a GUI app by running make install

  Accuracy Improvements/Fixes

     * Emulation of a scenario where an interrupt might trigger OAM
       corruption
     * Emulation of CGB-mode TILE_SEL mixing
     * Correct emulation of wave RAM reads when emulating a Game Boy Advance
     * Accuracy improvements to infrared
     * Accuracy improvements to the window
     * Major APU improvements, with correct emulation of countless edge cases
       and newly discovered quirks:
          * Complete rewrite of Channel 1’s sweep envelope
          * Complete rewrite of Channel 4’s noise generation, especially
            mid-pulse writes to NR43
          * Complete rewrite of the volume envelopes, including “Zombie Mode”
            and related quirks
     * The state of the NRx1 registers are now correctly preserved when
       emulating models prior to Game Boy Color
     * Emulation of a quirk where writes to NR44 might be delayed on models
       prior to Game Boy Color
     * Improved and more accurate color correction
     * Fixed a regression and improved the accuracy of speed switching, fixed
       a bug where odd-mode avoidance did not work correctly
     * Improved timing of the STOP instruction
     * Optional emulation of audio interference from the Game Boy SoC, with a
       user-controlled slider representing interference level
     * Emulation of an APU quirk where triggering Channels 1 and 2 might
       advance the duty cycle in certain cases in CGB-E (and CGB-D, currently
       unsupported)
     * Correct emulation of the differences between revisions when it comes
       to writes to NRx2 (“Zombie Mode”)
     * Accuracy improvements to RTC emulation
     * Minor improvements to MBC3 emulation
     * Prevent the printer from deadlocking if it was terminated during the
       transmission of a byte

  Bug Fixes

     * Fixed a rare potential crash when loading symbol files
     * Fixed a bug where the Cocoa port would display wrong, dark, colors
       when disabling frame blending
     * Fixed a bug where the SDL and libretro ports would not update the
       game’s border when switching games and emulating a model other than
       the SGB
     * Fixed cases where the audio thread would deadlock the Cocoa frontend
     * Fixed a bug where changing the rewind length in the SDL port didn’t
       take effect until restarting

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Aug 30 12:50:49 2020 UTC (6 years, 2 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
sameboy: Update to 0.13.6

Version 0.13.6

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer.

  New/Improved Features

     * Prevent SameBoy from asking for notification permissions until that
       feature is needed by an HuC-3 game
     * Improved user interface on macOS Big Sur
     * The SDL frontend now has the ability change the default window size

  Bug Fixes

     * Fixed a bug that caused the Quick Look previews to include a border on
       macOS Big Sur
     * Fixed a bug where the RTC might drift when loading older saves or
       states, or when pausing SameBoy for a long time

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Aug 8 19:24:26 2020 UTC (6 years, 3 months ago) by nia
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
sameboy: Update to 0.13.5

Version 0.13.5

   This version is backwards compatible with save states from SameBoy
   0.11.x and newer.

Bug Fixes

     * Fixed major regression introduced in 0.13.4 that prevented saving
       progress in games and caused several other issues

Version 0.13.4

   This version is backwards compatible with save states from SameBoy
   0.11.x and newer.

New/Improved Features

     * Native support for ARM-based Macs (Experimental)
     * Improved the loading time of battery saves with an RTC time set to
       the far past

Bug Fixes

     * Fixed a spelling mistake in the debugger
     * Fix several major regressions affecting games that use a real time
       clock

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jun 29 14:28:08 2020 UTC (6 years, 4 months ago) by nia
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
sameboy: Update to 0.13.3

Version 0.13.3

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer.

  New/Improved Features

     * The scaling filters were updated to use gamma-corrected color mixing,
       improving the quality of all shaders, especially the LCD and CRT
       shaders.

  Bug Fixes

     * Fixed a regression in the CGB and AGB boot ROMs where wrong palettes
       were chosen for Nintendo DMG games.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jun 24 13:25:40 2020 UTC (6 years, 4 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1 lines
sameboy: Mark unsafe for MAKE_JOBS pending investigation

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jun 12 11:47:49 2020 UTC (6 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
sameboy: Update to 0.13.2

Version 0.13.2

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer.

  New/Improved Features

     * The Cocoa debugger now has tab completion
     * Conflicting key mappings are now highlighted in red in the Cocoa
       button configuration dialog
     * Improved Dark Mode appearance in the Cocoa port
     * Better, more system native appearance for the Cocoa memory viewer
     * Improved Printer Feed window in the Cocoa port, now with an option to
       print with an actual printer

  Bug Fixes

     * Fixed a bug in the Libretro frontend that prevented certain
       achievements from triggering
     * Fixed a bug where the save state format effectively used by the
       Windows build was not following the intended format
     * The non-Windows builds can now read pre-0.13.2 Windows save states and
       vice versa
     * Fixed a minor compatibility issue between save states created on
       32-bit machines and ones created on 64-bit machines
     * Fixed a potential crash when loading certain save states while a
       printer is connected in the Cocoa port

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jun 9 11:39:13 2020 UTC (6 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
sameboy: Update to 0.13.1

Version 0.13.1

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer.

  Bug Fixes

     * Fixed a potential memory corruption when loading certain malformed
       ROMs
     * Improved stability when loading corrupt preference files in the SDL
       port

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jun 3 13:47:21 2020 UTC (6 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -4 lines
sameboy: Update to 0.13

Version 0.13

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer.

  New/Improved Features

     * When emulating a Game Boy, you can now select out of 4 different
       palettes
     * New Monochrome LCD scaling filter
     * It is now possible to display Super Game Boy, or a built-in default
       border, even when emulating different models
     * Improvements to the built-in boot ROMs; the DMG boot ROM has a new
       animation, and the CGB boot ROM now features an anti-aliased logo
     * Gamma correction added to the CRT scaling filter
     * Add “Reduce Contrast” as an additional color correction mode
     * Optional more accurate frame blending mode, emulating the
       scanline-like appearance of actual Game Boy displays
     * The next debugger command now skips over HALT
     * The registers debugger command now display IME as well
     * Added volume control to the SDL frontend
     * The SDL frontend will now load and save “prefs.bin” relative to the
       binary if such file exists
     * The sidebar in the Cocoa debugger is now resizable and collapsable
     * The Cocoa frontend now supports cheats
     * Added support to ISX files, used by the official toolchain
     * Rewritten and improved controller support in Cocoa, featuring rumble,
       player LEDs, and analog controls for turbo and slow motion. Controller
       support:
          * GameCube adapters (Both official and PC adapters): Full support,
            including automatic mappings, multiplayer, analog controls, and
            rumble
               * Unofficial adapters in PC mode support analog rumble, as
                 opposed to PWM binary rumble; the use of PC mode is
                 recommended
          * Generic “Twin USB” DualShock 2 PC adapter: Automatic mapping,
            multiplayer support
          * Switch Pro Controller: Full support, including automatic
            mappings, rumble, and player LEDs; via both USB and Bluetooth
          * DualShock 3: Full support, including automatic mappings, rumble,
            player LEDs, and analog controls; via both USB and Bluetooth
               * Some Macs seem to be unable to communicate LED and rumble
                 information to DualShock 3 controllers; the use of USB for
                 this controller is recommended
          * Generic controllers: Basic functionality, may need to be manually
            remapped in settings
          * Support for more controllers will come in future releases
     * Optionally add rumble support to all games, even those without a
       Rumble Pak, in all frontends
          * SDL rumble support varies between operating systems and SDL
            versions
     * The debugger now allows more than one symbol at the same address
     * Added the softbreak debugger command to enable/disable software
       breakpoints (ld b, b)
     * The SDL debugger now always outputs “>” when it’s waiting for an input
     * The SDL debugger allows the use of the magic binary sequence
       "\x03\x0a" to break the debugger from stdin in async-capable platforms

  Accuracy Improvements/Fixes

     * Fixed a regression bug that made the first frame blank instead of
       repeated on the Game Boy Color
     * Fixed an APU sequencer edge case
     * Fixed a bug affecting HDMA timing
     * Color correction is now more accurate
     * Correct emulation of the OPRI register
     * More accurate emulation of STOP mode
     * More accurate emulation of LCDC write conflicts; although individual
       units may behave differently
     * Emulation of cases where PPU object fetched are aborted in the middle
     * Correct emulation of changing object height during fetch
     * More accurate emulation of the PPU fetcher’s timings
     * Accurate emulation of SCX’s upper 5 bits changing mid-line
     * Rewritten window implementation, which is much more accurate now,
       including the various timing scenarios
     * More accurate emulation of background FIFO push timings
     * Emulate some of the cases where the PPU and LCD desync
     * Accurate emulation of tilemap advance timings
     * Implement a missing SGB command (ATTR_CHR)
     * More accurate MBC2 emulation
     * More accurate MBC3 emulation and proper MBC30 support
     * Correct emulation of PCM12 and PCM34 reads when emulating CGB-C
     * Improved HuC-1 emulation
     * HuC-3 emulation, including RTC and alarm clock emulation
          * Alarm clock emulation is only supported in the Cocoa frontend
     * Partial emulation of glitched VRAM reads that happen right after mode
       3

  Bug Fixes

     * Fixed a bug with scrolling menus in the SDL frontend when emulating a
       Super Game Boy
     * Fixed cases where the Cocoa frontend froze
     * Fixed a bug where an incorrect minimum window size was enforced on the
       Cocoa frontend
     * Assignments to 16-bit expression in the debugger is now working
       correctly
     * Fixed operator priorities in the debugger
     * Fixed a debugger parsing bug
     * Fixed compatibility with older macOS versions in the Cocoa version,
       restoring support for 10.9 (Mavericks) and newer

  Misc Internal Changes

     * Added per-commit automatic GitHub builds, with basic sanity tests
     * When building the SDL frontend on macOS, the Brew version of SDL2 is
       used
     * Fixed various compilation errors with GCC
     * Make the libretro frontend compile without warnings
     * HuC-1 and HuC-3 IR are emulated now, but this is not currently
       supported in any frontend

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jan 4 12:06:57 2020 UTC (6 years, 10 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
sameboy: Update to 0.12.3

Changes

   This version is backwards compatible with save states from SameBoy 0.11.x
   and newer.

  New/Improved Features

     * Super Game Boy color correction is now available in the libretro port
     * It is now possible to hide the Super Game Boy border in the libretro
       port
     * The SDL port will now hide the mouse while a ROM is running

  Accuracy Improvements/Fixes

     * Changing the frequency of channels 1 and 2 is now more accurate
     * Audio rendering should now be accurate when emulating Game Boy Advance

  Bug Fixes

     * Fixed garbled graphics while emulting Super Game Boy in the SDL port
       when OpenGL 3.2 is not available
     * The Cocoa build is now linked against the correct SDK version,
       restoring compatbility with older macOS versions that was mistakenly
       dropped in the previous release
     * Fixed fullscreen related issues in the SDL port
     * Fixed a bug where the SDL port did not save the battery in some cases
     * Bug fixes to libretro achievement support
     * Restored Game Boy Camera support on newer macOS versions
     * Fixed High-DPI support on Windows 10

  Misc Internal Changes

     * Improvements to the audio and ICD2 APIs
     * Allow compiling SameBoy for platforms with a non-standard bool size
     * Improved build portability, will now use pkg-config if available

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 3 12:08:51 2019 UTC (7 years, 1 month ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
sameboy: Needs c99

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Sep 22 12:38:24 2019 UTC (7 years, 1 month ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
sameboy: Update to 0.12.2

New/Improved Features

    The Quick Look previewer now produces color-corrected thumbnails
    The debugger now supports a wider range of symbol files

Accuracy Improvements/Fixes

    Fixed a bug where samples in the wave channel were treated as if they’re 0, effectively muting the channel in some cases.
    Fixed a regression that caused some PPU test ROMs to fail
    More accurate emulation of memory access conflicts on the Super Game Boy
    When emulating a Super Game Boy, built-in palettes for select games are now emulated
    Accuracy improvements to Super Game Boy’s multiplayer mode
    Super Game Boy and Game Boy Advance now have their own color correction filters

Bug Fixes

    Improvements to audio in the SDL port, affecting some machines
    Fixed a bug where the SDL port loaded the wrong boot ROM when emulating Super Game Boy 2
    Fixed broken audio on libretro when used with some RetroArch audio drivers
    Fixed a potential crash when closing a window in the Cocoa port
    Fixed libretro achievements
    Fixed major performence issues in the Cocoa port that affected some Macs, especially when emulating the original Super Game Boy

Misc Internal Changes

    The emulation core now supports emulating a Super Game Boy without high level emulation of the SNES or SFC. SameBoy is now used for Game Boy emulation by bsnes, allowing extremely accurate low-level emulation of Super Game Boy.
    Made it possible to compile the SDL port with older SDL versions
    Compression improvements to the CGB and AGB boot ROMs

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jul 18 10:44:57 2019 UTC (7 years, 4 months ago) by nia
Branches: MAIN
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

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>