From: <ha...@hu...> - 2007-05-20 13:39:47
|
2007/5/20, Matthias Trute <mt...@we...>: > Today I've changed the repository structure. There are two new > directories at the top level: appl and lib. The directories blocks and > target within trunk are gone together with the makefile there. Totally cool! I have done something similar for my private needs, but it is way better to have amforth being prepared like this upfront. Thanks! Something else: How do you (as in everyone) handle bitwise I/O with amforth? The AVR has the very useful SBI/CBI instructions that can be used to set and clear individual bits without affecting the state of the other bits in a port. The bit number is coded into the instruction, so I am a bit at loss when it comes to defining a proper amforth word to do it. Obviously, having cbi and sbi words ( bit port -- ) would be just great. Any ideas? Thanks, Hans |