more threads reviewed

This commit is contained in:
ed committed 2026-08-24 00:17:57 -04:00
1 parent 9bfb0f9f55
commit 8f368b0dc3
5 files changed
+49 -94

No files matched your search

@@ -7,8 +7,8 @@ author: "Wouter van Oortmerssen"
handle: wvo
post_id: "1651282559287042048"
date: 2023-04-26
archived: 2026-08-23
draft: true
archived: 2026-08-24
draft: false
tags:
- archive
- twitter
@@ -7,8 +7,8 @@ author: "NOTimothyLottes"
handle: NOTimothyLottes
post_id: "1651268028795961344"
date: 2023-04-26
archived: 2026-08-23
draft: false
archived: 2026-08-24
draft: true
tags:
- archive
- twitter
@@ -1,30 +1,66 @@
---
title: "For anyone tuning in now, SPC is kind of like a Pico8, but instead of being a portable fantasy console, SPC turns the Steam Deck into an actual console for exclusive GPU assembly projects."
title: "SPC: Left off with KEY and GAMEPAD input GPU-accessable."
type: archive
source: twitter
source_url: "https://x.com/NOTimothyLottes/status/1687257354490818561"
source_url: "https://x.com/NOTimothyLottes/status/1687250591813079041"
author: "NOTimothyLottes"
handle: NOTimothyLottes
post_id: "1687257354490818561"
date: 2023-08-04
archived: 2026-08-23
draft: true
post_id: "1687250591813079041"
date: 2023-08-03
archived: 2026-08-24
draft: false
tags:
- archive
- twitter
- NOTimothyLottes
description: "For anyone tuning in now, SPC is kind of like a Pico8, but instead of being a portable fantasy console, SPC turns the Steam Deck into an actual console for exclusive GPU assembly projects."
description: "SPC: Left off with KEY and GAMEPAD input GPU-accessable."
in_reply_to: ""
---
## Source
- URL: https://x.com/NOTimothyLottes/status/1687257354490818561
- URL: https://x.com/NOTimothyLottes/status/1687250591813079041
- Author: NOTimothyLottes (@NOTimothyLottes)
- Posted: 2023-08-04 00:21:15
- Posted: 2023-08-03 23:54:23
## Thread
**1/**
SPC: Left off with KEY and GAMEPAD input GPU-accessable. NOP design, no functions, no API, just a fixed VA address and data format to read, dead easy.
![](https://files.catbox.moe/byezmh.jpg)
![](https://files.catbox.moe/ds4l0q.jpg)
**2/**
Wrote some console data dumping to aid in bringing up HID parsers for Deck and three generations of PlayStation controllers. Apparently XBox controllers aren't HIDs so not sure how one is supposed to access those.
![](https://files.catbox.moe/rqfysy.jpg)
![](https://files.catbox.moe/178u4a.jpg)
**3/**
Supporting hot plug was a bit of a mess, just trying to open devices every second. Adding open devices to an epoll. {Product, vendor} isn't enough to ID a device, too much aliasing, so I use packet size as well.
![](https://files.catbox.moe/o49sqe.jpg)
**4/**
Open devices with matching packet size get set in a bit array, and I collect up to 4 of those device outputs to sent to the GPU. Special logic to always place Steam Deck controls last to make docking work well.
![](https://files.catbox.moe/9onk7u.jpg)
**5/**
I'll have to tackle audio at some point, but I'm skipping networking for version 1. But otherwise SPC is good to move on to the next step, which is to build out the GPU side assembler & data editor. Which will be written in binary at first.
**6/**
Project is roughly 2000 lines of C at this point. With no includes. Anyone have any suggestions for hosting let me know. Source will be released.
**7/**
For anyone tuning in now, SPC is kind of like a Pico8, but instead of being a portable fantasy console, SPC turns the Steam Deck into an actual console for exclusive GPU assembly projects. The way consoles had been done before silly portability became the only focus.
-78
View File
@@ -9,82 +9,4 @@ tags:
- NOTimothyLottes
---
- [[archive/threads/NOTimothyLottes/2022-11-04-vulkan-1500-lines-of-overhead-including-header]]
- [[archive/threads/NOTimothyLottes/2022-11-05-19-GPU-Programming-Tip-Line-Thread]]
- [[archive/threads/NOTimothyLottes/2022-11-08-example-of-bind-everything-once-layout-aliasing]]
- [[archive/threads/NOTimothyLottes/2022-11-09-if-only-pc-vendors-with-open-isas-amd-intel-would]]
- [[archive/threads/NOTimothyLottes/2022-11-13-my-prefered-method-of-managing-application-data]]
- [[archive/threads/NOTimothyLottes/2022-11-30-explicit-packed-16-bit-code-fsr1-example-https]]
- [[archive/threads/NOTimothyLottes/2023-04-26-can-make-a-custom-forth-to-binary-in-a-few-k]]
- [[archive/threads/NOTimothyLottes/2023-06-30-nothing-oriented-programming-nop-where-the-goal]]
- [[archive/threads/NOTimothyLottes/2023-08-03-spc-using-8-deep-swap-all-aliasing-same-bo-image]]
- [[archive/threads/NOTimothyLottes/2023-08-04-for-anyone-tuning-in-now-spc-is-kind-of-like-a]]
- [[archive/threads/NOTimothyLottes/2023-08-06-the-next-challenge-is-overscan-safety-since-real]]
- [[archive/threads/NOTimothyLottes/2023-08-06-yeah-perhaps-wildly-alien-but-for-those-who-grew]]
- [[archive/threads/NOTimothyLottes/2023-08-07-crt-emulation-on-lcds-can-be-hard-for-example-its]]
- [[archive/threads/NOTimothyLottes/2023-08-18-spc-last-crt-shader-was-broken-corrected-it-its]]
- [[archive/threads/NOTimothyLottes/2023-08-18-the-subpix-version-is-definitely-better-because]]
- [[archive/threads/NOTimothyLottes/2023-12-15-long-thread]]
- [[archive/threads/NOTimothyLottes/2023-12-16-if-there-is-anything-to-learn-for-programming-it]]
- [[archive/threads/NOTimothyLottes/2023-12-19-multi-session-is-nice-since-the-binary-auto]]
- [[archive/threads/NOTimothyLottes/2024-02-13-once-upon-a-time-not-up-any-more-lots-of-color]]
- [[archive/threads/NOTimothyLottes/2024-04-06-on-https-mastodon-gamedev-place-notimothylottes]]
- [[archive/threads/NOTimothyLottes/2024-05-04-it-was-only-later-when-systems-forced-c-abi]]
- [[archive/threads/NOTimothyLottes/2024-11-16-that-line-of-thinking-is-universal-solution-to]]
- [[archive/threads/NOTimothyLottes/2024-11-19-after-vk-device-is-open-i-signal-a-background]]
- [[archive/threads/NOTimothyLottes/2024-11-21-32-oh-damn-32-should-probably-stop-now-until-next]]
- [[archive/threads/NOTimothyLottes/2024-12-15-texel-buffer-is-needed-for-whatever-formats-one]]
- [[archive/threads/NOTimothyLottes/2024-12-16-also-i-wouldnt-just-modify-an-existing-compiler]]
- [[archive/threads/NOTimothyLottes/2024-12-16-then-there-are-rough-edges-to-texel-buffer]]
- [[archive/threads/NOTimothyLottes/2024-12-21-not-sure-if-this-is-the-end-of-this-story-yet-but]]
- [[archive/threads/NOTimothyLottes/2025-04-30-3-i-got-side-tracked-by-building-a-language-that]]
- [[archive/threads/NOTimothyLottes/2025-04-30-i-laugh-when-people-say-c-is-like-assembly-they]]
- [[archive/threads/NOTimothyLottes/2025-06-29-many-of-my-forth-like-languages-worked-via-nested]]
- [[archive/threads/NOTimothyLottes/2025-07-23-i-dont-use-standard-c-libs-or-anything-like-that]]
- [[archive/threads/NOTimothyLottes/2025-07-31-people-claim-assembly-is-hard-a-good-counter-to]]
- [[archive/threads/NOTimothyLottes/2025-08-01-also-run-from-gpu-side-editing-tools-for-shader]]
- [[archive/threads/NOTimothyLottes/2025-08-02-so-far-the-plan-is-to-have-the-data-read-write]]
- [[archive/threads/NOTimothyLottes/2025-11-17-i-wish-everyone-would-just-adopt-reversed-with]]
- [[archive/threads/NOTimothyLottes/2026-01-14-can-do-that-but-at-least-these-kinds-of-systems]]
- [[archive/threads/NOTimothyLottes/2026-03-08-ill-add-one-conspiracy-theory-for-everyone]]
- [[archive/threads/NOTimothyLottes/2026-05-23-most-crap-o-grammers-today-in-the-user-space-c]]
- [[archive/threads/NOTimothyLottes/2026-05-29-https-trickybitsblog-github-io-2024-02-25]]
- [[archive/threads/NOTimothyLottes/2026-05-30-renovating-cpu-clock-code-im-assuming-x86-64-tsc]]
- [[archive/threads/NOTimothyLottes/2026-05-31-hits-the-easy-to-debug-cpu-or-gpu-stuff-in-the]]
- [[archive/threads/NOTimothyLottes/2026-05-31-no-debugger-debug-console-printf-style-prior]]
- [[archive/threads/NOTimothyLottes/2026-06-01-that-plus-an-oscilloscope-this-is-the-way]]
- [[archive/threads/NOTimothyLottes/2026-06-01-windows-thread-priority]]
- [[archive/threads/NOTimothyLottes/2026-06-02-for-windows-trying-to-standardize-on-highest]]
- [[archive/threads/NOTimothyLottes/2026-06-02-its-unfortunate-there-isnt-an-easy-way-to-map-the]]
- [[archive/threads/NOTimothyLottes/2026-06-03-back-running-640x480-on-my-vga-crts-to-prep-for]]
- [[archive/threads/NOTimothyLottes/2026-06-10-steamos-init]]
- [[archive/threads/NOTimothyLottes/2026-06-13-cross-compilation-is-up-just-like-on-windows-with]]
- [[archive/threads/NOTimothyLottes/2026-06-13-nanorc-done-and-back-to-actual-programming-with]]
- [[archive/threads/NOTimothyLottes/2026-06-13-the-glibc-implementation-would-do-that-i-bypass]]
- [[archive/threads/NOTimothyLottes/2026-06-14-on-linux-i-do-speculative-pinning-of-cpu-memory]]
- [[archive/threads/NOTimothyLottes/2026-06-26-quick-summary-of-why-not-pselect-ppoll-epoll]]
- [[archive/threads/NOTimothyLottes/2026-06-27-deterrent-to-alsa-is-just-parsing-through-snd-pcm]]
- [[archive/threads/NOTimothyLottes/2026-06-29-alsa-hell-month-continues-remember-it-might-be]]
- [[archive/threads/NOTimothyLottes/2026-06-29-eventually-figure-out-enough-to-get-aplay-to]]
- [[archive/threads/NOTimothyLottes/2026-06-30-working-on-the-linux-thread-priority-code-linux]]
- [[archive/threads/NOTimothyLottes/2026-07-01-did-manage-to-get-alsa-to-function-without-sndrv]]
- [[archive/threads/NOTimothyLottes/2026-07-01-haha-damn-i-thought-i-had-a-great-idea-for-wine]]
- [[archive/threads/NOTimothyLottes/2026-07-01-linux-by-default-doesnt-allow-any-increase-in]]
- [[archive/threads/NOTimothyLottes/2026-07-02-settings-im-using-for-snd-pcm-sw-params-for-alsa]]
- [[archive/threads/NOTimothyLottes/2026-07-02-yuck-starting-on-wdm-ks-audio-interface-for-win32]]
- [[archive/threads/NOTimothyLottes/2026-07-03-following-the-succession-thanks-of-re-trying]]
- [[archive/threads/NOTimothyLottes/2026-07-03-so-instead-of-the-massive-mmdeviceapi-h-mess-ware]]
- [[archive/threads/NOTimothyLottes/2026-07-04-wines-iaudioclient-getdeviceperiod-returns-53333]]
- [[archive/threads/NOTimothyLottes/2026-07-06-vulkan-starts-with-the-ping-pong-between-getting]]
- [[archive/threads/NOTimothyLottes/2026-07-08-next-pre-device-opening-activity-is-choosing]]
- [[archive/threads/NOTimothyLottes/2026-07-10-oh-i-probably-have-a-lot-to-learn-here-building]]
- [[archive/threads/NOTimothyLottes/2026-07-11-rethinking-vulkan-queue-choice-traditional-double]]
- [[archive/threads/NOTimothyLottes/2026-07-13-another-quality-of-life-change-exit-with-error]]
- [[archive/threads/NOTimothyLottes/2026-07-14-example-usage-after-clean-up]]
- [[archive/threads/NOTimothyLottes/2026-07-14-so-i-can-liter-error-checks-around-stuff-with]]
- [[archive/threads/NOTimothyLottes/2026-07-15-sar-on-a-control-word-can-in-theory-grab-3-values]]
- [[archive/threads/NOTimothyLottes/2026-07-17-oh-f-it-the-urge-to-drop-the-c-baggage-was-too]]
- [[archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most]]
- [[archive/threads/NOTimothyLottes/2026-07-19-the-aim-of-course-keep-the-stuff-that-doesnt-need]]
- [[archive/threads/NOTimothyLottes/2026-07-22-a-language-that-you-author-in-a-compressed-space]]
- [[archive/threads/NOTimothyLottes/2026-08-02-re-fpga-land-alus-im-firmly-distracted-by-an]]
-3
View File
@@ -14,6 +14,3 @@ How to read a folder: [[notes/How threads are organized]].
Example of the note shape (single spine, no branches): [[archive/threads/How to archive a thread]]
- [[archive/threads/NOTimothyLottes]]
- [[archive/threads/VPCOMPRESSB]]
- [[archive/threads/VictorTaelin]]
- [[archive/threads/winning_tactic]]