Logic Circuit Transistor Resistor Values?

Last week, I posted a problem with a logic circuit (Need Help With Transistor Logic Circuit Design), and Analogkid was kind enough to solve it. However, at the time, I didn't realize I still had a couple of biasing issues to iron out in the rest of the design.

One of the issues that has cropped up is that the input switches have a 1M ohm residual resistance when open. This is causing Q1 and Q2 to forward bias when SW-1 and SW-2 are open, leaving LED-1 partially lit. I need to calculate the resistance values of R5, R6, R7, and R8 such that Q1 and Q2 are 30% of the way into saturation mode when SW-1 and/or SW-2 are closed, and in cutoff mode when they are open.

I can not change the resistance values R1 and R2. They are fixed. Note that R3 and R4 are simply to compensate for diodes D1 and D2 to bring the current draw across LED-1 to exactly 10 mA when SW-3 is closed.

Also, a "0" ('zero") in the truth table equates to a switch being open. Here is my schematic:

Any help would be sincerely appreciated.

• past Simulator link pls > File> Export link. Why 12V instead of 5V or 3.3V – Sunnyskyguy EE75 Jan 6 at 21:57
• Tony, that's part of the spec. It is a 12V system, and this is only a very small part of it. I posted the Falstad file. It appears to work for me (but this is ugly). I can copy and paste it into a .txt. file and open it with Falstad. There has to be a better way of doing this. -sigh- – Rikki Jan 6 at 22:17
• Dave, that would be great. But I didn't know (and don't see) how to save a file on their server. I tried to create a URL, but I get a "shortener error". I suppose I need to figure this out if I am going to come here and ask for help. Having a circuit simulated would really make things easier. I'll keep at it. – Rikki Jan 6 at 22:26
• Rikki as I said, only comments allow Tiny URL's as they may become transient even google is getting out of goo.gl – Sunnyskyguy EE75 Jan 6 at 22:28
• I went ahead and created the link for you. – Dave Tweed Jan 6 at 22:31