- Windows std::filesystem https://github.com/Daft-Freak/32blit-beta/tree/std-fs-win
- No-op assert to drop printf https://github.com/Daft-Freak/32blit-beta/tree/patch-1
- Vecn(float ptr) https://github.com/Daft-Freak/32blit-beta/commit/c5ed440decc81ff31b18f56302c00c690e8e6f1f
- Reduce giant HAL clock setup func https://github.com/Daft-Freak/32blit-beta/tree/code-size-hal-hacks
- Hack for non-blit CDC devices https://github.com/Daft-Freak/32blit-beta/commit/16020832a2c5e41f658718ae572f78223d564fb8
- Const USB desc https://github.com/Daft-Freak/32blit-beta/commit/b5494a36202c954ce55f4c6a3ff6e770d9b09455
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Copyright (C) 1997-2014 Sam Lantinga <[email protected]> | |
| This software is provided 'as-is', without any express or implied | |
| warranty. In no event will the authors be held liable for any damages | |
| arising from the use of this software. | |
| Permission is granted to anyone to use this software for any purpose, | |
| including commercial applications, and to alter it and redistribute it | |
| freely. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OBJS = ios-audio.c | |
| OBJ_NAME = "ios-audio" | |
| mac: | |
| mkdir -p builds/native/mac | |
| gcc -Wall -o $(OBJ_NAME) $(OBJS) `sdl2-config --cflags --libs`; | |
| mv $(OBJ_NAME) builds/native/mac | |
| web: | |
| mkdir -p builds/html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2014 The Emscripten Authors. All rights reserved. | |
| * Emscripten is available under two separate licenses, the MIT license and the | |
| * University of Illinois/NCSA Open Source License. Both these licenses can be | |
| * found in the LICENSE file. | |
| */ | |
| /* | |
| THIS WORK, INCLUDING THE SOURCE CODE, DOCUMENTATION | |
| AND RELATED MEDIA AND DATA, IS PLACED INTO THE PUBLIC DOMAIN. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org> | |
| This software is provided 'as-is', without any express or implied | |
| warranty. In no event will the authors be held liable for any damages | |
| arising from the use of this software. | |
| Permission is granted to anyone to use this software for any purpose, | |
| including commercial applications, and to alter it and redistribute it | |
| freely. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 3.0 | |
| ARB_color_buffer_float yes | |
| ARB_depth_buffer_float yes | |
| ARB_half_float_vertex yes | |
| ARB_map_buffer_range yes | |
| ARB_shader_texture_lod yes | |
| ARB_texture_float yes | |
| ARB_texture_rg yes | |
| ARB_texture_compression_rgtc no | |
| EXT_draw_buffers2 yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 32blit configuration - modified from nucleo-h743zi.cfg | |
| source [find interface/stlink.cfg] | |
| transport select hla_swd | |
| set CHIPNAME stm32h750vbz | |
| # enable stmqspi | |
| if {![info exists QUADSPI]} { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function unpackImage(buf) { | |
| const bytes = new Uint8Array(buf); | |
| const byteCount = new Uint32Array(buf.slice(8, 12))[0]; | |
| const width = bytes[12] | (bytes[13] << 8); | |
| const height = bytes[14] | (bytes[15] << 8); | |
| const format = bytes[16]; | |
| const paletteEntryCount = bytes[17]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // input gpio | |
| #define BUTTON_LEFT_PIN -1 | |
| #define BUTTON_RIGHT_PIN -1 | |
| #define BUTTON_UP_PIN -1 | |
| #define BUTTON_DOWN_PIN -1 | |
| #define BUTTON_A_PIN -1 | |
| #define BUTTON_B_PIN -1 | |
| #define BUTTON_X_PIN -1 | |
| #define BUTTON_Y_PIN -1 | |
| #define BUTTON_MENU_PIN -1 |