Mike has listed some of the common problems...
basically, if the bike is actually 'running' with the choke on, then just stalls out as soon as the choke is turned off - the problem should be restricted to fuel flow.
It will be either a major blockage in the low-speed fuel circuit. It could be blocked pilot jets, or a blockage inside the internal fuel lines within the carbie bodies, maybe needle/seat issues and/or float height incorrect. The fuel tap should also be checked, and especially the internal fuel filter that sits on top of the fuel tap, inside the tank. If it has been 3 years since the bike last ran, then this filter could be really dirty.
How old is the fuel ? I assume that the normal tests for fuel-flow have been done ? ( take fuel hose off carbie - turn on tap - watch fuel run out freely. Replace hose on carbie, turn on tap, remove either outer float bowl and make sure fuel is flowing ?)
The best way to clean carbies out, is with a pressure-pak can of Carb Cleaner (Wynns or similar) - and compressed air, using an 'air-duster'. This is by far the best way of cleaning internal passages within the carbie bodies.
The correct adjustment of the pilot air-screw on these 26mm carbs is critical for good running. For 77 models, the pilot air-screw setting is 1 1/4 turns out ( from fully the fully-seated 'in' position).
