X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fatmel.git;a=blobdiff_plain;f=beginners%2Fseason_junior.asm;h=9c02191752dac273f5e9dd0aed463254e8e686c4;hp=94ba21c6ccf34330ea351fc4b7e798329e8d8213;hb=1a32d72e62a19febb9269b0270966fe98f8540be;hpb=448a02069232f473cbdde6b2aa698d062bd3876a diff --git a/beginners/season_junior.asm b/beginners/season_junior.asm index 94ba21c..9c02191 100644 --- a/beginners/season_junior.asm +++ b/beginners/season_junior.asm @@ -13,8 +13,21 @@ ; i/o card --- atmel int0 (pd2) ; i/o cam --- atmel int1 (pd3) -include "../include/2313def.inc" +.include "../include/2313def.inc" +; functions by now: +; +; stupid mode only by now. just see what cam/card do and redirect +; this to card/cam. +; +; next implementation: +; +; try to read one byte of card/cam communication and output via uart. +; output time information in some way. +; +; future: +; +; buffer/parse whole strings and decide whether to send to card or not. ; ; interrupt vectors: @@ -67,27 +80,124 @@ out SPL,r16 ldi r16,((1< input, int1 -> output +ldi r16,(1< input, int0 -> output +ldi r16,(1<