Thanks floobydust. I noticed that the polarity of C10 is with the anode towards the Max238. Is this correct? The only reason I ask is that the pin on the IC is negative voltage and I've seen a circuit digram with the anode towards GND.
Oh, btw can you use non-polarised cermaic 1uF caps instead of the electrolytics?
[edit] Now that I've finally had some sleep and another look at the datasheet for the 238, my brain has just gone"Ohhh. I get it".
There was me thinking that there was someting magical about the Max232/238, but from what I see all it does is have X number of CMOS/TTl lines in coupled with the same number of RS232 out (and another set but reversed RS232 to CMOS/TTL).
In between it converts from TTL/CMOS voltage levels to the RS232 ones and inverts them for the logic (and vice versa on the RS232 to TTL/CMOS).
C1+/- helps double up the +5V to +10V, C2+/- then converts the +10 to -10V so we have our two RS232 logic levels.
+V is an unregulated ouput from C1+/- and -V is the same for C2/-. Not quite sure what you'd use them for though as their voltage would dip as soon as you start loading them.
Feel a bit stupid
. Obviously the 65C816 in my brain has been running at 3.3V
.