Re: Memory mapped IO

2011-01-10 Thread Lars T. Kyllingstad
and am finding it has a nice set of features. But, >>> what is the best way handle memory mapped IO? I don't see volatile >>> like in C. Is writing asm {} the best way to ensure memory access? >>> >>> Thanks, >>> Dan Olson >> >> Would std.m

Re: Memory mapped IO

2011-01-10 Thread Dan Olson
"Lars T. Kyllingstad" writes: > On Sun, 09 Jan 2011 22:44:44 -0800, Dan Olson wrote: > >> I'm exploring D for embedded work as a nice alternative to C/C++ for the >> 32-bitters and am finding it has a nice set of features. But, what is >> the best wa

Re: Memory mapped IO

2011-01-10 Thread Lars T. Kyllingstad
On Sun, 09 Jan 2011 22:44:44 -0800, Dan Olson wrote: > I'm exploring D for embedded work as a nice alternative to C/C++ for the > 32-bitters and am finding it has a nice set of features. But, what is > the best way handle memory mapped IO? I don't see volatile like in C. >

Memory mapped IO

2011-01-09 Thread Dan Olson
I'm exploring D for embedded work as a nice alternative to C/C++ for the 32-bitters and am finding it has a nice set of features. But, what is the best way handle memory mapped IO? I don't see volatile like in C. Is writing asm {} the best way to ensure memory access? Thanks, Dan Olson