home.social

#letscode — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #letscode, aggregated by home.social.

fetched live
  1. Quick, without validating through a compiler, or thinking too long: what does this C program do?

    #include <stdio.h>
    int main(void)
    { printf('A'); return 0; }

    #letscode

  2. Quick, without validating through a compiler, or thinking too long: what does this C program do?

    #include <stdio.h>
    int main(void)
    { printf('A'); return 0; }

    #letscode

  3. New video for Patrons: Let's Code MS DOS 0x38: Huge Pointers in Turbo C

    In MS DOS you can only access up to one Megabyte of memory easily, on an original PC or XT. This memory in turn is segmented, so accessing more than 64K at a time becomes a bit more tricky. This is why languages like Turbo C and Pascal introduced near and far pointers to the programmer. However there are also huge pointers, which we will investigate in this episode.

    patreon.com/root42/posts/lets-

    #letscode #msdos #turboc

  4. New video for Patrons: Let's Code MS DOS 0x38: Huge Pointers in Turbo C

    In MS DOS you can only access up to one Megabyte of memory easily, on an original PC or XT. This memory in turn is segmented, so accessing more than 64K at a time becomes a bit more tricky. This is why languages like Turbo C and Pascal introduced near and far pointers to the programmer. However there are also huge pointers, which we will investigate in this episode.

    patreon.com/root42/posts/lets-

    #letscode #msdos #turboc

  5. I still think there is something wrong with my sine variation function, but this looks already much more flamelike.
    #letscode #msdos #fractals

  6. I still think there is something wrong with my sine variation function, but this looks already much more flamelike.
    #letscode #msdos #fractals

  7. So I just managed to compile flam3, and get it to render out the sample animation, putting it through ImageMagick and having a nice ping-pong GIF in the end. I wonder if I can make my own fractal flame algorithm, for MS DOS obviously? Probably much simpler, as I don't want to replicate three decades worth of code...
    #letscode

  8. So I just managed to compile flam3, and get it to render out the sample animation, putting it through ImageMagick and having a nice ping-pong GIF in the end. I wonder if I can make my own fractal flame algorithm, for MS DOS obviously? Probably much simpler, as I don't want to replicate three decades worth of code...
    #letscode

  9. New video: Let's Code MS DOS: 0x37 Rainbow Surf Analysis

    This year's Revision demoparty had a surprising winner in the 256 byte compo. It was Rainbow Surf by Plex/BionFX and it is only 16 bytes long. That is short, very short. In fact, here is the code: c4 04 48 ab 26 03 45 ae 26 03 05 c1 e8 02 eb f2. Let's dissect it!

    YouTube: Let's Code MS DOS: 0x37 Rainbow Surf Analysis
    youtu.be/FGf2LEAbdSg
    Makertube: makertube.net/w/hpE75cfisPMrmZ

    #letscode #msdos #sizecoding #demoscene

  10. New video: Let's Code MS DOS: 0x37 Rainbow Surf Analysis

    This year's Revision demoparty had a surprising winner in the 256 byte compo. It was Rainbow Surf by Plex/BionFX and it is only 16 bytes long. That is short, very short. In fact, here is the code: c4 04 48 ab 26 03 45 ae 26 03 05 c1 e8 02 eb f2. Let's dissect it!

    YouTube: Let's Code MS DOS: 0x37 Rainbow Surf Analysis
    youtu.be/FGf2LEAbdSg
    Makertube: makertube.net/w/hpE75cfisPMrmZ

    #letscode #msdos #sizecoding #demoscene

  11. New video for Patrons: Let's Code MS DOS 0x37: Rainbow Surf Analysis

    This year's Revision demoparty had a surprising winner in the 256 byte compo. It was Rainbow Surf by Plex/BionFX and it is only 16 bytes long. That is short, very short. In fact, here is the code: c4 04 48 ab 26 03 45 ae 26 03 05 c1 e8 02 eb f2. Let's dissect it!

    patreon.com/posts/lets-code-ms

    #retrocomputing #demoscene #sizecoding #msdos #letscode

  12. New video for Patrons: Let's Code MS DOS 0x37: Rainbow Surf Analysis

    This year's Revision demoparty had a surprising winner in the 256 byte compo. It was Rainbow Surf by Plex/BionFX and it is only 16 bytes long. That is short, very short. In fact, here is the code: c4 04 48 ab 26 03 45 ae 26 03 05 c1 e8 02 eb f2. Let's dissect it!

    patreon.com/posts/lets-code-ms

    #retrocomputing #demoscene #sizecoding #msdos #letscode

  13. New video: Let's Code MS DOS 0x36: Sprites & Occlusion

    In the last video we learned how to make 2D sprites with transparency and scaling. This time around we also make our Guybrush automatically scale with the background, limit his ability to move into nonsensical parts of the scene, and most important: Walk in front and behind objects.

    youtu.be/2mf4bPU8OrU
    #letscode #msdos #retrocomputing

  14. New video: Let's Code MS DOS 0x36: Sprites & Occlusion

    In the last video we learned how to make 2D sprites with transparency and scaling. This time around we also make our Guybrush automatically scale with the background, limit his ability to move into nonsensical parts of the scene, and most important: Walk in front and behind objects.

    youtu.be/2mf4bPU8OrU
    #letscode #msdos #retrocomputing

  15. New video: Let's Code MS DOS 0x35: Sprites & Scaling

    Adventure games like Monkey Island utilized sprites that could be moved and scaled arbitrarily on the screen. How does this work on a machine that doesn't have support hardware sprites? We will work our way from simple sprites with no transparency, to ones that are clipped, have transparency and can be scaled down arbitrarily.

    youtu.be/O5Ke0vaCgb0

    #letscode #msdos #retrocomputing

  16. New video: Let's Code MS DOS 0x35: Sprites & Scaling

    Adventure games like Monkey Island utilized sprites that could be moved and scaled arbitrarily on the screen. How does this work on a machine that doesn't have support hardware sprites? We will work our way from simple sprites with no transparency, to ones that are clipped, have transparency and can be scaled down arbitrarily.

    youtu.be/O5Ke0vaCgb0

    #letscode #msdos #retrocomputing

  17. Sneak preview or rather outtakes of the next #letscode video…

  18. Sneak preview or rather outtakes of the next #letscode video…

  19. Turbo C Debugger can identify when a variable points into video RAM. Nice.
    #turboc #msdos #letscode

  20. Turbo C Debugger can identify when a variable points into video RAM. Nice.
    #turboc #msdos #letscode

  21. The original VGA card used 8-bit indexed color modes to generate 256 color graphics. This is completely not useful for cross fading images. If you are interested in how you can still achieve this, check out my latest #letscode #msdos video:

    Let's Code MS DOS 0x34: VGA Blending
    youtu.be/6afRxeGV9yU

    #letscode #msdos #demoscene #retrocomputing

  22. The original VGA card used 8-bit indexed color modes to generate 256 color graphics. This is completely not useful for cross fading images. If you are interested in how you can still achieve this, check out my latest #letscode #msdos video:

    Let's Code MS DOS 0x34: VGA Blending
    youtu.be/6afRxeGV9yU

    #letscode #msdos #demoscene #retrocomputing