static (@static_patrick) header
static (@static_patrick) profile picture

actual wizard, part time sonic alchemist, perpetual computer manipulator. https://nitter.gq/t.co/LQ8ollIb8d

back in fucking jersey
Joined July 2013
Photo by static (@static_patrick)Photo by static (@static_patrick)Photo by static (@static_patrick)Photo by static (@static_patrick)Photo by static (@static_patrick)Photo by static (@static_patrick)Photo by static (@static_patrick)Photo by static (@static_patrick)Photo by static (@static_patrick)Photo by static (@static_patrick)
Holy SHIT!!! So I finally stopped hyper-analyzing and obsessing over micro-inefficiencies I was seeing in the SH4 assembly routines within Reshaped's Sonic Adventure 1 Remaster codebase for the Sega Dreamcast... and I just decided to build the goddamn thing and play it already. ...and oh. my. GOD!!! Sonic Adventure 1 is now running mostly at 60FPS (still some dips here and there, though), WITH FREAKING WIDESCREEN SUPPORT? Check out this direct hardware capture! I never thought I'd see my SH4ZAM fast math library for the SH4 contribute to bringing GAINZ to a AAA Sega release like this that I grew up playing, but... here we are. Absolutely incredible. Please support Reshaped's work by following on GitHub and starring the repo! He has done a fantastic job! github.com/reshaped/sonic-ad… EDIT: Yes, this is a repost. My original was uploaded at 30FPS, because... I'm an idiot. MY BAD! 🤣
Well, well, WELL! A buddy of mine is working on a remaster of Sonic Adventure 1 and 2 for the Sega Dreamcast, with SA1 already achieving mostly 60FPS with SH4ZAM acceleration, in addition to offering widescreen support and other goodies... But what's interesting is that while his audacious clanker was clanking away at decompiling Sonic Adventure 2's Ninja-based matrix transform routines from the official Sega development kit, it clanked upon a PARTICULARLY juicy routine... a COMBINED translate, rotate, and scale transform operation, which gets applied to the 4x4 matrix held within the XMTRX FP register the back-bank. The clanker even did one better. It rewrote the routine using INLINE assembly, so as to give the compiler extra context information on register utilization, so that a call to it won't have to pay the entire C ABI's worth of overhead to preserve and manage stack frame around registers that it never even clobbers to begin with. But... the clanker, which had been told to favor SH4ZAM math routines for GAINZ wasn't wanting to listen for this particular transform. SURELY fusing the 3 operations together MUST be faster than applying them individually, with each one swapping the current FP register bank back and forth to operate on the XMTRX regs? So... is the clanker just LARPing here, or is this something that SH4ZAM can't currently compete with? Well, at this point, I've literally done like 3 different passes micro optimizing my XMTRX TRS transform routines. I've also had some homies decompile, reverse engineer, and disassemble AAA Dreamcast games and compare them to mine to see if anything could beat them to find that SH4ZAM beat Shenmue and all the rest... except... ...the only exception was @JBrooksBSI's fucking GENIUS translate routine from World Series Baseball 2k2 that used a single FTRV instruction to do the math of applying a whole-ass 4x4 translation matrix into XMTRX. The rest of the WSB2k2 transform routines tied with mine, but... thankfully John was kind enough to gift SH4ZAM that translate routine and a few other juicy routines (for scalar math approximations, in particlar), which were added to SH4ZAM release v0.10.0. BUT ANYWAY, back to the story. How does a SINGLE fused transform routine from Sonic Adventure 2, which handled all 3 transforms at once, with the whole thing pipelined together, only ever swapping to the back-bank and back a single time, WITH additional clanker GAINZ, compare against SH4ZAM, which... to be honest... has no equivalent fused operation (yet)? ...it's 100% cycle-for-cycle the EXACT same speed (104 clock cycles) as the 3 separately chained SH4ZAM operations are, when the D-cache and I-cache are hot... and it fuckin' LOSES by a single clock cycle when the caches are cold... so basically... applying all 3 separately in SH4ZAM is superior to the single hand-optimized, clanker-LARPed, fused version from Sonic Adventure 2. It's a one clock cycle win, but... GAAAAINZ!!!! So... you can see why I've kind of dragged my feet creating the almighty "single fused TRS transform XMTRX" routine from hell... It's because nothing has beaten just combining my separate routines yet, and doing so is a royal PITA, lmfao. But yeah, fine, I'll get off my ass and see if I can shave a few more cycles off... Surely just doing 4x less FRCHGs for swapping in and out of the back-bank will micro gain...
47
127
5
913
46,502
𝚘𝚞𝚛𝚘𝚋𝚘𝚛𝚘𝚜 🐍🔄
14
132
6
855
12,807
static retweeted
still turning 🖤 regardless & always
6
28
1
170
1,860
人力スクエアプッシャー 現在の様子 #stdrums
3
62
2
469
19,642
static retweeted
The BBC used my Worms (1996) footage. Look ma! I am on the BBC! Would be nice if they source reference me next time though. @BBC
84
291
18
3,550
132,238
static retweeted
3
14
130
2,321
Superscalar x86 on FPGA 🎉 Here's a prototype that eats a LOT of LUTs (~4× DE10-Nano), issues up to 3 instructions a cycle, and runs FastDoom at 51 FPS at 83 MHz. Still buggy and far from optimized. But it runs Doom! Any ideas what we could do with this CPU if it's done?
13
30
161
5,216
static retweeted
‡┼⁕⌑
11
414
7
2,820
32,787
Hideaki Anno once admitted that he basically forgot about Rei while making Evangelion. After her smile at the end of Episode 6, Anno felt that Rei and Shinji had already successfully communicated, and that her character was essentially 'finished' for him. While working on Episode 7, he suddenly remembered Rei existed and added a shot of her. She then doesn’t appear at all in Episode 8.
16
94
22
1,714
46,192
static retweeted
This year saw several attempts at an FPGA 3dfx Voodoo core. In February, I demoed an early build driven by a geometry engine. Now it's the only core on the PCI bus, running the original 3dfx games with the fill rate of the real deal. There were many attempts, but this one's done.
18
79
3
611
17,171
static retweeted
Color could work on #DVD but require some optimization.
6
9
158
2,849
the energy here unmatched
best gif of all time, i used to have a version that was slower and with no text. super scary
73
5,341
52
86,270
958,609
jensen huang reportedly fucked an employee in the ass and didn’t even give him the goddamn common courtesy of a reach around
18
5
1
171
9,090
Some of these vintage Japanese keyboards are crazy. I suppose phonetically typing out stuff in kana and then selecting the proper kanji is a really good use case of touch screens.
6
8
1
122
1,859
static retweeted
Sharing about optics behind the #DVD: We know different codewords diffract differently. But if you want to control color, or create holograms, typical codeword combinations won't be enough. The real secret here is using much longer byte sequences. In my creations, I am currently using at least 81B sequences (to stay in sync with the sync frame every 91B + 2B sync code). Longer sequences give you more control over the energy distribution across the entire spectrum. And that is the power of optical simulation, it is not just for visualization, it is what you use to iterate through all those massive combinations to find the one you want. It really is just brute force, but done elegantly. #optics
6
26
230
6,684
static retweeted
╋╪╫⊹⍡
38
1,358
38
7,830
112,100
> wake up > take a shit > get out of bed > check beep boop > over 9000 DMs > "SCHMEELI, GTA VI LEAK" > ??? > sends link > torrent > ok > look inside > actual assets > huh > squint eyes > look closer > not larp huh, how about that. the cyberleek guy released the full xbox gta 6 build, goop free. only missing launcher .exe for it to fully work, says will drop on 23rd. if it follows thru on his word then ppl can play gta vi on pc on Monday, mod it, etc.
187
703
84
17,890
328,072
😭
7
62
686
8,946
static retweeted
an absence
2
19
1
192
3,960
レンズを通すと生まれる2つのランダムな光の模様、これを重ねると「WATER」という文字が浮かび出る。 金属・ガラス・プラスチックなどの表面に独自の計算アルゴリズムに基づいた微細な3D構造を加工することで、光を屈折・反射させ画像や文字を投影するという技術を持つ、スイス連邦工科大学ローザンヌ校のスピンオフとして設立された光学テクノロジー企業「RayForm」による作品。
17
606
58
3,591
188,384