Commit graph

37 commits

Author SHA1 Message Date
Devin Acker
821f165f7e less verbose makefile output 2021-12-16 00:09:33 -05:00
Devin Acker
a8f91cf151 sgb: use 24-bit addresses to make debugger more aware of MBC bank
switching (#249)
2020-02-27 18:43:15 -05:00
devinacker
c7a3bac533 sgb: revisit JOYP handling (#248) 2020-02-09 19:18:38 -05:00
devinacker
b769e9dd3d SGB: emulate boot ROM instead of faking it; should fix some potential timing issues w/ SGB detection (see #248) 2020-02-09 17:18:37 -05:00
devinacker
8b1b7bcab6 SGB: more accurate handling of LCD buffering, per #247. this also involves modifying libgambatte to return after finishing a scanline and not just after finishing a frame, in order to keep it from running too far ahead before the SGB BIOS has buffered current LCD output successfully 2020-02-08 21:26:55 -05:00
devinacker
ffaf4c7881 add call/return tracking to sgb debug 2020-02-06 22:44:15 -05:00
devinacker
59136f907f sgb: get mlt_req status from 003 rather than from incoming command packet 2020-01-07 22:46:53 -05:00
devinacker
d154a0e20f fix a libgambatte regression where MBC3 games could crash the emulator when enabling the RTC 2020-01-07 22:30:22 -05:00
devinacker
5bdd8019d8 don't try to use sgb register interface if sgb isn't loaded 2020-01-04 11:58:40 -05:00
devinacker
3bffe217ef Merge branch 'master' into sgbdebug 2020-01-04 03:34:58 -05:00
devinacker
fc5f851439 sgb: use ptrdiff_t when checking RAM size 2020-01-04 03:34:36 -05:00
devinacker
ac35b36972 sgb register editing interface 2020-01-04 02:01:14 -05:00
devinacker
4c5f1d0c28 start adding sgb disassembly/debugging stuff 2020-01-04 01:25:54 -05:00
devinacker
4cae48a581 more sgb memory viewing 2020-01-03 03:29:55 -05:00
devinacker
acc3304825 begin minimal sgb debug interface 2020-01-03 02:48:51 -05:00
devinacker
9c3cf5e35c fix SGB multiplayer input 2020-01-03 00:38:15 -05:00
devinacker
14ae94c570 start updating libgambatte 2020-01-03 00:16:39 -05:00
devinacker
11e75a8509 sgb: backport some recent MLT_REQ fixes (#242) 2019-12-18 18:43:46 -05:00
devinacker
d4af262679 get rid of redundant library code 2018-06-23 01:46:49 -04:00
devinacker
396656d716 build properly with msys2/pkg-config
(should fix #28, will add this as an option to the build instructions
later)
2018-05-29 23:15:09 -04:00
Alex W. Jackson
8a878d356e nall: let's not do a switch() on every. single. call to keyboard(), mouse(), and joypad() 2017-06-28 19:27:19 -04:00
devinacker
68e45c3e0c slight makefile updates
including a better detection of Windows that doesn't make any
assumptions about letter case in environment variable names
2016-11-21 20:23:53 -05:00
devinacker
b269bf01bc sgb: apply OS X flag updates to correct platform 2016-10-30 03:03:02 -04:00
David Lindecrantz
c28a0538cd OSX flags 2016-10-25 13:34:07 +02:00
Alex W. Jackson
8285c9e064 sdd1: apply latest byuu findings 2016-05-02 01:24:55 -04:00
devinacker
a06eafe962 use safer #define name for dllexport
(in hindsight, with bsnes and Qt both using __declspec(dllexport)
separately I have no idea how this was even compiling)
2015-06-30 21:53:42 -04:00
David Lindecrantz
50f44a2c78 Makefile changes for OS X
"make all" also builds plugins
"make install" on OS X builds plugins, copies them to bundle frameworks, and moves bundle to /Applications
2015-06-02 13:37:59 +02:00
Alex.W.Jackson@gmail.com
4fec1b522c Don't map cart RAM in XML when there isn't any
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@55 fe182637-1eec-a322-cce2-af8e45122353
2015-05-01 09:26:10 -04:00
Alex.W.Jackson@gmail.com
cc1bc58bca nall: detect platform correctly on Cygwin; noinline -> neverinline
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@50 fe182637-1eec-a322-cce2-af8e45122353
2015-04-29 21:20:54 -04:00
Alex.W.Jackson@gmail.com
fbe6eaebf5 And one more
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@47 fe182637-1eec-a322-cce2-af8e45122353
2015-04-26 13:36:21 -04:00
Alex.W.Jackson@gmail.com
88da612d6a Various fixes for Clang, some of which were genuine bugs as well
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@45 fe182637-1eec-a322-cce2-af8e45122353
2015-04-26 13:36:11 -04:00
Alex.W.Jackson@gmail.com
d58a0f0fd5 memory: Make breakpoint mirroring work with MMIO (requiring some changes to BSXCart). While at it, remove some redundant masking and replace some magic numbers with enums
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@40 fe182637-1eec-a322-cce2-af8e45122353
2015-04-18 19:54:25 -04:00
Alex.W.Jackson@gmail.com
c32aab37ff Distinguish BS-X Flash Memory Packs from mask ROM data packs (Same Game/SD Gundam G-Next); distinguish slotted SA-1 carts from regular ones; fix SFA2 which the previous commit broke
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@39 fe182637-1eec-a322-cce2-af8e45122353
2015-04-18 19:54:17 -04:00
Alex W. Jackson
70150d9a25 Tidy up cartridge XML generation; don't map cartridge stuff where WRAM is 2015-04-13 17:19:08 +02:00
Alex W. Jackson
3dd6d2b155 Fix Sufami Turbo mapping and SRAM size; show more Game Boy and Sufami Turbo cartridge info in the file browser 2015-04-13 17:19:08 +02:00
devinacker
b9cfb885d4 create output dirs on checkout 2015-03-18 13:38:32 -04:00
devinacker
d88ac78d30 initial commit 2014-11-26 18:35:12 -05:00