home.social

#chip8 — Public Fediverse posts

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

fetched live
  1. "The Art of CHIP-8"

    beyondloom.com/blog/artofchip8

    A very good #chip8 resource. I've written two interpreters/emulators myself (Go and Rust), and also a few tools like a ROM disassembler. It's a fun and easy platform to learn about building interpreters, etc.

  2. I had a bit of fun last week and implemented a smol little CHIP-8 emulator in Zig with raylib :3

    It supports all the original "Cosmac VIP" CHIP-8 instructions, can handle input and play sound.

    Nothing crazy but I had a lot of fun with this project and learned a little bit about emulators. Good stuff!

    codeberg.org/schwoens/chip8

    #ziglang #raylib #chip8

  3. Fantasy Console: приставки, которых нет

    Казалось бы: за первые три десятилетия эпохи массовой компьютеризации были созданы буквально сотни разных домашних компьютеров и игровых консолей, от массовых до крайне обскурных. Настоящее раздолье для любителей ретро от мира электроники: ностальгируй — не хочу, изучай, осваивай, разрабатывай сколько влезет. Но кому-то этого оказалось мало. Так появились эмуляторы вымышленных платформ, никогда не существовавших в реальности — явление, известное под названием «Fantasy Console» или «Fantasy Platform». Сегодня углубимся в эту тему: что это за платформы, откуда взялись, кому нужны, и что с ними делают. А по пути разберёмся с интересной терминологической запутанностью.

    habr.com/ru/companies/ruvds/ar

    #fantasy+console #pico8 #tic80 #виртуальная_машина #эмулятор #chip8 #байткод #lua #игры #ruvds_статьи

  4. From README for Tetris on CHIP-8 (1991). We should bring back sending feature request in an envelope with $5 attached.

  5. 🚀 Behold, the maverick who invented a language to write a CHIP-8 #emulator, because apparently existing languages weren't *esoteric* enough! 🤓 Dive into #GitHub for a thrilling adventure in reinventing the wheel, but with extra edges. 😂 #BecauseWeCan
    github.com/navid-m/chip8emu #CHIP8 #Esoteric #Programming #Innovation #TechHumor #HackerNews #ngated

  6. Updated zig8's renderer to use streaming texture access to improve render performance.

    #zig #ziglang #CHIP8 #gamedev

  7. Trying to deal with buffer over/under runs in zig8's rather simple audio system.

    Whenever I adjust the cycle rate of the emulator the sound gets out of sync. And at least in the sound test demo if you hold the key down to let the sound run a long time it starts to introduce delay.

    #zig8 #CHIP8 #gamedev

  8. This morning I'm working on improving the audio for zig8; moving the audio processing to a separate thread for more consistent timing and trying to get the sound just right so it's not so harsh. 😄

    #ziglang #zig #CHIP8 #gamedev

  9. Got the buzz test ROM working for zig8. You can has sound now.

    Will still need some polish to make sure we degrade fine without sound if no default device is available.

    Just cleaning up the code and will push it up soon.

    #ziglang #zig #CHIP8 #gamedev

  10. Switched to using SDL's audio API for zig8 to make things easier. Not that writing your own cross-platform backend in Zig is terribly hard.

    Linux audio is just... a whole jungle I don't wanna have to support on my own.

    #ziglang #zig #CHIP8 #gamedev

  11. Zig8 now has swap-able color palettes! Defaults to white-on-black. But now we have a retro orange-on-dark-grey and gameboy inspired palettes as well. Works great with the CRT effect.

    #ziglang #zig #CHIP8 #gamedev

  12. Aha! It works! I'm using a public domain CRT shader by Timothy Lottes (thank you!) and it looks nice! From here I might hack it a bit to give it a nice glow effect.

    #ziglang #zig #CHIP8 #gamedev

  13. Sweet, I got the shaders compiling. Because they're pretty simple I just embed them in the Zig source instead of futzing around with the filesystem/build system.

    Just gotta update the render code to render with our shader program!

    #ziglang #zig #CHIP8 #gamedev

  14. Shader compilation is coming along. Might be able to get it done and implement the shader tomorrow. For that retro feel.

    I'm digging how easy it is to interface with C libraries in Zig.

    We'll see how flexible the build system is when it comes time to do cross-platform releases.

    #ziglang #zig #CHIP8 #gamedev

  15. Alright, updated zig8 to have discrete display resizing. You can adjust the size as a percentage from the default size. Updates the window to match the display width.

    Just makes it easier to adjust the size of the display without having to deal with window manager events and async programming.

    #ziglang #zig #CHIP8 #chip8 #gamedev

  16. I think I'm going to abandon dynamically resizing the CHIP-8 display based on the window client dimensions and stick with fixed sizes that you can adjust.

    #ziglang #zig #CHIP8 #chip8 #gamedev