NES on a 64Bit RISC-V Sipeed MAIX

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • David Ledger demonstrates getting a NES game emulator and other examples running on a 64bit RISC-V Sipeed MAIX development board using micropython.
    #RISCV #MicroPhython #NES
    Forum: www.eevblog.com/forum/blog/nes...
    Bitcoin Donations: 38y7DE8HEHNj8fGDtUr4PkCn9nWxiorvvy
    Litecoin: MRnSifHf1jjgimgFq56YWXb3uo1iHdhg1R
    Ethereum: 0x11AceA38DCA9DbFfB4F35f3F746af65F9dED28ce
    Ripple: rBgnUKAEiFhCRLPoYNPPe3JUWayRjP6Ayg
  • НаукаНаука

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

  • @DJignyte
    @DJignyte 5 лет назад +38

    Hahaha that dave pic at the end XD Bloody gold!

    • @Anzac97
      @Anzac97 5 лет назад +1

      Oh hey, its you ghey.

    • @DJignyte
      @DJignyte 5 лет назад

      @@Anzac97 Oh hey you ghey! Fancy seeing your features around these here parts :D

  • @Gameboygenius
    @Gameboygenius 5 лет назад +42

    Maybe the NES emulator exists to encourage people to make a neural network that plays NES games?

    • @Ratzzo
      @Ratzzo 5 лет назад

      What about a desk toy of a nes game learning how to play itself?

    • @mateijordache1952
      @mateijordache1952 5 лет назад

      check out Tom VII

  • @Sharklops
    @Sharklops 5 лет назад +3

    That's a great little board. I love Python and that looks like it would be fun to play around with. And I've been hooked on Siraj Raval's videos for a while now and wanting to play around with neural networks and machine learning, so this looks like a winner. Cheers!

  • @SproutyPottedPlant
    @SproutyPottedPlant 5 лет назад

    Great little board, great little David2!

  • @DantalionNl
    @DantalionNl 5 лет назад

    I have this thing on backorder and now I am even more excited to get it~

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

    thts really cool!!
    i used to have a micropython board and i loved it !
    that neural networks sounds interesting too.

  • @MrAwyork
    @MrAwyork 5 лет назад

    Great Job Dave

  • @mikeissweet
    @mikeissweet 5 лет назад

    Nicely done!

  • @WacKEDmaN
    @WacKEDmaN 5 лет назад

    nice vid David...any chance of a vid on starting out writing an 8-bit emulator on a MCU? (esp32 or stm32)

  • @SwapPartLLC
    @SwapPartLLC 5 лет назад

    I think I just figured something out. First, I started thinking that I don't think I've ever seen you and Dave on the screen at the same time. Then it occurred to me. Same matter can't occupy the same space. Clearly, Dave got the Delorean working and went back to get his younger self to help in the lab. That pic at the end is all the proof I needed. I'm on to you.

  • @GadgetUK164
    @GadgetUK164 5 лет назад +1

    Great stuff =D

  • @anlpereira
    @anlpereira 3 года назад

    Hi David, is it possible to run the numpy in micropython inside the Maix Bit? Thanks

  • @ToTheGAMES
    @ToTheGAMES 5 лет назад +27

    Nice video, but please fix the mic settings for vids in the future. It clips a lot, quite annoying :). Might be a bit too much gain.

    • @ToTheGAMES
      @ToTheGAMES 5 лет назад +2

      I love the end screen btw!

  • @electrodacus
    @electrodacus 5 лет назад

    Seems K210 is sort of similar with the Allwinner V3s just that one has 8x more RAM 64MB instead of 8MB and is based on ARM cortex A7 instead of RISC-V.
    Not sure in what applications the K210 will be preferred over something like V3s that can run Linux on the higher end or a ARM cortex M micro controller on the other.
    Do you have something in mind for it or it is just so that you can play with a RISC-V.

    • @foobar879
      @foobar879 5 лет назад +1

      Can't answer for him, but as I got one too I can tell you for myself and Indeed I first got it for the RISC-V.
      I wanted to do some r&d on this before as I consider doing projects based on risc and the sipeed board seemed a good start.
      Also I chose risc for the potential change of paradigm coming with it and I want to be part of the adventure.
      I am fed up with the x86 and ARM ecosystem and I want to be in full control of my machine so I see it as a step closer to this.

    • @electrodacus
      @electrodacus 5 лет назад

      I fully understand what you are saying as that was also why I looked at RISC-V. Curently I use ARM cortex M4F in all my projects as is powerful enough and I'm in full control of that one as I wrote all the software. Going to a more complex device is no longer an option and you will need to use some sort of OS thus even if all is open source your control is significantly reduced.

    • @foobar879
      @foobar879 5 лет назад

      @@electrodacus It makes you realize how closed computers are today but with risc we can see a way opening up. Im have that dream/intention to make my own computer from scratch, all I need now is to find a way to make my own integrated circuits meanwhile fpgas and likes look interesting :p

    • @electrodacus
      @electrodacus 5 лет назад

      Having a computer from scratch will be way to big of a challenge unless this becomes your full time job for the next decades :) I needed a BMS (Battery Management System) as I moved offgrid and I was sure that will take me a few months at most and now 5 years later I still work on this things :)
      I have not upgraded my computer in some time i7-3770 and I do not see any reason to upgrade as performance gain will not be significant and the security issues are as bad for all the new processors including the AMD so this will need to wait. I was thinking on all sort of solutions like clusters of lower performance CPU's but the complexity goes to high and I do not have the time for that. Maybe things will change in a few years.
      Have not even updated my OS still on Linux Mint 17.1 just to much work to reconfigure all my software.

    • @foobar879
      @foobar879 5 лет назад

      @@electrodacus Yeah thats why I called that a dream, for now its mostly learning and experimenting on different parts and levels, there's a lot to do indeed.
      It must be really nice beeing offgrid and for the BMS at start i tought it wasnt that complicated but as I stumbled upon some stuff on the subject I realized it is not and it seems that the less money you put into it, the more complicated it gets.
      You're right to stick with that computer, as you know moore's law is not anymore (until graphene chips maybe ?) I did the same thing, I paid more for my last computer and got a kinda "prosumer" one and I m sticking with it. I'll have to admit that those 32 cores cpus are quite appealing but I dont know this is not power that I need right now.
      I would also like to work on low performances/consumption clusters but same for me time is lacking (as much as the money lol)
      By the way speaking about technology Im getting curious about quantum computing but man I am bad at maths.

  • @silvestrenet
    @silvestrenet 5 лет назад +1

    Nice

  • @flomojo2u
    @flomojo2u 5 лет назад

    Nice video, I bought a 4-pack of the Maix “Dan” board with LCD/camera back when the Indiegogo campaign ran and also have been quite impressed. I had no idea there was a NES emu though, lol. Really wish they had a Arduino port since there’s so much software available for that platform. I have some plans that require the speed of C and hate to reinvent the wheel for things, though I haven’t looked at the C API.

    • @foobar879
      @foobar879 5 лет назад

      The c api is not too complicated, everything is in ports/k210-freertos and as the name states its based on freertos, also the compiler scripts are quite usefull to add your stuff. When you managed to compile maixpy, adding your libraries is relatively easy. Also you can get the standalone toolchain from kendryte website.

  • @00Skyfox
    @00Skyfox 5 лет назад +4

    You mentioned Doom. You’ve gotta get Doom running on that thing!

    • @mariogamer929
      @mariogamer929 5 лет назад

      It would be pretty easy to do, maybe I'll give it a shot.

  • @Flapjackbatter
    @Flapjackbatter 5 лет назад +1

    ok. Maybee something to look into.

  • @c4pt1n54no
    @c4pt1n54no 5 лет назад +4

    Huh, someone besides Linus Sebastian actually bought a NUC

  • @bushytail
    @bushytail 5 лет назад +1

    Haha it's weird to run into one of my games somewhere like this. Any reason it was picked over something like SMB3?

  • @urspufos
    @urspufos 5 лет назад

    Is it just me or is the audio just a little bit delayed on this video?

  • @vitormhenrique
    @vitormhenrique 5 лет назад +4

    I heard that this board is really good for convolutional neural networks...
    =p
    Jokes aside, i will check this board out!

  • @KnospeSpencer
    @KnospeSpencer 5 лет назад +1

    //they say
    The student becomes the teacher...
    //thank you big D. : )

  • @MarcelRobitaille
    @MarcelRobitaille 5 лет назад

    So you only have access to a python interpreter over serial? Is there an easy way to transfer a python file and run it or do you have to use that shit editor?

  • @dejayrezme8617
    @dejayrezme8617 5 лет назад

    Wow this seems kind of too good to be true.
    I can (pre) order this for $24 including LCD and camera module from seedstudio?
    Would make it an almost ideal super cheap IOT board with camera functions and wifi

  • @metallitech
    @metallitech 5 лет назад

    Awesome name, Sipeed MAIX, lol.

  • @tomfahey2823
    @tomfahey2823 4 года назад +1

    I'm honestly surprised this board hasn't picked up more interest, especially as an alternatively to an esp32...

    • @Vizimech
      @Vizimech 4 года назад +1

      It's more an alternative to STM32 rather than the ESP32. In fact some K210 boards have an ESP32 on board to enable wifi.

  • @jchelm1979
    @jchelm1979 5 лет назад

    and the audio is too high and right on the edge of clipping

  • @FuZZbaLLbee
    @FuZZbaLLbee 3 года назад

    Had high hopes for this board, but everything online is from a year ago.

  • @esra_erimez
    @esra_erimez 5 лет назад +1

    I want a RISC-V desktop

    • @fin-ale7101
      @fin-ale7101 4 года назад

      i expect that at 2023 as a protype by the chinese government as a part of their social credit

  • @Blowcrafter
    @Blowcrafter 5 лет назад

    great video, but maybe turn down the mic level slightly next time.

  • @bombapiotr
    @bombapiotr 5 лет назад

  • @Biela2008
    @Biela2008 5 лет назад

    I first read #MONTYPython XD :D

  • @r3bers
    @r3bers 5 лет назад +1

    DVD logo must bump the edge!

  • @Ramsis-SNES
    @Ramsis-SNES 5 лет назад

    02:30 "NES the squirrel" ... ouch ^^

    • @KarlHamilton
      @KarlHamilton 5 лет назад

      It's always been pronounced Nes in the UK. Snes also.

    • @bushytail
      @bushytail 5 лет назад

      Considering the character's initials are "N.E.S." it's not as inaccurate as it could be :p

  • @vincei4252
    @vincei4252 5 лет назад +2

    Came to find out about Risc-V silicon got a video about Python. hmm.

  • @UpcycleElectronics
    @UpcycleElectronics 5 лет назад +13

    I have no idea why I'm watching this...
    9:15
    That's why. Lol

  • @mfryer100
    @mfryer100 5 лет назад

    Not sure why, but that closing shot is really disturbing.

  • @Hauketal
    @Hauketal 5 лет назад +1

    Off-by-one? Why redness=redness%255 when it can be 256?

  • @thekaiser4333
    @thekaiser4333 5 лет назад

    This is all a bit yesterday. Why don't you build a qubit processor?

  • @PirateRipleytheFam
    @PirateRipleytheFam 5 лет назад +1

    ARRRRRRRRRRR

  • @tonythediyer8537
    @tonythediyer8537 5 лет назад

    But can it do video?

    • @davidledger5941
      @davidledger5941 5 лет назад

      Yeah, I think this video shows it doing 30fps from the camera.

  • @alexv3780
    @alexv3780 5 лет назад

    After a bit of googling I found a page for setting up and using various spi lcds on micropython and esp32, maybe you can you the same lib on your board. github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki/display

  • @Macaroni_King
    @Macaroni_King 5 лет назад +1

    I've been looking for a good tutorial for the initial hardware setup itself and I haven't been able to really find anything useful. Great video otherwise.

  • @KarlHamilton
    @KarlHamilton 5 лет назад

    Who is this other Dave? I still don't understand lol.

    • @Ziferten
      @Ziferten 5 лет назад +2

      Dave Jones' only employee. Helps him out with lab stuff.

    • @KarlHamilton
      @KarlHamilton 5 лет назад

      @@Ziferten aaaaah, cool!!

  • @6Diego1Diego9
    @6Diego1Diego9 5 лет назад

    WHO THE FUCK IS THE GUY?

  • @naikrovek
    @naikrovek 5 лет назад

    fucking python. clock = clock.clock()

  • @andljoy
    @andljoy 5 лет назад +2

    Uhhhhhh python. " Hey guys a made an app in python, all you have to do is install 50 pyton libraries and it will work" Does my app include the library, nope that would be silly let the user work out how to install python and the library and so on to get my tiny app to work.

    • @666aron
      @666aron 5 лет назад +1

      You do know that you can compile an executable with everything included in python right?

  • @ventusprime
    @ventusprime 5 лет назад

    intresting but not big fan of py

    • @23RaySan
      @23RaySan 5 лет назад

      i'm a big fan of python, but not sure if it is smart to run it on a micro

    • @ventusprime
      @ventusprime 5 лет назад

      @@23RaySan i think py is good for web stuf but for critical system C or assembly

    • @23RaySan
      @23RaySan 5 лет назад +1

      @@ventusprime i agree on that, ok not especially on web stuff, im using python all the time, and i hate doing web stuff. lets say, on a system, where resources are more or less are not limited and/or speed isnt your main concern.
      Assembly is more for the old farts, imho C/C++ is the way to go on micros

    • @foobar879
      @foobar879 5 лет назад

      It is not the mainstream implementation of python, this is micropython wich is very small and it is made for microcontrollers. Also nothing is stopping you from using C/C++ or whatever language able to compile for RISC

    • @ventusprime
      @ventusprime 5 лет назад

      ​@@foobar879 yes i know but if you are old in the indrusti you know the closer to machine code is the better

  • @browaruspierogus2182
    @browaruspierogus2182 5 лет назад

    Python on risc-v - such a waste of power and memory...

  • @codebeat4192
    @codebeat4192 5 лет назад

    Python..... it sucks.

  • @retrobytes.v65
    @retrobytes.v65 5 лет назад

    terrible presentation....just annoying!!