Shop OBEX P1 Docs P2 Docs Learn Events
ASM help w/ tv driver — Parallax Forums

ASM help w/ tv driver

dazed&confuseddazed&confused Posts: 20
edited 2008-09-01 20:29 in Propeller 1
freaked.gif·I'm new to this ASM thing (I tought DOS was bad);What I've done is Mod. FrequencyCountv1.0.spin
from "vga_text" to "tv_text" in OBJ directive.This worked but the refresh rate is't rite.Mr.Green suggested that I home the curser in the upper left plane and use a·#of bits to over write the # in the display instead of CLS the screen on ever scan. I don't know what ASM statment does this.I have Attch. the "tv" driver and the Mod. program I spoke about. If some one could show Me·what lines of code in the "tv" driver ·place the curser and the # of bits·This would be of great help

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-08-31 04:34
    You have to look in tv_text.spin, not tv.spin. The description is roughly at line 120. These are control characters that you send to this driver using the out() method. There's no assembly involved. For example, you output the character with a numeric value of $0A, then a character with a numeric value of the column you want.
  • dazed&confuseddazed&confused Posts: 20
    edited 2008-09-01 20:29
    ·Mr.Geen you are the MAN.· I Mod. the program to ($01),I tried ($0A) this did some werd stuff.($01)-This took out the flicker But now I have 7 chr. or bits in dec. after the 3 data bits from the freq. GEN.· ( freq set to 396 Hz, shows 396678453 on the "tv"mont. 396 is the freq. from the BK ELC. freq. GEN.The other numbers have me dazed&confused as to were thier comming from or how to clear them????. I tried from 0 to 16 in HEX$,· ($01) is the only value that got Me close to the rite # of 396. I tried differnt freq; the 1st 3 bit (MSB Left to right)·showed the rite value w/ 7 strange bits following ?????/



    ······························· I would Love to have a Prop. PBasic compiler....%WMc$ out



    ················································
Sign In or Register to comment.