What can your P2 do?

Ok, admit it fellow forumistas who are lucky enough to have a P2 parked in your kennel, you know you've had one of these puppies for a while, so what tricks have you taught it? What can it do?

Here's a short video of some of the things that I may have shown before but also includes a video game as well.


Tachyon Forth - compact, fast, forthwright and interactive
useforthlogo-s.png
--->CLICK THE LOGO for more links<---
P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
Brisbane, Australia

Comments

  • Very cool! I'm afraid mine is just collecting dust. I'd send it to someone else who could better use it but I paid for it myself and *might* get back to it sometime.
  • I've got mine networking via an ENC28J60, which I need for a lot of legacy P1 projects, and also reading scan codes from a PS/2 keyboard. Haven't gotten around to writing commands to the PS/2 but it's probably not as important as the networking for the projects I will need to migrate.
  • Looks good, Peter. I commented on your video.
  • I seemed to have stopped here. There is much improvement to be made.

    Terry's Workbench

    Feel the need for speed between your PC's com port and Prop?
    Try the FTDI 245 and the FullDuplexParallel Object.
    Check out my spin driver for the Parallax "96 x 64 Color OLED Display Module" Product ID: 28087
    22FPS video from the P2 on the Parallax "96 x 64 Color OLED Display Module" https://www.youtube.com/watch?v=ja84rf38QHM
  • Peter JakackiPeter Jakacki Posts: 8,330
    edited 2019-06-15 - 04:06:42
    @ke4pjw - don't stop, once you've got the momentum, it is way easier to keep it going and keep having fun.


    There seems to be a flicker issues in my video playback at times and I've got a feeling it might have to do with the SD block read or the initial latency so I will write a little debug routine that will record all that info for every frame that is read to help me pinpoint these issues. This doesn't seem to happen on the bender video which doesn't have a matching sound track.

    BTW, I decided to start this thread in response to the "It's been so quiet around here" thread. There's no reason for it to be quiet as if people are waiting to get their hands on a P2. There are plenty of tools available and the best way to test those tools is to tackle some real application. Just don't keep it secret, let us know about it and we can be excited over the P2 together. It doesn't have to be finished or perfect.


    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
  • AMAZING :smiley:

    Video playback at 4:35 is amazing for P2!
    My Prop boards: P8XBlade2, RamBlade, CpuBlade, TriBlade
    Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
    Website: www.clusos.com
    Prop Tools (Index) , Emulators (Index) , ZiCog (Z80)
  • samuellsamuell Posts: 286
    edited 2019-06-15 - 13:28:18
    Hi,

    Mine can calculate prime numbers, but that's it. I've done some experimentation and tested out some code. However, lately, I had other things, so I haven't dedicated any time to the P2.

    By the way, I've wrote an article containing my first impressions (in Portuguese):
    http://www.bloguetronica.com/2019/05/o-novo-micro-controlador-da-parallax.html

    Saw your video, and the demo is very impressive! By the way, did you find any reason for the crashes? Is it supply/BOD related?

    Kind regards, Samuel Lourenço
  • Peter JakackiPeter Jakacki Posts: 8,330
    edited 2019-06-15 - 13:36:38
    That video playback isn't as good as it has been but I think I need to fine tune the interaction between fetching video frames from one file and filling the audio buffers from another. When I find out what is happening I will redo some videos as well and they should be a lot clearer and glitch free then. But the main point is that we don't have to have things perfect upfront, just get it functional and have fun doing it, then have more fun perfecting it later. Don't be afraid to dip your big toe in P2 waters, it's plenty warm and fun.

    There are so many areas to explore with the P2 and my next area will be to do with audio processing. I'm hoping eventually to put a mixing console and PA system into a small black box, skip the antiquated huge and heavy power amp with 100V line output transformers, and just feed pure digital and DC power to addressable class-d enabled PA speakers sans transformers. Then the whole thing will mostly be automatic but can be monitored and controlled from a tablet over WiFi. With a networked speaker system it is possible to individually control the volume and material on each speaker which will also help with roving microphones as used in halls and malls and churches and businesses. Security, safety, evac and fire are other functions that can be built in too. The P2D2 will form the heart of many of my projects which may very well start out on matrix board.....because I can.




    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
  • My P2 can run a simple BASIC interpreter that I wrote for the P1. That is what I was using to test Eric's fastspin C compiler a while back.
  • Peter JakackiPeter Jakacki Posts: 8,330
    edited 2019-06-15 - 13:54:37
    David Betz wrote: »
    My P2 can run a simple BASIC interpreter that I wrote for the P1. That is what I was using to test Eric's fastspin C compiler a while back.

    I've seen a lot of tools being developed for the P2 and that is really great but it's kinda like having a workshop full of tools that can create and build almost anything, but nothing to show for it except the tools themselves.
    Are there any projects that you've been able to use your interpreter in that can both showcase the P2 and the interpreter, and also get others interested or even excited at the same time?

    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
  • David Betz wrote: »
    My P2 can run a simple BASIC interpreter that I wrote for the P1. That is what I was using to test Eric's fastspin C compiler a while back.

    I've seen a lot of tools being developed for the P2 and that is really great but it's kinda like having a workshop full of tools that can create and build almost anything, but nothing to show for it except the tools themselves.
    Are there any projects that you've been able to use your interpreter in that can both showcase the P2 and the interpreter, and also get others interested or even excited at the same time?
    No. The interpreter is essentially useless. I just used it as a test program for fastspin/C. I'm beginning to think I should abandon my hobby of language design. All languages are essentially the same anyway. As you say, an actual application would be more interesting.

  • David Betz wrote: »
    David Betz wrote: »
    My P2 can run a simple BASIC interpreter that I wrote for the P1. That is what I was using to test Eric's fastspin C compiler a while back.

    I've seen a lot of tools being developed for the P2 and that is really great but it's kinda like having a workshop full of tools that can create and build almost anything, but nothing to show for it except the tools themselves.
    Are there any projects that you've been able to use your interpreter in that can both showcase the P2 and the interpreter, and also get others interested or even excited at the same time?
    No. The interpreter is essentially useless. I just used it as a test program for fastspin/C. I'm beginning to think I should abandon my hobby of language design. All languages are essentially the same anyway. As you say, an actual application would be more interesting.

    You hit the nail on the head there because my "philosophy" in developing Tachyon and TAQOZ is simply that it is a means to an end, the end being the application. Damn the torpedoes, full speed ahead.

    Even when I first started developing Tachyon I already had started testing applications even though the kernel was barely an embryo. As I develop my applications, I develop my tools to suit.
    You may find that if you have a real application to tackle that this will most certainly help to refine and define any tools you are developing. Tackle the application and you tackle the tools.

    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
  • David Betz wrote: »
    David Betz wrote: »
    My P2 can run a simple BASIC interpreter that I wrote for the P1. That is what I was using to test Eric's fastspin C compiler a while back.

    I've seen a lot of tools being developed for the P2 and that is really great but it's kinda like having a workshop full of tools that can create and build almost anything, but nothing to show for it except the tools themselves.
    Are there any projects that you've been able to use your interpreter in that can both showcase the P2 and the interpreter, and also get others interested or even excited at the same time?
    No. The interpreter is essentially useless. I just used it as a test program for fastspin/C. I'm beginning to think I should abandon my hobby of language design. All languages are essentially the same anyway. As you say, an actual application would be more interesting.

    You hit the nail on the head there because my "philosophy" in developing Tachyon and TAQOZ is simply that it is a means to an end, the end being the application. Damn the torpedoes, full speed ahead.

    Even when I first started developing Tachyon I already had started testing applications even though the kernel was barely an embryo. As I develop my applications, I develop my tools to suit.
    You may find that if you have a real application to tackle that this will most certainly help to refine and define any tools you are developing. Tackle the application and you tackle the tools.

    Oops. Sorry! It didn't occur to me that you might read my message as a criticism of Tachyon. I think Tachyon is a different animal. It is definitely not just another programming language. It's more of a complete development environment and runtime environment for building Propeller applications. It definitely stands out in the crowd.
  • David Betz wrote: »
    David Betz wrote: »
    David Betz wrote: »
    My P2 can run a simple BASIC interpreter that I wrote for the P1. That is what I was using to test Eric's fastspin C compiler a while back.

    I've seen a lot of tools being developed for the P2 and that is really great but it's kinda like having a workshop full of tools that can create and build almost anything, but nothing to show for it except the tools themselves.
    Are there any projects that you've been able to use your interpreter in that can both showcase the P2 and the interpreter, and also get others interested or even excited at the same time?
    No. The interpreter is essentially useless. I just used it as a test program for fastspin/C. I'm beginning to think I should abandon my hobby of language design. All languages are essentially the same anyway. As you say, an actual application would be more interesting.

    You hit the nail on the head there because my "philosophy" in developing Tachyon and TAQOZ is simply that it is a means to an end, the end being the application. Damn the torpedoes, full speed ahead.

    Even when I first started developing Tachyon I already had started testing applications even though the kernel was barely an embryo. As I develop my applications, I develop my tools to suit.
    You may find that if you have a real application to tackle that this will most certainly help to refine and define any tools you are developing. Tackle the application and you tackle the tools.

    Oops. Sorry! It didn't occur to me that you might read my message as a criticism of Tachyon. I think Tachyon is a different animal. It is definitely not just another programming language. It's more of a complete development environment and runtime environment for building Propeller applications. It definitely stands out in the crowd.

    Sorry, I didn't think anything of the sort, I just used Tachyon as my example of a philosophy and I believe that tools should be developed in conjunction with applications. Even if the tools are designed to be standardized, at the very least the applications provide the focus for the kinds of functions and problems that the tool needs to deal with in the real world. Even if the tool isn't "complete", and it never will be, it will still prove to be very useful and gain a reputation in getting the job done, and done well at that.

    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
Sign In or Register to comment.