Coder Social home page Coder Social logo

Comments (6)

konimaru avatar konimaru commented on June 25, 2024

It's not just a question of wiring your stuff up. There is also a software part to it (i.e. vcfg needs to be setup with the correct pin group, for me it's usually pin group 2, i.e. 16-23).

If you can tell me which driver you want to use I'll have a look and let you know what needs changing.

from waitvid.2048.

jjinkou2 avatar jjinkou2 commented on June 25, 2024

i would like to use the 50HxRAM.
I changed :

  vpin    = $0FC                                ' pin group mask
  vgrp    = 2                                   ' pin group
sgrp = 2 ' pin group sync

to

  vpin    = $0FF                                ' pin group mask
  vgrp    = 1                                   ' pin group
sgrp = 1                                     ' pin group sync

without result.

mind if i ask for a suggestion ? why not integrate a pingroup inside the init . So when you call it inside the demo it could be:
vga.init(pingroup).

So that the user of the driver never mess inside the driver.

But i know that would break every demo. and may be that is intentional from your part.

[EDIT]
I forget to mention that with propeller-ide i couldn't load into ram. so i manually do it like following:

openspin xxxdemo.spin
propeller-load -r xxxdemo.binary

from waitvid.2048.

konimaru avatar konimaru commented on June 25, 2024

[valid for version 0.8]
If you just want to move pin group then you should only touch vgrp and sgrp, leave vpin alone ($FC). In your case that would be $FC/1/1. The $FF setting demands different pin groups for sync and video which I believe is not the case for your setup.

re: parameters, at the time there were basically two ways of doing things, parameters or constants. I opted for the latter. That being said, there is at least one driver which does take the group as a parameter but that's simply because the user needed 4 instances of said driver for his multi-display console (and would otherwise have needed 4 drivers instead of one). Depending on how strong you feel about it, just file a enhancement request and I can have a look.

from waitvid.2048.

jjinkou2 avatar jjinkou2 commented on June 25, 2024

i'll test tonight your modifications when i'm at home .
no need to change anything , i was just curious about the rational behind.

thank you.

from waitvid.2048.

jjinkou2 avatar jjinkou2 commented on June 25, 2024

Still have a problem with $FC/1/1. I have only these leds switched on (which shows that VGA is receiving signal on them):

  • pin 9
  • pin 10 & 11 corresponding B0B1(blue OK)
  • only pin 13 (G1)
    I have no signal on 8, 12,14,15

[Edit]
it works now, i was using propeller-ide which compile with bst.
I compiled it manually with openspn and propeller-load, and magic happends.

You can close this thread.

from waitvid.2048.

konimaru avatar konimaru commented on June 25, 2024

Ah, would have been good to know. bst has a problem with PASM like long +4 which is downgraded to long 0. Good to know you got it working. Have fun!

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.