From: hackbard Date: Thu, 11 Dec 2003 02:40:24 +0000 (+0000) Subject: implemented "stupid mode" - direct card/cam io X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a32d72e62a19febb9269b0270966fe98f8540be;p=my-code%2Fatmel.git implemented "stupid mode" - direct card/cam io --- 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<