Download software notes - Altair 8800 Clone
Transcript
? ? ? ? ? ? ? ? T ? ? 7 H MODIFY IT AGAIN TO BE F I G . MODIFY B I R=5 E=-24 R THE VOLTAGE SOURCE IN F I G . R I S OPPOSITE IN POLARITY TO R STANDARD BRANCH ( F I G . I) B3 E=12 R=6 R INCLUDE BRANCH VOLTAGES IN PRINT BC R FORGOT SOME PRINT NV BV RUN MODIFY 2 first 4 4 BRANCH THE the "B" command, if the Once the word M O D ) F Y is entered, I only circuit performed. modifications However, they can be can be performed as m a n y times as necessary. THE OUTPUT If the ability to a d d branches to the circuit is necessary, the p r o g r a m must be changed to allow the modify flag, M O , to be reset to zero. ** Subroutines a r e used for printing alt *NODE VOLTAGES* MODES with resistance is changed at ait. output except partiai derivatives, worst VOLTAGES I - 2 -20 *BHAMCH VOLTAGES* case and standard deviation, which a r e computed only if output is requested. -16.8 Genera) P r o g r a m Description Lines 10 to 110 set up the p r o g r a m . BRANCHES ' VOLTAGES - 3 Function FNI m i n i m i z e s its a r g u m e n t to 20 BRANCHES 3.2 -16.8 zero, avoiding a FC error in the D ) M statements. Three input statements get CURRENTS maximum nodes, dependent ? R WANTED RESISTOR ? PRINT EC ? RUN * * MODIFY 2 *ELEMENT CURRENTS TOO different sources memory execution, branches to sizes. variabies and accommodate To are speed used for constants. ** Lines 120 to 570 process the input CURRENTS* line. " R " as the first character on the BRANCHES I CURRENTS - 3 line causes the line to be ignored and can -.8 .6 -.8 ? R NOW ANALYZE THE SINGLE STSGE COMMON EMITTER ? R A M P L I F I E R IN F I G . 5 ? R THE E9UIVALENT C I R C U I T I S SHOWN IN F I G . 6 ? R CAPICATORS HAVE BEEN REPLACED ? R WITH OPEN C I R C U I T S AMD THE 2N657 ? R TRANSISTOR WITH I T ' S EQUIVALENT. ? R THERE ARE THREE NODES-SIX BRANCHES7 R AND ONE DEPENDENT SOURCE. 7 R HAVE TO START OVER-7 NEW NODES? 4 BRANCHES? 9 DEP SCS? 3 SOLUTION ** 470. The next non-space character of a continuation line must be R, G, E or h Dependent source input tines cannot be continued. The processing of an input tine is simple. Look for " B " or " D " , find its numbers range group, check the and then extract p a r a m e t e r vatues, putting them in the appropriate carried matrix. internalty Resistance is as conductance. At line 510 m i n i m u m - m a x i m u m resistance tolerances become m a x i m u m - m i n i m u m conductance tolerances. The subroutine at line 600 contrcfts extraction of n u m e r i c vatues. tt has three entry points at lines 600, 610 and 620 n u m b e r s ) , two n u m b e r s in parenthesis (node or branch group) or both ( n o m i n a i fint 1 1 - 3 4.0238IE-03 0 -2.857!4E-03 2 1 - 3 .142857 5.9009E-04 -.142947 3 1 - 3 -.145714 -9.0090IE-05 .147804 CONTINUED C/NiJune. 1977 the p a r a m e t e r extraction routine at line to extract a single value ( " B " or " D " *NODAL CONDUCTANCE MATRIX* HUM of the previous line and causes a j u m p to the node or branch R T H I S TIME INCLUDE TOLERANCE VALUES FOR R WORST CASE ANALYSIS AND STANDARD DEVIATION R B I N ( 0 / 2 ) R = 2 K ( 7 X ) E=*20(5S) B2 N ( 0 / I ) R = 6 K ( 7 ^ ) * E=20<19/21) B3 N ( 0 / I ) R = I 0 0 0 ( 7 S ) B4 N ( I / 3 ) R = 3 5 0 ( 1 8 3 ) E=-500MV B5 N ( 3 / 0 ) R = 5 0 0 ( 4 6 5 / 5 3 5 ) B6 N < 2 / 3 ) R = ! l . ! E 3 ( t 0 % ) D! B ( 4 / 6 ) B=50(I0X) PRINT ALL RUN ** Using an asterisk as the first character indicates that this iine is a continuation n u m b e r , check the n u m b e r ' s range, find ALTAIR DC ECAP ? ? ? ? ? ? ? ? ? ? ? ? ? be used to insert r e m a r k s into the input. and tolerance values). Subroutine 790 to 890 extracts vatues, finds their length on the input line and retrieves the multiptier, if present. The value is returned in T1 and the^muitipiier value in M U . n NtNETEEN