How 16-bit consoles constructed their graphics and what various terms mean | White_Pointer Gaming

Поделиться
HTML-код
  • Опубликовано: 6 авг 2024
  • Ever wondered what scanlines actually are? What terms like DMA, HDMA, HBlank and VBlank mean? What tiles are and why consoles used them? Then you've come to the right place. I've explored how some of these consoles achieved various effects previous videos but never really explained the basics of how they actually constructed their graphics, so time to fix that!
    Check out more about the real blast processing here: • DF Retro Extra: Sega's...
    0:00 Intro
    0:33 Scanlines
    3:33 VBlank and HBlank
    8:51 Tiles
    11:00 Outro
    Purchase my book "Secrets of Video Game Consoles" directly from the publisher here: www.pen-and-sword.co.uk/Secre...
    Also available as an ebook!
    Some other links:
    www.barnesandnoble.com/w/secr...
    www.booksamillion.com/p/Secre...
    www.angusrobertson.com.au/boo...
    www.booktopia.com.au/secrets-...
    www.chapters.indigo.ca/en-ca/...
    www.amazon.com/Secrets-Video-...
    Or check out your favourite book store, hopefully they have it in stock!
  • ИгрыИгры

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

  • @PinkPandaKatie
    @PinkPandaKatie 2 месяца назад +5

    A bit of clarification: When you say "HDMA allows Mode 7 to do cool tricks that it couldn't do on its own", technically, the only thing that Mode 7 *can* do on its own is an affine transformation: Translation, rotation, scaling, and skew. It can't actually do perspective transformation without HDMA changing the matrix registers on each line. HDMA is actually what most games use to change the mode itself since the mode register is one that it can access.
    Super Mario Kart is one example of a game that does manipulate the registers in the middle of the game using the CPU: In split-screen mode, it turns on forced blanking in the middle of the frame, then loads new sprites for the bottom half. This takes a few scanlines to complete, which is why there's a thick black bar separating the views. All of the other effects, including mode switching and perspective are done using HDMA.

  • @SlimXG
    @SlimXG 11 дней назад +1

    For the Mega Drive, there's actually a specific benefit to performing DMAs during VBLANK. The VDP performs DMA ~10x faster while the screen is disabled, which is most commonly the case during VBLANK.

  • @Bofner
    @Bofner 2 месяца назад +3

    An interesting point about sprite flicker (at least on the Sega Master System, though I assume on most 8-bit onsole at least) :
    Sprite flicker is not an automatic process. On the SMS, sprites have different priorities, based on their location in the Sprite Attribute Table (SAT). Those with a lower address on the table, ie. $3F00 will be given draw priority over those with a higher address on the table, ie. $3FFF.
    So if there are 9 sprites on a single scanline on the Master System, only the first 8 sprites with the lowest SAT address will be drawn. The rest will actually be completely invisible. Sprite Flicker as we know it is actually something that has to be coded in by the programmer. This is usually done by shuffling around the addresses of each sprite in the SAT so that their priority is constantly shifting. This is viewed as flicker by the player. You can see this happening if you open up an SMS game in an emulator like Emulicious.
    I believe this is also how the Game Boy Color works, but the original black and white Game Boy determines the draw priority by which sprites have the lowest X coordinate, so I'm not sure how flicker would work on an old-school DMG Game Boy, or if it was possible. I'm not very familiar with the DMG library unfortunately.
    Interestingly, slowdown is ALSO something that doesn't happen automatically, and must be manually coded in by the programmer.

  • @loganjorgensen
    @loganjorgensen 2 часа назад

    Also worth noting how V-blank came in different sizes per platform for hardware performance sake, why DOS gaming was 320x200 and Genesis was 320x224, or how few platforms actually were 320x240 or 240p in the 90s till much later in the decade. Same for the 4:3 anamorphic stretch varying too, which was a pain in the ass with cross platform development lol.
    I tend to only refer to "background tiles" and instead say "sprite blocks" just to make sure there is no confusion between both units rather than say "tiles" for everything in statements.😉

  • @n2oshotandironman
    @n2oshotandironman 3 месяца назад +2

    Always wondered what all these terms referred to. Great video.

  • @user-tm4jd2jp3d
    @user-tm4jd2jp3d 2 дня назад

    such a clear presentation)) thanks))

  • @gtrzdaddy
    @gtrzdaddy 2 месяца назад

    That was super informative and interesting! I can't wait to see more tricks and techniques of the retro gaming console development.

  • @ActuallySanFrancisco
    @ActuallySanFrancisco 3 месяца назад +1

    love this channel. also the lost vikings always needs more love!

  • @ViperGTS737
    @ViperGTS737 3 месяца назад +1

    that was an awesome guide, thanks man

  • @Damaged7
    @Damaged7 3 месяца назад +2

    Splitting the screen into different modes? Never even occured to me lol.

    • @WhitePointerGaming
      @WhitePointerGaming  3 месяца назад

      It was done quite a lot!

    • @inceptional
      @inceptional 2 месяца назад +1

      There's a demo out there where someone actually shows the SNES displaying seven out of the eight available backgrounds modes all running on-screen at once just by switching them down the screen. It's a fugly programmer art demo, but it's pretty technically impressive and shows some of the potential there.

  • @HouSlalom
    @HouSlalom 9 дней назад

    How did the Sega CD work?