OS based on Ubuntu 22.04 with kernel 4.9. Maybe a little old...
Linux rootfs has a copy of qemu-user-static
, seems they want me to chroot into it.
sudo mkdir /mnt/rg35xx
// 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 |
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]; |
# 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]} { |
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 |
/* | |
Copyright (C) 1997-2017 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. |
/* | |
* 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. |
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 |
/* | |
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. |