Commit Graph

919 Commits

Author SHA1 Message Date
Rodrigo Alfonso
97bb7ca405 FIX: Sanitizing adapters' byte count 2025-02-07 07:02:22 -03:00
Rodrigo Alfonso
db815e4749 Adding some observations from multiboot protocol 2025-02-07 02:59:38 -03:00
Rodrigo Alfonso
b39a79f526 Normalizing code style in multiboot libs 2025-02-07 02:52:01 -03:00
Rodrigo Alfonso
f5430c1700 Normalizing naming style 2025-02-06 08:18:26 -03:00
Rodrigo Alfonso
886f99f886 Renaming old constant 2025-02-06 08:02:05 -03:00
Rodrigo Alfonso
44ffc903d4 LinkWirelessMultiboot: Moving progress reporting to example (without needing to enable logs) 2025-02-06 08:01:09 -03:00
Rodrigo Alfonso
705ad0638d Adding more details to the multiboot protocol 2025-02-06 07:45:56 -03:00
Rodrigo Alfonso
10591d1d6b Stop clearing the whooole screen on every log! 2025-02-05 09:11:48 -03:00
Rodrigo Alfonso
8a71953275 Rollback previous commit 2025-02-05 03:30:29 -03:00
Rodrigo Alfonso
e9f6fdff80 Using -Os by default in ISR 2025-02-05 03:11:00 -03:00
Rodrigo Alfonso
9f8f4033be Adding missing attributes to timer functions 2025-02-05 03:06:20 -03:00
Rodrigo Alfonso
2957fa9bbe Setting LINK_WIRELESS_PUT_ISR_IN_IWRAM_TIMER=1 by default 2025-02-05 02:22:06 -03:00
Rodrigo Alfonso
3ca906cc4f Setting default wireless interval to 75 2025-02-05 02:08:54 -03:00
Rodrigo Alfonso
6055e4faac Organizing ISR functions 2025-02-05 01:54:23 -03:00
Rodrigo Alfonso
8e17f9a1a2 Fixing timer isr iwram macro 2025-02-04 22:14:58 -03:00
Rodrigo Alfonso
c1e1a167c4 Added control knobs for LINK_WIRELESS_PUT_ISR_IN_IWRAM 2025-02-04 10:27:01 -03:00
Rodrigo Alfonso
d88d765e24 Making LINK_WIRELESS_ENABLE_NESTED_IRQ independent from LINK_WIRELESS_PUT_ISR_IN_IWRAM 2025-02-04 09:27:02 -03:00
Rodrigo Alfonso
126fbd958c Dividing wireless profiler in two roms (IWRAM code and ROM code) 2025-02-04 09:22:18 -03:00
Rodrigo Alfonso
582d3b2ad0 LinkUniversal: Resetting mode to link cable after deactivate(...) 2025-02-04 08:06:03 -03:00
Rodrigo Alfonso
2c88e66852 Adding resetTimeout() method 2025-02-04 07:02:51 -03:00
Rodrigo Alfonso
e2e95f08ab FIX: Preventing gcc from reordering playerCount and currentPlayerId set 2025-02-04 06:18:21 -03:00
Rodrigo Alfonso
b7295b2443 Fixing default didPress(...) key handling 2025-02-04 05:51:36 -03:00
Rodrigo Alfonso
1124981c81 Logging forwarded count 2025-02-03 23:03:24 -03:00
Rodrigo Alfonso
c6b399f5b2 Now LinkRawWireless_demo can perform ghost sends 2025-02-03 21:47:57 -03:00
Rodrigo Alfonso
97adf6a8b0 Optimizations: Only iterate until playerCount, calculating min ACK only once 2025-02-03 10:21:08 -03:00
Rodrigo Alfonso
ba8e444d9b Moving more critical code to IWRAM and more non-critical code to ROM 2025-02-03 09:54:00 -03:00
Rodrigo Alfonso
6f2ec52e8d FIX: Overflow handling when forwarding messages 2025-02-03 08:58:14 -03:00
Rodrigo Alfonso
b88b0271df Inlining some helpers 2025-02-03 07:42:51 -03:00
Rodrigo Alfonso
5c2b395324 Cleaning up LinkWireless' new protocol changes 2025-02-03 07:06:58 -03:00
Rodrigo Alfonso
475f380fd0 WIP: New protocol (works!) 2025-02-03 04:31:40 -03:00
Rodrigo Alfonso
8972b62517 Adding canSend(...) method 2025-01-30 09:57:07 -03:00
Rodrigo Alfonso
9b0b08f368 Improving lagging button 2025-01-30 09:37:35 -03:00
Rodrigo Alfonso
20f24b3e60 Now the LinkCable_full example lag button only waits 5 frames 2025-01-30 09:33:03 -03:00
Rodrigo Alfonso
02a654dcb3 FIX: didQueueOverflow now also notifies failed forwarded messages 2025-01-30 09:29:46 -03:00
Rodrigo Alfonso
b0ab3f7fa4 FIX: Clear flag in LinkUniversal::didQueueOverflow 2025-01-30 09:12:20 -03:00
Rodrigo Alfonso
5c7f7d393c Adding didQueueOverflow alert 2025-01-30 08:59:13 -03:00
Rodrigo Alfonso
67455254db Adding useful logs to LinkUniversal_full 2025-01-30 08:45:23 -03:00
Rodrigo Alfonso
c0d5f15b5b Initializing these so state before activate() is consistent 2025-01-30 07:31:37 -03:00
Rodrigo Alfonso
9fb91309b6 playerCount() cannot be greater than LINK_UNIVERSAL_MAX_PLAYERS 2025-01-30 06:28:41 -03:00
Rodrigo Alfonso
eb8ce2d3fe Optimization: don't add initial data if playerCount doesn't require it 2025-01-30 06:13:26 -03:00
Rodrigo Alfonso
83e91deb87 Revert "Using getState()"
This reverts commit 137df23a74.
2025-01-30 06:05:25 -03:00
Rodrigo Alfonso
137df23a74 Using getState() 2025-01-30 05:51:59 -03:00
Rodrigo Alfonso
2c1e370bbe LinkRawWireless: Implementing command 0x30 DisconnectClient 2025-01-30 04:48:03 -03:00
Rodrigo Alfonso
ad85a77611 Fixing default value of localHeartbeat 2025-01-29 22:27:46 -03:00
Rodrigo Alfonso
d59bf93cd5 FIX: Failing to forward a message due to queues being full will also trigger queue overflow 2025-01-29 22:06:33 -03:00
Rodrigo Alfonso
a8382c91eb LinkWireless: Allow sending 0xFFFF, adding heartbeat to clients, fixing a memory access based on a network packet 2025-01-29 11:09:24 -03:00
Rodrigo Alfonso
ffae5ad1e5 README: Stop using fully qualified names in the Return type column 2025-01-28 08:30:40 -03:00
Rodrigo Alfonso
cb9c6e7fd2 Finishing polymorphism between LinkCableMultiboot::Async and LinkWirelessMultiboot::Async 2025-01-28 07:37:40 -03:00
Rodrigo Alfonso
cbfe0b7514 Making LinkWirelessMultiboot::Async faster with a timer, making it polymorphic with LinkCableMultiboot::Async 2025-01-28 07:01:03 -03:00
Rodrigo Alfonso
62583201b8 Fixing LinkPS2Mouse documentation 2025-01-28 04:50:46 -03:00