From: Slavko K. <es...@gm...> - 2010-03-28 15:06:15
|
Slavko Kocjancic pravi: > Hello... > > I'm near finished new EPP board to be used for software stepgen. It has > 24 input and 24 output lines see: http://tinyurl.com/ycsuxb9 > > .. Board finished and tested on bench. After removing few mistakes (my :-[ ) all works great. Now my confusion on driver come on. I check (with my very limited knowledge of C) the sources. I set focus on hal_parport.c as natively I think that's best way. But When checked hal_ax5214h.c and hal_skelton.c I realize that (at least for now) I don't know how to make new one. (I tested my board with simple basic program under DOS). As all driver's I think to be similar of myne here is hughe diferences. Sems that sometihing like new and old design strikes here. As I look I can't see clearly blocks... I expected some Init block and one Write and Read Subs.. But no there are much more here and of course the realtime sistem is involved here... sems that this two line does similar but don't know what difference is... Oh my ... :'( outb(0xff, board->base_addr+2); rtapi_outb(outdata, port->base_addr); |