Wask

untvac 1100 is clear and

Fig, 2> Sample program run.

printed and the confirmed figure is compared to the 90% figure of the countries worked of your class. If they are equal, or if the confirmed figure is greater, a jump is made out of the loop at line 710 to line 760. Otherwise, the loop repeats.

Assuming that you answered wrong just once, line 580 sends you to line 480, which is printed. T is incremented by one and you go back to line 550. If you goof again, line 590 sends you to line 490, which is printed; L = 2, so line 610 is skipped and the answer is printed via line 620 Line 630 increments only your worked tally, A jump is made to the print of-your record in fine 680, and the rest proceeds as noted above.

!f you haven't jumped out of the loop by the time you have gone through it N times, you haven't made

90% correct In that case, the program goes to line 85^ by way of 750 and ends at ^999. If you did win, the program goes througn lines BOO to 840 and into the certificate subroutine. The program then returns to line 850 and ends at 9999.

Modifications

This program was written on a Univac 1100 at the University of Miami, tt should run as is on most large college and high school computers. If you want to run it on your micro, some changes might have to be made in the interests of conserving memory You can eliminate lines 10 to 260, but, if you eliminate HS in line 40, ft won't be there to print your name or call on the certificate in the subroutine. You could also decide on just one class and eliminate everything up to line 450, except for giving N some value equal to the number of countries in your list. You could also eliminate the subroutine, but the certificate is nice, especially if you can get a hard copy of it. Of course, you can change the data to any countries or prefixes that you want, except those beginning with a number such as 5Z4 — variables like those won't be accepted by the computer. If you don't want to alternate country-prefix-country, you can set up the data to print either the country or the prefix alone as the question. You can also make the game easier to win by changing the winning percentage on line 700 and also the print statement on line 230.

One of the nicest features of the program is that, by changing the data statements, you can adapt DXCC into a quiz, such as naming the capitals of the states. Just rewrite the data lines to read state-capital-state-caprtal and so on. The number of different quizzes that can be derived from this format is endless

Note that our Univac accepts line 1030, the command "page " This altows our printer to print the certificate on a separate page You might have to make a loop of print statements if you want thts feature but lack the page command.

Conclusions

We have spent many happy hours writing and playing DXCC. If you really want to get into it, try randomizing each class and making a large data list. We hope you enjoy DXCC and, if you come up with any more modifications, send us a list of your version. We would like to see what you're doing. ■

WIRE UlRUPPinC HIT UJH 5

CONTAINS BrM&i l irl BW-630 H- ^by \\< if i; ,V5I.-?CM PC Edge Connector COM-i DIP IC Exir&ctof ToiH 6X-1 DIP JC insertion Toot 1NS-1416 PC Card Guides & Brackets TflS-2 Mini-Shear wUh Safety Clip 5P-152 u 1$, 24 and 40 DIP Sockets Terminals WWT I

Tfi-Cotor Wire Dispenser WD-30-TRI Hobby l3oard M-PCB->

ADO t2M)0 FDR SHIPPING Y. GITY AND STATE RESIDENTS ADD TAX>

OK MACHINE & TOOL CORPORATION

i455 Conner; St, Bronx Nl Y 10475 (2t2) 994-6600 Tc.'ie* 125091

is* Reader Service—see page f95

A Low-Cost Circuit Board Holder

The stingy solution.

Russell W, Steele 838 Gayie St\ Papiiiion NE 68046

If you are still chasing PC cards across your workbench, you may be interested in a cheap card holder for PC boards I was bitten by the computer bug this last winter and decided to build a system from scratch, using MSI and LSI r.htps and standard 44-pin prototyping boards. After evaluating a number of

CPU chips and "one-board" systems, I decided to build a system based on the Popular Electronics EIF,

My goals were: to learn as much as possible, to keep the project within my limited budget, and to end up with an expandable system The ELF was less than $100, and I felt it would be easy to expand with other hand-wired boards, I didn't feel competent to make my own PC boards, so I chose the pro totype board and wiring-pencil method.

After collecting the necessary parts and designing a layout, my first problem was holding the PC board so that I could use a wiring pencil in one hand and a soldering iron in the other My first thought was to locate a professional card holder and vise (such as the PANA-VISE), but it came down to a choice between using my limited cash for expensive equipment or buying computer

A $.45 card holder hardware I chose the latter, electing to solve the card-holding problem with my junk box and some leftover ingenuity.

After making sketches of my idea (Hg. 1), the next task was to collect parts. Rummaging among my bits of this and that stored in the garage, I spotted a hardwood stave from a shipping crate (2" x VS" x 18") and a short length of threaded rod [W x 12"), In one coffee can I found five 1 VI" screws left over from a curtain-hanging project(l used molybolts after the curtain fell down), and in another coffee can were five washers and two wing nuts from a TV antenna that blew down long ago It pays never to throw anything away!

That left me with some T-nuts to pick up at the local hardware (a package of five for 45?) With this collection of bits and pieces, I hoped to make a PC card holder for a standard prototype board {4" x 6" or 4" x 9"), The size of the holder can be selected to suit your own needs The small Radio Shack boards will fit if they are slipped in sideways.

To build the holder, I cut two pieces of hardwood

0 0

Post a comment