Ok - I got that part right.
You might get some ideas from some of the LCD Programming Examples at Don's Collected Technical Information.
Specifically, compare one of the 'Arduino' examples with it's corresponding 'C' example. You can use the comments, which are essentially identical for both programs (except for at least one typo I just spotted), to see how the Arduino bit manipulation techniques compare to the more traditional approach.
Don