Thursday, April 14, 2011

Request for examples

Can you provide me what you believe would be good examples to include in ZPUino core ?

I've a few I might publish soon:

* Simple AES256 benchmark
* WAV player from SD card

I'll be expecting your comments (or alternatively, send them to zpuino@alvie.com)

Alvie

6 comments:

  1. As you have released a S3ESK version, could be nice to :
    - provide the same hello world using the LCD as the default one using picoblaze
    - SD card WAV player in an EXCELLENT idea (especially to show how to do so with little memory)
    - simple echo terminal using the serial port
    - port the Z80SoC to ZPUinoSoC (https://sites.google.com/site/z80soc)

    ReplyDelete
  2. Thanks. All of them are feasible, except for the Z80Soc. That would require ZPU to emulate Z80 instruction set, which might prove difficult.

    Just a quick note about the SD WAV player: it does 44.100 Stereo, and uses less than 2Kb RAM. Quality is not very good (you sometimes hear artifacts) but it's due to sigmadelta output, which does not do interpolation. But it's a neat example anyway.

    ReplyDelete
  3. Alvie,

    About the Z80SoC, I did not mean to emulate the Z80, but really to repalce it with the ZPUino and as IO Devices add the stuff around the Z80SoC (VGA Driver, keyboard controller...), so it was more a mimic the concept rather than a technical port. But bah not that interesting.
    A simple VGA driver in text mode could be enough.

    I'm hurry to see the SD Wav player example ! (I would need some help maybe to see how to connect a SD card board I bought for my propeller (http://ucontroller.com/documentation/SDCardDoc.html) to the S3ESK and the ZPuino.

    ReplyDelete
  4. Yes, I think a VGA text mode (80x25) is feasible, we still have a spare 32 kbit, that is enough for a 80x25 display, with 8x8 chars, mono.

    SD card connection is easy, it uses the SPI interface. I'll tell you how to connect it when I publish. I have to re-check if it still works after latest interrupt controller changes.

    ReplyDelete
  5. Certainly the LCD thing in S3ESK would be nice. I'd use if for sure.

    ReplyDelete
  6. wornaki: yes, that one is already working, and will have an example sketch on next Alpha. I'm still tuning some details, so that the example will mostly use many stuff on the board, like buttons, knob, LCD and LEDs. It will also use interrupts, so it will be very useful for those who need concrete examples.

    ReplyDelete