annotate level1/modules/term_hr.asm @ 2940:824019cd8744

rb1773: Make 48 TPI floppy disks readonly in 96 TPI drives Deny the disk destroying write with the narrower heads of the 96 tpi drive when the user has placed a 48 tpi disk in the 96 tpi drive so he can read it. Double stepping the drive is then done automatically so as to stay in mechanical synch with the tracks on a 48 tpi disk. But that, until now, did not make the disk read-only, this patch does that. Patch by Gene Heskett and Robert Gault.
author Robert Gault <robert.gault@att.net>
date Sat, 25 Jan 2014 23:20:06 +0100
parents 6e40b043d3e0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1741
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
1 ********************************************************************
1933
1e312b144f4d Major changes:
boisy
parents: 1741
diff changeset
2 * TERM - Hi-Res 51x24 Device Descriptor
1741
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
3 *
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
4 * $Id$
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
5 *
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
6 * Edt/Rev YYYY/MM/DD Modified by
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
7 * Comment
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
8 * ------------------------------------------------------------------
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
9 * ????/??/??
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
10 * From Tandy OS-9 Level One VR 02.00.00
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
11 *
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
12 * Modified from 80 col driver to suit 51 column software
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
13 * driver from Dragon Data OS-9, 2004-12-02 P.Harvey-Smith.
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
14 *
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
15
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
16
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
17
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
18 nam TERM
1933
1e312b144f4d Major changes:
boisy
parents: 1741
diff changeset
19 ttl Hi-Res 51x24 Device Descriptor
1741
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
20
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
21 * Disassembled 98/08/23 17:19:25 by Disasm v1.6 (C) 1988 by RML
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
22
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
23 ifp1
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
24 use defsfile
2682
f91dc5c378f6 Remove references to include scfdefs
William Astle <lost@l-w.ca>
parents: 2624
diff changeset
25 ; use scfdefs
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 1933
diff changeset
26 use cocovtio.d
1741
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
27 endc
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
28
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
29 tylg set Devic+Objct
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
30 atrv set ReEnt+rev
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
31 rev set $00
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
32
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
33 mod eom,name,tylg,atrv,mgrnam,drvnam
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
34
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
35 fcb UPDAT. mode byte
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
36 fcb HW.Page extended controller address
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
37 fdb $C000 physical controller address
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
38 fcb initsize-*-1 initilization table size
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
39 fcb DT.SCF device type:0=scf,1=rbf,2=pipe,3=scf
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
40 fcb $00 case:0=up&lower,1=upper only
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
41 fcb $01 backspace:0=bsp,1=bsp then sp & bsp
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
42 fcb $00 delete:0=bsp over line,1=return
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
43 fcb $01 echo:0=no echo
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
44 fcb $01 auto line feed:0=off
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
45 fcb $00 end of line null count
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
46 fcb $01 pause:0=no end of page pause
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
47 fcb 24 lines per page
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
48 fcb C$BSP backspace character
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
49 fcb C$DEL delete line character
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
50 fcb C$CR end of record character
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
51 fcb C$EOF end of file character
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
52 fcb C$RPRT reprint line character
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
53 fcb C$RPET duplicate last line character
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
54 fcb C$PAUS pause character
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
55 fcb C$INTR interrupt character
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
56 fcb C$QUIT quit character
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
57 fcb C$BSP backspace echo character
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
58 fcb C$BELL line overflow character (bell)
1933
1e312b144f4d Major changes:
boisy
parents: 1741
diff changeset
59 fcb ModCoHR init value for dev ctl reg
1741
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
60 fcb $00 baud rate
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
61 fdb name copy of descriptor name address
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
62 fcb $00 acia xon char
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
63 fcb $00 acia xoff char
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
64 fcb 51 (szx) number of columns for display
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
65 fcb 24 (szy) number of rows for display
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
66 initsize equ *
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
67
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
68 name fcs /TERM/
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
69 mgrnam fcs /SCF/
1933
1e312b144f4d Major changes:
boisy
parents: 1741
diff changeset
70 drvnam fcs /VTIO/
1741
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
71
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
72 emod
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
73 eom equ *
94aaf037f7ba Added for CO51
boisy
parents:
diff changeset
74 end