Whole-known-network
<p>I'm an idiot, this isn't a driver check... it's an argv check! </p><p>you can pass "ega" or "vga" or whatever to carmen.exe to select those types.</p>
<p>stdsnd is pc speaker, <br />adlib is adlib, covox is the speech thing, gblast is game blaster, most likely, ibmg is... I'm not sure. The PS-1 Audio card?</p><p>sblash is soundblaster and tandy is tandy 3-voice</p>
<p>Anyway it seems it doesn't have a VideoDetect function, it's a DriverDetect function, since it's used for sound too.</p><p>First it goes through the video drivers in the following order:<br />VGA, TGA, EGA, HGA, HERC, and CGA. <br />Then it goes into the audio drivers:</p><p>stdsnd, adlib, covox, gblast, ibmg, sblast, tandy.</p>
<p>similar things in the test.com file. I moved stuff around in the memory map and it's not erroring now. I've probably created endless glitches elsewhere though</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@film_girl" class="u-url mention">@<span>film_girl</span></a></span> Whoa! Congrats. Sounds like a lot of fun.</p>
<p>I might have to make a NASM test case. This could be Ghidra fucking up at decoding this one instruction</p>
<p>We need more JOMO. </p><p><a href="https://chow.fan/tags/jomo" class="mention hashtag" rel="tag">#<span>jomo</span></a> <a href="https://chow.fan/tags/joy" class="mention hashtag" rel="tag">#<span>joy</span></a> <a href="https://chow.fan/tags/happiness" class="mention hashtag" rel="tag">#<span>happiness</span></a> <a href="https://chow.fan/tags/content" class="mention hashtag" rel="tag">#<span>content</span></a> <a href="https://chow.fan/tags/selfCare" class="mention hashtag" rel="tag">#<span>selfCare</span></a></p>
<p>I think this saves one byte?<br />a call FAR absolute would be 5 bytes for the call, whereas push CS + call NEAR is 3+1 bytes</p>
<p>eww. They're using the NEAR version of CALL to call a FAR procedure. </p><p>You might say "wait, won't that break when it tries to do RETF?" and yes, it would, unless they manually do PUSH CS before they call it!</p>