BizHawk/waterbox/ares64/BizInterface.cpp

796 lines
22 KiB
C++
Raw Normal View History

Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
#include <n64/n64.hpp>
#include <emulibc.h>
#include <waterboxcore.h>
#include <vector>
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
#define EXPORT extern "C" ECL_EXPORT
typedef enum
{
Unplugged,
Standard,
Mempak,
Rumblepak,
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
Transferpak,
Mouse,
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
} ControllerType;
typedef enum
{
UP = 1 << 0,
DOWN = 1 << 1,
LEFT = 1 << 2,
RIGHT = 1 << 3,
B = 1 << 4,
A = 1 << 5,
C_UP = 1 << 6,
C_DOWN = 1 << 7,
C_LEFT = 1 << 8,
C_RIGHT = 1 << 9,
L = 1 << 10,
R = 1 << 11,
Z = 1 << 12,
START = 1 << 13,
} Buttons_t;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
static u64 biztime = 0;
static u64 GetBizTime()
{
return biztime;
}
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
struct BizPlatform : ares::Platform
{
auto attach(ares::Node::Object) -> void override;
auto pak(ares::Node::Object) -> ares::VFS::Pak override;
auto log(string_view) -> void override;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
auto video(ares::Node::Video::Screen, const u32*, u32, u32, u32) -> void override;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
auto audio(ares::Node::Audio::Stream) -> void override;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
auto input(ares::Node::Input::Input) -> void override;
ares::VFS::Pak bizpak = nullptr;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
u32* videobuf = nullptr;
u32 pitch = 0;
u32 width = 0;
u32 height = 0;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
u16* soundbuf = alloc_invisible<u16>(1024 * 2);
u32 nsamps = 0;
bool hack = false;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
void (*inputcb)() = nullptr;
bool lagged = true;
void (*tracecb)(const char*) = nullptr;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
};
auto BizPlatform::attach(ares::Node::Object node) -> void
{
if (auto stream = node->cast<ares::Node::Audio::Stream>())
{
stream->setResamplerFrequency(44100);
}
}
auto BizPlatform::pak(ares::Node::Object) -> ares::VFS::Pak
{
return bizpak;
}
auto BizPlatform::log(string_view message) -> void
{
if (tracecb) tracecb(message.data());
}
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
auto BizPlatform::video(ares::Node::Video::Screen screen, const u32* data, u32 pitch, u32 width, u32 height) -> void
{
videobuf = (u32*)data;
this->pitch = pitch >> 2;
this->width = width;
this->height = height;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
}
auto BizPlatform::audio(ares::Node::Audio::Stream stream) -> void
{
while (stream->pending())
{
f64 buf[2];
stream->read(buf);
soundbuf[nsamps * 2 + 0] = (s16)std::clamp(buf[0] * 32768, -32768.0, 32767.0);
soundbuf[nsamps * 2 + 1] = (s16)std::clamp(buf[1] * 32768, -32768.0, 32767.0);
if (!hack) nsamps++;
}
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
}
auto BizPlatform::input(ares::Node::Input::Input node) -> void
{
if (auto input = node->cast<ares::Node::Input::Button>())
{
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
if (input->name() == "Start" || input->name() == "Left Click")
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
{
lagged = false;
if (inputcb) inputcb();
}
}
};
static ares::Node::System root = nullptr;
static BizPlatform* platform = nullptr;
static array_view<u8>* pifData = nullptr;
static array_view<u8>* romData = nullptr;
static array_view<u8>* saveData = nullptr;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
static array_view<u8>* gbRomData[4] = { nullptr, nullptr, nullptr, nullptr, };
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
static inline void HackeryDoo()
{
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
platform->hack = true;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
root->run();
root->run();
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
platform->hack = false;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
}
typedef enum
{
NONE,
EEPROM512,
EEPROM2KB,
SRAM32KB,
SRAM96KB,
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
SRAM128KB,
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
FLASH128KB,
} SaveType;
static inline SaveType DetectSaveType(u8* rom)
{
string id;
id.append((char)rom[0x3B]);
id.append((char)rom[0x3C]);
id.append((char)rom[0x3D]);
char region_code = rom[0x3E];
u8 revision = rom[0x3F];
SaveType ret = NONE;
if (id == "NTW") ret = EEPROM512;
if (id == "NHF") ret = EEPROM512;
if (id == "NOS") ret = EEPROM512;
if (id == "NTC") ret = EEPROM512;
if (id == "NER") ret = EEPROM512;
if (id == "NAG") ret = EEPROM512;
if (id == "NAB") ret = EEPROM512;
if (id == "NS3") ret = EEPROM512;
if (id == "NTN") ret = EEPROM512;
if (id == "NBN") ret = EEPROM512;
if (id == "NBK") ret = EEPROM512;
if (id == "NFH") ret = EEPROM512;
if (id == "NMU") ret = EEPROM512;
if (id == "NBC") ret = EEPROM512;
if (id == "NBH") ret = EEPROM512;
if (id == "NHA") ret = EEPROM512;
if (id == "NBM") ret = EEPROM512;
if (id == "NBV") ret = EEPROM512;
if (id == "NBD") ret = EEPROM512;
if (id == "NCT") ret = EEPROM512;
if (id == "NCH") ret = EEPROM512;
if (id == "NCG") ret = EEPROM512;
if (id == "NP2") ret = EEPROM512;
if (id == "NXO") ret = EEPROM512;
if (id == "NCU") ret = EEPROM512;
if (id == "NCX") ret = EEPROM512;
if (id == "NDY") ret = EEPROM512;
if (id == "NDQ") ret = EEPROM512;
if (id == "NDR") ret = EEPROM512;
if (id == "NN6") ret = EEPROM512;
if (id == "NDU") ret = EEPROM512;
if (id == "NJM") ret = EEPROM512;
if (id == "NFW") ret = EEPROM512;
if (id == "NF2") ret = EEPROM512;
if (id == "NKA") ret = EEPROM512;
if (id == "NFG") ret = EEPROM512;
if (id == "NGL") ret = EEPROM512;
if (id == "NGV") ret = EEPROM512;
if (id == "NGE") ret = EEPROM512;
if (id == "NHP") ret = EEPROM512;
if (id == "NPG") ret = EEPROM512;
if (id == "NIJ") ret = EEPROM512;
if (id == "NIC") ret = EEPROM512;
if (id == "NFY") ret = EEPROM512;
if (id == "NKI") ret = EEPROM512;
if (id == "NLL") ret = EEPROM512;
if (id == "NLR") ret = EEPROM512;
if (id == "NKT") ret = EEPROM512;
if (id == "CLB") ret = EEPROM512;
if (id == "NLB") ret = EEPROM512;
if (id == "NMW") ret = EEPROM512;
if (id == "NML") ret = EEPROM512;
if (id == "NTM") ret = EEPROM512;
if (id == "NMI") ret = EEPROM512;
if (id == "NMG") ret = EEPROM512;
if (id == "NMO") ret = EEPROM512;
if (id == "NMS") ret = EEPROM512;
if (id == "NMR") ret = EEPROM512;
if (id == "NCR") ret = EEPROM512;
if (id == "NEA") ret = EEPROM512;
if (id == "NPW") ret = EEPROM512;
if (id == "NPM") ret = EEPROM512;
if (id == "NPY") ret = EEPROM512;
if (id == "NPT") ret = EEPROM512;
if (id == "NRA") ret = EEPROM512;
if (id == "NWQ") ret = EEPROM512;
if (id == "NSU") ret = EEPROM512;
if (id == "NSN") ret = EEPROM512;
if (id == "NK2") ret = EEPROM512;
if (id == "NSV") ret = EEPROM512;
if (id == "NFX") ret = EEPROM512;
if (id == "NFP") ret = EEPROM512;
if (id == "NS6") ret = EEPROM512;
if (id == "NNA") ret = EEPROM512;
if (id == "NRS") ret = EEPROM512;
if (id == "NSW") ret = EEPROM512;
if (id == "NSC") ret = EEPROM512;
if (id == "NSA") ret = EEPROM512;
if (id == "NB6") ret = EEPROM512;
if (id == "NSM") ret = EEPROM512;
if (id == "NSS") ret = EEPROM512;
if (id == "NTX") ret = EEPROM512;
if (id == "NT6") ret = EEPROM512;
if (id == "NTP") ret = EEPROM512;
if (id == "NTJ") ret = EEPROM512;
if (id == "NRC") ret = EEPROM512;
if (id == "NTR") ret = EEPROM512;
if (id == "NTB") ret = EEPROM512;
if (id == "NGU") ret = EEPROM512;
if (id == "NIR") ret = EEPROM512;
if (id == "NVL") ret = EEPROM512;
if (id == "NVY") ret = EEPROM512;
if (id == "NWR") ret = EEPROM512;
if (id == "NWC") ret = EEPROM512;
if (id == "NAD") ret = EEPROM512;
if (id == "NWU") ret = EEPROM512;
if (id == "NYK") ret = EEPROM512;
if (id == "NMZ") ret = EEPROM512;
if (id == "NDK" && region_code == 'J') ret = EEPROM512;
if (id == "NWT" && region_code == 'J') ret = EEPROM512;
if (id == "NB7") ret = EEPROM2KB;
if (id == "NGT") ret = EEPROM2KB;
if (id == "NFU") ret = EEPROM2KB;
if (id == "NCW") ret = EEPROM2KB;
if (id == "NCZ") ret = EEPROM2KB;
if (id == "ND6") ret = EEPROM2KB;
if (id == "NDO") ret = EEPROM2KB;
if (id == "ND2") ret = EEPROM2KB;
if (id == "N3D") ret = EEPROM2KB;
if (id == "NMX") ret = EEPROM2KB;
if (id == "NGC") ret = EEPROM2KB;
if (id == "NIM") ret = EEPROM2KB;
if (id == "NK4") ret = EEPROM2KB;
if (id == "NNB") ret = EEPROM2KB;
if (id == "NMV") ret = EEPROM2KB;
if (id == "NM8") ret = EEPROM2KB;
if (id == "NEV") ret = EEPROM2KB;
if (id == "NPP") ret = EEPROM2KB;
if (id == "NUB") ret = EEPROM2KB;
if (id == "NPD") ret = EEPROM2KB;
if (id == "NRZ") ret = EEPROM2KB;
if (id == "NR7") ret = EEPROM2KB;
if (id == "NEP") ret = EEPROM2KB;
if (id == "NYS") ret = EEPROM2KB;
if (id == "ND3" && region_code == 'J') ret = EEPROM2KB;
if (id == "ND4" && region_code == 'J') ret = EEPROM2KB;
if (id == "NTE") ret = SRAM32KB;
if (id == "NVB") ret = SRAM32KB;
if (id == "CFZ") ret = SRAM32KB;
if (id == "NFZ") ret = SRAM32KB;
if (id == "NSI") ret = SRAM32KB;
if (id == "NG6") ret = SRAM32KB;
if (id == "N3H") ret = SRAM32KB;
if (id == "NGP") ret = SRAM32KB;
if (id == "NYW") ret = SRAM32KB;
if (id == "NHY") ret = SRAM32KB;
if (id == "NIB") ret = SRAM32KB;
if (id == "NPS") ret = SRAM32KB;
if (id == "NPA") ret = SRAM32KB;
if (id == "NP4") ret = SRAM32KB;
if (id == "NJ5") ret = SRAM32KB;
if (id == "NP6") ret = SRAM32KB;
if (id == "NPE") ret = SRAM32KB;
if (id == "NJG") ret = SRAM32KB;
if (id == "CZL") ret = SRAM32KB;
if (id == "NZL") ret = SRAM32KB;
if (id == "NKG") ret = SRAM32KB;
if (id == "NMF") ret = SRAM32KB;
if (id == "NRI") ret = SRAM32KB;
if (id == "NUT") ret = SRAM32KB;
if (id == "NUM") ret = SRAM32KB;
if (id == "NOB") ret = SRAM32KB;
if (id == "CPS") ret = SRAM32KB;
if (id == "NB5") ret = SRAM32KB;
if (id == "NRE") ret = SRAM32KB;
if (id == "NAL") ret = SRAM32KB;
if (id == "NT3") ret = SRAM32KB;
if (id == "NS4") ret = SRAM32KB;
if (id == "NA2") ret = SRAM32KB;
if (id == "NVP") ret = SRAM32KB;
if (id == "NWL") ret = SRAM32KB;
if (id == "NW2") ret = SRAM32KB;
if (id == "NWX") ret = SRAM32KB;
if (id == "NK4" && region_code == 'J' && revision < 2) ret = SRAM32KB;
if (id == "CDZ") ret = SRAM96KB;
if (id == "NCC") ret = FLASH128KB;
if (id == "NDA") ret = FLASH128KB;
if (id == "NAF") ret = FLASH128KB;
if (id == "NJF") ret = FLASH128KB;
if (id == "NKJ") ret = FLASH128KB;
if (id == "NZS") ret = FLASH128KB;
if (id == "NM6") ret = FLASH128KB;
if (id == "NCK") ret = FLASH128KB;
if (id == "NMQ") ret = FLASH128KB;
if (id == "NPN") ret = FLASH128KB;
if (id == "NPF") ret = FLASH128KB;
if (id == "NPO") ret = FLASH128KB;
if (id == "CP2") ret = FLASH128KB;
if (id == "NP3") ret = FLASH128KB;
if (id == "NRH") ret = FLASH128KB;
if (id == "NSQ") ret = FLASH128KB;
if (id == "NT9") ret = FLASH128KB;
if (id == "NW4") ret = FLASH128KB;
if (id == "NDP") ret = FLASH128KB;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
if(id[1] == 'E' && id[2] == 'D') {
n8 config = revision;
if (config.bit(4,7) == 1) ret = EEPROM512;
else if (config.bit(4,7) == 2) ret = EEPROM2KB;
else if (config.bit(4,7) == 3) ret = SRAM32KB;
else if (config.bit(4,7) == 4) ret = SRAM96KB;
else if (config.bit(4,7) == 5) ret = FLASH128KB;
else if (config.bit(4,7) == 6) ret = SRAM128KB;
}
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
return ret;
}
Squashed commit of the following: commit 15611308c2c6ed5e4f46bd840ade8700e3768527 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:29:57 2022 -0800 derp commit 3c0546cdd8f08004c1ad82bdb72910498dddac91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:28:06 2022 -0800 bob commit 8e24ef7adc9ccee5405f8618bb8ddb165ff9cf8f Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:10:45 2022 -0800 removing perf core here now commit 66225df3b175544d28d91c6ede53861c74e71239 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 18:51:14 2022 -0800 delete perf core, cleanups, get submodule pushed commit 06b627bd949f15aac4749a33762ec5cb47e5aea9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 17:46:36 2022 -0800 oh fucking please don't tell me this was it commit 0bd0625d172a74a82e30b89e2f10702394e74491 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 17:21:22 2022 -0800 bleh commit 20c1497fd1fb25eb6ac6c44fe2490b71009fc9e0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 16:36:02 2022 -0800 bleh commit 4ccd7982d97f8c4c85c5b18801bb9784df9772e8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 15:55:43 2022 -0800 testing commit ab9e14bc7bb3e533f903a003b80f8e6a006cd819 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 15:44:24 2022 -0800 bleh commit 6d2de266825ac23df25466fdd6154e60ec6132de Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 00:08:45 2022 -0800 bleh commit f55c3e3277b979a8535667312fdb988a1f70bc01 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:54:49 2022 -0800 oh derp commit 16e3c87d7ab06947da208feb88b3f3fd96874621 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:43:27 2022 -0800 bleh commit 1630845d46af7dc048b8c5dcfc7b0359d7f3133a Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:36:14 2022 -0800 gross hack commit ff1ef0ac6da559e0ce0e7cad10583b70a63c3551 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:10:54 2022 -0800 angrylion integration into ares.
2022-03-12 03:36:56 +00:00
namespace ares::Nintendo64 { extern bool RestrictAnalogRange; extern bool BobDeinterlace; }
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
typedef struct
{
u8* GbRomData;
u32 GbRomLen;
} GbRom;
typedef struct
{
u8* PifData;
u32 PifLen;
u8* RomData;
u32 RomLen;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
GbRom GbRoms[4];
} LoadData;
typedef enum
{
RESTRICT_ANALOG_RANGE = 1 << 0,
IS_PAL = 1 << 1,
Squashed commit of the following: commit 15611308c2c6ed5e4f46bd840ade8700e3768527 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:29:57 2022 -0800 derp commit 3c0546cdd8f08004c1ad82bdb72910498dddac91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:28:06 2022 -0800 bob commit 8e24ef7adc9ccee5405f8618bb8ddb165ff9cf8f Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:10:45 2022 -0800 removing perf core here now commit 66225df3b175544d28d91c6ede53861c74e71239 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 18:51:14 2022 -0800 delete perf core, cleanups, get submodule pushed commit 06b627bd949f15aac4749a33762ec5cb47e5aea9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 17:46:36 2022 -0800 oh fucking please don't tell me this was it commit 0bd0625d172a74a82e30b89e2f10702394e74491 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 17:21:22 2022 -0800 bleh commit 20c1497fd1fb25eb6ac6c44fe2490b71009fc9e0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 16:36:02 2022 -0800 bleh commit 4ccd7982d97f8c4c85c5b18801bb9784df9772e8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 15:55:43 2022 -0800 testing commit ab9e14bc7bb3e533f903a003b80f8e6a006cd819 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 15:44:24 2022 -0800 bleh commit 6d2de266825ac23df25466fdd6154e60ec6132de Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 00:08:45 2022 -0800 bleh commit f55c3e3277b979a8535667312fdb988a1f70bc01 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:54:49 2022 -0800 oh derp commit 16e3c87d7ab06947da208feb88b3f3fd96874621 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:43:27 2022 -0800 bleh commit 1630845d46af7dc048b8c5dcfc7b0359d7f3133a Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:36:14 2022 -0800 gross hack commit ff1ef0ac6da559e0ce0e7cad10583b70a63c3551 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:10:54 2022 -0800 angrylion integration into ares.
2022-03-12 03:36:56 +00:00
BOB_DEINTERLACE = 1 << 2, // weave otherwise (todo: implement this)
} LoadFlags;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
#define SET_RTC_CALLBACK(NUM) do { \
if (auto pad = dynamic_cast<ares::Nintendo64::Gamepad*>(ares::Nintendo64::controllerPort##NUM.device.data())) \
{ \
if (auto mbc3 = dynamic_cast<ares::Nintendo64::Mbc3*>(pad->transferPak.mbc.data())) \
{ \
mbc3->rtcCallback = GetBizTime; \
} \
} \
} while (0)
EXPORT bool Init(LoadData* loadData, ControllerType* controllers, LoadFlags loadFlags)
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
{
platform = new BizPlatform;
platform->bizpak = new vfs::directory;
u8* data;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
u32 len;
string name;
bool pal = loadFlags & IS_PAL;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
name = pal ? "pif.pal.rom" : "pif.ntsc.rom";
len = loadData->PifLen;
data = new u8[len];
memcpy(data, loadData->PifData, len);
pifData = new array_view<u8>(data, len);
platform->bizpak->append(name, *pifData);
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
name = "program.rom";
len = loadData->RomLen;
data = new u8[len];
memcpy(data, loadData->RomData, len);
romData = new array_view<u8>(data, len);
platform->bizpak->append(name, *romData);
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
string region = pal ? "PAL" : "NTSC";
platform->bizpak->setAttribute("region", region);
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
string cic = pal ? "CIC-NUS-7101" : "CIC-NUS-6102";
u32 crc32 = Hash::CRC32({&data[0x40], 0x9C0}).value();
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
if (crc32 == 0x1DEB51A9) cic = pal ? "CIC-NUS-7102" : "CIC-NUS-6101";
if (crc32 == 0xC08E5BD6) cic = pal ? "CIC-NUS-7101" : "CIC-NUS-6102";
if (crc32 == 0x03B8376A) cic = pal ? "CIC-NUS-7103" : "CIC-NUS-6103";
if (crc32 == 0xCF7F41DC) cic = pal ? "CIC-NUS-7105" : "CIC-NUS-6105";
if (crc32 == 0xD1059C6A) cic = pal ? "CIC-NUS-7106" : "CIC-NUS-6106";
platform->bizpak->setAttribute("cic", cic);
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
SaveType save = DetectSaveType(data);
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
if (save != NONE)
{
switch (save)
{
case EEPROM512: len = 512; name = "save.eeprom"; break;
case EEPROM2KB: len = 2 * 1024; name = "save.eeprom"; break;
case SRAM32KB: len = 32 * 1024; name = "save.ram"; break;
case SRAM96KB: len = 96 * 1024; name = "save.ram"; break;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
case SRAM128KB: len = 128 * 1024; name = "save.ram"; break;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
case FLASH128KB: len = 128 * 1024; name = "save.flash"; break;
Squashed commit of the following: commit 15611308c2c6ed5e4f46bd840ade8700e3768527 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:29:57 2022 -0800 derp commit 3c0546cdd8f08004c1ad82bdb72910498dddac91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:28:06 2022 -0800 bob commit 8e24ef7adc9ccee5405f8618bb8ddb165ff9cf8f Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:10:45 2022 -0800 removing perf core here now commit 66225df3b175544d28d91c6ede53861c74e71239 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 18:51:14 2022 -0800 delete perf core, cleanups, get submodule pushed commit 06b627bd949f15aac4749a33762ec5cb47e5aea9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 17:46:36 2022 -0800 oh fucking please don't tell me this was it commit 0bd0625d172a74a82e30b89e2f10702394e74491 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 17:21:22 2022 -0800 bleh commit 20c1497fd1fb25eb6ac6c44fe2490b71009fc9e0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 16:36:02 2022 -0800 bleh commit 4ccd7982d97f8c4c85c5b18801bb9784df9772e8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 15:55:43 2022 -0800 testing commit ab9e14bc7bb3e533f903a003b80f8e6a006cd819 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 15:44:24 2022 -0800 bleh commit 6d2de266825ac23df25466fdd6154e60ec6132de Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 00:08:45 2022 -0800 bleh commit f55c3e3277b979a8535667312fdb988a1f70bc01 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:54:49 2022 -0800 oh derp commit 16e3c87d7ab06947da208feb88b3f3fd96874621 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:43:27 2022 -0800 bleh commit 1630845d46af7dc048b8c5dcfc7b0359d7f3133a Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:36:14 2022 -0800 gross hack commit ff1ef0ac6da559e0ce0e7cad10583b70a63c3551 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:10:54 2022 -0800 angrylion integration into ares.
2022-03-12 03:36:56 +00:00
default: return false;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
}
data = new u8[len];
memset(data, 0xFF, len);
saveData = new array_view<u8>(data, len);
platform->bizpak->append(name, *saveData);
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
}
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
for (int i = 0; i < 4; i++)
{
if (loadData->GbRoms[i].GbRomData)
{
len = loadData->GbRoms[i].GbRomLen;
data = new u8[len];
memcpy(data, loadData->GbRoms[i].GbRomData, len);
gbRomData[i] = new array_view<u8>(data, len);
}
}
ares::platform = platform;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
if (!ares::Nintendo64::load(root, {"[Nintendo] Nintendo 64 (", region, ")"}))
{
return false;
}
if (auto port = root->find<ares::Node::Port>("Cartridge Slot"))
{
port->allocate();
port->connect();
}
else
{
return false;
}
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
for (int i = 0, j = 0; i < 4; i++)
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
{
if (auto port = root->find<ares::Node::Port>({"Controller Port ", 1 + i}))
{
if (controllers[i] == Unplugged) continue;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
if (controllers[i] == Mouse)
{
port->allocate("Mouse");
port->connect();
continue;
}
if (controllers[i] == Transferpak)
{
if (gbRomData[j])
{
platform->bizpak->remove("gbrom.pak");
platform->bizpak->append("gbrom.pak", *gbRomData[j++]);
}
}
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
auto peripheral = port->allocate("Gamepad");
port->connect();
switch (controllers[i])
{
case Mempak: name = "Controller Pak"; break;
case Rumblepak: name = "Rumble Pak"; break;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
case Transferpak: name = "Transfer Pak"; break;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
default: continue;
}
if (auto port = peripheral->find<ares::Node::Port>("Pak"))
{
port->allocate(name);
port->connect();
}
else
{
return false;
}
}
else
{
return false;
}
}
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
SET_RTC_CALLBACK(1);
SET_RTC_CALLBACK(2);
SET_RTC_CALLBACK(3);
SET_RTC_CALLBACK(4);
ares::Nintendo64::RestrictAnalogRange = loadFlags & RESTRICT_ANALOG_RANGE;
Squashed commit of the following: commit 15611308c2c6ed5e4f46bd840ade8700e3768527 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:29:57 2022 -0800 derp commit 3c0546cdd8f08004c1ad82bdb72910498dddac91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:28:06 2022 -0800 bob commit 8e24ef7adc9ccee5405f8618bb8ddb165ff9cf8f Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:10:45 2022 -0800 removing perf core here now commit 66225df3b175544d28d91c6ede53861c74e71239 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 18:51:14 2022 -0800 delete perf core, cleanups, get submodule pushed commit 06b627bd949f15aac4749a33762ec5cb47e5aea9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 17:46:36 2022 -0800 oh fucking please don't tell me this was it commit 0bd0625d172a74a82e30b89e2f10702394e74491 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 17:21:22 2022 -0800 bleh commit 20c1497fd1fb25eb6ac6c44fe2490b71009fc9e0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 16:36:02 2022 -0800 bleh commit 4ccd7982d97f8c4c85c5b18801bb9784df9772e8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 15:55:43 2022 -0800 testing commit ab9e14bc7bb3e533f903a003b80f8e6a006cd819 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 15:44:24 2022 -0800 bleh commit 6d2de266825ac23df25466fdd6154e60ec6132de Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 00:08:45 2022 -0800 bleh commit f55c3e3277b979a8535667312fdb988a1f70bc01 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:54:49 2022 -0800 oh derp commit 16e3c87d7ab06947da208feb88b3f3fd96874621 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:43:27 2022 -0800 bleh commit 1630845d46af7dc048b8c5dcfc7b0359d7f3133a Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:36:14 2022 -0800 gross hack commit ff1ef0ac6da559e0ce0e7cad10583b70a63c3551 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:10:54 2022 -0800 angrylion integration into ares.
2022-03-12 03:36:56 +00:00
ares::Nintendo64::BobDeinterlace = loadFlags & BOB_DEINTERLACE;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
root->power(false);
HackeryDoo();
return true;
}
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
// todo: might need to account for mbc5 rumble?
// largely pointless tho
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
EXPORT bool GetRumbleStatus(u32 num)
{
ares::Nintendo64::Gamepad* c = nullptr;
switch (num)
{
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
case 0: c = dynamic_cast<ares::Nintendo64::Gamepad*>(ares::Nintendo64::controllerPort1.device.data()); break;
case 1: c = dynamic_cast<ares::Nintendo64::Gamepad*>(ares::Nintendo64::controllerPort2.device.data()); break;
case 2: c = dynamic_cast<ares::Nintendo64::Gamepad*>(ares::Nintendo64::controllerPort3.device.data()); break;
case 3: c = dynamic_cast<ares::Nintendo64::Gamepad*>(ares::Nintendo64::controllerPort4.device.data()); break;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
}
return c ? c->motor->enable() : false;
}
2022-02-17 10:48:40 +00:00
#define ADD_MEMORY_DOMAIN(mem, name, flags) do { \
m[i].Data = ares::Nintendo64::mem.data; \
m[i].Name = name; \
m[i].Size = ares::Nintendo64::mem.size; \
m[i].Flags = flags | MEMORYAREA_FLAGS_YUGEENDIAN | MEMORYAREA_FLAGS_SWAPPED | MEMORYAREA_FLAGS_WORDSIZE4 | MEMORYAREA_FLAGS_WRITABLE; \
i++; \
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
} while (0)
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
#define ADD_MEMPAK_DOMAIN(NUM) do { \
if (auto c = dynamic_cast<ares::Nintendo64::Gamepad*>(ares::Nintendo64::controllerPort##NUM.device.data())) \
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
{ \
2022-02-17 10:48:40 +00:00
m[i].Data = c->ram.data; \
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
m[i].Name = "MEMPAK " #NUM; \
2022-02-17 10:48:40 +00:00
m[i].Size = c->ram.size; \
m[i].Flags = MEMORYAREA_FLAGS_ONEFILLED | MEMORYAREA_FLAGS_SAVERAMMABLE | MEMORYAREA_FLAGS_YUGEENDIAN | MEMORYAREA_FLAGS_SWAPPED | MEMORYAREA_FLAGS_WORDSIZE4 | MEMORYAREA_FLAGS_WRITABLE; \
i++; \
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
} \
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
} while (0)
#define ADD_GB_DOMAINS(NUM) do { \
if (auto c = dynamic_cast<ares::Nintendo64::Gamepad*>(ares::Nintendo64::controllerPort##NUM.device.data())) \
{ \
m[i].Data = c->transferPak.rom.data; \
m[i].Name = "GB ROM " #NUM; \
m[i].Size = c->transferPak.rom.size; \
m[i].Flags = MEMORYAREA_FLAGS_YUGEENDIAN | MEMORYAREA_FLAGS_SWAPPED | MEMORYAREA_FLAGS_WORDSIZE4 | MEMORYAREA_FLAGS_WRITABLE; \
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
i++; \
\
m[i].Data = c->transferPak.ram.data; \
m[i].Name = "GB SRAM " #NUM; \
m[i].Size = c->transferPak.ram.size; \
m[i].Flags = MEMORYAREA_FLAGS_ONEFILLED | MEMORYAREA_FLAGS_SAVERAMMABLE | MEMORYAREA_FLAGS_YUGEENDIAN | MEMORYAREA_FLAGS_SWAPPED | MEMORYAREA_FLAGS_WORDSIZE4 | MEMORYAREA_FLAGS_WRITABLE; \
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
i++; \
} \
} while (0)
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
static inline u8 GetByteFromWord(u32 word, u32 addr)
{
switch (addr & 3)
{
case 0: return (word >> 24) & 0xFF;
case 1: return (word >> 16) & 0xFF;
case 2: return (word >> 8) & 0xFF;
case 3: return (word >> 0) & 0xFF;
default: __builtin_unreachable();
}
}
static u8 PeekFunc(u64 address)
{
address &= 0x1fff'ffff;
const u32 addr = address;
if (addr > 0x0403'ffff && addr <= 0x0407'ffff) // RSP
{
address = (address & 0x3ffff) >> 2;
if (address == 7) // SP_SEMAPHORE
{
return GetByteFromWord(ares::Nintendo64::rsp.status.semaphore & 1, addr);
}
}
else if (addr > 0x0407'ffff && addr <= 0x040f'ffff) // RSP Status
{
address = (address & 0x7ffff) >> 2;
if (address == 0) // SP_PC_REG
{
return GetByteFromWord(ares::Nintendo64::rsp.ipu.pc & 0xFFF, addr);
}
}
else if (addr > 0x046f'ffff && addr <= 0x047f'ffff) // RI
{
address = (address & 0xfffff) >> 2;
if (address == 3) // RI_SELECT
{
return GetByteFromWord(ares::Nintendo64::ri.io.select, addr);
}
}
return ares::Nintendo64::bus.read<ares::Nintendo64::Byte>(addr);
}
static void SysBusAccess(u8* buffer, u64 address, u64 count, bool write)
{
if (write)
{
while (count--)
ares::Nintendo64::bus.write<ares::Nintendo64::Byte>(address++, *buffer++);
}
else
{
while (count--)
*buffer++ = PeekFunc(address++);
}
}
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
EXPORT void GetMemoryAreas(MemoryArea *m)
{
int i = 0;
2022-02-17 10:48:40 +00:00
ADD_MEMORY_DOMAIN(rdram.ram, "RDRAM", MEMORYAREA_FLAGS_PRIMARY);
ADD_MEMORY_DOMAIN(cartridge.rom, "ROM", 0);
2022-05-27 05:26:56 +00:00
ADD_MEMORY_DOMAIN(pif.rom, "PIF ROM", 0);
ADD_MEMORY_DOMAIN(pif.ram, "PIF RAM", 0);
2022-02-17 10:48:40 +00:00
ADD_MEMORY_DOMAIN(rsp.dmem, "RSP DMEM", 0);
ADD_MEMORY_DOMAIN(rsp.imem, "RSP IMEM", 0);
ADD_MEMORY_DOMAIN(cartridge.ram, "SRAM", MEMORYAREA_FLAGS_ONEFILLED | MEMORYAREA_FLAGS_SAVERAMMABLE);
ADD_MEMORY_DOMAIN(cartridge.eeprom, "EEPROM", MEMORYAREA_FLAGS_ONEFILLED | MEMORYAREA_FLAGS_SAVERAMMABLE);
ADD_MEMORY_DOMAIN(cartridge.flash, "FLASH", MEMORYAREA_FLAGS_ONEFILLED | MEMORYAREA_FLAGS_SAVERAMMABLE);
ADD_MEMPAK_DOMAIN(1);
ADD_MEMPAK_DOMAIN(2);
ADD_MEMPAK_DOMAIN(3);
ADD_MEMPAK_DOMAIN(4);
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
ADD_GB_DOMAINS(1);
ADD_GB_DOMAINS(2);
ADD_GB_DOMAINS(3);
ADD_GB_DOMAINS(4);
m[i].Data = (void*)SysBusAccess;
m[i].Name = "System Bus";
m[i].Size = 1ull << 32;
m[i].Flags = MEMORYAREA_FLAGS_YUGEENDIAN | MEMORYAREA_FLAGS_SWAPPED | MEMORYAREA_FLAGS_WORDSIZE4 | MEMORYAREA_FLAGS_WRITABLE | MEMORYAREA_FLAGS_FUNCTIONHOOK;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
}
struct MyFrameInfo : public FrameInfo
{
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
u64 Time;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
Buttons_t P1Buttons;
Buttons_t P2Buttons;
Buttons_t P3Buttons;
Buttons_t P4Buttons;
s16 P1XAxis;
s16 P1YAxis;
s16 P2XAxis;
s16 P2YAxis;
s16 P3XAxis;
s16 P3YAxis;
s16 P4XAxis;
s16 P4YAxis;
bool Reset;
bool Power;
};
#define UPDATE_CONTROLLER(NUM) do { \
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
if (auto c = dynamic_cast<ares::Nintendo64::Gamepad*>(ares::Nintendo64::controllerPort##NUM.device.data())) \
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
{ \
c->x->setValue(f->P##NUM##XAxis); \
c->y->setValue(f->P##NUM##YAxis); \
c->up->setValue(f->P##NUM##Buttons & UP); \
c->down->setValue(f->P##NUM##Buttons & DOWN); \
c->left->setValue(f->P##NUM##Buttons & LEFT); \
c->right->setValue(f->P##NUM##Buttons & RIGHT); \
c->b->setValue(f->P##NUM##Buttons & B); \
c->a->setValue(f->P##NUM##Buttons & A); \
c->cameraUp->setValue(f->P##NUM##Buttons & C_UP); \
c->cameraDown->setValue(f->P##NUM##Buttons & C_DOWN); \
c->cameraLeft->setValue(f->P##NUM##Buttons & C_LEFT); \
c->cameraRight->setValue(f->P##NUM##Buttons & C_RIGHT); \
c->l->setValue(f->P##NUM##Buttons & L); \
c->r->setValue(f->P##NUM##Buttons & R); \
c->z->setValue(f->P##NUM##Buttons & Z); \
c->start->setValue(f->P##NUM##Buttons & START); \
} \
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
else if (auto m = dynamic_cast<ares::Nintendo64::Mouse*>(ares::Nintendo64::controllerPort##NUM.device.data())) \
{ \
m->x->setValue(f->P##NUM##XAxis); \
m->y->setValue(f->P##NUM##YAxis); \
m->rclick->setValue(f->P##NUM##Buttons & B); \
m->lclick->setValue(f->P##NUM##Buttons & A); \
} \
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
} while (0)
EXPORT void FrameAdvance(MyFrameInfo* f)
{
if (f->Power)
{
root->power(false);
HackeryDoo();
}
else if (f->Reset)
{
root->power(true);
HackeryDoo();
}
UPDATE_CONTROLLER(1);
UPDATE_CONTROLLER(2);
UPDATE_CONTROLLER(3);
UPDATE_CONTROLLER(4);
platform->lagged = true;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
platform->nsamps = 0;
biztime = f->Time;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
root->run();
f->Width = platform->width;
f->Height = platform->height;
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
u32* src = platform->videobuf;
u32* dst = f->VideoBuffer;
for (int i = 0; i < f->Height; i++)
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
{
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
memcpy(dst, src, f->Width * 4);
dst += f->Width;
src += platform->pitch;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
}
Add transfer pak support to ares, add n64 mouse support to ares, various cleanups all around Squashed commit of the following: commit 1f6cdb99a8486b3f89395b2bd3f13f730e21f743 Merge: bcef146d7 ecd428898 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:12 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit bcef146d7d62e5ce435ae3fc4d585d71d98bec52 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 03:05:05 2022 -0700 a commit ecd4288980f7311eba3bdd0a9d1a3fca02e42e43 Merge: 86a7e3e85 ccb24cc79 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:57:00 2022 -0700 Merge branch 'transfer_pak_ares' of https://github.com/CasualPokePlayer/BizHawk into transfer_pak_ares commit 86a7e3e85bc1b3cb979671edcbfca66e69d5212b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:56:50 2022 -0700 a commit ccb24cc79fd922b1e3e3b80d660c7b7696f0cf84 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:51:36 2022 -0700 a commit 285fd66f9240dfa502a269adb19cc1f3d11236c5 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 02:02:31 2022 -0700 misc commit 9fb76345e4507cbd53ab5e4c2c61a5cb992b7241 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:50:46 2022 -0700 frontend hookup commit dabee3a4d63c5801e3147dd758e3c187be0ab8bd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon Mar 21 01:26:48 2022 -0700 actually hook other shit up also delete some shit commit df632d6ddf6eaeb61ad3ad640851709c2614bfbd Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:37:18 2022 -0700 a commit 143c4039453290ef1e8a4cf53ddea534efa0cea3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:28:07 2022 -0700 a commit fd75dcc5150860171e3d96fd0bcb4749eeb99378 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 21:03:51 2022 -0700 a commit ea039643e9a093f63f8dc8c7446e9e70f7f965f0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:56:46 2022 -0700 a commit 8b373d2ba547cd1ab61360e8129f31452014c728 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:33:47 2022 -0700 a commit dc18a90bebcae013aca4494c1e0a83603dbdbea6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:18:34 2022 -0700 a commit 3d0eba5f57d95f7cfd74b662f70a40cac5638539 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 19:16:56 2022 -0700 a commit d97ea34753c007663ea0e629df8830e6aae98e91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 18:28:01 2022 -0700 a commit 7a1fe0442c7dd6425048207a19b1b18f9dc3e344 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 17:22:10 2022 -0700 a commit 421de8ebb8c02736e65f28a88a17cabf297c6e10 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 16:57:47 2022 -0700 is this right? commit 9fcaa1905b6e3b6bc73c8e8c15c55cab06ddb7f4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 15:57:32 2022 -0700 rework audio commit 602577ded89f2fd7d4514792e4f9f485235ce2f1 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:54:29 2022 -0700 doh commit 5521dab709551d9f02bd0cf0d979d8a3860541c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:42:50 2022 -0700 a commit bc10461eb9d47bea5acc7cc22963b8e7025b9a31 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:41:17 2022 -0700 a commit d088719299bc0946962bba9404469fe9628633c6 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:25:07 2022 -0700 a commit d425c49bc2ea7925f485379dad33326fa8566754 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:18:33 2022 -0700 a commit ea7c69a512ce84977ad92be0c3f97f396dcf13a7 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:13:41 2022 -0700 a commit b350580b5c8ce455d6ffa41237c2564e8fa76a58 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 14:05:46 2022 -0700 a commit 5983b23e760e5ca8a3c8141075f383275da570b4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:57:25 2022 -0700 a commit 12de82e8841284cb70ec02765d86e3729661dcb4 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:46:58 2022 -0700 a commit 992bdf114c24a8a3d37c110629f9a66bfaf21cf8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 13:05:28 2022 -0700 a commit 3637649dde95ff4fb24474ee0d1dde795cbc5fe3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:49:52 2022 -0700 o commit 7d7264b92822ce34ba5412f4cf869c6a4e6fb9b9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:41:55 2022 -0700 testing time commit bb3a2f89861cdf429091d8253a656e782b68e33b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 12:14:30 2022 -0700 bleh commit df46cc34d6edc312b519c98b6c7be3ac6ab89bd2 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 06:18:28 2022 -0700 bleh commit 21c28a81726ab9a9f206a58424e5434cd0bac1a8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:43:39 2022 -0700 hack test time commit 3d9e462addc20d6b6d8ffc41595c4751d6fc2975 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:36:51 2022 -0700 oh right need to build it commit a970194f64ac0652f97236debd39e142b01d4dcf Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:32:07 2022 -0700 guessing not endianess, maybe need more reset state work? commit 5d4c11dbf2f767e63d505da22d6bbdef76a4e28b Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:23:52 2022 -0700 is this a endianess issue? commit c5fcd687f5e2c62b1f0f065a3b9c9ffa30867eeb Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:11:43 2022 -0700 debug time commit 437071710ea040a466dd25d7fe691fcdbdb95030 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 05:03:58 2022 -0700 better emulate reset thingie commit e02503c3f74aa89784b5cc43d1fe5daa6fedf5d3 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun Mar 20 04:31:42 2022 -0700 initial mouse and transfer pak support
2022-03-21 10:08:23 +00:00
f->Samples = platform->nsamps;
memcpy(f->SoundBuffer, platform->soundbuf, f->Samples * 4);
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
f->Lagged = platform->lagged;
Ares64 (#3125) * ares64 * build, currently cherry picking https://github.com/llvm/llvm-project/commit/c9af34027bc9cb852a4e5e96154a7bd89531a6de to build this * some work * commit the frontend work. crashes on some NR_SCHED_GETAFFINITY syscall * delete this * fix oopsie, add debugging shit * getting closer... * what the fuck is this mame shit doing??? * fuck * it's one of these isn't it * fucking hell * at least it's not crashing on init now * bleh * let's see if this works? * audio i think? * oh right, need to disable threading here since that's not wbx supported * testing * testing * testing... * testing * wtf? * lol * it's doing something now i guess? * let's try this * maybe this will catch this bullshit? * lol * the fuck? * what * meh * bleh * let's have some fun * bleh * bleh * bleh * maybe this works better * let's try this? * meh * this probably will break * lol * meh * a * a * a * a * a * meh * a * a * b * alloc invisible these video buffers * a * actually build * bleh * well uhhhhhhhh let's see if this blows up for fun i guess? * bleh * yeah that when as well as expected * push this * bleh * bleh * bleh * a * dirty hackery * fuck space/tabs * hook up input * hook up input frontend side * reset/power * going to have to commit to dumb workaround here i guess? * fuck this bullshit crash * cic stuff * oops * testing * hook up save detection * memory domains and saveram shit * oops * someday i'll get macros right * let's get this kinda reproducable * build * bleh * frontend shit * bleh * testing * a * fucking * a * a * a * workaround C# bullshit marshalling maybe? * revert that, let's hack it on c# side instead * disgusting hack * fuck c# * fix oopsies for eeprom/flash and fuck c# * apparently explicit layout just dont work, thanks c#! * correct orientation * actually fix orientation * testing * bleh * b * a * fix crash here * rumble getter * hook up rumble with frontend, cache readonly controller settings on core init * remove old experiment * make clean make install
2022-02-12 02:22:16 +00:00
}
EXPORT void SetInputCallback(void (*callback)())
{
platform->inputcb = callback;
Squashed commit of the following: commit 15611308c2c6ed5e4f46bd840ade8700e3768527 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:29:57 2022 -0800 derp commit 3c0546cdd8f08004c1ad82bdb72910498dddac91 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:28:06 2022 -0800 bob commit 8e24ef7adc9ccee5405f8618bb8ddb165ff9cf8f Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 19:10:45 2022 -0800 removing perf core here now commit 66225df3b175544d28d91c6ede53861c74e71239 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 18:51:14 2022 -0800 delete perf core, cleanups, get submodule pushed commit 06b627bd949f15aac4749a33762ec5cb47e5aea9 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 17:46:36 2022 -0800 oh fucking please don't tell me this was it commit 0bd0625d172a74a82e30b89e2f10702394e74491 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 17:21:22 2022 -0800 bleh commit 20c1497fd1fb25eb6ac6c44fe2490b71009fc9e0 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 16:36:02 2022 -0800 bleh commit 4ccd7982d97f8c4c85c5b18801bb9784df9772e8 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 15:55:43 2022 -0800 testing commit ab9e14bc7bb3e533f903a003b80f8e6a006cd819 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 15:44:24 2022 -0800 bleh commit 6d2de266825ac23df25466fdd6154e60ec6132de Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri Mar 11 00:08:45 2022 -0800 bleh commit f55c3e3277b979a8535667312fdb988a1f70bc01 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:54:49 2022 -0800 oh derp commit 16e3c87d7ab06947da208feb88b3f3fd96874621 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:43:27 2022 -0800 bleh commit 1630845d46af7dc048b8c5dcfc7b0359d7f3133a Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:36:14 2022 -0800 gross hack commit ff1ef0ac6da559e0ce0e7cad10583b70a63c3551 Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Thu Mar 10 23:10:54 2022 -0800 angrylion integration into ares.
2022-03-12 03:36:56 +00:00
}
EXPORT void GetDisassembly(u32 address, u32 instruction, char* buf)
{
auto s = ares::Nintendo64::cpu.disassembler.disassemble(address, instruction).strip();
strcpy(buf, s.data());
}
EXPORT void SetTraceCallback(void (*callback)(const char*))
{
ares::Nintendo64::cpu.debugger.tracer.instruction->setEnabled(!!callback);
platform->tracecb = callback;
}
EXPORT void GetRegisters(u64* buf)
{
for (int i = 0; i < 32; i++)
{
buf[i] = ares::Nintendo64::cpu.ipu.r[i].u64;
}
buf[32] = ares::Nintendo64::cpu.ipu.lo.u64;
buf[33] = ares::Nintendo64::cpu.ipu.hi.u64;
buf[34] = ares::Nintendo64::cpu.ipu.pc;
}