VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345[6]78910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 14:48:40 12/01/02 Sun
Author: Virtuax
Subject: Re: Build completed successfully.
In reply to: Virtuax 's message, "Build completed successfully." on 13:56:51 12/01/02 Sun

; Page 0 Code starts here - BE CAREFUL ABOUT PAGE SWAPS

org 0x0000 ;org sets the origin, 0x0000 for the 16F628,
;this is where the program starts running
movlw 0x07
movwf CMCON ;turn comparators off (make it like a 16F84)
goto Start



> processor 16f628
>#include "p16f628.inc"
>
>
> __config (_CP_OFF & _WDT_ON & _HS_OSC &
>_PWRTE_ON & _BODEN_ON & _LVP_OFF & _MCLRE_OFF)
>
>And....only place 0x as you see...
>Letīs see if really works...
>
>Mode equ 0x20 ; Current mode of descramber
>Lines equ 0x21 ; Number of lines to create
>LoopCnt equ 0x23 ; Timing loop counter
>DataHolder equ 0x25 ; Spot to accumulate
>positive/negative edge detects
>CrsLoCnt equ 0x26 ; holder for number of VCXO
>adjustments
>CrsFstCnt equ 0x27
>GoodVideoCnt equ 0x28 ; holder for number of good
>video frames
>BadVideoCnt equ 0x29 ; holder for number
>of bad video frames
>GIVMode equ 0x30 ; GI Video mode to use for current
>field
>GIVMode_1 equ 0x31 ; Mode to be used next
>GIVMode_2Lst equ GIVMode_1 ; Second last mode read
>GIVMode_Lst equ 0x32 ; Last Mode just read
>GIMode equ 0x33 ; state and mode of GI descrambling
>GIByte1 equ 0x34 ; Byte 1 - Start Bit, Mode, CRC
>GIByte2 equ 0x35 ; Byte 2 - AP Bit, 0, Inv Bit,
>6dB, 10dB Bits
>
>
>Thanks to elektrix & Potter
>
>Virtuax

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.