ELF-LINK v1.0, an LPT interface to Lee Hart's ELF MEMBERSHIP CARD Program is written using Quick Basic PDS version 7.1 I've tested it with MS-DOS QBasic 1.1 (which comes with DOS) and it appears to work fine, your mileage may vary. License: FREE to public domain, use at your own risk. Included files are: ELF-LINK.BAS - Source code program written in BASIC, executable by Quick Basic PDS 7.1 or MS-DOS QBasic 1.1 ELF-LINK.EXE - Executable program made by Quick Basic PDS 7.1 ELF-LINK.TXT - The file you are currently reading. Program is fairly self explanatory. A few opening screens help set up things. Then the operation screen is hot key driven. The keys shown within angled brackets are to invoke those functions, eg the onscreen text un means use key "R" to invoke RUN mode. Below are the various screens you'll see, but with comments. =========================================================================================== Screen 1. - Opening screen, credits, hardware instructions. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ELF-LINK v1.0, an LPT interface to Lee Hart's ELF MEMBERSHIP CARD By Josh Bensadon, July 2012 Connect the LPT port to the ELF, Flip Memory Protect switch to READ. Flip all other switches to the UP postion Press any key to continue =========================================================================================== Screen 2. - PC Configuration. Displays detected LPT ports and requests a selection - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Pin Reg.Bit I/O L Description Use (Note: Some pins have inverted Levels +/-) 1 37A.0 out - /STROBE /IN & Qhi/Qlow 2 378.0 out + DATA 0 SW0 3 378.1 out + DATA 1 SW1 4 378.2 out + DATA 2 SW2 5 378.3 out + DATA 3 SW3 6 378.4 out + DATA 4 SW4 7 378.5 out + DATA 5 SW5 8 378.6 out + DATA 6 SW6 9 378.7 out + DATA 7 SW7 10 379.6 inp + ACK Q6/Q2 11 379.7 inp - /BUSY Q7/Q3 12 379.5 inp + PAPER END Q5/Q1 13 379.4 inp + SELECT Q4/Q0 14 37A.1 out - /AUTO FEED /WAIT 15 379.3 inp + ERROR Q output 16 37A.2 out + INITIALIZE /CLR 17 37A.3 out - /SELECT IN MP 18-25 GROUND 1 - &h378 (present) 2 - &h278 (absent!) 3 - &h3BC (absent!) Select LPT Port ( 1 - 3 ) =========================================================================================== Screen 3. - Operation Screen. Shows: -LPT port pin values in upper left corner (adjusted for the correct polarity) -An ASCII graphic of the virtual front panel (how the LPT port is driving the MC) -Menu on right hand side, showing current mode in reverse video Note: There is a difference between the key and the key. The key pulses the IN switch and if held down will repeatedly pulse the IN switch. The key directly controls the IN switch, if held down, IN will remain pressed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 378: 00000000 lear 379: 11111110 oad 37A: 00001011 un ait

-READ/WRITE - Toggle Data 0-9,A-F Sets Switches F 0 Activates IN Switch      Pulses IN Switch (IN Switch polarity reversed during Load) | (to allow reading of DATA LED's) O _ _ _ _ _ _ _ _ _ _ _ To Upload Data to ELF | | | | | | | | | | To Download the ELF to file 0 0 =========================================================================================== Screen 4. - Uploading Data to ELF. Enter file name. Hexfiles (*.HEX) will automatically load at the addresses included as per Intel HEX format. Binary files (*.BIN) will prompt for a Base Address, as these files do not include embedded addresses for the data contained. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Enter File name (Including .HEX or .BIN extension) Enter File name : ? pgm.bin PGM.BIN Enter Base Address to load file at [0000]? =========================================================================================== Screen 5. - Downloading the ELF to file. -Select the Range of addresses desired to export. -Select View to only view the data on screen. -Hex or Binary file will prompt for a file name to save the data. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ange: 0000 to FFFF View only HEX File Out Binary File Out