Whole-known-network
<p>anyone who asks an LLM is instantly disqualified and also loses my respect.</p>
<p>one hundred internet points if you can successfully guess what this circuit does, and how.</p><p>three hints:</p><p>1: it's pretty weird.</p><p>2. the inputs and outputs are no more than a couple tens of kilohertz (and are not a fixed frequency - the values shown in the sim below are arbitrary)</p><p>3: it only works in a real circuit and if you simulate this you will not see it doing the weird thing.</p><p>UPDATE: we have a winner. solution is here: <a href="https://chaos.social/@gsuberland/113921571918206983" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">chaos.social/@gsuberland/11392</span><span class="invisible">1571918206983</span></a></p>
<p>oh thank god, that was a bit of confusion from manually tracking stack frames.<br />it actually LoadDatFile, which makes a HELL of a lot more sense</p>
<p>what the fuck do you mean that carmen.dat is opened on the first call to finish_draw_maybe()? </p><p>like, I know there's a "maybe" in that name, but it's not THAT big of a maybe.</p>
<p>looking it up took less than 10 seconds, but that's 10 seconds I'll never get back.</p>
<p>ahh, now that I've looked it up, it seems I was wrong! <br />closing isn't 3D, that's 3E! 3D is open! </p><p>no wonder I couldn't remember it, I had it confused with another call</p>
<p>man, running on 4 hours of sleep is killing me.<br />I can't even remember the MS-DOS interrupt to open a file! </p><p>I know reading it is int 21 ah=3f, closing it is int 21 ah=3d, and I'll never forget that seeking is int 21 ah=42, but how do you open a file?<br />I mean, not the int 21 ax=6c00 way, that one is only for DOS 4.0+, and obviously a game released in 1990 isn't gonna use that.</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@gamingonlinux" class="u-url mention">@<span>gamingonlinux</span></a></span> what about meta?</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@mcc" class="u-url mention">@<span>mcc</span></a></span> <br />Yeah, I think I've seen folks use client-side git hooks for similar situations. I'll try to remember details and see if I can find an example tomorrow.</p>