Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Let's make a Pi Pico 2 powered video card.

Let's make a Pi Pico 2 powered video card.

Scheduled Pinned Locked Moved Uncategorized
retrocomputing
144 Posts 30 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

    Right. This isn't completely baffling or anything

    gloriouscow@oldbytes.spaceG This user is from outside of this forum
    gloriouscow@oldbytes.spaceG This user is from outside of this forum
    gloriouscow@oldbytes.space
    wrote last edited by
    #82

    Oh, wait, I remember this level from ZZT.

    gloriouscow@oldbytes.spaceG 1 Reply Last reply
    0
    • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

      Oh, wait, I remember this level from ZZT.

      gloriouscow@oldbytes.spaceG This user is from outside of this forum
      gloriouscow@oldbytes.spaceG This user is from outside of this forum
      gloriouscow@oldbytes.space
      wrote last edited by
      #83

      I think the elf needs food badly

      gloriouscow@oldbytes.spaceG 1 Reply Last reply
      0
      • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

        I think the elf needs food badly

        gloriouscow@oldbytes.spaceG This user is from outside of this forum
        gloriouscow@oldbytes.spaceG This user is from outside of this forum
        gloriouscow@oldbytes.space
        wrote last edited by
        #84

        okay this isn't that confusing

        for example, these are the snake pins. you can choose from left snakes or right snakes

        Link Preview Image
        gloriouscow@oldbytes.spaceG rotopenguin@mastodon.socialR 2 Replies Last reply
        0
        • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

          Right. This isn't completely baffling or anything

          robdaemon@hachyderm.ioR This user is from outside of this forum
          robdaemon@hachyderm.ioR This user is from outside of this forum
          robdaemon@hachyderm.io
          wrote last edited by
          #85

          @gloriouscow this seems like something @paulrickards would generate and send to his plotter

          paulrickards@mastodon.socialP 1 Reply Last reply
          0
          • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

            I'm starting to think a pico is not the appropriate thing to build a video card with.

            all my fun ideas always end up with me concluding i should use an FPGA.

            FPGAs are like the crabs of electronics projects. everything wants to turn into an FPGA if you give it enough time.

            jordan@sometimes.socialJ This user is from outside of this forum
            jordan@sometimes.socialJ This user is from outside of this forum
            jordan@sometimes.social
            wrote last edited by
            #86

            @gloriouscow are DSPs horribly unfashionable now? I remember for a minute in the 90s, everything was a DSP

            1 Reply Last reply
            0
            • robdaemon@hachyderm.ioR robdaemon@hachyderm.io

              @gloriouscow this seems like something @paulrickards would generate and send to his plotter

              paulrickards@mastodon.socialP This user is from outside of this forum
              paulrickards@mastodon.socialP This user is from outside of this forum
              paulrickards@mastodon.social
              wrote last edited by
              #87

              @robdaemon @gloriouscow Totally, I'd plot that 🙂

              1 Reply Last reply
              0
              • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                okay this isn't that confusing

                for example, these are the snake pins. you can choose from left snakes or right snakes

                Link Preview Image
                gloriouscow@oldbytes.spaceG This user is from outside of this forum
                gloriouscow@oldbytes.spaceG This user is from outside of this forum
                gloriouscow@oldbytes.space
                wrote last edited by
                #88

                you know, there's a very good reason NOT to use an FPGA

                when you actually use the proper tools for a job, it stops becoming a hack.

                you're no longer a hacker, you're some kind of engineer or something. ugh.

                gloriouscow@oldbytes.spaceG 1 Reply Last reply
                0
                • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                  you know, there's a very good reason NOT to use an FPGA

                  when you actually use the proper tools for a job, it stops becoming a hack.

                  you're no longer a hacker, you're some kind of engineer or something. ugh.

                  gloriouscow@oldbytes.spaceG This user is from outside of this forum
                  gloriouscow@oldbytes.spaceG This user is from outside of this forum
                  gloriouscow@oldbytes.space
                  wrote last edited by
                  #89

                  Well, I did an FPGA thing. Can check that off the bucket list.

                  argv_minus_one@mastodon.sdf.orgA seanwbruno@infosec.exchangeS gloriouscow@oldbytes.spaceG 3 Replies Last reply
                  0
                  • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                    okay this isn't that confusing

                    for example, these are the snake pins. you can choose from left snakes or right snakes

                    Link Preview Image
                    rotopenguin@mastodon.socialR This user is from outside of this forum
                    rotopenguin@mastodon.socialR This user is from outside of this forum
                    rotopenguin@mastodon.social
                    wrote last edited by
                    #90

                    @gloriouscow this pin only does rising edges

                    That pin only does falling edges

                    1 Reply Last reply
                    0
                    • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                      Well, I did an FPGA thing. Can check that off the bucket list.

                      argv_minus_one@mastodon.sdf.orgA This user is from outside of this forum
                      argv_minus_one@mastodon.sdf.orgA This user is from outside of this forum
                      argv_minus_one@mastodon.sdf.org
                      wrote last edited by
                      #91

                      @gloriouscow

                      “That's why they call me the Count!” —you, probably

                      gloriouscow@oldbytes.spaceG 1 Reply Last reply
                      0
                      • argv_minus_one@mastodon.sdf.orgA argv_minus_one@mastodon.sdf.org

                        @gloriouscow

                        “That's why they call me the Count!” —you, probably

                        gloriouscow@oldbytes.spaceG This user is from outside of this forum
                        gloriouscow@oldbytes.spaceG This user is from outside of this forum
                        gloriouscow@oldbytes.space
                        wrote last edited by
                        #92

                        @argv_minus_one nobody has ever called me the count, and i hope they do not start

                        1 Reply Last reply
                        0
                        • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                          Well, I did an FPGA thing. Can check that off the bucket list.

                          seanwbruno@infosec.exchangeS This user is from outside of this forum
                          seanwbruno@infosec.exchangeS This user is from outside of this forum
                          seanwbruno@infosec.exchange
                          wrote last edited by
                          #93

                          @gloriouscow

                          Link Preview Image
                          1 Reply Last reply
                          0
                          • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                            Well, I did an FPGA thing. Can check that off the bucket list.

                            gloriouscow@oldbytes.spaceG This user is from outside of this forum
                            gloriouscow@oldbytes.spaceG This user is from outside of this forum
                            gloriouscow@oldbytes.space
                            wrote last edited by
                            #94

                            Okay, lets see if I can get a 14.31818MHz clock out of this thing.

                            We have a 50MHz clock source, on a pin called FPGA_CLK1_50.

                            How do we get 14.31818MHz out of that?

                            By attaching a PLL to it, hopefully.

                            module de10_clock_test (
                            input wire FPGA_CLK1_50,
                            output wire GPIO_1_0
                            );

                            wire clk_osc;
                            wire pll_locked;

                            cga_pll pll_inst (
                            .refclk (FPGA_CLK1_50),
                            .rst (1'b0),
                            .outclk_0 (clk_osc),
                            .locked (pll_locked)
                            );

                            assign GPIO_1_0 = clk_osc;
                            endmodule
                            gloriouscow@oldbytes.spaceG 1 Reply Last reply
                            0
                            • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                              Okay, lets see if I can get a 14.31818MHz clock out of this thing.

                              We have a 50MHz clock source, on a pin called FPGA_CLK1_50.

                              How do we get 14.31818MHz out of that?

                              By attaching a PLL to it, hopefully.

                              module de10_clock_test (
                              input wire FPGA_CLK1_50,
                              output wire GPIO_1_0
                              );

                              wire clk_osc;
                              wire pll_locked;

                              cga_pll pll_inst (
                              .refclk (FPGA_CLK1_50),
                              .rst (1'b0),
                              .outclk_0 (clk_osc),
                              .locked (pll_locked)
                              );

                              assign GPIO_1_0 = clk_osc;
                              endmodule
                              gloriouscow@oldbytes.spaceG This user is from outside of this forum
                              gloriouscow@oldbytes.spaceG This user is from outside of this forum
                              gloriouscow@oldbytes.space
                              wrote last edited by
                              #95

                              pll_inst is a PLL instantiation. But notice it says nothing about like dividers or anything. We have to go into something confusingly called the IP (Incendiary Pickle) Catalog to actually configure the PLL.

                              This is far as a I get because doing this causes Quartus to hang.

                              gloriouscow@oldbytes.spaceG 1 Reply Last reply
                              0
                              • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                pll_inst is a PLL instantiation. But notice it says nothing about like dividers or anything. We have to go into something confusingly called the IP (Incendiary Pickle) Catalog to actually configure the PLL.

                                This is far as a I get because doing this causes Quartus to hang.

                                gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                gloriouscow@oldbytes.space
                                wrote last edited by
                                #96

                                Oh wait I just had to wait seventeen minutes. cool.

                                Link Preview Image
                                gloriouscow@oldbytes.spaceG 1 Reply Last reply
                                0
                                • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                  Oh wait I just had to wait seventeen minutes. cool.

                                  Link Preview Image
                                  gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                  gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                  gloriouscow@oldbytes.space
                                  wrote last edited by
                                  #97

                                  i bet there are people reading this that know how to actually use this stuff and are having themselves a sensible chuckle at my expense

                                  gloriouscow@oldbytes.spaceG 1 Reply Last reply
                                  0
                                  • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                    i bet there are people reading this that know how to actually use this stuff and are having themselves a sensible chuckle at my expense

                                    gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                    gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                    gloriouscow@oldbytes.space
                                    wrote last edited by
                                    #98

                                    when you build the PLL you get a QIP file full of nonsense

                                    Link Preview Image
                                    gloriouscow@oldbytes.spaceG 1 Reply Last reply
                                    0
                                    • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                      when you build the PLL you get a QIP file full of nonsense

                                      Link Preview Image
                                      gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                      gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                      gloriouscow@oldbytes.space
                                      wrote last edited by
                                      #99

                                      Okay, if I did all this right, i should have a 14.31818MHz clock on GPIO pin 1.

                                      Let's find out! To the workbench!

                                      gloriouscow@oldbytes.spaceG 1 Reply Last reply
                                      0
                                      • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                        @bytex64 just out of curiosity what's the derivation of that how how did you drive it with a pico?

                                        bytex64@awesome.gardenB This user is from outside of this forum
                                        bytex64@awesome.gardenB This user is from outside of this forum
                                        bytex64@awesome.garden
                                        wrote last edited by
                                        #100

                                        @gloriouscow IIRC it’s the regular fractional divider PWM mode but it was a while ago. I do have the source for it: https://github.com/bytex64/tt-munch/tree/main/clockgen

                                        It’s also not super exact. IIRC the closest it could get was like 25.150 or something.

                                        1 Reply Last reply
                                        0
                                        • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                          Right. This isn't completely baffling or anything

                                          isabel@chaos.socialI This user is from outside of this forum
                                          isabel@chaos.socialI This user is from outside of this forum
                                          isabel@chaos.social
                                          wrote last edited by
                                          #101

                                          @gloriouscow you won minesweeper!

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups