A little HELP!!


Closed Thread
Results 1 to 40 of 77

Thread: A little HELP!!

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: A little HELP!!

    Looks like we both doing the same thing, attached is my corrected version

    I have tested this with NTSC output from RPi and it switches and displays correctly.

    I have moved the text, also the RPM and NTSC so that it only appears when there is incoming video.

    Regarding the text size I think you will have to play with the POSITION REGISTER - never tried that but that should do something. The STV data sheet does not give much idea as to what that does !

    Use my hex file and see if it works on yours.

    Should have changed the file name - memory lapse.
    Attached Files Attached Files

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: A little HELP!!

    I had a quick look at the Position Register and put this in

    WDATA = %0001001000001111 '%0001 011111 001111
    GOSUB Send ' Position ADDRESS 15

    It moved the lines up and I could get line 9 showing - still missing line 10 at the moment.

    Looks like Row Attributes may also be involved.

    Will have to ask my friend who did the assembler version if he did anything to Row Attributes.

  3. #3
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: A little HELP!!

    Hi Aerostar!
    I had thought that this was the character size:

    WDATA = %0001000011110000 '4 PIXELS HORIZ AND VERT !
    GOSUB Send ' Zoom ADDRESS 12

    So I changed it to: WDATA = %0001000000000000 and it made no difference in the text size!

    I would also be curious if your setup displays actual red characters as mine seems like a light pink.

    Here is a picture of my board

    Best, Ed

    Name:  IMG_2438.JPG
Views: 2171
Size:  65.7 KB

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: A little HELP!!

    Actually the zoom was already set at minimum.

    Not played with colour oops sorry color!! but Never Twice Same Color sets have a HUE/TINT control that you can alter on the screen.

    I now have worked out getting all lines on screen, it is combined with position and line characteristics. Removed the border area around the characters

    Here are the values I have used to get the attached picture.

    WDATA Values to be changed to values below

    In init routine

    '-------------------------------------------------------------
    WDATA = %0001001100001111 ' was %0001 011111 001111
    GOSUB Send ' Position ADDRESS 15 *****
    '-------------------------------------------------------------

    and in this

    FOR ICOUNT = 0 TO 10
    WDATA = %0001000010000001 '<<<<<$10c4 originally
    ' WDATA =%0001000010000111
    GOSUB Send
    NEXT ICOUNT

    that should! sort the screen out.

    Name:  STV-NTSC-DISPLAY.JPG
Views: 2233
Size:  364.2 KB

    Quick and dirty code to do screen fill as a subroutine - modified CLS routine

    Run it with no external video input

    This is where I put the call, once it has done the Xs it will not go further remeber to comment out GOSUB HEADER.


    Code:
    LOOPER:
        'GOSUB HEADER    ' LINE 3 RIGHT HAND SIDE TEST.
        GOSUB FILLSCREEN
    STOPHERE:
        GOTO STOPHERE
    I put this at the very bottom of current code.

    Code:
    '----------------------debug fills screen with X------------------
    
    FILLSCREEN: 
        'character=$0B       'SPACE
         TEMP1=0   ' LINECOUNTER
         TEMP =0    'CHARCOUNTER
    loop2a:
        
    	WDATA = 0  ' LINECOUNTER*256 + CHARCOUNTER   ADDRESS
        GOSUB Send
        
    
    LOOP3a:    '                :CHARACTERS 100011       
    	WDATA = %0001011100100011  '     X CHARACTER
        GOSUB Send
    	TEMP = TEMP + 1
    	IF TEMP >= 28 THEN
        TEMP = 0
        TEMP1=TEMP1 + 1
    	ENDIF
    	IF TEMP1 >= 11 THEN SCREENBLANKA
     	
        GOTO LOOP3A
        
    SCREENBLANKA:
    	RETURN
    Last edited by aerostar; - 17th July 2017 at 12:39. Reason: added some info

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: A little HELP!!

    Had a play with colors -I found that reducing the drive in the MODE REGISTER, BIT M5, from 6dB to 0dB improved the colours, so M5 needs to be a 0, this will depend on how good the monitor is..



    If you mofify the fillscreen to the following you should get lines of ifferent colors.
    Code:
    FILLSCREEN: 
        'character=$0B       'SPACE
         TEMP1=0   ' LINECOUNTER
         TEMP =0    'CHARCOUNTER
    loop2a:
        
    	WDATA = 0  ' LINECOUNTER*256 + CHARCOUNTER   ADDRESS
        GOSUB Send
                                                 
    
    LOOP3a:    '                :CHARACTERS 100011       
    	WDATA = %0001011100100011  '     X CHARACTER
    '   WDATA = %0001011101110111
    '    if temp1 =0 then WDATA = %0001011101110111
        if temp1 =1 then WDATA = %0001000001100011
        if temp1 =2 then WDATA = %0001000101100011
        if temp1 =3 then WDATA = %0001001001100011
        if temp1 =4 then WDATA = %0001001101100011
        if temp1 =5 then WDATA = %0001010001100011
        if temp1 =6 then WDATA = %0001010101100011
        if temp1 =7 then WDATA = %0001011001100011
        if temp1 >=8 then WDATA = %0001011101100011
        
        GOSUB Send
    	TEMP = TEMP + 1
    	IF TEMP >= 28 THEN
        TEMP = 0
        TEMP1=TEMP1 + 1
    	ENDIF
    	IF TEMP1 >= 11 THEN SCREENBLANKA
     	
        GOTO LOOP3A
        
    SCREENBLANKA:
    	RETURN

  6. #6
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: A little HELP!!

    Wow! This is really so great! Thank you! I will try the above code just as soon as possible. I loved your screen full of "X's"! If I understand things correctly the text is as small as it can be? FYI, I work at Fox Television so a high quality professional monitor is not difficult to bring home. Did you like how I built the board with the chip? This display is something I have been dreaming about for several years now and it is so wonderful to finally see some light at the end of the tunnel! I also believe the research and development is a major contribution for all others!

    Best, Ed

  7. #7


    Did you find this post helpful? Yes | No

    Default Re: A little HELP!!

    Board looks great - There is still a demand for analogue OSD despite all the digital stuff around. The chips were hard to find after they had been discontinued, but your find of supplier seems to have lots still, price is good, Ebay prices .... silly.

    What are you going to this it for ?, I am guessing at RC aeroplane or boat, video from it and motor speed from port and starboard propulsion units.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts