Doom8088 performance improvement

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • Doom was originally designed in 1993 for 32-bit DOS computers with 4 MB of RAM. It's mostly written in C code with very little assembly code. It has been ported to all kinds of systems. Usually these systems are 32-bit or more and have a flat memory model.
    Doom8088 is a port for PCs with a 16-bit processor like an 8088 or a 286, and with VGA or MCGA graphics.
    This video shows Doom8088 running in 86box emulating a 286 @ 25 MHz.
    Download Doom8088 from github.com/Fre...

Комментарии • 50

  • @average_ms-dos_enjoyer
    @average_ms-dos_enjoyer 10 месяцев назад +27

    Impressive, should be interesting to see how well it runs when surface textures are introduced

    • @DookNookim
      @DookNookim  10 месяцев назад +24

      Texture mapping the walls decreases the performance by 25%.

  • @michaelwhitacre8499
    @michaelwhitacre8499 10 месяцев назад +21

    Wow, you almost made SNES doom 😂. Seriously though this is impressive work 👍

  • @jorgeandrade20
    @jorgeandrade20 4 месяца назад +2

    Doesn't Wolfenstein3d run on a 286 and it has textured walls? Maybe with a little more optimization you'll get there, great project btw!

    • @DookNookim
      @DookNookim  4 месяца назад +1

      the latest version has textured walls and pc speaker sound effects

  • @Zalzo
    @Zalzo 10 месяцев назад +10

    This is insanely impressive!!! I'd love to watch progress go by :) is the code open source and are you doing this in assembly or C?

    • @DookNookim
      @DookNookim  10 месяцев назад +10

      It's all in C right now, but I want to rewrite some math functions in assembly. There's a link the description to the GitHub page where the code is hosted.

  • @blakegriplingph
    @blakegriplingph 29 дней назад

    "We already have Doom at home."

  • @enimapodofficial6618
    @enimapodofficial6618 10 месяцев назад +3

    Bless your wizardry.

  • @cloud_s_97
    @cloud_s_97 10 месяцев назад +1

    "Doom runs on everything"

  • @MrTomas7777
    @MrTomas7777 10 месяцев назад +1

    This makes 320x200 look like 4K

  • @Koutsie
    @Koutsie 10 месяцев назад +2

    it's not a slideshow anymore!
    what'd you do?

    • @DookNookim
      @DookNookim  10 месяцев назад +4

      I've decreased the horizontal resolution from 120 pixels to 60. And I've rewritten the multiplication and division functions.

    • @Koutsie
      @Koutsie 10 месяцев назад

      @@DookNookim ah awesome ty, awesome project btw!

  • @UltimatePerfection
    @UltimatePerfection 10 месяцев назад +1

    I understand that you are using flat colors for walls and floors to save on performance (as textures on such hardware are expensive), but could you please use colors that are closer to the general color of the texture they're supposed to replace?

    • @DookNookim
      @DookNookim  10 месяцев назад +3

      Texture mapped walls are on the to-do list.
      I've already looked at how FastDoom determines the color of the flat colored floors.

  • @carl.wunsche
    @carl.wunsche 10 месяцев назад +6

    Can you explain what this project is about? Thanks!!

    • @gray-p86
      @gray-p86 10 месяцев назад +4

      Hm, not sure, but I guess it's an attempt to port (or, maybe, optimise) Doom to Intel i286

    • @DookNookim
      @DookNookim  10 месяцев назад +29

      Doom was originally designed in 1993 for 32-bit DOS computers with 4 MB of RAM. It's mostly written in C code with very little assembly code. It has been ported to all kinds of systems. Usually these systems are 32-bit or more and have a flat memory model.
      Doom8088 is a port for PCs with a 16-bit processor like an 8088 or a 286, and with VGA or MCGA graphics.

    • @senorverde09
      @senorverde09 10 месяцев назад +12

      Imagine if Doom was released 5 years earlier to run on that generation of PCs.

    • @InsideOutAnus
      @InsideOutAnus 10 месяцев назад

      @@DookNookim Neat. Subbed.

  • @KayvK
    @KayvK 10 месяцев назад +1

    Very impressive! m

  • @wadmodderschalton5763
    @wadmodderschalton5763 10 месяцев назад

    Reminds me of the Atari 2600 Doom hoax from back in the day.

  • @billfingerdoodle
    @billfingerdoodle 10 месяцев назад +1

    nice

  • @ActionGamerAaron
    @ActionGamerAaron 10 месяцев назад +1

    Amazing.

  • @BHRoadStoriesBH
    @BHRoadStoriesBH 10 месяцев назад

    Good game

  • @marekkoc5266
    @marekkoc5266 10 месяцев назад

    Nice work but if somebody has still 286 it is better to play Wolfenstein 3d

    • @DookNookim
      @DookNookim  10 месяцев назад

      why not both?

    • @thewhyzer
      @thewhyzer 9 месяцев назад

      I played Wolfenstein shareware on a 286 over 30 years ago, IIRC it was pretty slow.

  • @thewhyzer
    @thewhyzer 9 месяцев назад

    Were there any 8086 systems with VGA graphics?

    • @DookNookim
      @DookNookim  9 месяцев назад +1

      There are some videos of it on RUclips.

    • @Spectere
      @Spectere 7 месяцев назад +1

      Sure. I doubt there were many that were sold like that, but installing an ISA VGA card was always an option.
      Speaking from experience, one of the PCs I had growing up was a 10MHz 8088 with a VGA card (upgraded from its original Hercules graphics adapter).

  • @rootbeer666
    @rootbeer666 10 месяцев назад

    How much memory does this use?

  • @Sinistar1983
    @Sinistar1983 10 месяцев назад

    Its just gba doom nothing different about it. In all seriousness this is incredible.

    • @DookNookim
      @DookNookim  10 месяцев назад +4

      Doom8088 is based on GBADoom, the prBoom port for the Game Boy Advance from 2019, not the commercially released Doom port from 2001. So it pretty similar to the original Doom from 1993.

    • @Sinistar1983
      @Sinistar1983 10 месяцев назад +2

      @@DookNookim ok thats really funny

  • @AlexeiVoronin
    @AlexeiVoronin 10 месяцев назад +2

    Actually, DOS was a 16-bit operating system. Your video description is wrong.

    • @DookNookim
      @DookNookim  10 месяцев назад +2

      Would "Doom was originally designed in 1993 for 32-bit computers running DOS with 4 MB of RAM." be more accurate?

    • @AlexeiVoronin
      @AlexeiVoronin 10 месяцев назад

      @@DookNookim - Still not quite there. The terms 16- and 32-bit usually refer to the OS, rather than the computer itself. The same PC, with the exact same hardware, could have either a 32- or a 64-bit OS installed. This is rare nowadays, of course, as 64-bit OS have become the norm, but for a while both options existed.
      BTW, Windows 3.1 was also 16-bit. However, Windows NT 3.1 (the ancient forefather of Windows 10/11) was 32-bit.

    • @DookNookim
      @DookNookim  10 месяцев назад +2

      ​@@AlexeiVoronin How about "Doom was originally designed in 1993 for PCs with a 32-bit processor like a 386 or a 486, and with 4 MB of RAM, running DOS."?

    • @AlexeiVoronin
      @AlexeiVoronin 10 месяцев назад

      @@DookNookim - No need for bits. It should be enough to say it was designed for 386/486 computers running DOS 5.00 or later.

    • @DookNookim
      @DookNookim  10 месяцев назад +2

      @@AlexeiVoronin I think it's important to note 32-bits. The Doom source code is full code that expects integers to be 32-bits. That all needed to be rewritten. It mostly ment changing int to int32_t.
      The code also expects a flat memory model. That needed to be rewritten to a segmented memory model. Right now it's impossible to play E1M6, because it's bigger than 64k.

  • @fungo6631
    @fungo6631 10 месяцев назад +1

    At that point even Wolfenstein looks and runs better.

    • @procactus9109
      @procactus9109 10 месяцев назад

      Nope. Nothing could look or play worse than that.

    • @Mordecai02
      @Mordecai02 10 месяцев назад

      @@procactus9109 Catacomb series: