DIY Video RAM #1 VGA Signals on a Shoestring

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • This is part 1 of a mini series documenting my learning experience and build of video RAM from scratch by using only a few TTL chips on breadboards. The video RAM is time-shared between a CPU and a circuit that generates a valid VGA signal. Have fun!
    Arduino sketches and KiCAD schematics:
    github.com/slu...

Komentáře • 50

  • @willeyex
    @willeyex Před 3 lety +7

    Loving your channel, I can't believe you don't have more subs. I am a big fan of Ben eater but finding you take his work to next level. Keep up the amazing work

    • @slu467
      @slu467  Před 3 lety +1

      Hi Tom, thanks for your kind words. Glad you found this :-) I too think that it's kind of weird that a video Ben does about the exact same topic (PS2 KB) I did a year ago gets 50k views in 1 day while my stuff gets 500 views in 200 days ;-) If you like my vids, please tell others. It'll help me a lot for future stuff. Cheers!

  • @hassanzahin1534
    @hassanzahin1534 Před 3 lety +3

    2:59 those satisfying clicking sounds

  • @paulkirchhof9546
    @paulkirchhof9546 Před 3 lety +3

    This is exact what we do 41 years ago before low cost chips as 6845 came on the market. The 6845 shows the difference between fix wired video timing and variable timing with control registers.
    The difficult later is the synchronous Write to the video RAM to avoid output problems if you write very fast to the RAM it comes to disturbed pictures. It is interessant how slu will find a solution.
    Fine that the next generation can understand what pixel shifting mean.

    • @slu467
      @slu467  Před 3 lety +2

      Love your in-depth comments and suggestions, Paul. Until I tackle HDMI I will have to sort out a couple of other issues :-) Re-inventing stuff as a one-man show takes time... Cheers!

  • @pradhumna.ghimire
    @pradhumna.ghimire Před 3 lety +3

    Awesome stuffs you got on your channel. Totally hooked and waiting for more.

    • @slu467
      @slu467  Před 3 lety

      Glad you like it! Next part is coming out in a few days :-)

  • @edgeeffect
    @edgeeffect Před 3 lety

    I love your "follow my own ideas and keep the designs simple" philosophy... exactly how I work myself.

    • @slu467
      @slu467  Před 3 lety

      Thanks for appreciating :-)

  • @cbmeeks
    @cbmeeks Před 3 lety +4

    Looking forward to this series!

    • @slu467
      @slu467  Před 3 lety +1

      Thank you! I am releasing a video every 2-3 days (4 in total). Stay tuned!

  • @thmbr
    @thmbr Před 3 lety +2

    Nice project, I've had problem with the oscilator and I fought a little to resolve (because I didn't have the same components). But now it's working, thanks for the video.

    • @slu467
      @slu467  Před 3 lety

      Thanks for the feedback. It is always very valuable for me to hear that you could reproduce all this. Great job!

  • @subject2749
    @subject2749 Před 3 lety +1

    I think this is exactly what I've been looking for

  • @shivaramkrishnaaj9496
    @shivaramkrishnaaj9496 Před 2 lety +1

    Excellent, Thanks a lot, may god bless you.. Keep doing and keep digging the science like this....

    • @slu467
      @slu467  Před 2 lety +1

      Thanks a lot, glad you like what I do.

  • @coenraadloubser5768
    @coenraadloubser5768 Před 3 lety +1

  • @rjameslower
    @rjameslower Před 3 lety +2

    i need a book about this!

  • @amnesie6615
    @amnesie6615 Před 3 lety +1

    Wieder ein tolles Video, weiter so! Unterhaltsam & dank dir lernen wir auch was dabei :)

    • @slu467
      @slu467  Před 3 lety

      Schön, wenn's gefällt :-) für mich ist das auch "learning by doing". Cheers!

  • @danielhall8818
    @danielhall8818 Před 3 lety

    Great video, looking forward to the follow on videos.

    • @slu467
      @slu467  Před 3 lety

      Thanks for tuning in again, Daniel ;-)

  • @AlanMedina314
    @AlanMedina314 Před 3 lety

    Your content is solid.
    Thank you for sharing Slu4.

    • @slu467
      @slu467  Před 3 lety

      Thanks a lot, Alan.

  • @mr.fishfish570
    @mr.fishfish570 Před rokem +1

    Awesome!

  • @marcelonavarta483
    @marcelonavarta483 Před 3 lety +2

    Muy bueno !

  • @giova2927
    @giova2927 Před 9 měsíci

    Hi I have a fanuc sigma vc600 and this lcd Fanuc LCD A61L-0001-0093 with honda 20 pin cable. I would take this signal on my PC.

  • @colonelbarker
    @colonelbarker Před 3 lety +1

    I'm just wondering, you have 16 address lines coming out of the buffers and 14 going into the RAM. The KiCad schematics suggests it is lines A7 on the left buffer and A6 on the right, but it looks like the build version just ignores the upper two bits of the left hand 245. I'm think it may be an error in the schematic, but I could be reading it wrong?

    • @slu467
      @slu467  Před 3 lety

      Hey Aaron, I think you are right, but it actually doesn't change the function at all. The 74HC245 buffers do not "know" their bit number. They just provide 8 "bit channels" each, which you could use in either way, independent of each other.

    • @colonelbarker
      @colonelbarker Před 3 lety +1

      @@slu467 true! I was just wiring up the shift registers and buffers here and wanted to get it right. The 8-bit counters I can't for the life of me find in Australia so they are coming express from the US

    • @djc1402
      @djc1402 Před 3 lety +1

      @@colonelbarker I got a bunch of 74HC590s from Rockby electronic components in Victoria last week. They are more expensive than Mouser though.

    • @slu467
      @slu467  Před 3 lety +1

      It'll be totally okay to use 4x 74HC161 instead of using the 74HC590s. It's just that it takes more space on the breadboards...

    • @colonelbarker
      @colonelbarker Před 3 lety

      @@djc1402 oh nice! I'll investigate. I've been using RS components a lot recently that offer free shipping and arrive super quick

  • @djc1402
    @djc1402 Před 3 lety +1

    Have you taken what your Arduino Nano VGA code does and translated that into counters and logic chips? The Nano runs at 16MHz too.

    • @slu467
      @slu467  Před 3 lety +1

      Hi David, that's right. I always thought it would involve too many ICs (for my taste) but it turned out to be quite feasible.

    • @djc1402
      @djc1402 Před 3 lety +2

      @@slu467 It looks like you designed your VGA a lot like mine except I used a ROM for the control signals instead of logic chips and used latches instead of shift registers to input the data. You should try making a colour VGA one day.

  • @spsmartfast9
    @spsmartfast9 Před 2 lety

    hello
    May i have the schematic diagram?

    • @slu467
      @slu467  Před 2 lety +1

      Hi :-) The schematics are in the GitHub repo (link is in the video description).

  • @canaDavid1
    @canaDavid1 Před 3 lety

    I am a little confused by the diagrams. How do you tell the difference between and and or gates?

    • @slu467
      @slu467  Před 3 lety +1

      These are standardized symbols for OR and NAND. NAND = AND with output inverted (denoted by the little circle).

    • @canaDavid1
      @canaDavid1 Před 3 lety

      @@slu467 yeah, but I thought and (and NAND) had a straight line at the input end, and not a curved like or and nor. But it might be regional differences of something idk

    • @slu467
      @slu467  Před 3 lety +1

      @@canaDavid1 Hmm, you are right, David, I am more familiar with the straight line AND, too. I might have picked up a "bad" symbol here... anyway, it's supposed to be a NAND as advertized :-) Cheers and thanks for pointing this out!

    • @canaDavid1
      @canaDavid1 Před 3 lety

      @@slu467 thanks for a kind response!

  • @hassanzahin1534
    @hassanzahin1534 Před 3 lety

    what oscilloscope do you use?

    • @slu467
      @slu467  Před 3 lety +1

      Hi Hassan, I am using a PicoScope 2205. The bandwidth is very limited but for quick troubleshooting it's nice to have. Cheers!

  • @ducksonplays4190
    @ducksonplays4190 Před 3 lety +1

    this is stupid i did my math wrong so i could run my cpu up to 20 mhz possibly
    guaranteed 10 maybe 16 probably not but still possible 20 16 mhz is the fastest it would go without the ram being a bottleneck