OK ran a few tests;
28X1, lm7805 regulated supply, total current draw measured with DMM mA scale.
No connections other than supply, enhanced download circuit and reset circuit.
test 1 - current draw 1.94 mA;
Code:
#picaxe 28X1
setfreq m8
main:
if input1 is 1 then
goto main:
endif
goto main
test 2 - current draw 1.89mA
Code:
#picaxe 28X1
setfreq m8
low portc 0
low portc 1
low portc 2
low portc 3
low portc 4
low portc 5
low portc 6
low portc 7
main:
if input1 is 1 then
goto main:
endif
goto main
Test 3 same as test 2 but with portc high instead of low - current draw 1.87 mA
Test 4 1.97mA - moved input test to port a
Code:
#picaxe 28X1
setfreq m8
high portc 0
high portc 1
high portc 2
high portc 3
high portc 4
high portc 5
high portc 6
high portc 7
main:
if porta input1 is 1 then
goto main:
endif
goto main
test 5 code same as test4 - added a 10k pull down to porta 1 - current draw 1.92mA
test 6 code same as test4 - added a separate 10k pull down to each of porta 0 thru 3 - current draw 1.84mA
test 7 code same as test4 - added a single shared 10k pull down to porta 0 thru 3 - current draw 1.88mA
test 8 code same as test1 - pwmout from 08M injected into ports a0 thru a3 - current draw increased from 1.94 to 1.96mA
test 9 - test for resonator input floating
code same as test1 - connections same as test1. With 28X1 pin 9 connected to 0V no change in mA, with 4k7 or 10k to 0V, current increased from 1.94 to 1.95mA
Conclusions;
make unused inputs high outputs if available - no connection else current draw increases!
individual pullups on input only ports
Gives minumum current draw, highest safety against floating inputs.