From 14188489bb1ae79e8ac45a54d299e8f55682afc2 Mon Sep 17 00:00:00 2001 From: Jarno Lehtinen Date: Tue, 5 Apr 2022 21:29:26 +0300 Subject: [PATCH] Update README.md --- C64_4joy_adapter/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/C64_4joy_adapter/README.md b/C64_4joy_adapter/README.md index 6aad660..9349d34 100644 --- a/C64_4joy_adapter/README.md +++ b/C64_4joy_adapter/README.md @@ -25,10 +25,12 @@ sei ``` 375ns -## using i/o space -- Can be used with in/out (i/o space) or lds (data space = i/o address+0x20)? -- Compiler can detect what space is used and uses correct address? -- in/out is 1 cycle? lds 2 cycles? +## using data/i/o space +- lds can load from io (if +0x20 added to address) or data space +- sts can store from register to io (if +0x20 added to address) or data space +- in can load from io to register +- out can write from register to io +- only one io/data address space access within one instruction? ## avr asm - http://www.nongnu.org/avr-libc/user-manual/inline_asm.html