Home » CEEFAX disks » telesoftware7.adl » 10-06-88/CUR\TXT

10-06-88/CUR\TXT

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » CEEFAX disks » telesoftware7.adl
Filename: 10-06-88/CUR\TXT
Read OK:
File size: 053A bytes
Load address: 0000
Exec address: FFFFFFFF
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
                        CURSOR BLINK-OFF

About one in ten people suffer from Migraines which can be potentiated by
a flashing light. This might explain why VDU operators complain of
headaches, since a flashing cursor is used in many word processors like
Wordwise-Plus and View. The cursor used in the BBC machine can be modified
by use of a VDU23 command, but unfortunately it is restored as soon as a
WWP or VIEW command is entered.

This problem is overcome in the BASIC Program CUR/B which, when run,
produces some machine code residing at &C00. This code programs both the
Timer in the 6522 VIA and Register 10 in the 6845 CRT Controller chip.

The Timer is set to produce an 'Event' every 2 Seconds so that the CRTC is
re-programmed via the 'Event Vector' regularly. This means that the code
in Register 10 is reset to produce a non-flashing tall cursor within 2
seconds of any Word-processor command that recalled the flashing cursor. 
This 2 Seconds of flashing is not objectionable, and is helpful in quickly
locating the position of the cursor amongst the text.

The program CUR/B should be CHAINED from BASIC before entering the word
processor, or the M/C Code version CUR/M can be entered from disc by
typing *CUR/M in WWP or VIEW command mode, or in a !BOOT file.

       CUR/T                           (C)1987 P.B.Helsdon.
00000000  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000010  20 20 20 20 20 20 20 20  43 55 52 53 4f 52 20 42  |        CURSOR B|
00000020  4c 49 4e 4b 2d 4f 46 46  0d 0d 41 62 6f 75 74 20  |LINK-OFF..About |
00000030  6f 6e 65 20 69 6e 20 74  65 6e 20 70 65 6f 70 6c  |one in ten peopl|
00000040  65 20 73 75 66 66 65 72  20 66 72 6f 6d 20 4d 69  |e suffer from Mi|
00000050  67 72 61 69 6e 65 73 20  77 68 69 63 68 20 63 61  |graines which ca|
00000060  6e 20 62 65 20 70 6f 74  65 6e 74 69 61 74 65 64  |n be potentiated|
00000070  20 62 79 0d 61 20 66 6c  61 73 68 69 6e 67 20 6c  | by.a flashing l|
00000080  69 67 68 74 2e 20 54 68  69 73 20 6d 69 67 68 74  |ight. This might|
00000090  20 65 78 70 6c 61 69 6e  20 77 68 79 20 56 44 55  | explain why VDU|
000000a0  20 6f 70 65 72 61 74 6f  72 73 20 63 6f 6d 70 6c  | operators compl|
000000b0  61 69 6e 20 6f 66 0d 68  65 61 64 61 63 68 65 73  |ain of.headaches|
000000c0  2c 20 73 69 6e 63 65 20  61 20 66 6c 61 73 68 69  |, since a flashi|
000000d0  6e 67 20 63 75 72 73 6f  72 20 69 73 20 75 73 65  |ng cursor is use|
000000e0  64 20 69 6e 20 6d 61 6e  79 20 77 6f 72 64 20 70  |d in many word p|
000000f0  72 6f 63 65 73 73 6f 72  73 20 6c 69 6b 65 0d 57  |rocessors like.W|
00000100  6f 72 64 77 69 73 65 2d  50 6c 75 73 20 61 6e 64  |ordwise-Plus and|
00000110  20 56 69 65 77 2e 20 54  68 65 20 63 75 72 73 6f  | View. The curso|
00000120  72 20 75 73 65 64 20 69  6e 20 74 68 65 20 42 42  |r used in the BB|
00000130  43 20 6d 61 63 68 69 6e  65 20 63 61 6e 20 62 65  |C machine can be|
00000140  20 6d 6f 64 69 66 69 65  64 0d 62 79 20 75 73 65  | modified.by use|
00000150  20 6f 66 20 61 20 56 44  55 32 33 20 63 6f 6d 6d  | of a VDU23 comm|
00000160  61 6e 64 2c 20 62 75 74  20 75 6e 66 6f 72 74 75  |and, but unfortu|
00000170  6e 61 74 65 6c 79 20 69  74 20 69 73 20 72 65 73  |nately it is res|
00000180  74 6f 72 65 64 20 61 73  20 73 6f 6f 6e 20 61 73  |tored as soon as|
00000190  20 61 0d 57 57 50 20 6f  72 20 56 49 45 57 20 63  | a.WWP or VIEW c|
000001a0  6f 6d 6d 61 6e 64 20 69  73 20 65 6e 74 65 72 65  |ommand is entere|
000001b0  64 2e 0d 0d 54 68 69 73  20 70 72 6f 62 6c 65 6d  |d...This problem|
000001c0  20 69 73 20 6f 76 65 72  63 6f 6d 65 20 69 6e 20  | is overcome in |
000001d0  74 68 65 20 42 41 53 49  43 20 50 72 6f 67 72 61  |the BASIC Progra|
000001e0  6d 20 43 55 52 2f 42 20  77 68 69 63 68 2c 20 77  |m CUR/B which, w|
000001f0  68 65 6e 20 72 75 6e 2c  0d 70 72 6f 64 75 63 65  |hen run,.produce|
00000200  73 20 73 6f 6d 65 20 6d  61 63 68 69 6e 65 20 63  |s some machine c|
00000210  6f 64 65 20 72 65 73 69  64 69 6e 67 20 61 74 20  |ode residing at |
00000220  26 43 30 30 2e 20 54 68  69 73 20 63 6f 64 65 20  |&C00. This code |
00000230  70 72 6f 67 72 61 6d 73  20 62 6f 74 68 20 74 68  |programs both th|
00000240  65 0d 54 69 6d 65 72 20  69 6e 20 74 68 65 20 36  |e.Timer in the 6|
00000250  35 32 32 20 56 49 41 20  61 6e 64 20 52 65 67 69  |522 VIA and Regi|
00000260  73 74 65 72 20 31 30 20  69 6e 20 74 68 65 20 36  |ster 10 in the 6|
00000270  38 34 35 20 43 52 54 20  43 6f 6e 74 72 6f 6c 6c  |845 CRT Controll|
00000280  65 72 20 63 68 69 70 2e  0d 0d 54 68 65 20 54 69  |er chip...The Ti|
00000290  6d 65 72 20 69 73 20 73  65 74 20 74 6f 20 70 72  |mer is set to pr|
000002a0  6f 64 75 63 65 20 61 6e  20 27 45 76 65 6e 74 27  |oduce an 'Event'|
000002b0  20 65 76 65 72 79 20 32  20 53 65 63 6f 6e 64 73  | every 2 Seconds|
000002c0  20 73 6f 20 74 68 61 74  20 74 68 65 20 43 52 54  | so that the CRT|
000002d0  43 20 69 73 0d 72 65 2d  70 72 6f 67 72 61 6d 6d  |C is.re-programm|
000002e0  65 64 20 76 69 61 20 74  68 65 20 27 45 76 65 6e  |ed via the 'Even|
000002f0  74 20 56 65 63 74 6f 72  27 20 72 65 67 75 6c 61  |t Vector' regula|
00000300  72 6c 79 2e 20 54 68 69  73 20 6d 65 61 6e 73 20  |rly. This means |
00000310  74 68 61 74 20 74 68 65  20 63 6f 64 65 0d 69 6e  |that the code.in|
00000320  20 52 65 67 69 73 74 65  72 20 31 30 20 69 73 20  | Register 10 is |
00000330  72 65 73 65 74 20 74 6f  20 70 72 6f 64 75 63 65  |reset to produce|
00000340  20 61 20 6e 6f 6e 2d 66  6c 61 73 68 69 6e 67 20  | a non-flashing |
00000350  74 61 6c 6c 20 63 75 72  73 6f 72 20 77 69 74 68  |tall cursor with|
00000360  69 6e 20 32 0d 73 65 63  6f 6e 64 73 20 6f 66 20  |in 2.seconds of |
00000370  61 6e 79 20 57 6f 72 64  2d 70 72 6f 63 65 73 73  |any Word-process|
00000380  6f 72 20 63 6f 6d 6d 61  6e 64 20 74 68 61 74 20  |or command that |
00000390  72 65 63 61 6c 6c 65 64  20 74 68 65 20 66 6c 61  |recalled the fla|
000003a0  73 68 69 6e 67 20 63 75  72 73 6f 72 2e 20 0d 54  |shing cursor. .T|
000003b0  68 69 73 20 32 20 53 65  63 6f 6e 64 73 20 6f 66  |his 2 Seconds of|
000003c0  20 66 6c 61 73 68 69 6e  67 20 69 73 20 6e 6f 74  | flashing is not|
000003d0  20 6f 62 6a 65 63 74 69  6f 6e 61 62 6c 65 2c 20  | objectionable, |
000003e0  61 6e 64 20 69 73 20 68  65 6c 70 66 75 6c 20 69  |and is helpful i|
000003f0  6e 20 71 75 69 63 6b 6c  79 0d 6c 6f 63 61 74 69  |n quickly.locati|
00000400  6e 67 20 74 68 65 20 70  6f 73 69 74 69 6f 6e 20  |ng the position |
00000410  6f 66 20 74 68 65 20 63  75 72 73 6f 72 20 61 6d  |of the cursor am|
00000420  6f 6e 67 73 74 20 74 68  65 20 74 65 78 74 2e 0d  |ongst the text..|
00000430  0d 54 68 65 20 70 72 6f  67 72 61 6d 20 43 55 52  |.The program CUR|
00000440  2f 42 20 73 68 6f 75 6c  64 20 62 65 20 43 48 41  |/B should be CHA|
00000450  49 4e 45 44 20 66 72 6f  6d 20 42 41 53 49 43 20  |INED from BASIC |
00000460  62 65 66 6f 72 65 20 65  6e 74 65 72 69 6e 67 20  |before entering |
00000470  74 68 65 20 77 6f 72 64  0d 70 72 6f 63 65 73 73  |the word.process|
00000480  6f 72 2c 20 6f 72 20 74  68 65 20 4d 2f 43 20 43  |or, or the M/C C|
00000490  6f 64 65 20 76 65 72 73  69 6f 6e 20 43 55 52 2f  |ode version CUR/|
000004a0  4d 20 63 61 6e 20 62 65  20 65 6e 74 65 72 65 64  |M can be entered|
000004b0  20 66 72 6f 6d 20 64 69  73 63 20 62 79 0d 74 79  | from disc by.ty|
000004c0  70 69 6e 67 20 2a 43 55  52 2f 4d 20 69 6e 20 57  |ping *CUR/M in W|
000004d0  57 50 20 6f 72 20 56 49  45 57 20 63 6f 6d 6d 61  |WP or VIEW comma|
000004e0  6e 64 20 6d 6f 64 65 2c  20 6f 72 20 69 6e 20 61  |nd mode, or in a|
000004f0  20 21 42 4f 4f 54 20 66  69 6c 65 2e 0d 0d 20 20  | !BOOT file...  |
00000500  20 20 20 20 20 43 55 52  2f 54 20 20 20 20 20 20  |     CUR/T      |
00000510  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000520  20 20 20 20 20 28 43 29  31 39 38 37 20 50 2e 42  |     (C)1987 P.B|
00000530  2e 48 65 6c 73 64 6f 6e  2e 0d                    |.Helsdon..|
0000053a
10-06-88/CUR\TXT.m0
10-06-88/CUR\TXT.m1
10-06-88/CUR\TXT.m2
10-06-88/CUR\TXT.m4
10-06-88/CUR\TXT.m5