You can efile form 540 through TurboTax.
If you want to file by mail, here are the addresses:
If you are receiving a refund-
FRANCHISE TAX BOARD
PO BOX 942840
SACRAMENTO CA
94240-0001
If you are making a payment-
FRANCHISE TAX BOARD
PO BOX 942867
SACRAMENTO CA
94267-0001