med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

343
active users

#letscode

0 posts0 participants0 posts today
root42<p>New video: Let's Code MS DOS 0x31: ANSI C Data Types</p><p>The C programming language has only few builtin data types. But for a beginner those can be a bit confusing. So we will have a look at what data types are offered, and what kind of new datatypes you can build with C. </p><p><a href="https://youtu.be/e200YdGUTDI" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/e200YdGUTDI</span><span class="invisible"></span></a><br><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/ansic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ansic</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
root42<p>Save the date: Another Let's Code Livestream this Sunday, 20th July, 20:00 CEST, 18:00 UTC!<br>More amateur 6502 hacking, to optimize the Infocom interpreter for the Commodore PET!<br><a href="https://youtube.com/live/Ywp51hY5GDo" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtube.com/live/Ywp51hY5GDo</span><span class="invisible"></span></a><br><a href="https://chaos.social/tags/infocom" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>infocom</span></a> <a href="https://chaos.social/tags/interactivefiction" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>interactivefiction</span></a> <a href="https://chaos.social/tags/commodore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodore</span></a> <a href="https://chaos.social/tags/commodorePET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodorePET</span></a> <a href="https://chaos.social/tags/retrogaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrogaming</span></a> <a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a></p>
root42<p>New video: Let's Code MS DOS 0x30: VGA 3D Textmode</p><p>The EGA and VGA card can do a lot of magic tricks in textmode. This time we will investigate how you can draw a rotating 3D cube overlayed on normal text by utilising the EGA/VGA feature of a second character set.</p><p><a href="https://youtu.be/4hrVpFY43bY" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/4hrVpFY43bY</span><span class="invisible"></span></a><br><a href="https://makertube.net/w/vyeR1JSA7p4TmfSbBkyFWG" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">makertube.net/w/vyeR1JSA7p4Tmf</span><span class="invisible">SbBkyFWG</span></a></p><p><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a> <a href="https://chaos.social/tags/demoscene" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>demoscene</span></a></p>
root42<p>New video for Patrons: Let's Code MS DOS 0x30: VGA 3D Textmode</p><p>The EGA and VGA card can do a lot of magic tricks in textmode. This time we will investigate how you can draw a rotating 3D cube overlayed on normal text by utilising the EGA/VGA feature of a second character set.</p><p><a href="https://www.patreon.com/posts/lets-code-ms-dos-133527708?utm_medium=clipboard_copy&amp;utm_source=copyLink&amp;utm_campaign=postshare_creator&amp;utm_content=join_link" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">patreon.com/posts/lets-code-ms</span><span class="invisible">-dos-133527708?utm_medium=clipboard_copy&amp;utm_source=copyLink&amp;utm_campaign=postshare_creator&amp;utm_content=join_link</span></a></p><p><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
root42<p>This is not enough information and slightly incorrect, Mr. Ferraro! The selected maps go in BL, but how? And if two maps are active, you can choose from 512 characters!<br><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
root42<p>You want to know how to code a game for the Commodore PET, one of the first personal computers from 1977?</p><p>Let's Code Commodore PET 0x02: Snakes on a PET<br><a href="https://youtu.be/UxZhvHx9nsY" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/UxZhvHx9nsY</span><span class="invisible"></span></a> <br><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/commodore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodore</span></a> <a href="https://chaos.social/tags/commodorePET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodorePET</span></a></p>
root42<p>New video for Patrons:</p><p>Let's Code Commodore PET 0x02: Snakes on a PET</p><p>For all tiers, even free one, so join up!</p><p><a href="https://www.patreon.com/posts/lets-code-pet-on-124642896?utm_medium=clipboard_copy&amp;utm_source=copyLink&amp;utm_campaign=postshare_creator&amp;utm_content=join_link" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">patreon.com/posts/lets-code-pe</span><span class="invisible">t-on-124642896?utm_medium=clipboard_copy&amp;utm_source=copyLink&amp;utm_campaign=postshare_creator&amp;utm_content=join_link</span></a><br><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/commodore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodore</span></a> <a href="https://chaos.social/tags/commodorePET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodorePET</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
root42<p>New video:</p><p>Let's Code Commodore PET 0x01: Hello World!</p><p><a href="https://youtu.be/OEsn-lh_as8" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/OEsn-lh_as8</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/commodore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodore</span></a> <a href="https://chaos.social/tags/commodorePET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodorePET</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
root42<p>New video: Let's Code MS DOS 0x2E: VGA Redefinable Charsets</p><p>The EGA and VGA cards support custom or redefinable character sets. Those can be used to add characters from languages not covered by the original ROMs on the card, but can also be used to aid in drawing shapes in text mode. We will use this feature to port our VGA plasma effect from graphics to text mode.</p><p><a href="https://youtu.be/1fSYzl5UaOY" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/1fSYzl5UaOY</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a> <a href="https://chaos.social/tags/demoscene" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>demoscene</span></a></p>
root42<p>Since YouTube screwed up my publication of the latest video, here is a new Video!</p><p>Let's Code MS DOS 0x2D: L-System XMas</p><p><a href="https://youtu.be/gTpYiTdJY3k" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/gTpYiTdJY3k</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a> <a href="https://chaos.social/tags/demoscene" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>demoscene</span></a></p>
root42<p>Hm, I think Turbo C 2.01 has a very tricky, and VERY ancient bug. The intr() function from &lt;dos.h&gt; header SHOULD be able to pass ES:BP pointers to interrupts. However I think it doesn't. Using this gives garbage (or probably: the stack pointer) to the interrupt vector instead. I wonder if this could be patched...? How hard can it be to disassemble the .lib files?<br><a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a> <a href="https://chaos.social/tags/turboc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>turboc</span></a> <a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a></p>
root42<p>Did you already see my latest MS DOS Let’s Code video? It’s about a bit of an optical illusion:<br><a href="https://youtu.be/LFuWodYlX1U" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/LFuWodYlX1U</span><span class="invisible"></span></a><br><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
root42<p>Do you remember Second Reality by Future Crew? I have teo <a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> videos where I explain two of the effects shown off in the demo:</p><p>Let's Code MS DOS 0x23: 2nd Reality Lens Effect<br><a href="https://youtu.be/7Lf4Z5YYbtU" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/7Lf4Z5YYbtU</span><span class="invisible"></span></a></p><p>Let's Code MS DOS 0x22: 2nd Reality Tunnel Effect<br><a href="https://youtu.be/ybdkp3lIFIs" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/ybdkp3lIFIs</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/demoscene" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>demoscene</span></a></p>
root42<p>New video:<br>Let's Code MS DOS 0x28: Expanded Memory EMS</p><p>The original IBM PC and MS DOS could — for the most part — only access 640KB of memory. The LIM EMS standard was at first a standard for RAM expansion cards to overcome this limit. Today we learn how to utilize EMS memory to play back an animation that is too large for conventional memory.</p><p><a href="https://youtu.be/QS060vSzWLY" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/QS060vSzWLY</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
root42<p>New video for Patrons and Channel Supporters!<br>Let’s Code MS DOS 0x27: AdLib OPL2 Melodic Programming<br><a href="https://www.patreon.com/posts/lets-code-ms-dos-99197176?utm_medium=clipboard_copy&amp;utm_source=copyLink&amp;utm_campaign=postshare_creator&amp;utm_content=join_link" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">patreon.com/posts/lets-code-ms</span><span class="invisible">-dos-99197176?utm_medium=clipboard_copy&amp;utm_source=copyLink&amp;utm_campaign=postshare_creator&amp;utm_content=join_link</span></a><br><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a> <a href="https://chaos.social/tags/opl2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opl2</span></a></p>
root42<p>The Yamaha <a href="https://chaos.social/tags/opl2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opl2</span></a> is documented to have an ADSR curve where the key off triggers the release phase, as shown in the picture. However my tests using DOSBox show that the key off doesn't matter at all. It seems release is triggered as soon as decay phase is done. Is there a trick or another register that controls this behavior?<br><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
root42<p>New video: Let's Code MS DOS 0x26: AdLib Drum Machine</p><p>Programming the OPL2 FM chip on the original AdLib card can be a bit tedious. Join me in this episode to learn how to program the drums on the AdLib card to create a simple sequencer or drum machine. In the future we will also look at the melodic instruments, but for now we try to create some nice percussion!</p><p><a href="https://youtu.be/kP2B9a7Btpk" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/kP2B9a7Btpk</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/opl2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opl2</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
root42<p>Let's Code MS DOS 0x25: A Cozy BASIC Christmas</p><p>As is tradition for the Holiday Season on this channel, we will code a little Christmas themed thing in PowerBasic for MS DOS. Grab your copy of PB 3.20 and follow along as we learn how to load a 256 color PCX image and place a nice, cozy fire in there!</p><p><a href="https://youtu.be/xm5P5RhJxxk" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/xm5P5RhJxxk</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/powerbasic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>powerbasic</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
root42<p>There will be a <a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> Christmas episode later this week. Here is a sneak preview. It doesn't spoil anything, but it will be written in <a href="https://chaos.social/tags/PowerBasic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PowerBasic</span></a> again! That's our tradition!</p>
root42<p>Let's Code MS DOS 0x24: Low Level Keyboard Programming</p><p>Getting input from the keyboard can be as easy as calling the getch() function. But for games we need a better solution. For games on MS DOS machines you need quick, unbuffered input. To simply get the state of keypresses we need to talk to the keyboard controller directly. Let’s have a look at how that’s done!</p><p><a href="https://youtu.be/njeViEGaP-8" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/njeViEGaP-8</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/letscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letscode</span></a> <a href="https://chaos.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> <a href="https://chaos.social/tags/retrogaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrogaming</span></a> <a href="https://chaos.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>