Comments (6)
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.
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.
[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.
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.
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.
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)
- POC 80x25 RAM patch for 640x400 resolution HOT 1
- sync demo for 50x18 ROM driver introduces (harmless) glitch HOT 1
- 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
- Help how to use your drivers/C3Synapse VGA HOT 14
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.