No description
  • C 90.3%
  • Assembly 8%
  • C++ 0.8%
  • CMake 0.7%
  • PHP 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tanpang-dev 81b75e314d
twlwifi: size the WPA/RSN IE buffer for the largest possible IE (#7)
s_wpaIeBuf was 0x20 bytes, but an RSN/WPA IE can be up to
sizeof(WlanIeHdr) + 0xFF (the length field is one byte). When an AP
advertised a longer IE, _twlwifiOnAssoc() set ie_len = 0, so no IE was
echoed in the EAPOL reply and the WPA2 4-way handshake failed.

Size the buffer for the worst case so any valid IE always fits.
2026-06-08 18:06:24 +02:00
docs Add SPDX header to source code files 2024-11-09 21:50:48 +01:00
include Synchronize threading code with tuxedo 2026-02-18 20:42:22 +01:00
share Changes for devkitARM r64 (gcc 14.1.0) 2024-05-11 15:53:12 +02:00
source twlwifi: size the WPA/RSN IE buffer for the largest possible IE (#7) 2026-06-08 18:06:24 +02:00
.gitignore Initial Doxygen skeleton 2024-05-12 02:15:05 +02:00
Catnip.cmake Adapt to latest dkP CMake changes 2023-04-16 17:16:57 +02:00
CMakeLists.txt Add definitions/utilities for the DSi autoload section (aka TLNC) 2024-01-11 19:47:20 +01:00
COPYING Add COPYING 2024-01-13 19:34:00 +01:00
README.md Initial Doxygen skeleton 2024-05-12 02:15:05 +02:00

calico

Calico is a system support library currently focused on the Nintendo DS(i). It provides operating system-like facilities for homebrew applications, and serves as a new foundation for libnds (and DS homebrew in general). Its main features include:

  • Multitasking system, providing threads (inspired by Horizon). Scheduling is preemptive and based on multiple priority levels, similar to real-time operating systems.
  • Synchronization primitives: mutex, condition variable, mailbox.
  • Interrupt and timed event handling.
  • Low-level support bits for integration with devkitARM (crt0, linker scripts, syscall implementations).
  • Message passing between the two processors (ARM9 and ARM7).
  • New device drivers for ARM7 peripherals, with programming interfaces accessible from the ARM9:
    • Power management, including sleep mode and application lifecycle management
    • Touch screen (both DS mode and DSi mode)
    • Real-time clock
    • Audio and microphone
    • Storage devices, including DLDI and DSi SD/eMMC
    • Wireless communications (Mitsumi/NDS and Atheros/DSi)