Coder Social home page Coder Social logo

Comments (14)

konimaru avatar konimaru commented on July 23, 2024 1

@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.

konimaru avatar konimaru commented on July 23, 2024 1

(re)wiring details: pins 16..18 are cut (underneath the C3Synapse board) and connected as shown below

MOSI -> P16
SCLK -> P17
SS6  -> P18

header

from waitvid.2048.

konimaru avatar konimaru commented on July 23, 2024

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.

konimaru avatar konimaru commented on July 23, 2024

Added simple demo with 7a4b2e4.

from waitvid.2048.

konimaru avatar konimaru commented on July 23, 2024

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.

jlswbs avatar jlswbs commented on July 23, 2024

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.

konimaru avatar konimaru commented on July 23, 2024

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.

cbmeeks avatar cbmeeks commented on July 23, 2024

I would love to see one of the scanline drivers use external SRAM. Anyone do that before?

from waitvid.2048.

jlswbs avatar jlswbs commented on July 23, 2024

yes memory problem but thanks usefull info and your great waitvid and modulity works.

from waitvid.2048.

bweir avatar bweir commented on July 23, 2024

from waitvid.2048.

drawkula avatar drawkula commented on July 23, 2024

@konimaru ... maybe I need to dedust my C3Synapse... are your modifications documented somewhere?

from waitvid.2048.

cbmeeks avatar cbmeeks commented on July 23, 2024

@konimaru can you elaborate on the C3Synapse? Are you saying you're running VGA video from external SRAM?

from waitvid.2048.

drawkula avatar drawkula commented on July 23, 2024

@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.

konimaru avatar konimaru commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.