RP2040 - 6502 Emulator - TIM, Tiny Basic, and EHBasic

Поділитися
Вставка
  • Опубліковано 11 жов 2024

КОМЕНТАРІ • 14

  • @Clyde_Lewis
    @Clyde_Lewis 8 місяців тому

    Thanks for the excellent, very clearly made video.

  • @andrethomas1800
    @andrethomas1800 8 місяців тому

    Excellent, can't wait for the next video. For serial I would not bother about doing the assembly work.. just throw a CH340N (SOIC-8, no crystal) on the uart. What would be interesting though is adding usb support for a keyboard

    • @LifewithDavid1
      @LifewithDavid1  8 місяців тому

      Thanks for the suggestion. I'm using a similar adapter (but with a cable) right now. I was trying trying to reduce the cost of entry even more. Unfortunately, I would need to implement a separate power supply which is probably just as much of an expense.

  • @mschmalenbach
    @mschmalenbach 6 місяців тому

    Nicely done David. I love this project, and stumbled across it in a very timely manner - I want to stick a much accelerated 6502 on my C64 and have it run the standard C64 floating point routines and a few other things to operate as a simple math co-processor. So that means interfacing the PICO 2040 board to the C64 - simple enough with a few level shifter-buffers. Remind me - what is the relative speed of your emulated 6502?

    • @LifewithDavid1
      @LifewithDavid1  6 місяців тому

      Thank you. My emulator has a "clock" speed of about 5 to 6 MHz depending on the program. Sounds like an interesting project; good luck and most importantly, have fun!

  • @yorecode
    @yorecode 8 місяців тому

    For the joy of it. Nice to see, David.
    It would be fun to see your 6502 emulator on a RP2040 Pico running Hopper code. Hopper is a new programming language using bytecodes with virtual machine runtimes on microcontrollers. Michael Cartwright already has runtimes for 6502 along with RP2040. Hopper is mostly written in Hopper. A .NET based IDE on Windows is used for compilation, a microchip programmer, and monitor for the excellent Hopper debugger.
    ua-cam.com/play/PLriDPC-IsO2kS9yC66plwe2y_EtuIahNt.html
    A 6502 emulation on an RP2040 running a virtual machine, perhaps in RP2040 mode stuffed with the 6502 runtime. Then running BASIC programs. For the joy of it.

    • @LifewithDavid1
      @LifewithDavid1  8 місяців тому

      Kinda mind-bending. Thanks for the link, I did a quick look. I'll have to dig into it more.

  • @rumbledethumps
    @rumbledethumps 9 місяців тому

    TinyUSB as a CDC device is easy and reliable for what you need. But you'll get more bang in host mode with keyboards, mice, storage, and more. Want both host and device ports? There's a PIO USB device too!

    • @LifewithDavid1
      @LifewithDavid1  9 місяців тому

      Congratulations on your work on marrying the 6502 and the Pico! You're channel has some very interesting ideas. USB certainly looks doable; I just have to do some head scratching to see if I can implement it in bare metal without the sdk. Thank you so much for showing me what is possible! I've got a lot more learning to do!

  • @wktodd
    @wktodd 9 місяців тому +2

    Impressive David. Have you tried BBC basic ?

    • @LifewithDavid1
      @LifewithDavid1  9 місяців тому

      Thanks. I'll have to try BBC basic. I don't have any experience with it. Living in the United States it was not very widespread.

  • @prakash-r1k
    @prakash-r1k 8 місяців тому

    sir i have an doubt i have rp2040 with 133mhz and dso of 100mhz i want to create pwm but i received much noise and this thing i want in PIO can u help me

    • @LifewithDavid1
      @LifewithDavid1  8 місяців тому

      Have you checked out my other videos on PWM, DMA, and AWG. Those might provide the info you need.