Commit Graph

933 Commits

Author SHA1 Message Date
Rodrigo Alfonso
d84c089a1a Merge branch 'v7.0.0' of https://github.com/afska/gba-link-connection into c-bindings 2024-08-25 08:45:47 -03:00
Rodrigo Alfonso
8d1e2bceaa FIX: Player calculation with new timeout system 2024-08-25 08:45:31 -03:00
Rodrigo Alfonso
4489d91957 Adding C bindings 2024-08-25 08:36:10 -03:00
Rodrigo Alfonso
1b45e8c867 Updating LinkCube documentation 2024-08-25 04:23:38 -03:00
Rodrigo Alfonso
059239f6a9 Merge branch 'joybus' into v7.0.0 2024-08-25 04:13:34 -03:00
Rodrigo Alfonso
0e16794ccb Finishing LinkCube 2024-08-25 04:13:22 -03:00
Rodrigo Alfonso
d7168f8851 Improving LinkCable docs 2024-08-25 00:28:51 -03:00
Rodrigo Alfonso
0063b465e4 Improving LinkCable docs 2024-08-25 00:28:28 -03:00
Rodrigo Alfonso
53089ce3fd Sends are working! 2024-08-24 09:40:23 -03:00
Rodrigo Alfonso
0d5c1d1077 Starting JOYBUS 2024-08-24 08:12:09 -03:00
Rodrigo Alfonso
20bb29955e LinkUART: Using the queue methods for sync pushes/pops 2024-08-24 05:37:43 -03:00
Rodrigo Alfonso
9132537608 LinkWireless: Adding compile-time constant to optimize the library for two players 2024-08-23 19:24:56 -03:00
Rodrigo Alfonso
c222688976 Adding notes about the standard 2024-08-23 09:17:23 -03:00
Rodrigo Alfonso
c011211a9c LinkWireless: Adding compile-time option to enable nested interrupts 2024-08-23 08:55:02 -03:00
Rodrigo Alfonso
2c7234ff18 Adding Link::perFrame(...) helper 2024-08-23 06:55:40 -03:00
Rodrigo Alfonso
e1ae8cfba2 FIX: Completely removing the remoteTimeout parameter 2024-08-23 05:41:39 -03:00
Rodrigo Alfonso
4f4694a8b9 LinkWireless: Unified timeout and remoteTimeout 2024-08-23 03:15:17 -03:00
Rodrigo Alfonso
62b5acfdd9 LinkWireless: When resetting in system thread, disable interrupts, then restore previous value 2024-08-23 01:58:22 -03:00
Rodrigo Alfonso
6a956aff85 LinkCable: Unified timeout and remoteTimeout 2024-08-22 23:17:06 -03:00
Rodrigo Alfonso
6ab7166da1 LinkCable: remoteTimeout is now in frames 2024-08-22 23:12:58 -03:00
Rodrigo Alfonso
ada55d22f0 LinkMobile fix: Increasing INIT_TIMEOUT_FRAMES to 60*3 so it also works with the Red and Yellow adapters 2024-08-22 22:45:49 -03:00
Rodrigo Alfonso
0ae110f111 Adding a random wait to avoid different GBAs getting stuck 2024-08-22 07:28:51 -03:00
Rodrigo Alfonso
f670e3d2bf Using infinite retries in linkCableMultiboot 2024-08-22 06:35:33 -03:00
Rodrigo Alfonso
a3e1413fa9 Redoing LinkCableMultiboot 2024-08-22 03:25:20 -03:00
Rodrigo Alfonso
c7286266ab Adjusting retry delay to 1/16s 2024-08-21 22:05:09 -03:00
Rodrigo Alfonso
df68a8941c Adding SPI transfer mode to LinkCableMultiboot_demo example 2024-08-21 21:24:19 -03:00
Rodrigo Alfonso
529c78e22e Adding option to change palette data in LinkCableMultiboot 2024-08-21 08:41:23 -03:00
Rodrigo Alfonso
b8fc56b795 Adding SPI mode to LinkCableMultiboot 2024-08-21 08:33:51 -03:00
Rodrigo Alfonso
a1ecedf5c5 Fixing hello.gba header 2024-08-21 06:40:45 -03:00
Rodrigo Alfonso
681080f1fe FIX: hello.gba padding 2024-08-21 06:38:38 -03:00
Rodrigo Alfonso
576d8047ff Not checking for 0xD2 at all in the mobile adapter 2024-08-21 04:32:21 -03:00
Rodrigo Alfonso
0bdd88018f LinkWireless: Fixing serve(...) while hosting 2024-08-21 02:02:07 -03:00
Rodrigo Alfonso
188ac37c07 Bundling all roms in LinkCableMultiboot_demo and LinkWirelessMultiboot_demo 2024-08-20 23:51:29 -03:00
Rodrigo Alfonso
2fbf8198a5 FIX: Making LinkRawWireless::receiveCommandFromAdapter() more stable 2024-08-20 00:59:08 -03:00
Rodrigo Alfonso
612f286635 Preventing multiboot failures 2024-08-20 00:30:05 -03:00
Rodrigo Alfonso
3b10bf7be3 Adding cancel feature to LinkWirelessMultiboot_demo 2024-08-19 22:42:40 -03:00
Rodrigo Alfonso
82d315f8ce Improving disconnection handling in LinkWirelessMultiboot 2024-08-19 22:39:38 -03:00
Rodrigo Alfonso
062f96e10c Disabling multiboot builds in LinkWirelessMultiboot_demo 2024-08-19 21:56:42 -03:00
Rodrigo Alfonso
47a2e46eb1 Enabling send/receive latch in LinkWireless_demo 2024-08-19 10:57:20 -03:00
Rodrigo Alfonso
d42a88d52e Updating log functions 2024-08-19 10:42:38 -03:00
Rodrigo Alfonso
1e06a32a37 Testing fix for mobile adapter hw 2024-08-19 10:01:55 -03:00
Rodrigo Alfonso
0909367398 Using -Ofast in examples 2024-08-19 08:42:25 -03:00
Rodrigo Alfonso
d830860c5e Adding options to compile multiboot roms with compile.sh 2024-08-19 08:42:25 -03:00
Rodrigo Alfonso
67750d7e8f Improving package.sh 2024-08-19 08:42:25 -03:00
Rodrigo Alfonso
3e3920096f Using nullptr instead of NULL 2024-08-19 08:42:21 -03:00
Rodrigo Alfonso
1aaf84bb27 Reverting test code
This reverts commit a8383a67eec7c82079d533c8a60f6202aeb3b059.
2024-08-19 04:43:47 -03:00
Rodrigo Alfonso
0aa6d70178 Oh, of course I have to switch the serial mode before the timer x) 2024-08-19 04:43:17 -03:00
Rodrigo Alfonso
ec06a49073 Debugging why it doesn't work on the RPi Pico 2024-08-19 04:42:36 -03:00
Rodrigo Alfonso
004a796cc3 Adding LinkMobile to compile script, improving documentation 2024-08-19 03:47:35 -03:00
Rodrigo Alfonso
758855c142 Organizing images 2024-08-19 03:03:09 -03:00