Commit Graph

37 Commits

Author SHA1 Message Date
Extrems
cd67bc5d5d Migrate GameCube port to libogc2 2024-02-08 18:18:02 -05:00
ekeeke
ec466a7c9e [Gamecube/Wii] added configurable overclock setting for M68K, S68K and Z80 CPUs 2022-10-25 20:09:25 +02:00
Dave Murphy
0237209f89 prevent parallel building errors 2021-04-07 11:47:53 +01:00
Dave Murphy
0181eeaab9 use generated headers 2021-04-07 11:47:46 +01:00
ekeeke
54b946cd55 [Gamecube/Wii] modified Makefiles to directly use bin2s tool instead of bin2o script (fixes build issues with latest devkitPPC releases producing refactored/incompatible bin2s tool outputs) 2020-09-18 01:44:14 +02:00
ekeeke
d927c6e4cb [Gamecube/Wii] fixed compilation errors/warnings with latest devkitPPC (r24) 2019-03-23 14:32:34 +01:00
EkeEke
41285e1131 [Core/Sound] optimized Blip Buffer implementation for stereo streams (thanks to David Knight for original idea) 2016-12-18 23:09:16 +01:00
EkeEke
ede474acbe [Gamecube/Wii] removed inline forcing (fixes compilation warnings with devkitPPC r27) 2015-10-17 19:08:43 +02:00
EkeEke
c4842fb700 [Core/CDD] added compiler define option to disallow opening multiple .ogg files at the same time for platforms with limited RAM (fixes memory crash on Gamecube when using too many .ogg files) 2013-07-14 17:05:44 +02:00
EkeEke
b629a0969e rearranged core & back-end specific code 2013-06-17 22:23:39 +02:00
EkeEke
c32af0586a [Core/SCD]
.fixed SEEK command emulation (Lunar the Silver Star freeze regression)
.added .OGG files support for CD audio tracks (use same naming convention as
.WAV files, cf. README.pdf)

[Win32]
removed win32/SDL port makefile to prevent stupid websites like EmuCR from
compiling & distributing it (for the last time, it's a buggy, unstable &
incomplete port which is not meant to be used for anything but debugging)
2013-06-16 23:38:47 +02:00
EkeEke
28775cc3aa [Core/SCD]
----------
* added Mega CD / Sega CD hardware emulation (incl. Sub 68K, CDD, CDC, PCM, GFX
rotation/scaling, etc)
* added .ISO & .BIN CD image file support
* added 512K backup cartridge RAM support
* added savestate support for CD games

NOTES:
~~~~~~
* to play CD games, original BIOS ROM files are required in /genplus/bios/
directory: unzip & rename them to bios_CD_U.bin, bios_CD_E.bin, bios_CD_J.bin
* CD audio tracks (CD-DA) are not supported (yet)

[Core/CPU]
----------
* modified 68k core for Mega CD / Sega CD support

[Core/VDP]
---------------
* improved DMA accuracy
* added support for 8-bit VRAM writes with undocumented code value (verified on
real hardware by Nemesis)

[Gamecube/Wii]
---------------
* modified Master System & Game Gear "BIOS" support (files should be named
bios_U.sms, bios_J.sms, bios_E.sms & bios.gg and copied to /genplus/bios
directory).
* replaced "Hard Reset" button by a Soft Reset for systems having a Reset button
(Mega Drive / Genesis & Master System)
* State & SRAM files are now only compressed when saving to Gamecube Memory
Cards
* various fixes & cleanup.

[Core/SCD]
----------
* added Mega CD / Sega CD hardware emulation (incl. Sub 68K, CDD, CDC, PCM, GFX
rotation/scaling, etc)
* added .ISO & .BIN CD image file support
* added 512K backup cartridge RAM support
* added savestate support for CD games

NOTES:
~~~~~~
* to play CD games, original BIOS ROM files are required in /genplus/bios/
directory: unzip & rename them to bios_CD_U.bin, bios_CD_E.bin, bios_CD_J.bin
* CD audio tracks (CD-DA) are not supported (yet)

[Core/CPU]
----------
* modified 68k core for Mega CD / Sega CD support

[Core/VDP]
---------------
* improved DMA accuracy
* added support for 8-bit VRAM writes with undocumented code value (verified on
real hardware by Nemesis)

[Gamecube/Wii]
---------------
* modified Master System & Game Gear "BIOS" support (files should be named
bios_U.sms, bios_J.sms, bios_E.sms & bios.gg and copied to /genplus/bios
directory).
* replaced "Hard Reset" button by a Soft Reset for systems having a Reset button
(Mega Drive / Genesis & Master System)
* State & SRAM files are now only compressed when saving to Gamecube Memory
Cards
* various fixes & cleanup.
2012-07-05 21:45:37 +02:00
ekeeke31
38dcd29a66 added CUSTOM_BLITTER define, no need for NGC specific rendering code inside core anymore 2012-02-05 19:37:20 +00:00
ekeeke31
aae753a9e7 removed useless HW_DOL define 2012-02-01 00:28:34 +00:00
ekeeke31
62f1204476 ----------------------
Genesis Plus GX 1.6.0 
----------------------

[Core/Sound]
---------------
* added YM2413 emulation in Master System compatibility mode.
* fixed SN76489 noise boost initialization.
* minor YM2612 core optimizations.

[Core/VDP]
---------------
* added accurate emulation of SG-1000, Master System (315-5124, 315-5246) & Game Gear VDP.
* added support for all TMS9918 rendering modes.
* improved Mega Drive VDP timings accuracy in Master System Compatibility mode.
* fixed color palette initialization.
* fixed shifted sprites rendering in Mode 4.
* modified pixel rendering support (pixel depth is now forced at compilation time).

[Core/CPU]
---------------
* optimized 68k core (rewrote 68k interrupt handling, removed multiple CPU types support & unused code) for 5~8% speed improvment

[Core/IO]
---------------
* added accurate emulation of Master System (315-5216, 315-5237, 315-5297) & Game Gear I/O controllers.
* added Terebi Oekaki tablet emulation.
* improved Mouse emulation (fixes mouse support in Cannon Fodder).
* improved Justifier emulation (fixes gun support in Lethal Enforcers 2).
* improved 6-Buttons control pad emulation (fixes Duke Nukem 3D)
* modified lightgun emulation to use common key inputs for all devices.
* 2-buttons controller is now picked by default for Master System games.

[Core/MD]
---------------
* added copy-protection hardware emulation for some new dumped games (Tiny Toon Adventures 3, Mighty Morphin Power Rangers & The Battle of Red Cliffs).
* added Game Toshokan in EEPROM database (verified on real cartridge).
* fixed Micro Machines 2 - Turbo Tournament EEPROM size (verified on real cartridge).
* modified SRAM banswitch hardware emulation to be more compatible with some hacks.

[Core/MS]
---------------
* added Cyborg Z to Korean mapper database.

[Core/GG]
---------------
* added 93C46 EEPROM emulation (Majors Pro Baseball, World Series Baseball & World Series Baseball 95).

[Core/General]
---------------
* added support for .mdx ROM format.
* added Game Gear & SG-1000 ROM support.
* added accurate emulation of SG-1000, Master System (I, II) & Game Gear hardware models for 100% compatibility.
* updated to new Genesis Plus license (see http://cgfm2.emuviews.com/)
* removed DOS port
* various code cleanup.

[Gamecube/Wii]
---------------
* IMPORTANT: cheats, screenshots & save files are now stored in console-specific directories (ex: /snaps/md, /cheats/ms, /saves/gg, ...)
* added 8-bit Action Replay & Game Genie codes support (for Master System & Game Gear games).
* improved audio/video synchronization for PAL games in 50Hz TV modes (now use VSYNC like NTSC games in 60hz modes).
* improved gun cursor positioning accuracy.
* improved horizontal scaling & screenshots rendering in H32 mode.
* fixed a bug with ROM file extension handling that would affect cheats, snapshots, sram & savestate files.
* removed ARAM/injected ROM support (unused).
* removed WPAD_ and PAD_ update from VSYNC callback.
* increased GCC inlining limits for some speed improvment.
* compiled with devkitPPC r24 & libogc 1.8.7.
2011-08-07 17:49:46 +00:00
ekeeke31
651e91ece6 Reverted to r598 2011-07-13 22:49:52 +00:00
ekeeke31
7924f83b3d Deleted public repository 2011-07-13 11:44:38 +00:00
ekeeke31
ab4638144c [Core/VDP]
---------------
* added support for Master System compatibility mode (Z80 ports access mode), incl. Mode 5 rendering.
* added Mode 4 rendering for both Genesis & Master System modes.
* added alternate BG planes rendering functions (should be faster on PPC architectures).

[Core/IO]
---------------
* added support for Master System compatibility mode (Z80 ports access mode).
* added Master System peripherals emulation (Control Pad, Paddle, Sports Pad & Light Phaser).
* added XE-1AP (analog controller) emulation.
* added Activator emulation.

[Core/Extra]
---------------
* added support for all known Master System cartridge mappers.
* added copy-protection hardware emulation for a few MD unlicensed games: fixes 777 Casino (crash when talking to bunny girls).
(NB: most of those unlicensed games seem to have been already patched by ROM dumpers, main purpose is documenting them)
* added support for Top Shooter arcade board controller. (A=Shoot, B=Bet, C/RIGHT=Coins, START=Start, hold UP on startup to enter service mode)
* improved King of Fighters 98 mapper emulation (registers address decoding is now 100% accurate)
* fixed Game Genie when several codes affect same ROM address.
* fixed EEPROM types for Brian Lara Cricket & NBA Jam TE (verified on real cartridges)

[Core/General]
---------------
* added Master System compatibility mode emulation (automatically enabled when loading ROM file with .sms extension).
* improved savestate stability & compatibility (support for old 1.4.x savestates is preserved)
* various code cleanup & comments.

[Gamecube/Wii]
---------------
* fixed cheat codes handling when several codes affect same ROM address.
* improved input controller detection on menu exit.
* improved key remapping dialog box to match emulated device
* changed Menu key for Gamecube controller to allow MODE button mapping
* fixed DVD not being unmounted on swap (memory leak)

[Wii only]
---------------
* added USB mouse support for Sega Mouse emulation
* compiled with latest libogc: improves USB compatibility & fixes stability issues with Wiimotes.
2011-03-31 22:11:05 +00:00
ekeeke31
d14026a6fe -redesigned cheats manager menu, added Action Replay codes support
-added libiso9660 support
-improved ROM browser and history
-fixed missing MODE button support on Game Cube controller
2010-11-01 18:13:17 +00:00
ekeeke31
7880c09c4e added USB2 support through Hermes IOS202 (mload) 2010-04-23 12:31:07 +00:00
ekeeke31
0f4da285f8 fixed compilation issues
tiny GUI modifications
2010-03-07 17:56:02 +00:00
ekeeke31
fe055c2a2c .fixed I/O access issues with devkitpro r18
.updated OGG support (compatibility with last libtremor + threading fixes from Tantric)
.improved controller auto-detection 
.added experimental support for cartridge hot swapping, check System Options Menu
.improved reset (soft/hard) emulation accuracy


BEFORE COMPILING, REMOVE THE FOLLOWING FILES:

*from ($DEVKITPRO)/libogc/lib/cube & /wii
-----------------------------------------
libpng.a
libtremor.a

*from ($DEVKITPRO)/libogc/include
---------------------------------
/tremor
png.h
pngconf.h


DOWNLOAD & INSTALL THE FOLLOWING PORTLIBS in ($DEVKITPRO)/portlibs/ppc
(PPC versions, from http://sourceforge.net/projects/devkitpro/files/)
*libpng
*libtremor
2009-10-16 11:32:55 +00:00
ekeeke31
ee2d34a48f updated makefiles 2009-07-22 17:50:12 +00:00
ekeeke31
c35921ba3d ~fixed video width not being initialized when using BIOS
~added an option to enable/disable 68k Address Error support (required by some homebrew roms)
2009-06-17 07:58:56 +00:00
ekeeke31
39194bfaf3 + improved GUI engine (more flexibility)
+ improved Menu transition effects
+ added support for ogg background music
+ improved ROM Selection Menu (automatic text scrolling, wiimote support, ...)
+ changed arrow buttons aspect (feel better now ?)
+ minor bufgixes and menu adjustments
2009-04-19 22:31:08 +00:00
ekeeke31
a01bd4f375 ~ fixed Makefiles, Gamecube Z trigger image
+ improved menu helpers behaviour
+ added some memory allocation checks
+ implemented basic ROM file selection menu (still missing filename scrolling & snapshot/gameinfo support)
2009-04-16 12:19:12 +00:00
ekeeke31
9916a4416f updated Makefiles, fixed frames transparency 2009-04-15 15:38:19 +00:00
ekeeke31
36e91c70aa added lightgun crosshairs, improved menu<->game video transitions, changed background color, added preliminar sound effects 2009-04-05 18:20:43 +00:00
ekeeke31
6f65ac3f15 fixed audio/video synchronization, preliminary GX gui implementation 2009-02-22 19:57:41 +00:00
ekeeke31
43fd560e55 optimized some float/int conversions, added -fomit-frame-pointer flag 2009-01-28 16:43:15 +00:00
ekeeke31
00a61b4762 code cleanup 2008-12-11 17:38:29 +00:00
ekeeke31
1a730e7183 modified SRAM autosave, directly run the game after the ROM has been loaded, wii shutdown support, improved soft reset support, faster (direct) texture mapping , faster NTSC filters 2008-11-13 07:24:30 +00:00
ekeeke31
c1772021b5 added NTSC filter support, added proper 480p detection in Gamecube mode 2008-10-02 20:22:53 +00:00
ekeeke31
7b4ec49188 fixed some warnings in render.c, switched to -O3 optimization (no performance increase for Virtua Racing however), modified libsamplerate default when Virtua Racing is running to gain some fps 2008-09-25 17:53:44 +00:00
ekeeke31
189157a408 fixed audio buffer allocation, added icon for SDL/win32 version 2008-08-25 19:38:03 +00:00
ekeeke31
0db46554ef added libsamplerate support, improved zipped rom loading, improved SSG-EG support 2008-08-17 20:17:49 +00:00
ekeeke31
fb15609c9e restored from bountysource 2008-08-07 12:26:07 +00:00