This shows you the differences between two versions of the page.
communications:remote [2024/10/02 19:21] – created coco | communications:remote [2024/10/02 19:27] (current) – removed coco | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== REMOTE ====== | ||
- | |||
- | <code assembly> | ||
- | 00100 ******************************* | ||
- | 00110 * REMOTE | ||
- | 00120 *A REMOTE TERMINAL DRIVER | ||
- | 00130 *FOR THE COCO * | ||
- | 00140 *DAN DOWNARD | ||
- | 00150 ******************************* | ||
- | 00160 | ||
- | 00165 *EQUATES FOR ROM AND RAM ADDRESSES | ||
- | 00170 IHOOK | ||
- | 00180 OHOOK | ||
- | 00190 PIA | ||
- | 00200 POLCAT | ||
- | 00210 RSOUT | ||
- | 00220 BAUD EQU $E6 | ||
- | 00225 BAUDR | ||
- | 00230 DEV | ||
- | 00240 FLAG EQU $70 | ||
- | 00245 *INITIALIZE RAM HOOKS | ||
- | 00250 START | ||
- | 00260 | ||
- | 00270 | ||
- | 00280 | ||
- | 00290 | ||
- | 00300 | ||
- | 00310 | ||
- | 00320 | ||
- | 00330 | ||
- | 00340 | ||
- | 00350 | ||
- | 00360 | ||
- | 00370 | ||
- | 00380 RET RTS | ||
- | 00385 *OUTPUT CHARACTER IF DEV=0 | ||
- | 00386 *INSERT LINE FEEDS TO REMOTE DEVICE | ||
- | 00387 *USE ROM SUBROUTINE | ||
- | 00390 OUT | ||
- | 00400 | ||
- | 00410 | ||
- | 00420 | ||
- | 00430 | ||
- | 00440 | ||
- | 00450 | ||
- | 00460 | ||
- | 00470 REMOUT | ||
- | 00480 ORET1 | ||
- | 00490 ORET2 | ||
- | 00495 *INPUT FROM KEYBOARD OR RS-232 | ||
- | 00496 *IF DEV=0 | ||
- | 00497 *USE RSIN FOR REMOTE INPUT | ||
- | 00500 IN CLR < | ||
- | 00510 | ||
- | 00520 | ||
- | 00530 | ||
- | 00540 | ||
- | 00550 IN1 | ||
- | 00560 | ||
- | 00570 | ||
- | 00575 *CHECK FOR REMOTE INPUT | ||
- | 00580 REMIN | ||
- | 00590 RORB | ||
- | 00600 | ||
- | 00605 *RS-232 INPUT ROUTINE | ||
- | 00606 *BYTE INTO A REGISTER | ||
- | 00610 RSIN BSR HALF | ||
- | 00620 | ||
- | 00630 | ||
- | 00640 CLRA | ||
- | 00650 RSIN1 | ||
- | 00660 | ||
- | 00670 RORB | ||
- | 00680 | ||
- | 00690 | ||
- | 00700 RSIN2 | ||
- | 00710 | ||
- | 00720 | ||
- | 00730 | ||
- | 00740 IRET1 | ||
- | 00750 IRET2 | ||
- | 00755 *BAUD RATE DELAYS | ||
- | 00760 FULL BSR HALF | ||
- | 00770 HALF PSHS A | ||
- | 00780 | ||
- | 00790 HALF1 | ||
- | 00800 DECA | ||
- | 00810 | ||
- | 00820 | ||
- | 00830 | ||
- | </ | ||
- | |||
- | <code assembly> | ||
- | |||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | 3F00 86C9 00019 00250 START | ||
- | 3F02 97E6 00020 | ||
- | 3F04 BE0168 | ||
- | 3F07 AF8D003500022 | ||
- | 3F0B BE016B | ||
- | 3F0E AF8D006400024 | ||
- | 3F12 867E 00025 | ||
- | 3F14 B7016A | ||
- | 3F17 B70167 | ||
- | 3F1A 308D000B00028 | ||
- | 3F1E BF0168 | ||
- | 3F21 308D001D00030 | ||
- | 3F25 BF016B | ||
- | 3F28 39 00032 00380 RET RTS | ||
- | | ||
- | | ||
- | | ||
- | 3F29 3402 00036 00390 OUT | ||
- | 3F2B 0D6F 00037 | ||
- | 3F2D 260E 00038 | ||
- | 3F2F 810D 00039 | ||
- | 3F31 2607 00040 | ||
- | 3F33 860A 00041 | ||
- | 3F35 BD8E0C | ||
- | 3F38 860D 00043 | ||
- | 3F3A BD8E0C | ||
- | 3F3D 3502 00045 00480 ORET1 | ||
- | 3F3F 7E3F28 | ||
- | | ||
- | | ||
- | | ||
- | 3F42 0F70 00050 00500 IN CLR < | ||
- | 3F44 0D6F 00051 | ||
- | 3F46 262D 00052 | ||
- | 3F48 3262 00053 | ||
- | 3F4A 3415 00054 | ||
- | 3F4C AD9FA00000055 | ||
- | 3F50 2702 00056 | ||
- | 3F52 201F 00057 | ||
- | | ||
- | 3F54 F6FF22 | ||
- | 3F57 56 00060 | ||
- | 3F58 25F2 00061 | ||
- | | ||
- | | ||
- | 3F5A 8D1E 00064 00610 RSIN BSR HALF | ||
- | 3F5C C601 00065 | ||
- | 3F5E 3404 00066 | ||
- | 3F60 4F 00067 | ||
- | 3F61 8D15 00068 00650 RSIN1 | ||
- | 3F63 F6FF22 | ||
- | 3F66 56 00070 | ||
- | 3F67 2402 00071 | ||
- | 3F69 AA60 00072 | ||
- | 3F6B 6860 00073 00700 RSIN2 | ||
- | 3F6D 24F2 00074 | ||
- | 3F6F 3261 00075 | ||
- | 3F71 847F 00076 | ||
- | 3F73 3595 00077 00740 IRET1 | ||
- | 3F75 7E3F28 | ||
- | | ||
- | 3F78 8D00 00080 00760 FULL BSR HALF | ||
- | 3F7A 3402 00081 00770 HALF PSHS A | ||
- | 3F7C 96E6 00082 | ||
- | 3F7E 21FE 00083 00790 HALF1 | ||
- | 3F80 4A 00084 | ||
- | 3F81 26FB 00085 | ||
- | 3F83 3582 00086 | ||
- | | ||
- | </ | ||