From 2a06cddbe3c8afa3ea78306efaf4725b63e330af Mon Sep 17 00:00:00 2001 From: dekuNukem Date: Wed, 28 Jan 2026 19:58:03 +0000 Subject: [PATCH] updated requirments.txt --- src/requirements.txt | 4 +- src/test/dpds_stdlib_1767972735.txt | 154 ---------------------------- 2 files changed, 2 insertions(+), 156 deletions(-) delete mode 100644 src/test/dpds_stdlib_1767972735.txt diff --git a/src/requirements.txt b/src/requirements.txt index 2d7ffa5..34226ae 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -1,5 +1,5 @@ platformdirs hidapi -pywin32 ; sys_platform == 'win32' psutil -pyinstaller \ No newline at end of file +pyinstaller +requests diff --git a/src/test/dpds_stdlib_1767972735.txt b/src/test/dpds_stdlib_1767972735.txt deleted file mode 100644 index d6d4898..0000000 --- a/src/test/dpds_stdlib_1767972735.txt +++ /dev/null @@ -1,154 +0,0 @@ -// duckyPad duckyScript Standard Library -// https://github.com/duckyPad/DPDS-Standard-Library - -// Comment Template: -// -------------------- -REM_BLOCK - Author: - dekuNukem - Description: - What does it do, how to use. - Args: - If any - Returns: - If any - Additional Notes: - If any -END_REM -// define func here - -// -------------------- -REM_BLOCK - Author: - dekuNukem - Description: - Waits for a specific key to be pressed - Any other keypresses are ignored - Args: - key_id: The ID of the key to wait for (1-20 for keys, etc). - Returns: - None - Additional Notes: - None -END_REM -FUN WAITKEY(key_id) - BCLR - WHILE 1 - IF _BLOCKING_READKEY == key_id - RETURN - END_IF - END_WHILE -END_FUN - -// -------------------- -REM_BLOCK - Author: - dekuNukem - Description: - Fills a block of memory with byte value - Args: - addr: Starting address - value: Byte value (0-255) to write. - length: Number of bytes to write. - Returns: - None - Additional Notes: - Address should be within scratch memory -END_REM -FUN MEMSET(addr, value, length) - VAR i = 0 - WHILE i < length - POKE8(addr + i, value) - i = i + 1 - END_WHILE -END_FUN - -// -------------------- -REM_BLOCK - Author: - dekuNukem - Description: - Returns the smaller of two numbers. - Args: - a: First number - b: Second number - Returns: - The smaller value between a and b. - Additional Notes: - Result is affected by the current _UNSIGNED_MATH mode. -END_REM -FUN MIN(a, b) - IF a < b - RETURN a - END_IF - RETURN b -END_FUN - -// -------------------- -REM_BLOCK - Author: - dekuNukem - Description: - Returns the larger of two numbers. - Args: - a: First number - b: Second number - Returns: - The larger value between a and b. - Additional Notes: - Result is affected by the current _UNSIGNED_MATH mode. -END_REM -FUN MAX(a, b) - IF a > b - RETURN a - END_IF - RETURN b -END_FUN - -// -------------------- -REM_BLOCK - Author: - dekuNukem - Description: - Returns the absolute (positive) value of a number. - Args: - n: The input integer. - Returns: - The absolute value of n. - Additional Notes: - Works with both math modes -END_REM -FUN ABS(n) - IF _UNSIGNED_MATH == 1 - RETURN n - END_IF - - IF n < 0 - RETURN n * -1 - END_IF - - RETURN n -END_FUN - -// -------------------- -REM_BLOCK - Author: - dekuNukem - Description: - Copies n bytes starting from address `src` to address `dest` - Args: - dest: Destination memory address - src: Source memory address - n: Number of bytes to copy - Returns: - None - Additional Notes: - Does NOT handle overlapping memory regions. -END_REM -FUN MEMCPY(dest, src, n) - VAR i = 0 - WHILE i < n - POKE8(dest + i, PEEK8(src + i)) - i += 1 - END_WHILE -END_FUN \ No newline at end of file