2.5 KiB
← Back to Twitter thread index
title: "For anyone tuning in now, SPC is kind of like a Pico8, but instead of being a po" author: "NOTimothyLottes" handle: "@NOTimothyLottes" post_url: "https://x.com/NOTimothyLottes/status/1687257354490818561" post_id: "1687257354490818561" timestamp: "2023-08-04 00:21:15" post_count: 7 reply_count: 0 repost_count: 0 like_count: 5 view_count: 415
@NOTimothyLottes — For anyone tuning in now, SPC is kind of like a Pico8, but instead of being a po
Post 1 (2023-08-03 23:54:23)
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.
Post 2 (2023-08-03 23:58:52) — reply to Post 1
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.
Post 3 (2023-08-04 00:03:13) — reply to Post 2
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.
Post 4 (2023-08-04 00:05:43) — reply to Post 3
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.
Post 5 (2023-08-04 00:09:57) — reply to Post 4
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.
Post 6 (2023-08-04 00:14:04) — reply to Post 5
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.
Post 7 (2023-08-04 00:21:15) — reply to Post 6
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.





