Comments (14)
@cbmeeks: I modified my C3Synapse to support VGA on the C3 and can now use it with any scanline driver happy with 20MB/s bandwidth e.g. up to 400x300 (800x600 requires 40MB/s).
OK, to be fair the 400x300 only requires 10MB/s (half horizontal, double scanline) but you get the picture :)
from waitvid.2048.
(re)wiring details: pins 16..18 are cut (underneath the C3Synapse board) and connected as shown below
MOSI -> P16
SCLK -> P17
SS6 -> P18
from waitvid.2048.
As mentioned elsewhere, scanline drivers are more suited for tile and sprite based drivers. In this repository there is currently only one driver which could be used for what you want (monochrome/400x300). This was done as a proof of concept a while back. I'll see if I can dig out some sample code.
from waitvid.2048.
Added simple demo with 7a4b2e4.
from waitvid.2048.
Let me know if you need more help. I'll leave this issue open for a while.
FWIW, the local version (pre-cleanup) had some test code included. When I moved it to the repository this got removed.
from waitvid.2048.
Many thanks demo wokring fine :-)
Do you plan to create 256x192 with colors in the future? And is memory of the MCU for this? Thank you for the information.
Kamil
(sorry my translator English)
from waitvid.2048.
IIRC any scanline driver in this repository can handle 6bit or 8bit colour mode (per pixel). The main obstacle is that the P1 doesn't have enough memory to provide a frame buffer for even the lowest resolution provided (e.g. 256x192 = 48K). IOW without external memory (e.g. C3Synapse) pixel based full colour graphics will be limited to low resolutions.
from waitvid.2048.
I would love to see one of the scanline drivers use external SRAM. Anyone do that before?
from waitvid.2048.
yes memory problem but thanks usefull info and your great waitvid and modulity works.
from waitvid.2048.
from waitvid.2048.
@konimaru ... maybe I need to dedust my C3Synapse... are your modifications documented somewhere?
from waitvid.2048.
@konimaru can you elaborate on the C3Synapse? Are you saying you're running VGA video from external SRAM?
from waitvid.2048.
@cbmeeks ... http://forums.parallax.com/discussion/140402/prop-c3-add-on-expansion-board-c3-synapse-is-coming-soon/p1
The examples there are not VGA-out... but external RAM for TV-out like graphics was already possible.
from waitvid.2048.
I posted the (memory) driver code in this thread. The glue code for using a scanline driver is somewhere on my harddisc but hardly rocket science.
C3Synap2e - Archive [Date 2017.08.18 Time 00.49].zip
@cbmeeks: Yes, currently read-only but VGA from external SRAM is what I have here.
@drawkula: No public documentation, I can dig out the details. It's basically cutting a few pins from the bus connector and rewiring the CS stuff to SPI device 6.
from waitvid.2048.
Related Issues (20)
- POC 80x25 RAM patch for 640x400 resolution HOT 1
- sync demo for 50x18 ROM driver introduces (harmless) glitch HOT 1
- Doesn't work with propboe HOT 6
- Duplicate foreground pixel, instead of background, in ninth column, so line drawing characters connect HOT 33
- Look into sync-isolation for 80x25 RAM CDUP HOT 1
- Look into sync-isolation for 80x25 RAM NINE HOT 2
- Reactivate blink mode for 80x25 RAM NINE HOT 4
- ASCII / Attribute bytes are swapped for 80x25 RAM NINE HOT 3
- development: 80x25 RAM C0DF HOT 2
- POC/40x32 RAM extension HOT 4
- review cursor thickness for 80x25 RAM NINE HOT 2
- look into 640x480 scanline driver HOT 3
- cleanup coreView HOT 1
- POC/320x256.4 full colour update (6bit/8bit colour) HOT 1
- add cursor(s) to 128xP RAM (480p style)
- New driver for specific device HOT 3
- [DDK] Update 128xP driver to support 8x16 fonts HOT 1
- add minimal cursor stuff to 128xP demo HOT 1
- sync code for 50x18 driver HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waitvid.2048.