8088 Domination competing at @party 2014

แชร์
ฝัง

ความคิดเห็น • 110

  • @otesunki
    @otesunki 5 ปีที่แล้ว +233

    I was like: "If they port bad Apple with graphics mode I'm about to lose my mind",
    And they did.

  • @aaronmuirhamilton
    @aaronmuirhamilton 8 ปีที่แล้ว +185

    When people tell me they can't do something because the hardware is too slow, I link them 8088 Domination.

  • @techy4198
    @techy4198 7 ปีที่แล้ว +217

    Clicked for bad apple, got rickrolled.

  • @pizzagob1in17
    @pizzagob1in17 4 ปีที่แล้ว +88

    Dos PCs: I have 3D games I can run i-
    8088: *Introducing Bad Apple*

  • @vwestlife
    @vwestlife 10 ปีที่แล้ว +139

    Pop goes the speakers! :-)

  • @Roxor128
    @Roxor128 7 ปีที่แล้ว +101

    Honestly, the Demoscene pulls off so many amazing technical feats that I sometimes find myself wondering if there's ANYTHING that can't be done on a computer.

    • @patemathic
      @patemathic 5 ปีที่แล้ว +10

      @Vikrinox That's the printer's fault.

    • @BottomOfTheDumpsterFire
      @BottomOfTheDumpsterFire 2 ปีที่แล้ว +3

      @Vikrinox I dunno, computers print money legally for the treasury/mint.

    • @danmakufan
      @danmakufan 10 หลายเดือนก่อน

      I mean there's the halting problem...

    • @Roxor128
      @Roxor128 10 หลายเดือนก่อน

      @@danmakufan Seems like they're limited only by what's mathematically impossible, doesn't it?

    • @danmakufan
      @danmakufan 10 หลายเดือนก่อน

      @@Roxor128 yea

  • @gigabytemmx
    @gigabytemmx 3 ปีที่แล้ว +155

    im still to this day amazed on how smooth the video output is and how clean the audio sounds coming out of a computer around the same age as an nes
    i ran the demo on dosbox and its unbelievable how good it looks and sounds

    • @BlackEpyon
      @BlackEpyon 3 ปีที่แล้ว +12

      @Vicinity If I understand the blog posts correctly, the TL;DR of how it works, is that instead of decoding a compressed video file into a stream to the video memory, the XDV file itself is the decoded stream, which means there's very little overhead (relatively speaking, this actually uses something like 90% of the cycles on a 4.77MHz CPU), but it takes a lot of space on the hard drive. Bad Apple is 20MB (absurdly large for the early 80's), and that's 1-bit video with a 22KHz audio track, that streams from the hard drive at 150KB/s (slower on MFM hard drives, this is probably running from a CF card). That entire show is about 31 MB on the disk, and for the early-mid 80's, this was basically your entire hard drive. You only need to write to the video memory the bits which change, which is why some of the quicker full-screen motion has a tearing effect, because you can only read/write the changes so fast, and you need to be clever in how you trick the eye into perceiving fluid motion.
      Jim will probably come along and correct me somewhere.

    • @JimLeonard
      @JimLeonard  3 ปีที่แล้ว +28

      You're mostly correct. :-) 150KB/s is the maximum rate needed by the demo, which is not sustained in all sections; it's buffered into RAM, so a typical 90KB/s MFM drive (if the interleave is set properly) should still be able to play it. (And if it can't, it pauses gracefully to buffer for a second or two.)
      While 20MB for the Bad Apple video may seem large, keep in mind the system was designed for maximum framerate above all else. I could easily get that down to 15MB by going with a data format instead of x86 code, but there would be a 5 to 10fps speed penalty depending on how complex the frame changes are. And I could get the audio portion down from 4MB to 1MB by encoding the audio with a simple 256-entry VQ codebook of 4-byte entries, but would take additional time to decompress realtime (maybe another 5fps) and would also degrade the audio quality a bit. So nearly halving the video size and still having it play realtime is possible, but the framerate would be cut nearly in half in complex sections, and that wasn't the focus of the design.

    • @JimLeonard
      @JimLeonard  3 ปีที่แล้ว +29

      In my defense, some Bad Apple conversions for vintage systems have stored 100% raw uncompressed frames into 60MB of data and require playback using a homebrew adapter and flash card, so being able to run on any system's period-correct hardware is a win, in my humble opinion.

    • @gigabytemmx
      @gigabytemmx 3 ปีที่แล้ว +6

      @@JimLeonard yeah i think its worth it, especially nowadays with xt to ide adapters makign it possible for pc of this era to hold gigabytes or storage. it was very well done especially considering the jump between corruption and domination. keep up the good work, man!

    • @BlackEpyon
      @BlackEpyon 3 ปีที่แล้ว +6

      @@JimLeonard It might interest you to know that I've been using badapple.xdv to quick test a bunch of Sharp LH2464 memory chips (64k x 4) on one of my XT's as a means of quickly weeding out which ones are bad. It's quicker than firing up CheckIt, and if there's a memory error, it shows up pretty quickly.

  • @JIYkp
    @JIYkp 10 ปีที่แล้ว +72

    So many pop culture references...
    And using Bad Apple of all things :D

  • @AntonyTCurtis
    @AntonyTCurtis 10 ปีที่แล้ว +52

    I remember the speakers popping every time the DAC turned on and off on the original SoundBlaster I had many years ago.

  • @sumireko8159
    @sumireko8159 3 ปีที่แล้ว +21

    not a single dislike... Touhou fans are literally so much bizzare than jojo itself.

    • @xVGAmusicPlayerz
      @xVGAmusicPlayerz ปีที่แล้ว

      I mean yeah, jojo is only bizzare through punching with his stand

  • @GSi16vrs
    @GSi16vrs 8 ปีที่แล้ว +35

    This is extremely well done! I recently build a 286 16mhz and playing this on it made me almost cry!

  • @mapleint997
    @mapleint997 3 ปีที่แล้ว +27

    I'm assuming you wrote all of the source code in C or assembly
    you must know an awful lot about old computers at a very low level to have done this
    Audio and visuals this smooth and good sounding is something I'd never expect from anything to be done in software ran on old hardware

    • @JimLeonard
      @JimLeonard  3 ปีที่แล้ว +15

      Correct! You can read more at trixter.oldskool.org/2014/06/19/8088-domination-post-mortem-part-1/

  • @b4n4n46
    @b4n4n46 4 ปีที่แล้ว +24

    0 dislikes. Well deserved.

  • @P0go0
    @P0go0 ปีที่แล้ว +7

    i like how ppl clapped at the rickroll one

  • @FrezzyYT
    @FrezzyYT 5 ปีที่แล้ว +11

    I love the Bad Apple Music video and running on something like this is awesome!

  • @dannyboy42223
    @dannyboy42223 6 ปีที่แล้ว +78

    If this is done on prettyuch a pocket calculator, makes you really wonder about current games "optimizations" and CPU requirements. VERY well Done

    • @alyncat
      @alyncat 6 ปีที่แล้ว +21

      Daniel Witzel If PC games were as optimized as this, you could run crisis on windows 2000 and get 144 fps

    • @patemathic
      @patemathic 5 ปีที่แล้ว +5

      @@alyncat The OS doesn't really matter all that much.

    • @alyncat
      @alyncat 5 ปีที่แล้ว

      Pate Jate it doesn’t, i made that comment a year ago

    • @nasanierulastname2997
      @nasanierulastname2997 4 ปีที่แล้ว +14

      More like Crysis on hardware made for Windows 2000, which would be impressive.

    • @pikachuchujelly7628
      @pikachuchujelly7628 ปีที่แล้ว +2

      Nintendo games are pretty well optimized. Breath of the Wild looks stunning, and it's basically running on average smartphone hardware.

  • @watchmakerful
    @watchmakerful 7 ปีที่แล้ว +15

    VIDEO??? On a 8088, even not 8086? Unbelievable...

  • @agony5517
    @agony5517 3 ปีที่แล้ว +15

    Ngl the glitch effects just makes it better

  • @FirstNameLastName130
    @FirstNameLastName130 2 ปีที่แล้ว +6

    Превосходная оптимизация!

  • @hongphuc2222
    @hongphuc2222 3 ปีที่แล้ว +8

    2:37 beautiful moment

  • @dobrdesign
    @dobrdesign 3 ปีที่แล้ว +5

    I was like: "If they port bad Apple with graphics mode I'm about to lose my mind",
    And they did.
    @Dobr 2021

  • @yuto2497
    @yuto2497 3 ปีที่แล้ว +4

    There's a saying that goes "when you have 2 colours, you can make Bas Apple."

  • @ntm787
    @ntm787 10 ปีที่แล้ว +14

    Is the apparent tearing due (particularly in the B&W segment) to the video camera recording the screen, or was that due to one of the shaving options you mentioned in the write-up?

    • @JimLeonard
      @JimLeonard  10 ปีที่แล้ว +47

      Neither; it's actually due to how the system degrades the video to deal with out-of-bandwidth conditions. The largest changes are always plotted first; then, if a quality threshold is not yet met, the new timeslice is spent making more changes to further reconstruct the frame. If the quality threshold IS met, then any remaining changes are dropped and a new frame begins.
      The "tearing" you're seeing is when there simply isn't enough bandwidth (cpu time + memory speed) to "paint" an entire frame, and what you see is the best decisions the encoder could come up with. I could have increased the quality by using more bandwidth but I was afraid of exhausting it during the presentation, which would have resulted in a pause.

  • @JohnVance
    @JohnVance 5 หลายเดือนก่อน

    This is really inspiring

  • @moncailiem3318
    @moncailiem3318 3 ปีที่แล้ว +8

    2:36 friends likes Rick rolled

  • @Aranimda
    @Aranimda ปีที่แล้ว +5

    Image what the demoscene geniuses can get out a Core i9 with RTX card in 30 years.

    • @JimLeonard
      @JimLeonard  ปีที่แล้ว +4

      Just bought mine last month. Start the countdown.

    • @immibis
      @immibis 6 หลายเดือนก่อน +1

      They are powerful enough to render almost anything you want, which makes it much less impressive when it renders something like Tron Legacy. The impressive stuff comes under limitations, like 64 kilobytes file size.

    • @Aranimda
      @Aranimda 6 หลายเดือนก่อน +1

      @@immibis Oh, there will be limitations. Imagine what computer hardware will be able to do in 30 years from now. It will be a challenge to backport the same visuals to the mentioned hardware.

    • @immibis
      @immibis 6 หลายเดือนก่อน +1

      @@Aranimda An RTX 3090 calculates 40 teraflops. It's hard to think of anything that can fully utilize one, short of a large AI, a weather simulation, or just turning up the quality way settings way past the point you can't tell the difference. New effects will come from cleverer coding - hardware won't be a limitation.
      I do expect to see a generation of neural-network-based demos though.

  • @FillarAccount
    @FillarAccount 6 วันที่ผ่านมา

    That you algorithm for this video.

  • @Sonictrainkid
    @Sonictrainkid ปีที่แล้ว +4

    2:36 and I was already rick rolled

  • @dj_dexterdark_x942
    @dj_dexterdark_x942 11 หลายเดือนก่อน +1

    2:55 Touhou is in everywhere

  • @x35gaming
    @x35gaming ปีที่แล้ว +4

    surprising that they managed to generate color without too much overhead

  • @milkyproduxions
    @milkyproduxions 4 ปีที่แล้ว +12

    seeing bad apple just makes me think...
    is the demoscene just full of lowkey weeaboos

    • @JimLeonard
      @JimLeonard  4 ปีที่แล้ว +27

      Oh, gosh no. That couldn't be farther from the truth. The demoscene is a very unique, unto itself european-centric culture. I just chose Bad Apple because 1. It was going around on all platforms anyway, and 2. It was perfect test material to show off the capabilities of the software.

    • @milkyproduxions
      @milkyproduxions 4 ปีที่แล้ว +2

      @@JimLeonard Huh. neat. guess touhou does make its way through every part of culture...

  • @RTMonitor
    @RTMonitor 6 หลายเดือนก่อน

    43 years old processor, never thought that it would work, but it does :3

  • @BlackEpyon
    @BlackEpyon 3 ปีที่แล้ว +7

    Well, after watching 8088MPH, and now this, and having tried both on my Tandy 1000 HX, I've come to the conclusion that the Tandy times it's composite output differently than the IBM PC/XT does, because the colours I get over composite don't look nearly as good.

    • @JimLeonard
      @JimLeonard  3 ปีที่แล้ว +2

      Correct, Tandy systems have a 180-degree rotated phase from CGA cards.

    • @BlackEpyon
      @BlackEpyon 3 ปีที่แล้ว

      @@JimLeonard Why does that not surprise me. Tandy did all kinds of dirty little tricks to make their machines affordable, that always lay out of sight until you try delving into the hardware. Like IRQ 5, for instance? If you delve into the schematics on the early Tandys which have Tandy Graphics, the IRQ 5 pin on the 8259A is triggered by the vertical sync pulse, of all things. IRQ 6 and 7 are hardwired to the onboard floppy and printer controllers (which can't be disabled), and that's why only IRQ's 2,3 & 4 are wired to the expansion bus, except on the SX and TX, which have dip switches to disable that and allow IRQ 5 to be used.
      I haven't been able to find a lot of documentation on it, but I think that IRQ5 (the V-sync pulse) is used to time pallet switching between frames, or something. I'm completely fuzzy on the details.

    • @JimLeonard
      @JimLeonard  3 ปีที่แล้ว +1

      @@BlackEpyon IRQ 5 It's tied to v-sync because that's what the IBM PC junior did, and the Tandy 1000 was meant to be an enhanced clone of the IBM PC junior. That's why it's graphics and sound are also the same as the PC junior. A hardware vertical sync interrupt can be used for pallette changes, switching display pages, or updating the sound registers every frame.

    • @BlackEpyon
      @BlackEpyon 3 ปีที่แล้ว

      @@JimLeonard And here I thought that IRQ 5 was supposed to be a cost-saving measure. Never tried to take a close look at the PC-Jr schematics to be honest... They're a complete mess, and you can tie yourself in knots trying to get from one end to the other.
      They're not quite identical though, both worked with the 0xB8000 & 0xBC0000 memory blocks a bit differently. Something about Tandy being able to address 32K directly from 0xB8000, where the PC-Jr could access 16K at 0xB8000, and had to do a reach-around to get the next 16K from 0xBC000? Not too clear on why that is. The Tandy is a bit more straight forward on it's memory management.

    • @JimLeonard
      @JimLeonard  3 ปีที่แล้ว

      @@BlackEpyon It was an oversight, IMO, during the design of the PCjr. Tandy fixed this, and other oversights, when they made the 1000.

  • @Corsa15DT
    @Corsa15DT 3 ปีที่แล้ว +1

    not a single dislike. never seen that before.

    • @JimLeonard
      @JimLeonard  3 ปีที่แล้ว +1

      Check out my other videos on TheOldskoolPC channel -- very few dislikes there too :)
      (of course, having said that, I probably jinxed it)

  • @vi789
    @vi789 3 ปีที่แล้ว

    👏

  • @kaan4864
    @kaan4864 2 ปีที่แล้ว +4

    What is the pop sound?
    Does it play when the compressed video is loaded on to the RAM?

    • @JimLeonard
      @JimLeonard  2 ปีที่แล้ว +8

      The pop sound was the result of reinitializing the sound card between each video, and was rushed programming on my part.

    • @kaan4864
      @kaan4864 2 ปีที่แล้ว

      @@JimLeonard Alright, thanks!

  • @Sonictrainkid
    @Sonictrainkid ปีที่แล้ว

    Video: Bad Apple
    Me: Jaming

  • @HappySlappyFace
    @HappySlappyFace 5 ปีที่แล้ว +1

    So does this work like h264? Since the playback is stuttering in huge changes ( I read the last comment that mentioned the stripes ) and h264 only updates the video only when something changes

    • @JimLeonard
      @JimLeonard  5 ปีที่แล้ว +9

      No, way less power than h.264. Google "8088 domination" to see a series of blog posts that explain the method.

    • @immibis
      @immibis 6 หลายเดือนก่อน

      @@JimLeonard What music was used?

    • @JimLeonard
      @JimLeonard  6 หลายเดือนก่อน

      @@immibis Power Up by Space Cat

    • @immibis
      @immibis 6 หลายเดือนก่อน

      @@JimLeonard Thanks! I've been looking for that for ages. Please mention it somewhere! And at the "Not just graphics..." it's Power Up (Psy Craft Remix), and everyone knows the rickroll and Bad Apple.

  • @dj_dexterdark_x942
    @dj_dexterdark_x942 11 หลายเดือนก่อน

    2:36 Get Rick rolled in a original IBM PC xD

  • @wumbl3
    @wumbl3 ปีที่แล้ว

    Will nerds be making 2022 computers play 64K video in 2047?

    • @immibis
      @immibis 6 หลายเดือนก่อน

      Human eyes can't see 64K. It might be 200fps VR though.

  • @justminibanana9128
    @justminibanana9128 2 ปีที่แล้ว

    woa, only 76 comments, im early, expect more to come.

    • @JimLeonard
      @JimLeonard  2 ปีที่แล้ว +1

      What, was this video mentioned somewhere?

    • @justminibanana9128
      @justminibanana9128 2 ปีที่แล้ว +1

      @@JimLeonard made it to the front page.

    • @JimLeonard
      @JimLeonard  2 ปีที่แล้ว +1

      @@justminibanana9128 Of what?

    • @justminibanana9128
      @justminibanana9128 2 ปีที่แล้ว +1

      @@JimLeonard of youtube

  • @RaduOleniuc
    @RaduOleniuc 2 ปีที่แล้ว

    Now let's play Bad Apple on a CASIO watch\!~ :D

  • @semicuriosity257
    @semicuriosity257 5 หลายเดือนก่อน

    The IBM PC wasn't the best X86 microcomputer in 1981 i.e. NEC PC-98

    • @JimLeonard
      @JimLeonard  5 หลายเดือนก่อน +1

      PC-98 came out in 1982, not 1981.

    • @YuutaTogashi0707
      @YuutaTogashi0707 4 หลายเดือนก่อน

      pc-98 was 82

    • @semicuriosity257
      @semicuriosity257 4 หลายเดือนก่อน

      ​@@YuutaTogashi0707 In 1981, NEC's Terminal Units Division of the Information Processing Group launched the personal computer series N5200, which was branded as the "personal terminal". It used an Intel 8086 processor and a µPD7220 display controller. Its architecture was similar to that of the PC-98, but it mostly ran the proprietary operating system PTOS.
      Components from N5200 were reused in PC-98.

  • @zyrgle
    @zyrgle 10 ปีที่แล้ว +3

    Rick Roll @ 2:36
    ;)

  • @RaquelSantos-99
    @RaquelSantos-99 3 ปีที่แล้ว +1

    3:22

  • @nonogamer9117
    @nonogamer9117 6 ปีที่แล้ว +2

    Roblox 0:45
    Minecraft worst game

    • @MAX-uh6kh
      @MAX-uh6kh 4 ปีที่แล้ว

      what

    • @tudbut
      @tudbut 3 ปีที่แล้ว

      Wtf

    • @fakedutch_
      @fakedutch_ 2 ปีที่แล้ว

      bruh what

    • @fakedutch_
      @fakedutch_ 2 ปีที่แล้ว +1

      ur channel banner is literally minecraft 💀

    • @nonogamer9117
      @nonogamer9117 2 ปีที่แล้ว +1

      @@fakedutch_ its a joke lol