Palette PCB - VGA from Scratch - Part 19

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 มิ.ย. 2024
  • In this video we convert the palette circuit from breadboard to pcb. This contains work from parts 11 and 12 in the vga series. Converting exiting circuits to pcb sometimes feels like it doesn’t progress the build, but it is an essential part of the process. This is a huge step forward in the vga circuit allowing me to run all the core functionality so far without any breadboards hanging off the side of the build.
    As is commonly the case with these, the PCB routing takes a big chunk of the time. If that doesn’t interest you jump forwards to (Or use the chapters).
    0:00 Introduction
    0:24 Discussion
    1:57 Schematic Update
    5:36 Layout
    8:43 Backplane Update
    9:45 Routing
    18:19 A small Oversight
    21:05 Assembly
    25:04 Reflow
    26:35 Hand Soldering
    27:15 Install and Test
    28:43 Outro
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @weirdboyjim
    @weirdboyjim  2 หลายเดือนก่อน +1

    Join us on Discord: discord.gg/jmf6M3z7XS
    Follow me on Twitter: twitter.com/WeirdBoyJim
    Support the channel on Patreon: www.patreon.com/JamesSharman

  • @peter.stimpel
    @peter.stimpel 2 หลายเดือนก่อน +14

    "I can swap those around" are famous last words, at least for me. This "autorouter" called James is way ahead of my routing skills ...

    • @weirdboyjim
      @weirdboyjim  2 หลายเดือนก่อน +9

      I haven't forgotten the vga output circuit when "just swapping these" around caused me to spend significant time in investigation!

  • @jerril42
    @jerril42 2 หลายเดือนก่อน +6

    People complaining that there aren't enough LEDs on the VGA panel... they are correct, of course. Never blinkin' lights.
    The project looks amazing, that last pan out was a great overview of its' magnificence.
    Bring on the sprites!

    • @weirdboyjim
      @weirdboyjim  2 หลายเดือนก่อน +4

      Lots more cool demos in the works!

  • @OscarSommerbo
    @OscarSommerbo หลายเดือนก่อน +7

    Thanks for adding the on-screen comments, I bet it saved a lot screaming at the screen :D

    • @weirdboyjim
      @weirdboyjim  หลายเดือนก่อน +2

      Thanks! Saved me lots of comment replies as well 😅

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

    Good job getting it done first time.
    Don't forget to add Blast Processing(TM).

    • @weirdboyjim
      @weirdboyjim  หลายเดือนก่อน +2

      Thanks! Might have to limit myself to regular processing. I don't have a silly enough Marketing department to add Blast Processing(TM)

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

    Nicely done. It's always good when things just work first time.

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

      You got that right!

  • @R.Daneel
    @R.Daneel หลายเดือนก่อน +3

    I'm shocked but pleased that worked first time for you! There were a lot of changes and I figured you were tempting fate. Great job!

    • @weirdboyjim
      @weirdboyjim  หลายเดือนก่อน +2

      Thanks for the confidence! 😆 I've had more work first time than not!

    • @R.Daneel
      @R.Daneel หลายเดือนก่อน

      @@weirdboyjim Heh. Sorry. The unintended backhanded complement stems from extensive personal experience.

  • @cskilbeck
    @cskilbeck หลายเดือนก่อน +2

    So good - can't wait for the sprites! Lovely reflow money shot this time as well. The whole thing is looking really impressive.

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

      I was really pleased with that bit of reflow! I did upload a copy in 4k if you want to take a look! th-cam.com/video/-Ft7fpfQwvw/w-d-xo.html

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

      @@weirdboyjim Very nice - even looks good on my crappy 1080 monitor!

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

    What TH-cam has taught me is that it's just a matter of time until someone wire-wraps this machine entirely and strangely enough I'm looking forward to it!

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

      As you long as you are not demanding I do it! 😅

  • @Schwuuuuup
    @Schwuuuuup หลายเดือนก่อน +2

    Cheer for the flawless win! And I absolutely loved the "chip review" while assembling it "This ist a 74xyz it's turbo encabulator, we use it to re-calibrate the sensor phalanx" it really helped to answer some open questions in my head an enhance the understanding.
    (And this is the internet, so I will emphasize: that this was not sarcastic, I actually liked it very much ;-) )

    • @weirdboyjim
      @weirdboyjim  หลายเดือนก่อน +3

      Glad you enjoyed it! But this is just regular encabulation, I'll turbo it in a later videos 😆

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

      @@weirdboyjim ahh I seen the turbo encabulators only come in BGA Packages which are hardly usable for simple Hobbyists with a soldering iron

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

      ​@@weirdboyjim I'd hope so! After all, regular encabulators are very prone to side fumble! 😁

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

    Goody ! sprites, awesome work James....cheers.

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

      Thanks Andymouse!

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

    I very much enjoy your videos. Congrats on your success with this board first time out. Thanks so much for making them. Cheers

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

      Thank you very much!

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

    Great result! I'm really looking forward to seeing how you implement the sprite hardware.

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

      That's the last significant bit of functionality due to be added!

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

    Amazing that it worked first time! Impressive!

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

      Indeed thanks! I'm well about 50% for getting it to work first time, but this was a complex board.

  • @john_ace
    @john_ace หลายเดือนก่อน +2

    You could add a circuit to select the palette bank "automatically" by using the first byte of a line in the frame buffer. Each line could have one out of 32 palettes. All palettes could be on screen at the same time without any CPU overhead. The Apple IIgs used this trick to get more out of the very limited 16 out of 4046 color space. The image conversion process is a bit more elaborate, though. The automatic palette-swap was heavily used to have a defined palette for the menu-bar in 640-mode (4 colors out of 4096) while the rest of the screen could have any other colors. The IIgs had some other neat modes like flood fill mode (color-index followed by 0 will continue to draw that color) and alternating palettes for even and odd pixel-columns in 640-mode (switch the least sig. bit of the palette banks by the pixel-clock). You could also add an auto-cycle circuit to switch through the 32 palettes on the h-sync (every frame, every 2nd frame ...). This would add limited animation capabilities without CPU-overhead.

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

      Interesting idea. I thought about a few things that could be done. One I liked was taking the pallet bank of the top 5 bits of the tile index. That would be far more manageable. Changing the index by frame or line is something you could do in software under the current model. I would have rather just had 256 byte srams, this solution was the simplest thing that let me use that ram without messing with the circuits elsewhere.

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

      @@weirdboyjim I find your idea to drive the pallet banks from a tile/sprite engine very interesting. That would result in a lot more versatility compared to a by-pixel/by-line or by-frame approach. Having separate palettes for background, sprites and tiles makes a lot of sense.

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

      @@john_aceattribute color was actually patented by Sinclair for the spectrum. C64 has a separate palette for the sprites as does the Amiga. Well technically, I think that the Amiga inventors thought they games would use 8+8 colors for the playfields. ST port use 16 colors. So the top 16 were for the 8 sprites. Ah find the error. Why not 24 colors for sprites?

  • @starc0w
    @starc0w 21 วันที่ผ่านมา

    This is fantastic! Thank you so much!

    • @weirdboyjim
      @weirdboyjim  20 วันที่ผ่านมา

      You're very welcome!

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

    the last 10% normally always take 90% of the time. we normally chose to do the easy traces first hoping that the last ones will still be routable.
    if you have a tight project time line, then it's always best to have a 2 week holiday just after the deadline. knowing that is when the fan gets hit 🙂

    • @weirdboyjim
      @weirdboyjim  28 วันที่ผ่านมา

      We often talk about "the first 90%" and "the second 90%" of certain bits of work.

    • @TheEmbeddedHobbyist
      @TheEmbeddedHobbyist 28 วันที่ผ่านมา

      @@weirdboyjim I just think it's the normal flow of things. The easy bugs you can just run through without much effort, but the last few expose deeper problems or issues in the code or requirements.

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

    congrats matey - great work

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

    The jam-1, aka "Sharmatronic Awesome Computer" (SAC? XDDDD) is looking better with each iteration. Cheers!

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

      Glad you are enjoying!

  • @m1geo
    @m1geo หลายเดือนก่อน +3

    Not enough LEDs on the VGA board? The entire thing's purpose is to drive millions of little coloured dots!

    • @weirdboyjim
      @weirdboyjim  หลายเดือนก่อน +2

      A good point, but in you could argue an "era appropriate" display would be crt and not oled!

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

    I've ordered a couple of AHC components (such as 74AHC138 and 74AHC574) to get the speed of AC but the convenience of HC. If I understand it correctly they have gentler rise times than AC and therefore a bit easier to work with but they are still faster than their HC counterparts.

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

      Interesting, I'll take a look at that logic family.

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

      FWIW there is AHCT as well in case you need TTL-compatible inputs (I noticed you used LS-parts in some places)
      I mistakenly bought a 25.175 MHz oscillator which didn't have CMOS compatible outputs but I hope a 74AHCT will save the day to give me a CMOS compatible 12.6 MHz signal :)

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

    Great work ... (yeah 103 is not 101 HEHE!!)

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

      My Resistor kit lied to me!

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

    Is this still the same computer that you started building +-3 years ago? When do you think you'll finish it? I'm looking forward to seeing the final state of the computer. 😁

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

      It is indeed. The core cpu has been finished for quite some time though (but I will make a new backplane at the end to tidy it up). I'm just building all the other bits now to make it a full system.

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

    Good PCB software will support gate swapping, bank swapping, bus reordering, etc., as the ICs support, and it's trivial to use. EasyEDA is super basic. 🙂

    • @weirdboyjim
      @weirdboyjim  หลายเดือนก่อน +7

      I appreciate I should look at some other options but there is obviously learning curve resistance to that. I want to stick with amateur accessible software though (free preferably).

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

      @@weirdboyjim I've got great experience with Kicad. Only thing I tried to do so far that failed catastrophically was renumbering the components after layouting the PCB. Not sure if it would help with what @m1geo suggests, but I'm happy with it. Seems superficially similar to EasyEDA though.

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

      I've used three different and non-mutually compatible PCB CAD suites over the years (late 1980s to present). Each has their quirks and advantages and disadvantages. I'm with James on this - it's better to be expert in one and know how to work around it's limitations than spend more time learning another only to hit another set of issues further down the road.

    • @robiniddon7582
      @robiniddon7582 หลายเดือนก่อน +2

      Yup, if you know how to achieve stuff and you aren't collaborating with others then any tool that you know how to use is just fine.

    • @Schwuuuuup
      @Schwuuuuup หลายเดือนก่อน +2

      I'm in the process of changing from Eagle to KiCAD .. man I feel like a noob again and the easiest Tasks feel annoyingly hard. Switching EDA tools is hard.

  • @FrankGevaerts
    @FrankGevaerts 2 หลายเดือนก่อน +2

    That looks remarkably breadboardless!

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

      The sprite hardware will be quite a few breadboards but the build is definitely on the downward trend for breadboards now!

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

      @@weirdboyjim Ooh looking forward for this

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

    well speed and power required go hand in hand i find. faster electrons keen a bigger kick up the rear. 🙂

    • @weirdboyjim
      @weirdboyjim  28 วันที่ผ่านมา

      How do you tell which side of an electron is the rear? 😆

    • @TheEmbeddedHobbyist
      @TheEmbeddedHobbyist 28 วันที่ผ่านมา

      @@weirdboyjim you have to watch to see which end gets wiped 😃

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

    How did you get JLCPCB to ship you a normal sized stencil? They keep offering me a huge one with equally huge shipping costs. Is it just the custom size bit?

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

      You can specify a custom size for the stencil when you are ordering it. I usually make mine 10cm bigger than the PCB in both dimensions so that there is a good amount of overlap (5cm on each edge) for working with solder paste, but it isn't ridiculously oversized.

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

      Yes, as Tom said, it's the specify size option. I suspect they just make the large one and trim it. Does make the shipping easier, I make mine all 150x100 if I can.

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

    EasyEDA appears to have a superior UI compared to KiCAD, which I find very unpleasant to use. Connecting components in KiCAD are very fidgety and buggy. Its design checker would be laughable, if it weren't so frustratingly useless. It merely drops arrow pointing at the problem which are often bugs in how it detects connection points. I suspect its fanfare is primarily based on it being free and open source rather than its quality. It's a real shame as it is recommended as being the most capable tool.

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

      People keep telling me to learn KiCad but I have a certain level of investment in learning the EastEDA interface it's tough to walk away from.