17 votes

Running GameBoy Advance emulator on Terminal

5 comments

  1. giggle
    Link
    This is a simple blog post I wrote today explaning a few steps that I did to play GBA on terminal, I was not aware that SDL have options to display direct to console framebuffer when I was doing...

    This is a simple blog post I wrote today explaning a few steps that I did to play GBA on terminal, I was not aware that SDL have options to display direct to console framebuffer when I was doing this, but I learned some good things by doing this, hopefully someone will enjoy this trick.

    3 votes
  2. [2]
    petrichor
    Link
    Wow, that's really interesting, and really disgusting (in a good way)! I had no idea SDL could do that. Are the visual artifacts caused by weird restrictions on window sizes? Do you think SDL...

    Wow, that's really interesting, and really disgusting (in a good way)! I had no idea SDL could do that.

    Are the visual artifacts caused by weird restrictions on window sizes? Do you think SDL provides any output-scaling or other features to help align the pixels any better?

    1 vote
    1. giggle
      Link Parent
      Im not sure about how SDL2 can handle this, but even SDL version 1 have those options to use video driver which outputs to terminal I just quick checked at their documentation after the guy told...

      Im not sure about how SDL2 can handle this, but even SDL version 1 have those options to use video driver which outputs to terminal I just quick checked at their documentation after the guy told me about the existence of this. I think it can be better by auto detecting the needed font size and rows and cols needed to display the images/video properly (In my case I just get the things visible by trial and errors).

      Here is the link I just checked: https://wiki.libsdl.org/SDL2/FAQUsingSDL#how_do_i_choose_a_specific_video_driver

      2 votes
  3. [2]
    cfabbro
    Link
    What a neat project, and the videos were super cool to watch. Well done, @giggle! :)

    What a neat project, and the videos were super cool to watch. Well done, @giggle! :)

    1. giggle
      Link Parent
      Thanks for checking the post, I had a lot of fun trying to make this thing work. Some guy in IRC told me about the SDL video drivers which can work on terminal, I hope to test this in the future,...

      Thanks for checking the post, I had a lot of fun trying to make this thing work. Some guy in IRC told me about the SDL video drivers which can work on terminal, I hope to test this in the future, maybe we can even run SNES os PS1 too without much problems or hacks.

      1 vote