minor fix to sprite_demo.c clocking; add some screenshots
26
README.md
|
@ -32,19 +32,19 @@ is useful when you only have 264K of RAM).
|
|||
|
||||
For a fuller description of scanout video see [here](https://github.com/raspberrypi/pico-extras/blob/master/src/common/pico_scanvideo/README.adoc)
|
||||
|
||||
Name|Description
|
||||
---|---
|
||||
[demo1](scanvideo/demo1)| So named because it was the first demo program written that used video.. it is a bit dated now and hails from a time where there was _much_ less RAM on the RP2040
|
||||
[flash_stream](scanvideo/flash_stream)| Streams video data out of flash fast enough to drive 640x480x60fps bitmap display
|
||||
[hscroll_dma_tiles](scanvideo/hscroll_dma_tiles)| A horizontal scrolling test app which uses a second video plane (PIO) to overlay sprites
|
||||
[mandelbrot](scanvideo/mandelbrot)| A mandelbrot generator using a 320x240x16 framebuffer
|
||||
[mario_tiles](scanvideo/mario_tiles)| Confusingly named as a reference to Super Mario Kart's tiled psuedo-3D rendering. This is similar to [hscroll_dma_tiles](scanvideo/hscroll_dma_tiles) except the whole tiled scrolling area is now rotated and zoomed.
|
||||
[scanvideo_minimal](scanvideo/scanvideo_minimal)| A very basic video output generator which generates a test pattern
|
||||
[render](scanvideo/render)| A very dated rendering library used by [demo1](scanvideo/demo1) - avoid!
|
||||
[sprite](scanvideo/sprite)| A small sprite library used by [sprite_demo](scanvideo/scanvideo_minimal)
|
||||
[sprite_demo](scanvideo/sprite_demo)| Some bouncing Eben heads
|
||||
[test_pattern](scanvideo/test_pattern)| Display color bars
|
||||
[textmode](scanvideo/textmode)| Shows off chained DMA to generate scanlines out of glyph fragments via DMA/PIO
|
||||
Name|Screenshot|Description
|
||||
---|---|---
|
||||
[demo1](scanvideo/demo1)|![](scanvideo/demo1/screenshot.jpg)| So named because it was the first demo program written that used video.. it is a bit dated now and hails from a time where there was _much_ less RAM on the RP2040
|
||||
[flash_stream](scanvideo/flash_stream)|![](scanvideo/flash_stream/screenshot.jpg)| Streams video data out of flash fast enough to drive 640x480x60fps bitmap display
|
||||
[hscroll_dma_tiles](scanvideo/hscroll_dma_tiles)|![](scanvideo/hscroll_dma_tiles/screenshot.jpg)| A horizontal scrolling test app which uses a second video plane (PIO) to overlay sprites
|
||||
[mandelbrot](scanvideo/mandelbrot)|![](scanvideo/mandelbrot/screenshot.jpg)| A mandelbrot generator using a 320x240x16 framebuffer
|
||||
[mario_tiles](scanvideo/mario_tiles)|![](scanvideo/mario_tiles/screenshot.jpg)| Confusingly named as a reference to Super Mario Kart's tiled psuedo-3D rendering. This is similar to [hscroll_dma_tiles](scanvideo/hscroll_dma_tiles) except the whole tiled scrolling area is now rotated and zoomed.
|
||||
[scanvideo_minimal](scanvideo/scanvideo_minimal)|![](scanvideo/scanvideo_minimal/screenshot.jpg)| A very basic video output generator which generates a test pattern
|
||||
[render](scanvideo/render)| | A very dated rendering library used by [demo1](scanvideo/demo1) - avoid!
|
||||
[sprite](scanvideo/sprite)| | A small sprite library used by [sprite_demo](scanvideo/scanvideo_minimal)
|
||||
[sprite_demo](scanvideo/sprite_demo)|![](scanvideo/sprite_demo/screenshot.jpg)| Some bouncing Eben heads
|
||||
[test_pattern](scanvideo/test_pattern)|![](scanvideo/test_pattern/screenshot.jpg)| Display color bars
|
||||
[textmode](scanvideo/textmode)|![](scanvideo/textmode/screenshot.jpg)| Shows off chained DMA to generate scanlines out of glyph fragments via DMA/PIO
|
||||
|
||||
|
||||
## Sleep
|
||||
|
|
Po Szerokość: | Wysokość: | Rozmiar: 20 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 34 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 38 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 28 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 38 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 25 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 39 KiB |
|
@ -174,12 +174,13 @@ int main(void) {
|
|||
#ifdef TURBO_BOOST
|
||||
hw_set_bits(&mm_vreg_and_chip_reset->vreg, VREG_AND_CHIP_RESET_VREG_VSEL_BITS);
|
||||
sleep_ms(10);
|
||||
set_sys_clock(1536*MHZ, 4, 1);
|
||||
set_sys_clock_khz(400000, true);
|
||||
#else
|
||||
#if PICO_SCANVIDEO_48MHz
|
||||
set_sys_clock_khz(192000, true);
|
||||
#endif
|
||||
#else
|
||||
set_sys_clock_khz(200000, true);
|
||||
#endif
|
||||
#endif
|
||||
// Re init uart now that clk_peri has changed
|
||||
setup_default_uart();
|
||||
|
|
Po Szerokość: | Wysokość: | Rozmiar: 14 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 58 KiB |