Hi,
can you measure the voltage with multimeter ? I quess that RED wire is +18,5V, WHITE is GND.
I have Compaq Armada 7360DT, but have no power adaptor. Finally I found pinout of the PSU (power sypply) connector.
https://imgur.com/a/0ftizzH
-------
| 1 3 |
| 2 4 |
\____/
1 - +18,5V (19V will work too)
2 -
3 - Ground
4 -
Betwen 3 and 4 connect 2,2kohm resistor.
Dave