• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

およそ20年前に、68HC05 の開発の練習に書いた車のブレイクライト・方向指示器コントローラです。


Commit MetaInfo

Révision80401d23ce891637f82edafca792add03e30ad98 (tree)
l'heure2013-07-08 22:23:25
AuteurJoel Matthew Rees <reiisi@user...>
CommiterJoel Matthew Rees

Message de Log

Cleaning up debugging cruft and comments.

Change Summary

Modification

--- a/TURNSIG.ASM
+++ b/TURNSIG.ASM
@@ -333,16 +333,12 @@ F_MNC equ $80 ; manual cancel record
333333
334334
335335 XTAL equ 1 ; crystal frequency, in MHz
336-RTIPOW equ 0
337-* 1 ; bits 1 & 0 for timer hardware
336+RTIPOW equ 1 ; bits 1 & 0 for timer hardware
338337 RTIRATE equ {2 < RTIPOW} ; 2 ^ RTIPOW
339-TIMOUT equ 1
340-* {9155*XTAL/RTIRATE+1} ; 5 minutes (if XTAL equ is correct)
338+TIMOUT equ {9155*XTAL/RTIRATE+1} ; 5 minutes (if XTAL equ is correct)
341339 * only one flash rate, 2/3 duty cycle
342-FLASH0 equ 1
343-* {32*XTAL/RTIRATE/4} ; about 1/4 second off time
344-FLASH1 equ 1
345-* {32*XTAL/RTIRATE/2} ; about 1/2 second on time
340+FLASH0 equ {32*XTAL/RTIRATE/4} ; about 1/4 second off time
341+FLASH1 equ {32*XTAL/RTIRATE/2} ; about 1/2 second on time
346342
347343 org MOR
348344 * Software Pulldown is used.
@@ -450,8 +446,6 @@ DBGCT rmb 4 ; count how many times TIMSRV has executed
450446 swi ; since we have a few unused ROM locations
451447 swi
452448 swi
453- swi
454- swi
455449
456450 $CYCLE_ADDER_ON
457451 TIMSRV bset TOFR_,TSCR