From 1a32d72e62a19febb9269b0270966fe98f8540be Mon Sep 17 00:00:00 2001 From: hackbard Date: Thu, 11 Dec 2003 02:40:24 +0000 Subject: [PATCH] implemented "stupid mode" - direct card/cam io --- beginners/season_junior.asm | 130 +++++++++++++++++++++++++++++++++--- 1 file changed, 120 insertions(+), 10 deletions(-) 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<