Shop OBEX P1 Docs P2 Docs Learn Events
Prop TV.Spin — Parallax Forums

Prop TV.Spin

mikedivmikediv Posts: 825
edited 2009-08-13 00:48 in Propeller 1
Hey guys in the Prop TV.Spin TV driver the section for the output pins is in assembly can anyone tell me what I need to change to make the TV pins from 12,13,14 to work with the HYDRA TV out pins 24,25,26 ?? This is the section for the Video Pins but I do not know how to read assembly


mov t1,_pins 'set video pins and directions
test t1,#$08 wc
if_nc mov t2,pins0
if_c mov t2,pins1
test t1,#$40 wc
shr t1,#1
shl t1,#3
shr t2,t1
movs vcfg,t2
shr t1,#6
movd vcfg,t1
shl t1,#3
and t2,#$FF
shl t2,t1
if_nc mov dira,t2
if_nc mov dirb,#0
if_c mov dira,#0

Post Edited (mikediv) : 8/13/2009 12:38:52 AM GMT

Comments

Sign In or Register to comment.