Commit Graph

733 Commits

Author SHA1 Message Date
CasualPokePlayer 33a4dda6b7
Melon DSi (#3114)
* update melon

* frontend work

* make this work (i think?)

* fucking merge conflicts

* bleh

* hack up DSi support, very hardcoded atm, but at least states are reasonable

* add IS_DSI load flag

* frontend work bleh

* oops forgot to push

* ok fine apparently that doesnt display right

* oops

* prevent zealous release screen calls, DSi firmware seems to not like it?

* support for loading DSiWare title

* dsiware

* oh right this bullshit

* oops

* will this work

* why the fuck was this signed

* 0 out these hashes, these are also unique per console, no hope verifying these
2022-02-01 23:40:32 -08:00
CasualPokePlayer 096f24e7c6
Reduce bsnes115 state size (#3105)
* testing...

* more testing...

* this is probably a bad idea

* well this probably fixes state size issues

* time to debug this

* oh derp it's just not enough memory in invis heap

* let's see if this works?

* apparently this breaks slow ppu?

* testing...

* testing...

* testing...

* sanity checking

* let's try again

* i do not know what the fuck is up with this emulator nor do i care enough, state size is still under a mb anyways with slow ppu

* oops forgot to commit this

* resolve some issues

* tweak memory allocation sizes

* dont save more cache stuff

* wtf was i even thinking here

* move comment back to original pos, comment on double loading
2022-01-31 19:00:04 -08:00
CasualPokePlayer 7ac2e97cb7
update melon (#3113)
* update melon

* frontend work

* make this work (i think?)

* fucking merge conflicts

* bleh
2022-01-31 17:18:42 -08:00
CasualPokePlayer d6b33fbec6
Nymashock (#3093)
* nymashock wbx

* shit

* lagflag stuff

* saveram stuff

* debugging how this works

* lets see if this works better

* fuck strings

* ok let's do this right i think

* probably have this all working

* get repo in

* add nymashock to build scripts

* also update this readme

* get rid of this default, seems to break internally anyways?

* ""fix"" dualshock (wtf to do with rumble???), make override defaults actually default, add hack to allow for overriding default controllers

* hide useless rtc settings

* hack fix override defaults for controllers, get something going for nyma psx schema

* oops dont forget this

* make fucking default controllers hack work (what the fuck is this code???) also complete schema and mnemonics

* FUCKING FIX THIS BULLSHIT DEFAULT

* let's make this a little nicer

* add mnemonics for □/△/○, fixes weirdness with input display

* fix weird overscan issues when multiwidth + no-interlacing happens at the same time

* do this "properly"

* analog mnemonics

* default controls for dualshock/gamepad filled

* set nymashock as preferred core

* apparently this didnt get committed?

* update README too

* control name fix

* Revert "control name fix"

This reverts commit a3cae89b18.

Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
2022-01-30 08:52:49 -08:00
CasualPokePlayer dcccb4e2b6
MSXHawk Linux (#3110)
* hack up a makefile for this

* hack up a build for linux, also fuck msvc fuck msvc fuck msvc

* make this work with the so

* thanks line endings

* lol
2022-01-30 08:42:20 -08:00
CasualPokePlayer 24f946681f
Emu83 (#3086)
* emu83

* builds and get rid of wtf this thing is

* multidisk bundler for ti83

* release

* link src

* also put in the commit hash why not

* Nitpicks

* update ""rom"" extensions for ti83

* don't forget to set a preferred core

Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
2022-01-29 18:23:09 -08:00
feos ad82f4f216 test #3104 2022-01-29 11:59:53 +03:00
CasualPokePlayer 2348e2885d
Add SameBoy as a GB/C core (#3009)
* basics for sameboy

* lol

* bleh

* lol

* push this in

* push this in

* settings, and also update sameboy bootroms

* bleh

* build linux

* remove some debugging shiz

* fix the order of this

* debug stuff also do gpu palettes right

* use new key mask API

* push shit in

* bleh

* add in replacement impl for joypad, use until opposing directions are allowed upstream

* update

* finally get this working without needing GB_INTERNAL

* hook up acc controls

* oops

* oops x2

* oh right this doesn't use this

* finish this up

* also mark this as released

* cleanups

* Nitpicks

Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
2022-01-27 13:17:52 -08:00
YoshiRulz 69d51aba50
Change how user gamedb files are included, add extra warnings 2022-01-28 06:49:01 +10:00
Moritz Bender 0d7de83d4b
BSNESv115+: Implement snes_controller_latch function, cleanup input polling behavior (#3084)
* BSNESv115+: get rid of input_state + input_poll; just poll

* call `snes_controller_latch` on latches done in the core,

- this now also actually calls the InputCallbackSystem
- needed some edits in the core to support executing the callback even when no controller is connected in port 1

* Fix and somewhat normalize the SnesCallbacks order
2022-01-22 00:29:47 +03:00
YoshiRulz 022cb02f3e
In `EmuHawkMono.sh`, check distro name case-insensitively 2022-01-20 12:30:20 +10:00
alyosha-tas b0ab71ae35 Vectrex: Implement 64K bank switching, add some homebrews to DB 2022-01-10 17:15:01 -05:00
alyosha-tas 28e57dd7f3 INTV: update DB with a different version of Super Pro Football 2022-01-10 16:55:26 -05:00
CasualPokePlayer 06d472fdc8 resolve #3058 2022-01-06 13:43:40 -08:00
alyosha-tas 22fe9a1b7b PCEHawk: add 240p test suite to game DB and properly resize buffer, fixes #3018 to at least not crash 2021-12-17 20:08:36 -05:00
YoshiRulz 6e73c6a5f1
Also write stderr to file in Mono wrapper scripts 2021-12-18 07:26:05 +10:00
CasualPokePlayer aa6f74108e resolve #3028
also fix other misc bugs
2021-12-15 17:18:00 -08:00
Morilli d24629f3ad BSNESv115+: ram and rom memory domain fixes
- saveram was not working at all on certain roms, as the "CARTRIDGE_RAM" memory domain was returning a null pointer (similar thing for "CARTRIDGE_ROM"; changed it to correctly return the current rom)
- add sa1_bwram domain for clarity and an SGB_ROM domain
2021-12-15 09:10:37 +01:00
YoshiRulz 2601ad636a
Convert NesCarts.xml to UTF-8 2021-12-03 07:59:58 +10:00
alyosha-tas 8c6d12e913 NESHawk: rename MMC3_pokemon to MMC3_Jncota 2021-12-01 18:52:53 -05:00
alyosha-tas 76faa7c835 MSX: implement ascii 8kb mapper and make it the default for large games 2021-11-30 19:06:08 -05:00
Asnivor a8ca430f01 ChannelFHawk: * Console buttons now mapped the correct way round
* gamedb updated
* Fixed F8 3853 Static RAM DC1 register issue - SCHACH mapper carts (chess, pacman) now work (and any games that use the XDC opcode)
2021-11-29 17:57:07 +00:00
Moritz Bender cc38f4bcba
Implement memory callbacks for the new bsnes core (#2797)
* Actually working callbacks
now actually work after natt's changes
* Set whether memory hooks exist every frame to prevent unnecessary function calls if not
2021-11-29 19:59:47 +03:00
CasualPokePlayer f7936a34f8 [GambatteLink] changes in link API, misc cleanup 2021-11-27 22:40:39 -08:00
alyosha-tas de8748d6d1 NESHawk:Send hard Drivin to correct mapper 2021-11-27 21:32:40 -05:00
alyosha-tas 3036b7378d NESHawk: give pokemon hacks battery ram 2021-11-27 13:55:13 -05:00
alyosha-tas eec1711b0f NESHawk: add in a new mapper for chinese pokemon 2021-11-27 10:49:58 -05:00
Asnivor 4f71df99ae ChannelFHawk: Updates
* Maze/Hangman mappers working (SRAM2102)
* Fixed console buttons ones-compliment bug
* LagFrame detection
* NTSC/PAL SyncSetting
* Started adding mappers for all games
2021-11-26 16:50:14 +00:00
alyosha-tas fd02c872a9 MSX: finish up SCC, set to released. 2021-11-25 16:34:36 -05:00
Asnivor 2a67ad625f ChannelFHawk: Cart 2102 SRAM Implementation 2021-11-25 20:39:03 +00:00
alyosha-tas ddf07ebe27 Merge branch 'master' of github.com:TASVideos/BizHawk 2021-11-25 12:22:40 -05:00
alyosha-tas 82655a759e MSX: work on SCC implementation 2021-11-25 12:22:13 -05:00
Asnivor 442e83239d ChannelFHawk: More progress:
* IO now working properly
* Start of mapper implementation
* Additional gamedb entries
2021-11-25 14:52:59 +00:00
alyosha-tas f32961001e MSXHawk: Refactor and start work on SCC 2021-11-24 20:26:31 -05:00
alyosha-tas cdb7f13efe PCEHawk: enable 'multireshack' for Outrun, fixes #1266 to at least not crash the emulator. 2021-11-24 09:47:06 -05:00
CasualPokePlayer d5c1ebb88e update gambatte to upstream, passes more wilbertpol tests 2021-11-23 15:39:21 -08:00
nattthebear 2ea62ffea6
Handle reentrant calls in waterbox (#3007)
Fixes #2585
2021-11-23 14:20:12 -05:00
alyosha-tas bd53079a3a INTV: more compatibility work 2021-11-21 18:17:24 -05:00
alyosha-tas c5690e726e Intellivision: update game DB to use correct hash entries and add some that were missing. 2021-11-21 16:39:10 -05:00
CasualPokePlayer 7c25241c4b and so 2021-11-20 23:51:23 -08:00
CasualPokePlayer 72ad5c7b0b GBC IR Emulation for GambatteLink 2021-11-20 23:51:23 -08:00
alyosha-tas d9893b1d27 SG1000: add remaining hashes for 8KB adapter 2021-11-20 21:49:13 -05:00
alyosha-tas 792b91f821 SG1000: work on 8kb ram adapter 2021-11-20 21:15:41 -05:00
alyosha-tas de1a312262 MSX: do some work on mappers 2021-11-17 15:27:54 -05:00
alyosha-tas 5f847fe55c A2600 game db updates 2021-11-12 07:19:49 -05:00
alyosha-tas edfa040b46 NESHawk give Jump II initial SRAM of 0xFF 2021-11-11 09:43:08 -05:00
PandaSRC 24a5544730 Add Artix to wrapper script 2021-11-11 11:28:37 +10:00
CasualPokePlayer 178e57a91b update libstdc++, gambatte needs this; other cores which use this seem to still function fine 2021-11-03 19:20:09 -07:00
CasualPokePlayer 2b15fc958f build here, update libgambatte bindings with new api and use it 2021-11-03 18:53:51 -07:00
CasualPokePlayer 463f9bf920 update gambatte 2021-11-03 18:42:04 -07:00
CasualPokePlayer 421c12f081 fix some other oopsies here 2021-11-03 18:12:05 -07:00
CasualPokePlayer 4c9d359a49 fix oopsies in nds stylus input display script 2021-11-03 18:04:07 -07:00
CasualPokePlayer 70cd0eab16 NDS Stylus Input Display script improvements and warnings 2021-11-03 17:59:25 -07:00
CasualPokePlayer 1ddbada5e4 NDS Lua Functions; update style input display to use them 2021-11-03 17:20:23 -07:00
CasualPokePlayer 600ee6c913 Squashed commit of the following:
commit af7cadfce4b750f8b1b23476c281bd2dfe027225
Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
Date:   Tue Nov 2 22:43:21 2021 -0700

    right, rename these too

commit e27197d18ad33af53729b1a57ee4a048189c41c4
Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
Date:   Tue Nov 2 22:40:42 2021 -0700

    build

commit 1af068f11f553ade70999fb2c640ee98e054aa36
Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
Date:   Tue Nov 2 22:37:28 2021 -0700

    new way to do mic input for melonds
2021-11-02 22:54:36 -07:00
CasualPokePlayer f5940e12e2
update octoshock to Mednafen 1.27.1 (#2989)
* update octoshock to Mednafen 1.27.1

* oh right, gotta add in video changes too
2021-11-02 20:15:54 -07:00
CasualPokePlayer 463ef90fd2 build and comment this crap out (nice build error lol) 2021-10-29 23:07:34 -07:00
CasualPokePlayer 9138859bf5 am/pm flag fix? 2021-10-26 18:04:41 -07:00
CasualPokePlayer 41128abc37
[melonDS] Redo porting, waterbox style now (#2945)
Co-authored-by: nattthebear <goyuken@gmail.com>
2021-10-24 21:40:23 +03:00
CasualPokePlayer 9a87a0f586
nuke sameboy (#2934) 2021-10-18 21:38:23 -04:00
alyosha-tas 98f9db4bc8 fix tsuri kichi blue marlin hen 2021-10-16 18:00:35 -04:00
CasualPokePlayer d0caff6cf3
Dumb (#2968)
* dumb

* dumb
2021-10-14 08:22:21 -04:00
alyosha-tas 52715383c5 SMS: add SRAM to Terminator in gamedb fixes #2966 2021-10-13 16:20:13 -04:00
YoshiRulz df655d6f19
Add Fedora to wrapper script 2021-09-30 20:08:53 +10:00
zeromus 9474be55f9 oops, mistake from copy paste cgp (maybe?) 2021-09-27 22:32:02 -04:00
zeromus e18dd99a58 add bsnes-gamma shader. fixes #2942 2021-09-27 22:30:57 -04:00
CasualPokePlayer 4303d1c333
[mGBA] Game Override Sync Settings (#2937)
* override sync settings

* override penguin

* don't override save type when autodetecting

* insert penguin
2021-09-26 11:55:13 +03:00
CasualPokePlayer d513c5b2a0
fix #2805 for real this time (#2936)
* fix https://github.com/TASVideos/BizHawk/issues/2805

* fix https://github.com/TASVideos/BizHawk/issues/2805 for real this time

* misc

* advance penguin
2021-09-21 08:46:57 -04:00
CasualPokePlayer b5639f8834 update gambatte; update readme to account for gambatte sgb support 2021-09-21 14:01:42 +10:00
CasualPokePlayer fbab7f6291
Implement HLE SGB Emulation in Gambatte (squashed PR #2917)
* sgb meme

* various sgb fixes, add hard reset support for spc, make frontend provide spc file

* sgb border support, mostly copied from sameboy

* add support for disabling sgb border, also fix dumb when disabling border

* state work, states seem to be broken tho

* fix dumb state issue

* multiplayer

* fix dumb in spc stating

* misc

* pass SGB tests

* oh right I have to fix this too

* and this dumb too

* attempt to fix weird crashes

* or maybe this will fix it?

* wtf is spc doing?

* rebase

* misc state + debugging stuff

* finally fix weird assertion failure

* factor out loading in spc file, also factor out the ipl

* oops

* init special sgb colors for certain games

* slight sgb audio refactor

* this should work better?

* oops

* switch back to master

* super penguin
2021-09-17 23:35:00 +10:00
YoshiRulz 2d81c820b4
Add LibretroBridge binary for Linux and wire it up
build scripts to come, see PR #2895
2021-09-09 04:12:54 +10:00
mooware 55a8936a30
add options for virtualboy to only show left or right screen (#2842) 2021-09-01 20:41:02 -05:00
alyosha-tas c6744feed8 NESHawk: make sure Krnov (J) goes to correct mapper 2021-08-23 11:37:04 -04:00
CasualPokePlayer b29516e864
Update Gambatte (#2909)
* update gambatte

* penguin
2021-08-15 22:28:42 -04:00
CasualPokePlayer 47a8305699
fix #2902 for real this time (#2906)
* fix Gambatte memory/trace callbacks in double speed mode

* win build

* linux build
2021-08-12 00:52:58 -04:00
CasualPokePlayer 4681805439
fix #2902 (#2904)
* fix #2902; factor out altrunfor and just use upstream's runFor, keeping a frame buffer on the c# side

* linux build
2021-08-11 02:20:53 -04:00
CasualPokePlayer d37a818f96
Update Gambatte (GB Camera Support, Misc Cleanup) (#2897)
* update gambatte (camera support, misc cleanup)

* linux build

* misc

* [Gambatte] fix resets (oops)

* this didn't complain on my side but w/e ig
2021-08-07 17:50:16 -04:00
YoshiRulz 8adb911623
Pull Gambatte submodule, rename Linux binary to .so 2021-08-02 20:54:06 +10:00
CasualPokePlayer ee1dc3dba7 [Gambatte] add linux build 2021-08-02 16:23:38 +10:00
CasualPokePlayer 87f0fd78fc [Gambatte] sync to upstream 2021-08-02 16:23:38 +10:00
CasualPokePlayer 036e349337
[BSNESv115+] Fix Lag Frames For SGB (#2886)
* better lag detection for sgb. todo: might want to toggle this?

* correct logic and don't fail build this time
2021-08-01 09:54:59 -04:00
CasualPokePlayer 7518ce962b
[Gambatte] Many Updates (#2823)
* [Gambatte] Port setregs from upstream, implement SetCpuRegister, misc cleanup/fixes elsewhere

* [Gambatte] Add more proper uninitalized AGB WRAM, based of a GBP dump

* cleanup Gambatte's CpuSetRegister (credits to stringflow)

* additional Gambatte code cleanup

* [Gambatte] cleanup tracelogger code readability

* fix

* Initalize VideoBuffer with a white screen instead of a black screen, misc video fixes

* misc cleanup

* [Gambatte] hdma work

* [Gambatte] add warning for recording a movie without a bios enabled. doing this as I am annoyed enough from disabled bios being the default and you cannot say anything about the profile system since recent submissions have shown that ineffective

* misc cleanup

* [Gambatte] init state tweaks

* [Gambatte] add setting for patching similar bioses

* fix this

Co-authored-by: TiKevin83 <travismcgeehan@gmail.com>
Co-authored-by: alyosha-tas <alexei.f.k@gmail.com>
2021-08-01 09:54:19 -04:00
feos 11b1e328a6 rebuild gliden64 2021-07-21 16:20:28 +03:00
YoshiRulz b28a52befa
Add default feedback bind for N64 P1 (and add copy in test data)
the rest of the default binds are still garbo though
2021-07-21 12:27:41 +10:00
Meerkov 664ab7fab6
Wire up haptics in Mupen core (squashed PR #2683)
* Wire up host haptics, but only for OpenTK which doesn't support it

and I'm hijacking the Fast Forward hotkey too

* Fix Mupen 64 Vibration DLL

* Enable Mupen 64 Vibration for DirectInput

* Remove unused SDL dep from Mupen input-bkm plugin

this allows it to be built without checking out the deps submodule, I guess

* Fix <OutDir/> in Mupen lib projects

* Remove "Debug" haptic channel and debug hotkey, prepare Mupen

* Fix remaining merge conflicts

* ...with the correct channel name

and hopefully no dangling whitespace changes

* Fix typo from resolving merge conflict, and off-by-one error

Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
2021-07-21 10:06:16 +10:00
Moritz Bender 2ff7e4d39b
Add sa1_iram memory domain for new bsnes (#2803) 2021-07-16 18:41:53 -05:00
Zach 58293dde9f
Support null (any) address for N64 breakpoints. (#2833)
* Support null (any) address for N64 breakpoints.

Fixes #2808

* Move null check for better readability.

* Replace debugger mutex with semaphore that counts debug steps.

This is taken directly from upstream m64p. If breakpoints are being hit fast enough and in large enough quantity, m64p always ends up getting into a deadlock. The semaphore seems to resist this problem.

* Remove tabs
2021-07-14 20:49:31 +03:00
CasualPokePlayer 488fd2c6af
Add support for more SGB firmware + Use homebrew bootroms instead of bsnes' illegally provided official ones (#2837)
* add support for more SGB firmware

* replace illegally provided bootroms with legal homebrew bootroms

* let's swap these with homebrew bootroms too

* add builds

* this should probably be preferred

* Fix incorrect assignment

* Fix whitespace changes to Designer files

Co-authored-by: Morilli <35152647+Morilli@users.noreply.github.com>
Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
2021-07-14 12:48:02 -05:00
alyosha-tas c16acf70e2 NES: fix mapper selection for Saint Seiya and mislabelled mapper 33 games 2021-07-08 15:07:25 -04:00
nattthebear 9488e19d38
Update mednafen cores to 1.27.1 (#2831) 2021-07-03 10:01:04 -04:00
Asnivor 37a6446996 New ZXS game added to gamedb 2021-06-25 12:06:09 +01:00
nattthebear 90a12a8e73 Update virtual boy core with a mednafen 1.27.1 fix. 2021-06-19 08:32:50 -04:00
CasualPokePlayer 8ab4dd245b
[Gambatte] Account for lastCartBusUpdate_ during resetCounters (#2800)
* [Gambatte] Account for lastCartBusUpdate_ during resetCounters

* need DLL too
2021-06-18 10:07:49 -04:00
CasualPokePlayer ea369408fb
[Gambatte] Open Bus Emulation (#2798)
* [Gambatte] Open Bus Emulation

* Fix regressions

* a
2021-06-14 18:50:43 -04:00
CasualPokePlayer dd12d27149
[Gambatte] Misc Tracelogger Fixes (#2765)
* add HLE CGB-DMG colors for No Bios option

* misc gambatte tracelogger fixes
2021-05-31 10:48:14 -04:00
CasualPokePlayer 6432d99feb
[Gambatte] Many Updates (#2742)
* don't put isCGBMode for movies where CgbDmg mode is being used

* various Gambatte accuracy improvements + proper no BIOS support + tracelogger fixes
2021-05-27 08:56:13 -04:00
nattthebear 2c0c6aa0bb rename a bunch of shit because someone has a fetish for RFCs
rust maintains its reputation as a less annoying language to write systems code in than C, but only just barely.

yeets #2750
2021-05-26 16:07:07 -04:00
Morilli 38bc953e22 Add a designated payload controller based on the multitapcontroller in the new bsnes core
- also patched out the left/right and up/down handling in the core, where it didn't belong
- also fixed the existing payloadcontroller because it wasn't working at all lol
2021-05-26 02:27:54 +02:00
Morilli 24c74c0e36 Implement IDebuggable for the new bsnes core 2021-05-23 05:02:05 +02:00
Morilli e2b38732dd Fix bsnes memory domains and add bsnes.wbx.gz 2021-05-15 19:36:08 +02:00
YoshiRulz 07f637fef0
Remove garbage from misbehaving Gambatte build 2021-05-13 13:35:57 +10:00
TiKevin83 3dcc487df2
Fix Gambatte RTC on Hard Reset (#2739) 2021-05-12 23:25:28 -04:00
YoshiRulz f7e38d499d
Update mGBA binary for Linux
https://gitlab.com/TASVideos/BizHawk-ports-CI/-/jobs/1254060848
2021-05-12 03:12:44 +10:00
feos 8cc5488de3 update mgba to release 0.9.1 2021-05-11 19:17:46 +03:00
YoshiRulz 8f7b01bffe
Fix whitespace in defctrl.json 2021-05-08 06:26:17 +10:00
YoshiRulz b9e29e78b4
Fix default PCE gamepad bindings (fixes #2720) 2021-05-08 06:23:23 +10:00
CasualPokePlayer 3372556ef0
[Gambatte] MBC3 RTC Refactor (And add a way to set initial RTC state) (#2724)
* slightly fix gambatte peeking
* fix gambatte layer masking, move layer masking to sync settings (these settings affect sync, they shouldn't be normal settings)
* block toggle layer hotkeys when movie recording
* refactor Gambatte's RTC
* add a way to set an inital RTC state during a movie recording
* prevent Gambatte from saving RTC data when recording a movie, needed to create save-anchored movies
2021-05-05 21:40:36 -04:00
YoshiRulz 7c1b40df1f Revert "The next time I look at this I want to see waterbox builds actually fucking working again. This means copying to dll as they are now, and not silently being overridden by stale files stored in another folder. This is not my problem to fix because I did not fucking break it."
This reverts commit d8d42b9f81.
2021-04-28 15:35:11 +10:00
nattthebear d8d42b9f81 The next time I look at this I want to see waterbox builds actually fucking working again. This means copying to dll as they are now, and not silently being overridden by stale files stored in another folder. This is not my problem to fix because I did not fucking break it. 2021-04-27 19:37:53 -04:00
zeromus f7fb2ad76f psx - fix oopsies in shock_destroy 2021-04-27 14:56:41 -04:00
CasualPokePlayer 1fe2a12b67
[MovieClock.lua] use cycle based time for Gambatte/SubGBHawk (#2708)
* use cycle based time for Gambatte/SubGBHawk

* non-functional cleanup
2021-04-18 10:05:53 -05:00
CasualPokePlayer b9123453aa
[Gambatte] Slightly fix peeking & fix layer masking (#2712)
* slightly fix gambatte peeking

* fix gambatte layer masking, move layer masking to sync settings (these settings affect sync, they shouldn't be normal settings)

* block toggle layer hotkeys when movie recording
2021-04-18 10:03:44 -05:00
YoshiRulz 771b5397fe
Fix range, def. binds, and Virtual Pad for SEGA Mouse 2021-04-17 12:54:17 +10:00
TiKevin83 90a67b9e22 update libgambatte to fix RTC subsecond tests 2021-04-05 02:53:04 -04:00
TiKevin83 585ed99cdd update gambatte-speedrun GBA modeswitch timing and testROM accuracy 2021-03-18 19:31:06 -04:00
YoshiRulz d524da3530
s/null/nil/ in all included Lua scripts 2021-03-07 22:19:40 +10:00
TiKevin83 b2893d24c6 Update Gambatte to fix RTC issues and output location of the DLL in the assets folder 2021-03-04 02:04:45 -05:00
TiKevin83 9ca1b86316 Update gambatte to support the wisdom tree mapper and fix upstream reference and links 2021-03-04 02:04:45 -05:00
YoshiRulz 05676234ed
Move remaining assets from /output to /Assets 2021-02-12 14:08:17 +10:00
YoshiRulz dbe2cd4cde
Cleanup <Reference/>s of NLua (and System.Data.SQLite) 2021-02-12 13:59:40 +10:00
YoshiRulz 28ff2231f2
Update mGBA Linux binary
Windows binary rebuilt in 78931e025
taken from https://gitlab.com/TASVideos/BizHawk-ports-CI/-/jobs/968003727
2021-01-17 23:31:12 +10:00
YoshiRulz ce0ccd0cfa
Remove wget binary from assets
fixes a1253407e
2020-12-26 12:44:47 +10:00
YoshiRulz a1253407e7
Remove gamedb/update_gamedb.bat from assets (fixes #2529)
pulling the gamedb from master into an old version is a bad idea
2020-12-26 00:52:23 +10:00
nattthebear 72ea5ce866
Waterbox: Allow SEH unwinding through guest calls. (#2519)
The goal of the separate stacks was to allow this, but I never quite finished the job.  Now, when a SEH exception (generally a Rust panic in a guest syscall handler, or a C# Exception in a callback) tries to unwind through guest code, it works.  Note that we don't actually unwind the guest stack, as there's nothing useful to be gained from that;  When an emulator core throws an exception like this, it should be considered completely hosed.  Throw it out and get a new one.

There were two bugs stopping this from working.

First of all, we had custom thunks that lacked sufficient unwind information for RtlUnwind to get through.  For the sysv <-> msabi adapter, this was fixed by making it regular Rust code instead of hand assembled junkus.  So the compiler generates valid unwind information for all of that.  Then we just JIT a small stub on top in the MsHostSysVGuest code, which needs no unwind information because it won't throw an exception itself and transparently passes execution to something with valid unwind information without invalidating that information.  (NB:  Clr JIT stubs use the same strategy.)  For the host <-> guest stack transition code, a small hand generated unwind stub was added to interop.s that is registered with `RtlAddFunctionTable`.  I've seen the unwind work successfully without this second set of unwind information, but better safe than sorry.

Secondly, our misuse of SubSystemTib caught up with us.  It's an old field, allegedly from OS/2, that we repurposed to hold TLS information needed for the waterbox stack transitions.  Most people think nothing uses it any more, but in fact if it's set to a non-NULL value, but doesn't contain valid information, `KERNELBASE!GetModuleFileNameW` will crash when it tries to get a module name from there.  The fix here was to simply tighten up our usage of SubSystemTib:  We were already nulling it out when returning from guest code, but not when calling back to host code in guest code.

Fixes #2487.  Unwinding of this sort has never worked well in waterbox; the reason why that issue is more recent is that the particular reproducing case of firmware didn't cause an exception in a callback in older code; the exception happened in pure managed code.
2020-12-13 19:12:16 -05:00
YoshiRulz e2ac1aca84
Add and use DistinctKey enum (copy of WPF's key enum) 2020-11-21 17:43:58 +10:00
alyosha-tas 04a60cd0df Game DB, add good entry for Litti's Summer Sports 2020-11-09 13:12:29 -05:00
adelikat bd64530ce5 fix MovieClock ui, bad gui.text() usage, also use current frame count instead of movie length 2020-10-17 13:33:13 -05:00
nattthebear 98ad14ff47 Fix two semi-related savestate bugs in waterbox.
We had two instances where the act of sealing could lose snapshots that were never recovered.  It's oof.
2020-10-13 09:10:46 -04:00
YoshiRulz c0b755a33b
Recompile Cygne, Handy, mGBA, and QuickNes for Linux 2020-09-26 22:19:02 +10:00
YoshiRulz 5ae13a2309
Change build path of executables to output/dll
* post-build step moves .exes up a level, to output
* also fixed OpenTK.dll.config location
* also removed redundant step from packaging scripts
* future executables need to be capable of resolving assemblies in dll
2020-09-22 09:39:53 +10:00
YoshiRulz fb5a5ed78c
Add libdarm.so, migrate Darm class to BizInvoker
`Tools` > `Debugger` no longer crashes immediately on Linux with mGBA core
2020-09-21 01:38:09 +10:00
Ethan Arns 8391be5ae7 Added Pop_OS support 2020-09-20 05:24:00 +10:00
James Groom a5d166cf71
Partial fix for #2353 (files in dev builds) (#2410)
* Move .so libraries to dll dir, update some build scripts

* Move OpenTK.dll.config with OpenTK.dll

* Keep EmuHawkMono.sh in Windows-built artifacts

* Add Package.sh to match QuickTestBuildAndPackage.bat

used as `Dist/BuildRelease.sh && Dist/Package.sh`

* Update GitLab CI to use Package.sh
2020-09-18 20:08:34 -05:00
YoshiRulz 4bf50e6e51
Fix docs/strings/identifiers copypasta'd between various Hawk cores
A2600 standard controller and A7800 standard controller were using the same
keybinds, now only Atari2600Hawk uses those and A7800Hawk's are blank unless
configured manually or configured on config regen
2020-09-08 12:02:53 +10:00
alyosha-tas 1c5f9fccb3 O2Hawk: Mostly fix 4 in a row 2020-09-04 19:46:49 -04:00
adelikat 369b7830a5 add Cyorter's Input display lua script, that gives a graphic based (FCEUX style) input display for most non-analog peripherals 2020-08-01 16:46:49 -05:00
adelikat 6fd2252753 fix psx default controls, fixes #2251 2020-08-01 15:55:55 -05:00
nattthebear 78bf2285fc
Waterbox: Add pseudo-thread implementation and experimental DobieStation (PS2) core (#2263)
Waterbox supports threads now, but they're not real threads on the host side because that's complicated and can be nondeterministic. Instead, everything is scheduled to share one host thread. This means that scheduling is actually cooperative and certain patterns of spinlocks and other nonsense can fail to work at all, but "regular" code probably will.

With this, add DobieStation PS2 core. This core was selected because it has threads and is otherwise simple to port; easy to build and a good core/frontend separation. It's not a wonderful core however, with low speed (made abysmally lower by our lack of real threads) and low compatibility, so it remains a curiosity for now.
2020-08-01 07:03:29 -04:00
YoshiRulz b6f4344592
Pass lib path from run script as env. var and read it in DLIR
It's always set by the run script, but I've added a fallback in case someone
hardcodes the mono command in a .desktop or something
2020-07-28 18:15:37 +10:00
YoshiRulz 765eb443a5
Tweak run script to compute lib and wine lib paths separately
also added $PWD/dll to LD_LIBRARY_PATH in case we ever use that
2020-07-28 18:11:50 +10:00
nattthebear 1c606c1eb6 waterbox - expose read-only information about the guest memory page table 2020-07-23 16:08:24 -04:00
nattthebear 356abf6c43 Really, actually, truly fix the waterbox savestate snafu, probably
The description in the previous commit is accurate, but the problem runs deeper and was on the whole a complete failure for me to appreciate the difference between active and swapped in on memoryblocks.  Bleeecch.
2020-07-23 15:20:04 -04:00
nattthebear e343f6bd26 Fix a complete savestate snafu in waterbox
This was broken by 175556529e, with two related issues:  When we allowed for some operations to happen even when the block is inactive, we didn't account for the fact that in swapin, the block technically is not active yet (the lock is not on the self), and similarly in swapout, the lock has already been moved out of self.  The former caused all memory areas to revert to RWX at the host OS level after a swap, so no dirty detection was done.  After the former was fixed, the latter caused saved costacks to still get missed.

At the same time we ran into a perfect storm with costacks on Windows; if a stack page is not yet dirty, but we hit a fault for something else, Windows will not call our VEH handler unless the TIB stack extents are satisfactory, since it needs userspace to fix up the TIB extents via VEH or SEH handler, but there's already an exception pending.
2020-07-23 13:30:58 -04:00
nattthebear c7e8744664 Add an extra exclamation point to indicate that code is VERY IMPORTANT
This broke any waterbox core that called in to native code in the same EnterExit() right after sealing.  All nyma cores were broken, 32x was not, didn't check the rest.  Regressed in 175556529e.

It worked fine in release mode, theoretically
2020-07-18 11:54:05 -04:00
nattthebear 175556529e waterboxhost refactor
Set up a second mirror of guest memory; easily accomplished because we were already using memfd_create / CreateFileMappingW.
This lets us simplify a lot of host code that has to access guest memory that may not be active right now, or might have been mprotect()ed to something weird.  Activate is only needed now to run guest code, or when the C# side wants to peer into guest memory for memory domains and such (waterboxhost does not share the mirror address with the C# side).
2020-07-13 19:38:29 -04:00
adelikat 316a9d1568 gamedb - replace pico with picodrive, remove core name look up in romloader in favor of this pico change combined with a case insensitive compare 2020-07-12 16:10:01 -05:00
nattthebear beb51ab286 Fix a linux waterbox-releated crash
Repro steps:
1) Load any waterbox core
2) Do anything that would trigger a NullReferenceException on C# side that you'd normally expect to be caught
2020-07-12 11:03:12 -04:00
nattthebear d354faeec1 probably fix linux waterbox issue 2020-07-12 07:49:18 -04:00
alyosha-tas 39bbe30b8e O2: fix sprite shifting and add some homebrew to DB 2020-07-11 08:29:11 -04:00
nattthebear a67fa70632 waterbox linux - rework to avoid possible memory leak
Bizhawk never would hit this because it only ever runs waterboxes in one host thread, but an application that spun up many threads and ran waterboxes in each would leak 32 bytes of heap for each native thread destroyed, which is super duper not really meaningful at all
2020-07-08 07:22:15 -04:00
nattthebear c8985e3007
Waterbox: Stack Marshalling (#2209)
Waterbox guest code now runs on a stack inside the guest memory space. This removes some potential opportunities for nondeterminism and makes future porting of libco-enabled cores easier.
2020-07-07 17:48:12 -04:00
alyosha-tas fee733480f O2Hawk: change PAL timing 2020-07-06 09:38:24 -04:00
zeromus ae763f2eef fix hq2x in glsl (fixes #2196) 2020-07-05 18:15:05 -04:00
alyosha-tas fa7ac3d4c1 A7800Hawk: Fix pokey 0x450 detection 2020-07-05 15:45:08 -04:00
alyosha-tas e4e078a1c9 DS: Fix default binding for stat key 2020-07-04 19:53:54 -04:00
nattthebear 3a18f6356d Rebuild all of waterbox as sysvabi, not msabi
This helps linux at the expense of windows, except it seems like windows gets a nice little speed up as well
2020-07-03 18:21:48 -04:00
alyosha-tas 32031d0f67 Atari 7800: support serpentine 2020-07-03 16:07:26 -04:00
nattthebear fa5885d7a1
Rewrite WaterboxHost in rust. (#2190)
This replaces the old managed one.  The only direct effect of this is to fix some hard to reproduce crashes in bsnes.

In the long run, we'll use this new code to help build more waterbox features.
2020-07-03 11:45:59 -04:00
YoshiRulz 314dc391ae
Fix typo
these are backwards; fixes 73a905214
2020-06-28 19:45:39 +10:00
YoshiRulz 73a905214e
Fix possible bug when symlinking EmuHawkMono.sh 2020-06-28 19:42:49 +10:00
adelikat c13430896f remove empty controller mappings from defctrl, also remove duplicates that caused it to be invalid json (.net happily was deserilizing it anyway), don't save empty mappings when saving from the ui 2020-06-22 19:54:36 -05:00
zeromus e3dd8870c6 fix hq2x shader (fixes #2160) 2020-06-21 21:52:49 -04:00
adelikat b9f59337dd fix Saturn and NGP default controls 2020-06-21 17:31:28 -05:00
adelikat 123f1b3c99 default controls for Nyma PCE cores 2020-06-21 16:27:06 -05:00
zeromus 703a51be09 fix retroizer 2020-06-20 22:25:41 -04:00
zeromus 1b4a6f6415 get gl display method working, at least, minimally, with the scanlines shader. someone else can fix up the others if they need to or make me a bug. at least the hard part is past 2020-06-20 00:48:42 -04:00
zeromus d4cb18aff8 actual remove CGC.exe, that was the whole point wasnt it 2020-06-20 00:48:42 -04:00
zeromus 00e546a537 keep working on CGC-removal 2020-06-20 00:48:42 -04:00
zeromus b842f3ed16 remove cgc (step 1) 2020-06-20 00:48:42 -04:00
alyosha-tas 0d9f0d2af1 A2600: update gamedb for quad run fixes #2127 2020-06-15 14:08:45 -04:00
nattthebear abc1f502b9 remove no longer used vbanext file 2020-06-14 19:42:32 -04:00
nattthebear ec3a288377 my bad 2020-06-07 09:26:56 -04:00
nattthebear 3bc1ed4bbc snes9x - take advantage of new waterbox change tracking to fix special chip games 2020-06-03 19:25:58 -04:00
YoshiRulz 0714376afe
Let EmuHawk pick up the shipped libblip_buf; packaging it is too hard 2020-05-15 17:05:12 +10:00
YoshiRulz a1b501fe5a
Fix OpenAL sound on Unix
TODO copy this file from NuGet cache w/ MSBuild
2020-05-15 15:37:29 +10:00
adelikat e76c89ce7a add some genesis games to the gamedb that weren't there, most don't work however 2020-05-09 13:17:01 -05:00
nattthebear a040e67c95
Add option to force sram in genesis core (#1991)
gpgx upstream automatically gives 64KiB sram to every game of size 2MB or lower, unless specifically overrided.  That sucks and we don't do it.  But some games do need it; there's not enough information to autodetect otherwise.  So add a flag that we can set in gameDB for it, and set it true for two known games that have problems otherwise.
2020-05-09 13:48:46 -04:00
alyosha-tas 0e7e93b205 O2Hawk: various bug fixes 2020-04-17 18:38:44 -04:00
alyosha-tas 535a586422 O2hawk: add console version of happy bird 2020-04-10 15:19:16 -04:00
YoshiRulz cc4b12b0ae
Fix remaining "Nintento 64" typo
see eb1d87933
2020-04-10 09:58:59 +10:00
zeromus 8084fce648 rename 2020-04-01 18:00:57 -04:00
zeromus d60b83791c fix StyleusInputDisplay 2020-04-01 18:00:42 -04:00
adelikat 2fbbe01347 DS - fix sylus lua script to use client.transformPoint, still doesn't work since it scales down to 1x 2020-04-01 11:55:23 -05:00
adelikat cea0e80637 DS cross hair display script - account for movie playback 2020-03-28 17:27:51 -05:00
adelikat d1032f38f8 DS - add a DS lua library with a touchScreenStart() method, add a cross hair stylus input display script 2020-03-28 15:43:31 -05:00
SuuperW c59d8130bb
DS Hawk (#1884)
* Add MelonDS.cs, support opening (but not really) .nds files.

* init MelonDS

* MelonDS: Load selected ROM.

* MelonDS: FrameAdvance and frame counter.

* MelonDS: IVideoProvider

* MelonDS: Add DLL files.

* MelonDS: IInputPollable

* MelonDS: IStatable (and add forgotten file MelonDS_InputPollable.cs)

* update libmelonDS.dll

* MelonDS: ISoundProvider

* Add NDS to Global.SystemInfo, and convert screen coords when running NDS.

* set up default NDS controller

* MelonDS: ISaveRam

* MelonDS: remove romlist.bin

* MelonDS: ISettable

* Create firmware folder if it doesn't exist on Windows; otherwise, an exception is thrown.

* Add database entries for NDS bios/firmware files.

* MelonDS: Use the bios/firmware files selected in BizHawk's "Firmwares" dialog.

* MelonDS: Re-work sync settings a bit.

* NDS's firmware file contains user settings; these are over-written by sync settings, so we shouldn't allow them to impact the hash

* MelonDS: Add (currently unused) bootToFirmware sync setting, and NDSSettings dialog.

* Update NDS firmware hash; it seems I had somehow corrupted mine.

* MelonDS: Use boot to firmware sync setting.

* MelonDS: Allow user to set some firmware user settings via the NDS settings dialog.

* MelonDS: Add singleInstance attribute to core.

* MelonDS: IMemoryDomains

* update libmelonDS.dll

* MelonDS: Set up default sync settings if none are provided.

* MelonDS: Allow user to reset settings to default.

* MelonDS: bios+firmware files are recommended

* libmelonDS.dll

* MelonDS: Don't use real time.

* MelonDS: Update to reflect new way of handling RTC in MelonDS.

* MelonDS: Notify if savestate load failed.

* update MelonDS.dll

* MelonDS: Allow user to set startup date/time in settings dialog.

* MelonDS: Create melon directory if it doesn't already exist.

* Don't include Designer's "fixes" in PR (partially reverts 56b474c00)

* Don't show a broken console window; alert user of need to restart instead.
This fixes an error related to MelonDS trying to use the broken stdout stream.

* update default NDS controls to match other updated controls

* Implement a system bus, using ARM9 read/writes.

* MelonDS: Allow BizHawk to change the contents of the frame buffer.

* update libmelonDS.dll

* fix stuff that was merged incorrectly, or was broken by merge

* update libmelonDS.dll
(includes memory leak fix)

* update libmelonDS.dll
(fixes memory leak and an occasional savestate crash)

* fix stuff that broke with the merge

* cleanups, remove stuff that is no longer needed by service interaces

* simplify DS MemoryDomains

* DS - fix order of controller buttons to be consistent with other consoles.  This probably breaks any existing movies made on this core, but those would have been experiments, right?

* NDSSettings - make min value for day and month 0, whiel those aren't "valid" values they are the default values in the core for whatever reason, better to not crash on load and not show a value that isn't actually the setting.  This can easily be reverted if the core changes to default to 1

Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
Co-authored-by: adelikat <adelikat@tasvideos.org>
2020-03-21 10:53:30 -05:00
alyosha-tas aa165f36d2 O2Hawk: add PAL mode 2020-03-20 16:39:14 -04:00
Asnivor 75188e1c85 O2Hawk: Add homebrew rom status identifier to gamedb manual entries 2020-02-21 09:47:26 +00:00
alyosha-tas 585ebd50e5 O2Hawk: uncomment some homebrew 2020-02-20 17:34:43 -05:00
Asnivor b75b41ad64 Odyssey2: gamedb file generated from tosec 2020-02-20 11:07:48 +00:00
adelikat 7cc4e3db7d add some default controls for odyssey 2, don't know how much of the keyboard is needed for typical games, but the numbers seem to be needed to start a game 2020-02-18 18:28:30 -06:00
alyosha-tas b3fac6ba12 O2Hawk: fix color output 2020-02-16 21:04:28 -05:00
alyosha-tas eb03f28e99 O2Hawk: fix noise bit 2020-02-15 21:38:57 -05:00
Asnivor 0b6210efb3 MSXHawk: Add gamedb files parsed from TOSEC 2020-02-07 11:24:14 +00:00
Asnivor 09dc6ad7eb VectrexHawk: Update GameDB with everything from NOINTRO and TOSEC (including region and rom status) 2020-01-27 14:07:56 +00:00
alyosha-tas 551a7e2893 MSXHawk: cleanup and bug fixes 2020-01-25 19:10:48 -05:00
adelikat cce1fb6123 add default controls for vectrex 2020-01-25 15:47:29 -06:00
YoshiRulz fe0ff1d983
Update default keybinds (incl. X* for controllers) to OpenTK values
Fixes N64 keybinds being blank since eb1d87933; does not remove DirectInput J*
controllers
2020-01-15 09:49:42 +10:00
alyosha-tas f76db6202a O2Hawk: a few more bug fixes 2020-01-02 20:13:11 -05:00
alyosha-tas 8b29df987c GG: Fix Pro yakyuu, needed EEPROM 2020-01-02 17:13:54 -05:00
alyosha-tas 2d8d8cc1cd O2Hawk: debuggable stuff 2019-12-29 09:06:39 -05:00
YoshiRulz 3d0ccdac45
Add --mono-no-redirect to run script, disables writing stdout to file
must be first flag, will not be passed to EmuHawk
2019-12-28 02:15:51 +10:00
YoshiRulz 2e8e2bfab4
Pass arguments through to EmuHawk 2019-12-26 16:57:21 +10:00
alyosha-tas cba08040f7 O2Hawk: color and display work 2019-12-22 11:18:38 -05:00
alyosha-tas b5090b5a63 O2Hawk: bug fixes
and a2600 db update
2019-12-21 12:49:28 -05:00
alyosha-tas 859ff267a6 A2600 gamedb: add princess resuce. 2019-12-17 23:04:19 -05:00
alyosha-tas 4619e7a862 O2Hawk: cleanup and bug fixes 2019-12-17 17:40:57 -05:00
alyosha-tas 89c87b0581 O2Hawk: More display work 2019-12-16 11:50:00 -05:00
alyosha-tas bd7233f2cd O2Hawk: start displaying stuff and making sound 2019-12-13 20:43:33 -05:00
feos 5ca08b6c29
Camhack support (#1725)
for the camhack to work we have to save a state, hack memory, advance twice to see the changes, then load the state to prevent desync. since we can omit the framebuffer in savestates, loading them can happen without updating the screen, so the hacked camera remains visible.

advancing 2 frames automatically is done like tastudio does it when it seeks to a frame, only from lua now.

and the most questionable part is "invisible emulation", which is how Gens calls this IIRC, when everything that can distract or slow us down is skipped: sound, video, tools updates.

new lua functions:
- client.invisibleemulation()
- client.seekframe()

* for a test, mGBA core uses fake video and audio buffers and renders to them when we want to "skip" rendering. proper setup would involve actually skipping rendering those inside the core.
* allow disabling video and audio updates for gpgx too (proper approach, no fake buffers involved)
* add the script for Sonic Advance
2019-11-23 12:27:14 +03:00
alyosha-tas 61038a13ae O2Hawk: Expose Core and start running code 2019-11-18 17:33:55 -05:00
alyosha-tas 2750a420ef A2600: audio bug fix (Space Jockey) 2019-11-03 20:21:25 -05:00
adelikat 6c7653e158 Merge branch 'master' into MoreUnixMonoCompatWork
This doesn't compile because of Input.cs, didn't know what to do. Also search for Merge TODO for some commenting things that probably need to be deleted
# Conflicts:
#	BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
#	BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs
#	BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs
#	BizHawk.Client.EmuHawk/Program.cs
#	BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs
#	BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs
#	BizHawk.Client.EmuHawk/tools/ToolHelpers.cs
#	BizHawk.Client.EmuHawk/tools/ToolManager.cs
#	BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs
#	BizHawk.Client.EmuHawk/tools/TraceLogger.cs
#	BizHawk.Client.EmuHawk/tools/Watch/RamSearch.Designer.cs
#	BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs
#	BizHawk.Common/BizInvoke/DynamicLibraryImportResolver.cs
2019-10-31 17:01:19 -05:00
alyosha-tas 520ba97caa O2Hawk start 2019-10-31 09:43:25 -04:00
YoshiRulz 41caf0e616
Reduce "pause lag" on Paper Mario (#558) by using CopyColorToRDRAM = 1 2019-10-31 03:32:29 +10:00
YoshiRulz ada256b0f1
Port Gambatte 2019-10-25 22:07:14 +10:00
YoshiRulz 0f687ff84e
Port Cygne (Wonderswan core)
also updates blup_buf headers? blame @Asnivor
2019-10-25 21:46:17 +10:00
YoshiRulz d963f91707
Port VBA-Next 2019-10-25 21:39:46 +10:00
YoshiRulz 12e83ac257
Port Handy (Lynx core) 2019-10-25 21:36:18 +10:00
YoshiRulz 8c7862aa8a
Fix .so versioning 2019-10-25 21:33:05 +10:00
Loren b1554be720 Use WebUtility.HtmlDecode() to decode game names (#1698)
Change '&amp;' to '&' in gamedb_goodnes.txt. Fixes #1667.
2019-10-20 22:35:31 -04:00
YoshiRulz 1992856655
Export env var so the command string is shorter 2019-08-12 20:16:35 +10:00
alyosha-tas 7f29c4173b A2600: Fix a test rom mapper 2019-07-14 17:06:50 -04:00
alyosha-tas 90436811b9 GG: Fix World Derby 2019-07-12 15:07:58 -04:00
YoshiRulz 4842442ef7
Set MONO_WINFORMS_XIM_STYLE=disabled on all Debian-based distros 2019-07-02 16:34:37 +10:00
feos dfd80d23fc update gargoyles script (with a 2yo version) 2019-06-15 19:06:49 +03:00
alyosha-tas c48d5be02a Merge branch 'master' of https://github.com/TASVideos/BizHawk 2019-06-01 12:25:57 -04:00
alyosha-tas dd0d34593e Vectrex: More bug fixes 2019-06-01 12:25:30 -04:00
YoshiRulz e8f66570ad
Update EmuHawkMono.sh 2019-05-18 14:09:50 +10:00
alyosha-tas c036e670be A2600: another DB update 2019-05-06 06:24:56 -04:00
alyosha-tas 86461b0692 A2600: gamedb update 2019-05-05 08:03:43 -04:00
Asnivor f0384b7e83 ChannelF: Extreme WIP! I promise nothing... 2019-04-16 16:10:56 +01:00
alyosha-tas 9296092b84 Vectrex: Start running the cpu and fixing bugs 2019-04-08 18:57:21 -05:00
alyosha-tas ec333fe1b8 A2600: Bang! Demo ccorrect mapper 2019-02-02 09:10:37 -06:00
Asnivor d7caf48a70 EmuHawkMono.sh 'I suck at shell scripts' fix 2019-01-09 17:50:57 +00:00
Asnivor c2bc9893e5 Add Debian as option in EmuHawkMono.sh runscript 2019-01-09 14:37:11 +00:00
James Groom 42764f0019 Add preliminary Unix compatibility (using Mono; resolves #1384) (#1380)
* Move PlatformSpecificLinkedLibs and implementations to common and rename
* Specify file ext. at LoadPlatformSpecific call site
* Move Client.Common.Global.RunningOnUnix to PlatformLinkedLibSingleton
* Inline var Resolver
* Use PlatformLinkedLibManager internally
* Move plugin load check to LinkedLibManager, use LinkedLibManager
* Interpolate
* Return exit code from dlclose/FreeLibrary
* Skip all calls to externs in BlipBufDll when using mono
* Use PlatformLinkedLibManager in SevenZipLibraryManager
* Add expected return value to workaround (from testing on Win32)
* Remove ".dll" from DllImport attr, remove temporary workaround, see desc.
The library can be built by changing the output file name in
`.../blip_buf/Makefile` to `libblip_buf.so`, and running `make`. It will be
loaded if placed in the `.../output` folder.
* Remove unused code, add TODO (this class is req. for Waterbox.PeWrapper)
The TODO is to [rewrite with
C#](https://docs.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files)
instead of importing from `kernel32.dll`.
* Update OpenTK again but better (for #1384)
* Add Mono run script
* Add libblip_buf.so (temporary)
Temporary because it should be a separate package which BizHawk depends on.
* Add distro detection, add "already running" and "unknown distro" messages
* Gray-out Lua Console on Unix
* Extract superclass from EmuLuaLibrary, add shell implementation for Unix
* Specify libdl version, Fedora doesn't have the versionless symlink
* Remove empty `ToolStripMenuItem`, null `Text` caused crash on Unix
* Transform OpenTK keyboard input into a `List<KeyEvent>` and read that
Also fixes crash on rebind
* Remove debug `using ...;`
2019-01-04 01:50:55 +03:00
alyosha-tas 62c178ff2e GBHawk: add default bindings 2018-12-24 12:33:09 -06:00
alyosha-tas 69fe1bdf97 NESHawk: VRAM write timing glitch 2018-12-16 13:10:04 -06:00
adelikat 76bfd7c355
Merge pull request #1355 from Gikkman/lua-joypad-intersection
Create JoypadIntersection.lua
2018-11-25 08:02:28 -06:00
alyosha-tas 2891f501df zx-spectrum: clean up multiple DB entries 2018-11-22 12:00:09 -06:00
zeromus 9d6997692f Merge remote-tracking branch 'remotes/peeweek/retroizer' 2018-11-18 11:09:53 -05:00
alyosha-tas 4c5723b95e A7800: pokey version of pacman collection 2018-11-17 14:54:13 -06:00
alyosha-tas c8bb21ab38 A7800: more pokey work, starting to sound correct 2018-11-17 10:18:11 -06:00
alyosha-tas ca52715673 A7800: Audio Overhaul 2018-11-12 09:29:11 -06:00
alyosha-tas 3eefa19d68 A2600: MegaBoy special frame setting 2018-11-04 14:04:08 -06:00
alyosha-tas 2dc13967ce A7800: Add db entry and fix mirroring 2018-10-27 19:51:18 -05:00
alyosha-tas 738ffe596d A7800: DB update and bug fix 2018-10-25 19:28:21 -05:00
Simon 0a82411c21
Create JoypadIntersection.lua
Adds a small script which, when run, only allows input to P1's controller if both P1 and P2 holds down the specific button simultaneously. Also useful since it demonstrates joypad manipulation.
2018-10-22 21:52:07 +02:00
Asnivor ffcd7993f9 GameDB: Super Tetris (Pirate) - GG_in_SMS - #1157 2018-10-08 12:14:42 +01:00
Asnivor abb1242cc9 GameDB: Jang Pung II (Korean pirated SMSGG) - GG_in_SMS - #1157 2018-10-08 12:09:05 +01:00
Asnivor d0f9951634 GameDB: Excellent Dizzy Collection, The (Europe) - GG_in_SMS - #1157 2018-10-08 12:01:22 +01:00
Asnivor c11004cf19 GameDB: Fantastic Dizzy (Europe) (En,Fr,De,Es,It) GG_in_SMS - #1157 2018-10-08 11:59:11 +01:00
Asnivor a3a5250e39 GameDB: Super KickOff (J) GG_in_SMS - #1157 2018-10-08 11:55:58 +01:00
Asnivor c64eff6baa GameDB (GG): moved Out Run Europa (E) to gg and set compat mode - #1157 2018-09-25 10:18:23 +01:00
Asnivor 0f6cd4bda6 GG: Fixed Olympic Gold (E) & (JU) - moved to gamedb_sega_gg.txt and set GG_in_SMS compat mode - #1157 2018-09-25 09:58:24 +01:00
Asnivor 4d92a9f04a gamedb: added NGP/NGPC and improved homebrew detection 2018-09-21 16:10:35 +01:00
Asnivor 2202efb124 gamedb: fixed some formatting in zxs and cpc files 2018-09-21 15:30:50 +01:00
Asnivor 0d1cfa843b GameDB: Added AmstradCPC 2018-09-21 14:13:00 +01:00
Asnivor 5207d2436a GameDB: Added ZXSpectrum 2018-09-21 14:01:57 +01:00
Asnivor 864021031b SMSHawk: moved rastan saga (japan) to GG gamebd and set GG_in_SMS compat mode. This fixes controls not working - #1157 2018-09-18 11:46:45 +01:00
Asnivor becaff7e48 SMSHawk: moved castle of illusion to GG gamedb and set GG_in_SMS compat mode - #1157 2018-09-18 11:43:05 +01:00
Asnivor b3e79d5474 SMSHawk: GG WWF Steel cage challenge - moved to gg gamedb and set GG_in_SMS compat - #1157 2018-09-18 11:38:59 +01:00
Asnivor 64d053187d SMSHawk: GG Predator 2 - moved to gamedb_sega_gg.txt and set GG_in_SMS - now working. - #1157 2018-09-18 11:35:19 +01:00
Asnivor ef1a39dd99 SMSHawk: GG Prince of Persia - moved from SMS to GG gamesdb.txt - set GG_in_SMS compat mode - now working - #1157 2018-09-18 11:32:05 +01:00
Asnivor 1025167104 SMSHawk: GG - fixed double dragon missing background - #1157 #1320 2018-09-18 11:11:59 +01:00
alyosha-tas 8dff214eec A7800: fix Sirius 2018-07-07 09:33:50 -04:00
alyosha-tas 7767ed6fb9 SMSHawk: Fix pause button
Fixes #1236
2018-07-02 08:23:29 -04:00
Asnivor b397cb58fb ZXHawk: small update to defctrl.json 2018-06-22 17:11:25 +01:00
alyosha-tas 62d1005ed9 A2600: Fix special reset cases 2018-06-10 07:48:44 -04:00
alyosha-tas 173bb2a50f A2600: Add special cases for games that turn off screen to do calculations 2018-06-09 21:15:26 -04:00
alyosha-tas 942454e327 SMS/GG: Implement SMS compatibility mode for some games
(Technically the screen is supposed to be modified too but not implementing yet)
2018-05-11 20:08:42 -04:00
alyosha-tas 0535223592 GG: Terminator needs SRAM for background display 2018-05-11 15:48:21 -04:00
alyosha-tas f2529fa0e0 NESHawk: Fix mapper 219 2018-04-09 12:48:47 -04:00
Asnivor e2eac983a1
Merge pull request #1149 from TASVideos/master
Bringing ZXSpectrum branch up to date with master
2018-03-19 15:52:55 +00:00
adelikat 4c98ee9ab9 NESHawk - Support a couple bad dumps of Super Donkey Kong (Unl) 2018-03-16 17:35:55 -05:00
zeromus b179a30d99 Merge remote-tracking branch 'remotes/origin/pr/1080'
# Conflicts:
#	BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj

merges PR #1080
closes PR #1080
(let's see if either of these can do it)
2018-03-13 16:33:53 -04:00
Asnivor deba6b18b8 Added 'Get Tape Status' keybinding - fires an OSD message with state info about the current tape 2018-03-12 14:37:45 +00:00
Asnivor 35bb1d0c93 Fixed default keys and also fixed a major syncsettings snafu 2018-03-06 16:40:25 +00:00
Asnivor 3cc4b94406 Added default control bindings and prettified the controller configuration panels 2018-03-06 11:17:30 +00:00
alyosha-tas bc7a53abb5 Add FM to Wonder boy in Monster World (J) 2018-02-25 16:13:22 -05:00
alyosha-tas 6ae8bcfcf9 SMS: Fix Haja no Fuuin 'FM' Chip designation 2018-02-06 18:09:01 -05:00
Ashafix 07da0170fa unified camelCase for Lua functions, changed Lua test script 2017-12-24 11:42:51 +01:00
Ashafix 4d063f6061 new library for communicating with other programs via Lua 2017-12-24 00:24:22 +01:00
alyosha-tas 5e481a6083 NESHawk: Fix some unlicensed games 2017-12-02 10:03:27 -05:00
alyosha-tas d840769a70 NESHawk: GameDB update 2017-12-01 20:52:41 -05:00
Tastyfish bc11c34e99 Eh make the SK-1100 defaults for Graph and Kana keys more reliable 2017-11-25 01:23:12 -05:00
Tastyfish 480f3b73f9 Keyboard support for SG-1000/Mark III 2017-11-25 01:23:12 -05:00
alyosha-tas 41282bfc21
Update gamedb_nes.txt
Pocahontus and Super Donkey Kong use mapper 182
2017-10-31 10:46:21 -04:00
Tastyfish 9693d812d2 Adds SEGA Sports Pad for SMS support, also make controller syncsetting 2017-10-27 20:34:12 -04:00
peeweek 8c503f0e7e Retroizer Shader + Time uniform in custom shaders 2017-10-23 23:31:56 +02:00
Tastyfish 5e87b45df0 EEPROM (93c46) support for SMS 2017-10-23 14:17:51 -04:00
alyosha-tas b367f28971 Delete FCEUX.pal 2017-10-22 13:22:21 -04:00
alyosha-tas edc40edd46 NESHawk: FCEUX palette update 2017-10-22 13:21:37 -04:00
Tastyfish 5e0a373c6f SMS Bart vs Space Mutants needs to run in PAL 2017-10-20 00:45:00 -04:00
Tastyfish d0fdc75a1e SMS Light Phaser support 2017-09-01 22:39:01 -04:00
Tastyfish 1069a50219 Adds Sega Master System paddle support 2017-08-30 23:16:14 -04:00
alyosha-tas 2a590cad30 Delete EMU7800.csv 2017-08-29 09:45:26 -04:00
alyosha-tas 1eca64d17b Update NES DB: Fix Don Doko Don 2 2017-08-01 10:31:19 -04:00
adelikat ed0d65498b Add a bunch of genesis roms to the game db 2017-07-30 18:16:53 -05:00