ô READCOUT 8ô to open a z80 com file and serial output it in hex #ô to srlrun.com on the Einstein 6ô SRLRUN needs "\" sent before loading Hex as code A ô characters A B C D E F 0 1 2 3 4 5 6 7 8 9 will be loaded J!ô after the "\". Characters : ; < > ? @ should not be sent after "\". H"ô The "=" character will terminate transmission and run the program. H#ô All lower case letters, tabs, spaces and carriage returns ignored. (ñ Š20) "BYTES SENT" 2PORT% = ­ "COM1: 9600,N,8,2" <ñ:ñ:ñ:ñ:ñ: .Añ "COM1 SERIAL PORT IS *OUTPUT "; PORT%: ñ FÞ P% 6 =P[OPT 0 ; machine code routine to read and write PC ports. )Z.INPORT IN AL,DX : MOVZX EAX,AL : RET d.OUTPUT OUT DX,AL : RET : ] )nñ Š0,20) "TO SELECT FILE TO TRANSFER" 2xè"PRESS ENTER";A$: ô these two lines will open 7‚X=Ž(A$) : ô the Windows file box. 'ŒL=¢#X:ñ,"LENGTH ";L,"BLOCKS ";L/256 –ñ"FILE NUMBER ";X  *OUTPUT 1 Fªñ "zilog com file to output in hex \":ô \ needed to start loading. ´ã I=1 ¸ L ¾Y=š# X È*OUTPUT 0 0ÒD%=&03FE : ô tests PC serial register *ÜDAT=º(INPORT) : ô to see if Einstein's $æô CALL INPORT : REM set RTS. 3ðBT=DAT € 16 : ô If bit 5 of serial register 0 0úç BT=0 å dR@ : ô jump back and poll again. ñ Š0,0) I *OUTPUT 1 (ç Y<&10 Œ ñ"0"; :ô add character "0" "ñ;~Y; ,í I 06ñ"=":ô "=" Needed to terminate transmission. @*OUTPUT 0 JÙ# X .Tñ:ñ"FILE ";A$,"FILE NUMBER ";X,"LENGTH ";L ÿÿ