NTSC from an EPROM? Is it also possible?

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • Follows on from the previous video VGA from an EPROM?
    • VGA from an EPROM, is ...
    Apple 2 frame buffer layout
    • Apple 2 wire-by-wire b...

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

  • @realbigtrees
    @realbigtrees Год назад +7

    i dont understand the random maverick clips

    • @DrMattRegan
      @DrMattRegan  Год назад +9

      Yes, i probably should have made that a bit more clear.
      Clip 1 - Rules of engagement - no FPGAs
      Clip 2 - Fights on: me vs NTSC
      Clip 3 - Hidden signal (colour was already there)
      Clip 4 - NTSC myths destroyed

    • @misterhat5823
      @misterhat5823 Год назад +2

      I didn't either.

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

    One of the best description of the color TV signal I've seen. No mumbo jumbo description, just info. Even if I an understanding before, I salute this!

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

      Thanks for the feedback. Personally this is one of my favorite videos on this channel. Unfortunately, it didn't quite get the number of views the VGA from an EPROM video got.

  • @richfiles
    @richfiles Год назад +6

    Your video marks the FIRST time I have actually _understood_ how NTSC color even works...
    I've been messing with computers most of my life. 33 years ago, I fixed a TRS-80 CoCo 2, and 5 years before that, I got a Commodore 128, which I played with, but never understood at that young age. NTSC has always just gone over my head, and now, with a single video, I _COMPLETELY GRASP_ how those old machines did the trick, and how those old TVs interpreted it! _THANK YOU_ for this incredibly _WELL DONE_ visual explanation!

    • @DrMattRegan
      @DrMattRegan  Год назад +3

      Your welcome. Thanks for the feedback. Responses like this are why i make these videos!

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

    I have been a practicing broadcast video design engineer since 1982. Starting with analog to the current 12gbs 4K digital systems. And of course like most engineers of the day, I owned an Apple 2. It still amazes me how Steve Wozniak made that work with such little hardware. This same idea was also being applied to test signal generators of the time. Prior to that you had a TTL chip jungle generating the pattern feeding an analog NTSC encoder. A lot of points to induce drift. By synthesizing the NTSC (or PAL) signals as pure data in EPROMS, the only point of drift was the video output level. Of course the broadcast implementations of this idea were much more complex to adhere to broadcast video standards. Steve was truly a genius. Too bad he didn't remain with Apple.
    I did a lot of work in the early 1990s with composite SDI digital video interfacing. Most younger broadcast engineers think SDI was always a component video topology. Not true! Component SDI was first but there was also a composite SDI version of NTSC and PAL with 14mhz and 17mhz clock rates respectively. Just take the NTSC or PAL analog signal and digitize it at 4fsc and use the first and last few codes for timing data (video codes were from 16 to 235 in 8bit). This was basically gone by the late 1990s as all the new compressed digital broadcast standards were component based.

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

      Excellent. I think this NTSC colour artifact that Steve Wozniak make the Apple 2, at least from a technical perspective.
      I've mainly worked in the area of computer generated imagery, but the generation of NTSC and PAL
      are both very interesting.

  • @testjarfalla1782
    @testjarfalla1782 Год назад +1

    Can only agree with previous comments. The pedagogics in explaining the complete video signal is wonderful - many many thanks!
    Impressive work!

    • @DrMattRegan
      @DrMattRegan  Год назад

      Thanks. Glad you got some value from it!

  • @mheermance
    @mheermance Год назад +1

    Oh mighty algorithm, we the humble viewers of this channel request that you place this video in the suggested videos for computer enthusiasts.

    • @DrMattRegan
      @DrMattRegan  Год назад +2

      Haha, yes it gets a bit that way, i need all the prayer i can get. Last video a Hackaday article triggered the algorithm. Although it was only 7.1% of the views in the end, it triggered YT to distribute it more broadly.

  • @kevinheinen
    @kevinheinen Год назад +4

    As usual, great content & well explained Matt. Thanks

    • @DrMattRegan
      @DrMattRegan  Год назад +1

      Glad you like it. I couldn't resist with the Top Gun clips.

  • @wolfgangjung5743
    @wolfgangjung5743 Год назад +1

    Awesome explanation and great aiding visuals. Much appreciated!

    • @DrMattRegan
      @DrMattRegan  Год назад

      Glad you got some value from it.

  • @crayzeape2230
    @crayzeape2230 Год назад +1

    Nice video. Of course, in Australia, we had to add a PAL colour card to the mix. PAL is a bit more of a challenge when compared to NTSC.

    • @DrMattRegan
      @DrMattRegan  Год назад +2

      Thanks, Yes true, PAL adds another layer of complexity. Even the Apple 2 is more complex in normal high res mode were the data stream is shifted by 1x 14MHz clock based on the most significant bit, but i wanted to get the basic idea across.

    • @AndyGraceMedia
      @AndyGraceMedia Год назад +1

      Or even weirder - SECAM. Believe it or not some countries in Africa still broadcast in SECAM although they're all moving to DVB. It's a real challenge to bitbang alternate FM modulated red and blue colour difference information between lines. I managed to get PAL working on ARM but never got round to making SECAM work.

  • @edgeeffect
    @edgeeffect Год назад +2

    I've been trying to learn TV colour encoding recently... and this is one of the best explanations I've seen... I think I might finally "get" the colour burst and the phase shift now. :)

    • @DrMattRegan
      @DrMattRegan  Год назад

      Excellent. It's great when the penny drops! If you're up for it, have a look at the Turing6502 videos, at least the first two (

  • @edgeeffect
    @edgeeffect Год назад

    I've watched a few videos recently about people making electronic music with analogue feedback.... quite fascinating how the overview schematic of this process looks so very similar with the address bus in what is basically a feedback loop.

    • @DrMattRegan
      @DrMattRegan  Год назад

      Yep, it’s a very common circuit, the finite state machine, you see them everywhere in computer architecture if you look hard.

  • @brettb.345
    @brettb.345 Год назад

    Great explanation. Thanks.

  • @blitmasters
    @blitmasters Год назад

    This series is the best that I've found on YT. My Son and I are building a Z80 homebrew machine and we'll be using these videos as our definitive guide for the graphics. 🤩 We'd like to achieve a VGA output of 320x224 with 8-bit color - Ambient brightness lifted, but then use the remaining 2 bits of each byte for brightness (I've imagined this 8-bit color palette as the 'perfect palette' for 25 years but lacked the technical know-how to implement it and stumped that I've never seen it implemented). 🙃 I'll keep trying!! 😀 Thank you for your amazing content. 👏 Also... are your schematics and code hosted anywhere?

    • @DrMattRegan
      @DrMattRegan  Год назад +1

      Excellent, glad you liked it. I have the schematic for the EPROM board on
      github.com/Turing6502/SAP6502
      It requires a clock and outputs G0-G19 are connected to address lines A0-19.
      The other outputs are in the video.
      Good luck with the build.

    • @blitmasters
      @blitmasters Год назад

      @@DrMattRegan This is awesome..thank you!!

  • @moldycoats
    @moldycoats Год назад +1

    Really incredible content as always 🎉 incredibly helpful and you’ve helped me learn so many core concepts

    • @DrMattRegan
      @DrMattRegan  Год назад

      I'm glad they are of value to you, more to come!

  • @xotmatrix
    @xotmatrix Год назад

    Great stuff as always.

  • @jhhoward
    @jhhoward Год назад

    Great video, really well explained! It would be interesting to see a comparison with CGA composite NTSC output.

    • @eDoc2020
      @eDoc2020 Год назад

      CGA programs using 620x200 artifact color work _exactly_ the same way. The built-in RGBI to composite conversion is a bit more complicated. I that uses both sides of the clock (for effectively 28MHz) and might use a multibit DAC but the principle is similar.

    • @DrMattRegan
      @DrMattRegan  Год назад

      Thanks for the feedback. GCA composite uses the same strategy.

  • @cleverson_sa_
    @cleverson_sa_ Год назад

    Amazing 😮.

  • @arminth
    @arminth Год назад +4

    If only my old LCD TV would properly display the signal of my Apple II europlus like your Hisense does ....

    • @DrMattRegan
      @DrMattRegan  Год назад +2

      Yeah i think there is quite a bit of variability with how well artifact colour is displayed. Fortunately i think i got lucky with my display.

    • @gorak9000
      @gorak9000 Год назад +1

      Look up the RGBtoHDMI project - it's a scan converter for displaying old video standards on standard LCD monitors with HDMI / DVI with pixel perfect scaling

  • @moddaudio
    @moddaudio Год назад +1

    That is an interesting trick to generate color from a digital signal. I was wondering, since a variable cap is hard to get, what is the combined capacitance of c2 and c3 in the tank circuit. A value of around 73pF would tune the tank to the color burst frequency, but I an unsure if that is optimal.

    • @DrMattRegan
      @DrMattRegan  Год назад

      I could only find a 33uH inductor so i think my ideal capacitance is ~60pF
      I think the frequency will somewhat be fixed by the colour burst signal itself, so i think the dominant effect of the variable cap is to adjust the phase (hue)

  • @djmips
    @djmips Год назад

    Nice vid. I enjoyed. But can I point our your misshapen sine waves at 11:42? :)

    • @DrMattRegan
      @DrMattRegan  Год назад

      Yes, it's actually very difficult to generate a sine wave in powerpoint. I figured that anyone who spots the shape difference, probably already knows enough about sine waves.

  • @annyone3293
    @annyone3293 Год назад +3

    Dr. Regan uses semicircles to plot sinusoids. x_x

    • @DrMattRegan
      @DrMattRegan  Год назад +2

      Haha yes busted. But if you can spot that, you probably already know the details.

  • @mheermance
    @mheermance Год назад

    I have heard the description of NTSC and its inner workings many times, and it still gives me a headache every time. Given that it is backwards compatible with monochrome video, it's an engineering achievement. But compared to VGA it feels like such a hack. Although I am coming at it from the digital perspective and not an analog one. It might make more sense in an analog system.

    • @DrMattRegan
      @DrMattRegan  Год назад +2

      I wouldn't try and get more than 16 colours from NTSC myself. VGA is much easier to use, but it was very clever of Woz to generate colour this way. Probably one of the important factors that bootstrapped the company. The apple 2 is even more complex, it uses the top bit in the byte to shift the by 1x14 MHz clock cycle which is how he gets 4 colors + black and white.
      Jensen Huang at NVidia would pound it into the architecture team that the most efficient architecture wins an gets all the money.

  • @d.j.peters
    @d.j.peters 29 дней назад +1

    Do you have done PAL for us european and the rest of the world ?

    • @DrMattRegan
      @DrMattRegan  23 дня назад +1

      Good to know there's interest out there for PAL. I've had one for PAL on the back-burner for a while, so i might advance it up the schedule.

  • @DAVIDGREGORYKERR
    @DAVIDGREGORYKERR Год назад

    What about 3x R2R networks one for each color.

    • @DrMattRegan
      @DrMattRegan  Год назад

      That works for VGA, but NTSC uses the colour subcarrier of 3.579 MHz

  • @edisonade5409
    @edisonade5409 Год назад

    Why not generate the VBlank stuff in software and save the ROM space?

    • @DrMattRegan
      @DrMattRegan  Год назад

      The plan is to use it to make a ZX Spectrum and an Apple 2, so software control over raster isn't an option.

    • @d.jensen5153
      @d.jensen5153 Год назад

      @@DrMattRegan Does this mean you will be taking your video experiments further in the coming weeks or months??

  • @misterhat5823
    @misterhat5823 Год назад +1

    NTSC stands for Never Twice Same Color.

  • @gorak9000
    @gorak9000 Год назад +1

    I'm pretty sure NTSC stands for Never The Same Color

  • @johnjosephlonergan
    @johnjosephlonergan Год назад

    What is the emulator used here?

    • @DrMattRegan
      @DrMattRegan  Год назад

      HI John, I've used AppleWin, which is available on github

  • @jonaw.2153
    @jonaw.2153 Год назад

    I'm going to pretend I understood some of that

    • @DrMattRegan
      @DrMattRegan  Год назад

      Try watching the VGA from an EPROM. If you want a more in-depth and slower paced explanation, try the Apple 2 wire-by-wire series.

    • @jonaw.2153
      @jonaw.2153 Год назад

      @@DrMattRegan I most certainly will! Expect me to come back here to change my comment at some point

  • @joeteejoetee
    @joeteejoetee Год назад +1

    1st !

  • @akkudakkupl
    @akkudakkupl Год назад

    NTSC stands for Never The Same Colour