Whole-known-network
<p>this set_palette code got loaded into the segment 0BBC, one of the only 16-bit DOS segments marked red in shinigami eyes</p>
<p>(approximately 1536 times)</p>
<p>or maybe not? it's too 2am to tell.</p><p>ANYWAY I'm currently debugging through a function that's 256 palette entry uploads and my debugger has no "run until return" function so I have to manually hit next instruction SO MANY TIMES</p>
<p>ahh, nope! I misidentified it.<br />the second parameter on set_palette is how many frames to set it for. <br />The same palette gets set. </p><p>it vsyncs every time so this is a set_palette that's also a timing function</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@gamingonlinux" class="u-url mention">@<span>gamingonlinux</span></a></span> </p><p>Oh, this gets my brain accelerating at a pace I am not comfortable with... 🤣</p>
<p>"hey ghidra what calls set_palette?"</p><p>"I don't know! you're in 16bit segmented mode! pointers are MEANINGLESS</p>
<p>oh that's cute. their set_palette function takes two arguments: a pointer to the palette, and a number of extra palettes to apply. </p><p>so they could set up an array of palettes in decreasing brightness, and just do set_palette(&fade_pallets[0], 64) to go through them.</p><p>but the same function is a regular one-time set_palette if you just pass 1 for the second argument.</p>
<p>Death has a cute little pig companion in action-adventure Spindle - check out the new trailer <a href="https://www.gamingonlinux.com/2024/11/death-has-a-cute-little-pig-companion-in-action-adventure-spindle-check-out-the-new-trailer/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">gamingonlinux.com/2024/11/deat</span><span class="invisible">h-has-a-cute-little-pig-companion-in-action-adventure-spindle-check-out-the-new-trailer/</span></a></p><p><a href="https://mastodon.social/tags/Linux" class="mention hashtag" rel="tag">#<span>Linux</span></a> <a href="https://mastodon.social/tags/LinuxGaming" class="mention hashtag" rel="tag">#<span>LinuxGaming</span></a> <a href="https://mastodon.social/tags/PCGaming" class="mention hashtag" rel="tag">#<span>PCGaming</span></a></p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@gamingonlinux" class="u-url mention">@<span>gamingonlinux</span></a></span> <br />Tinnitus911 Now - #1 Weird Trick To End Tinnitus This Thanksgiving In Just 30 Seconds A Day</p><p>Get Offer - <a href="https://shorturl.at/6n4V0" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">shorturl.at/6n4V0</span><span class="invisible"></span></a></p>