home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l043 / 2.ddi / GREXAMPL.ARC < prev    next >
Unknown  |  1987-11-02  |  18.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert PAK/ARC Compressed Archive (archive/arc) ext Supported
66% dexvert ArcFS Archive (archive/arcFS) ext Supported
1% dexvert FreeArc Archive (archive/freeArc) ext Unsupported
1% dexvert EZBIND archive (archive/ezBINDArchive) ext Unsupported
100% file data default
100% TrID Borland packed archive default
100% gt2 Kopftext: 'This is a packed file.' default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 54 68 69 73 20 69 73 20 | 61 20 70 61 63 6b 65 64 |This is |a packed|
|00000010| 20 66 69 6c 65 2e 1a 3a | 43 4d 20 30 31 20 31 30 | file..:|CM 01 10|
|00000020| 30 3a 0d 0a 21 41 52 43 | 2e 50 41 53 20 20 20 20 |0:..!ARC|.PAS |
|00000030| 20 20 20 20 32 35 34 20 | 39 46 41 31 20 30 46 36 | 254 |9FA1 0F6|
|00000040| 32 20 32 30 30 30 0d 0a | 20 20 20 20 20 20 20 31 |2 2000..| 1|
|00000050| 39 33 0d 0a 8c 75 e6 94 | 99 d3 40 01 08 10 47 e4 |93...u..|..@...G.|
|00000060| 84 81 83 66 47 41 3b 61 | e4 14 3c 78 84 0c 0b 84 |...fGA;a|..<x....|
|00000070| 6d 40 e8 00 91 c6 0d 9d | 32 67 ca c8 71 68 10 84 |m@......|2g..qh..|
|00000080| 94 30 64 d2 04 d4 c8 d1 | 23 48 91 24 c5 80 ec 38 |.0d.....|#H.$...8|
|00000090| 11 21 19 8d 3d 40 10 29 | f3 71 0c 1d 92 07 93 b8 |.!..=@.)|.q......|
|000000a0| 49 43 27 e1 42 34 28 2a | 5e 3c d2 e6 e2 89 13 29 |IC'.B4(*|^<.....)|
|000000b0| 80 72 34 83 50 21 43 29 | 03 eb b0 a1 03 82 87 0f |.r4.P!C)|........|
|000000c0| 10 67 e4 3c 59 03 82 0e | 9a 32 6e 6a 1e 44 12 66 |.g.<Y...|.2nj.D.f|
|000000d0| 2b 8a 18 51 6b 9a 79 23 | c7 24 4a 95 73 70 82 88 |+..Qk.y#|.$J.sp..|
|000000e0| 51 f6 0d 88 1a 20 c8 bc | 51 0b 22 88 9c 31 6f 61 |Q.... ..|Q."..1oa|
|000000f0| c0 b8 18 43 f1 c5 c5 20 | 72 40 3e 99 32 a0 8a c6 |...C... |r@>.2...|
|00000100| 71 4b 62 45 c9 c6 8d d4 | 21 6c de 08 34 ca 90 24 |qKbE....|!l..4..$|
|00000110| 5a 32 2e 34 00 21 41 52 | 43 43 4f 4f 52 44 2e 50 |Z2.4.!AR|CCOORD.P|
|00000120| 41 53 20 20 20 20 20 20 | 20 20 33 31 34 20 46 38 |AS | 314 F8|
|00000130| 33 42 20 30 46 36 32 20 | 32 30 30 30 0d 0a 20 20 |3B 0F62 |2000.. |
|00000140| 20 20 20 20 20 32 33 30 | 0d 0a 8c 75 e6 94 99 d3 | 230|...u....|
|00000150| 40 01 08 10 47 e4 84 81 | 83 66 47 41 3b 61 e4 14 |@...G...|.fGA;a..|
|00000160| 3c 78 84 0c 0b 84 6d 40 | e8 00 91 c6 0d 9d 32 67 |<x....m@|......2g|
|00000170| ca c8 71 68 10 44 10 39 | 63 86 bc 79 23 87 cc 1c |..qh.D.9|c..y#...|
|00000180| 8d 26 51 aa 64 e9 92 4a | 1e 38 65 48 8a 01 d9 71 |.&Q.d..J|.8eH...q|
|00000190| 22 42 32 1a 7b 80 20 52 | e6 e3 18 3a 24 0f 26 71 |"B2.{. R|...:$.&q|
|000001a0| 93 86 4e c2 85 68 50 54 | bc 78 a4 cd c5 13 27 52 |..N..hPT|.x....'R|
|000001b0| 24 e5 68 06 a1 42 86 52 | 06 d6 61 43 07 04 0f 1f |$.h..B.R|..aC....|
|000001c0| 20 ce c8 79 b2 06 04 1d | 34 65 dc f8 3c 88 24 0c | ..y....|4e..<.$.|
|000001d0| 59 14 31 b4 fa 3c 39 06 | 2f 0c 18 2c 62 fc 65 01 |Y.1..<9.|/..,b.e.|
|000001e0| 58 c6 0d c0 33 60 e8 2d | 79 a4 28 df 99 2d e7 a0 |X...3`.-|y.(..-..|
|000001f0| 78 bc 32 f2 e2 83 77 9a | a2 89 99 b2 b2 4b 10 64 |x.2...w.|.....K.d|
|00000200| de cc 05 c1 a4 63 19 14 | 58 e6 d0 89 48 e7 62 16 |.....c..|X...H.b.|
|00000210| d5 ac 2f 62 89 6b 11 44 | 16 da 97 41 84 0d 43 86 |../b.k.D|...A..C.|
|00000220| 8d 9b ad 43 d8 bc 11 f8 | 94 21 49 da 2e 0a 6a 00 |...C....|.!I...j.|
|00000230| 21 41 53 50 45 43 54 2e | 50 41 53 20 20 20 20 20 |!ASPECT.|PAS |
|00000240| 20 20 20 34 37 35 20 30 | 46 43 44 20 30 46 36 32 | 475 0|FCD 0F62|
|00000250| 20 32 30 30 30 0d 0a 20 | 20 20 20 20 20 20 33 33 | 2000.. | 33|
|00000260| 31 0d 0a 8c 75 e6 94 99 | d3 40 01 08 10 47 e4 84 |1...u...|.@...G..|
|00000270| 81 83 66 47 41 3b 61 e4 | 14 3c 78 84 0c 0b 84 6d |..fGA;a.|.<x....m|
|00000280| 40 e8 00 91 c6 0d 9d 32 | 67 ca c8 71 68 10 04 96 |@......2|g..qh...|
|00000290| 30 73 e0 5c cc 82 12 8e | 46 10 77 de c8 21 43 f2 |0s.\....|F.w..!C.|
|000002a0| 20 96 29 69 c8 94 61 52 | c6 cd 19 3a 68 56 e2 d4 | .)i..aR|...:hV..|
|000002b0| c9 d3 27 d0 97 1d 3f 86 | 1c 59 b0 a0 18 90 1d 27 |..'...?.|.Y.....'|
|000002c0| 22 24 a3 b1 07 08 22 65 | 3e 8e a1 53 13 44 12 37 |"$...."e|>..S.D.7|
|000002d0| 69 e8 24 5c 88 06 45 c5 | 8b 47 da 5c 3c 71 22 45 |i.$\..E.|.G.\<q"E|
|000002e0| d7 34 66 10 2a 64 28 65 | 60 1d 36 74 40 f0 f0 01 |.4f.*d(e|`.6t@...|
|000002f0| e2 8c 9c 27 6b 40 00 ed | 29 f5 20 92 30 78 51 c4 |...'k@..|). .0xQ.|
|00000300| 70 2b f5 48 d6 20 29 cb | 6c 95 12 86 4e 9a 37 28 |p+.H. ).|l...N.7(|
|00000310| 4e a6 5c d9 92 71 c9 9b | 39 77 f6 fc 89 a6 2a 08 |N.\..q..|9w....*.|
|00000320| 19 30 48 4a dd 03 22 08 | 19 35 01 f3 66 01 c1 66 |.0HJ..".|.5..f..f|
|00000330| f4 51 33 32 41 b4 94 9c | 57 a1 e5 37 20 fa 48 cd |.Q32A...|W..7 .H.|
|00000340| 32 54 b4 d1 d2 3a ac 4a | 79 53 c7 0d 19 14 99 5b |2T...:.J|yS.....[|
|00000350| be 60 99 32 85 0a d0 44 | 6d a3 f1 bc fa aa c2 3b |.`.2...D|m......;|
|00000360| ba 41 88 98 13 a7 4e c4 | 32 22 40 c8 e1 1d c6 67 |.A....N.|2"@....g|
|00000370| 6d 10 6f dc 08 46 53 06 | c4 9c 31 eb 7b 06 97 5a |m.o..FS.|..1.{..Z|
|00000380| 77 6b fb 33 b5 a1 00 c3 | 45 03 9a 54 5c 51 a4 09 |wk.3....|E..T\Q..|
|00000390| 15 1a 82 40 71 57 52 5d | 61 90 c1 86 1b 5d 0d c1 |...@qWR]|a....]..|
|000003a0| c6 1b 02 8d c5 10 49 3d | 91 e1 42 41 1a 00 21 42 |......I=|..BA..!B|
|000003b0| 41 52 2e 50 41 53 20 20 | 20 20 20 20 20 20 32 37 |AR.PAS | 27|
|000003c0| 36 20 42 35 43 30 20 30 | 46 36 32 20 32 30 30 30 |6 B5C0 0|F62 2000|
|000003d0| 0d 0a 20 20 20 20 20 20 | 20 32 30 37 0d 0a 8c 75 |.. | 207...u|
|000003e0| e6 94 99 d3 40 01 08 10 | 47 e4 84 81 83 66 47 41 |....@...|G....fGA|
|000003f0| 3b 61 e4 14 3c 78 84 0c | 0b 84 6d 0e 82 d0 01 22 |;a..<x..|..m...."|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 20 41 72 63 28 58 2c 59 | 2c 41 6e 67 6c 65 2c 52 | Arc(X,Y|,Angle,R|
|00000810| 61 64 69 75 73 2c 43 6f | 6c 6f 72 3a 20 49 6e 74 |adius,Co|lor: Int|
|00000820| 65 67 65 72 29 3b 0d 0a | 70 72 6f 63 65 64 75 72 |eger);..|procedur|
|00000830| 65 20 43 69 72 63 6c 65 | 28 58 2c 59 2c 52 61 64 |e Circle|(X,Y,Rad|
|00000840| 69 75 73 2c 43 6f 6c 6f | 72 3a 20 49 6e 74 65 67 |ius,Colo|r: Integ|
|00000850| 65 72 29 3b 0d 0a 70 72 | 6f 63 65 64 75 72 65 20 |er);..pr|ocedure |
|00000860| 47 65 74 50 69 63 28 76 | 61 72 20 42 75 66 66 65 |GetPic(v|ar Buffe|
|00000870| 72 3b 20 58 31 2c 59 31 | 2c 58 32 2c 59 32 3a 20 |r; X1,Y1|,X2,Y2: |
|00000880| 49 6e 74 65 67 65 72 29 | 3b 0d 0a 70 72 6f 63 65 |Integer)|;..proce|
|00000890| 64 75 72 65 20 50 75 74 | 50 69 63 28 76 61 72 20 |dure Put|Pic(var |
|000008a0| 42 75 66 66 65 72 3b 20 | 58 2c 59 3a 20 49 6e 74 |Buffer; |X,Y: Int|
|000008b0| 65 67 65 72 29 3b 0d 0a | 66 75 6e 63 74 69 6f 6e |eger);..|function|
|000008c0| 20 20 47 65 74 44 6f 74 | 43 6f 6c 6f 72 28 58 2c | GetDot|Color(X,|
|000008d0| 59 3a 20 49 6e 74 65 67 | 65 72 29 3a 20 49 6e 74 |Y: Integ|er): Int|
|000008e0| 65 67 65 72 3b 0d 0a 70 | 72 6f 63 65 64 75 72 65 |eger;..p|rocedure|
|000008f0| 20 46 69 6c 6c 53 63 72 | 65 65 6e 28 43 6f 6c 6f | FillScr|een(Colo|
|00000900| 72 3a 20 49 6e 74 65 67 | 65 72 29 3b 0d 0a 70 72 |r: Integ|er);..pr|
|00000910| 6f 63 65 64 75 72 65 20 | 46 69 6c 6c 53 68 61 70 |ocedure |FillShap|
|00000920| 65 28 58 2c 59 2c 46 69 | 6c 6c 43 6f 6c 2c 42 6f |e(X,Y,Fi|llCol,Bo|
|00000930| 72 64 65 72 43 6f 6c 3a | 20 49 6e 74 65 67 65 72 |rderCol:| Integer|
|00000940| 29 3b 0d 0a 70 72 6f 63 | 65 64 75 72 65 20 46 69 |);..proc|edure Fi|
|00000950| 6c 6c 50 61 74 74 65 72 | 6e 28 58 31 2c 59 31 2c |llPatter|n(X1,Y1,|
|00000960| 58 32 2c 59 32 2c 43 6f | 6c 6f 72 3a 20 49 6e 74 |X2,Y2,Co|lor: Int|
|00000970| 65 67 65 72 29 3b 0d 0a | 70 72 6f 63 65 64 75 72 |eger);..|procedur|
|00000980| 65 20 50 61 74 74 65 72 | 6e 28 76 61 72 20 50 29 |e Patter|n(var P)|
|00000990| 3b 0d 0a 70 72 6f 63 65 | 64 75 72 65 20 42 61 63 |;..proce|dure Bac|
|000009a0| 6b 28 44 69 73 74 3a 20 | 49 6e 74 65 67 65 72 29 |k(Dist: |Integer)|
|000009b0| 3b 0d 0a 70 72 6f 63 65 | 64 75 72 65 20 43 6c 65 |;..proce|dure Cle|
|000009c0| 61 72 53 63 72 65 65 6e | 3b 0d 0a 70 72 6f 63 65 |arScreen|;..proce|
|000009d0| 64 75 72 65 20 46 6f 72 | 77 64 28 44 69 73 74 3a |dure For|wd(Dist:|
|000009e0| 20 49 6e 74 65 67 65 72 | 29 3b 0d 0a 66 75 6e 63 | Integer|);..func|
|000009f0| 74 69 6f 6e 20 20 48 65 | 61 64 69 6e 67 3a 20 49 |tion He|ading: I|
|00000a00| 6e 74 65 67 65 72 3b 0d | 0a 70 72 6f 63 65 64 75 |nteger;.|.procedu|
|00000a10| 72 65 20 48 69 64 65 54 | 75 72 74 6c 65 3b 0d 0a |re HideT|urtle;..|
|00000a20| 70 72 6f 63 65 64 75 72 | 65 20 48 6f 6d 65 3b 0d |procedur|e Home;.|
|00000a30| 0a 70 72 6f 63 65 64 75 | 72 65 20 4e 6f 57 72 61 |.procedu|re NoWra|
|00000a40| 70 3b 0d 0a 70 72 6f 63 | 65 64 75 72 65 20 50 65 |p;..proc|edure Pe|
|00000a50| 6e 44 6f 77 6e 3b 0d 0a | 70 72 6f 63 65 64 75 72 |nDown;..|procedur|
|00000a60| 65 20 50 65 6e 55 70 3b | 0d 0a 70 72 6f 63 65 64 |e PenUp;|..proced|
|00000a70| 75 72 65 20 53 65 74 48 | 65 61 64 69 6e 67 28 41 |ure SetH|eading(A|
|00000a80| 6e 67 6c 65 3a 20 49 6e | 74 65 67 65 72 29 3b 0d |ngle: In|teger);.|
|00000a90| 0a 70 72 6f 63 65 64 75 | 72 65 20 53 65 74 50 65 |.procedu|re SetPe|
|00000aa0| 6e 43 6f 6c 6f 72 28 43 | 6f 6c 6f 72 3a 20 49 6e |nColor(C|olor: In|
|00000ab0| 74 65 67 65 72 29 3b 0d | 0a 70 72 6f 63 65 64 75 |teger);.|.procedu|
|00000ac0| 72 65 20 53 65 74 50 6f | 73 69 74 69 6f 6e 28 58 |re SetPo|sition(X|
|00000ad0| 2c 59 3a 20 49 6e 74 65 | 67 65 72 29 3b 0d 0a 70 |,Y: Inte|ger);..p|
|00000ae0| 72 6f 63 65 64 75 72 65 | 20 53 68 6f 77 54 75 72 |rocedure| ShowTur|
|00000af0| 74 6c 65 3b 0d 0a 70 72 | 6f 63 65 64 75 72 65 20 |tle;..pr|ocedure |
|00000b00| 54 75 72 6e 4c 65 66 74 | 28 41 6e 67 6c 65 3a 20 |TurnLeft|(Angle: |
|00000b10| 49 6e 74 65 67 65 72 29 | 3b 0d 0a 70 72 6f 63 65 |Integer)|;..proce|
|00000b20| 64 75 72 65 20 54 75 72 | 6e 52 69 67 68 74 28 41 |dure Tur|nRight(A|
|00000b30| 6e 67 6c 65 3a 20 49 6e | 74 65 67 65 72 29 3b 0d |ngle: In|teger);.|
|00000b40| 0a 70 72 6f 63 65 64 75 | 72 65 20 54 75 72 74 6c |.procedu|re Turtl|
|00000b50| 65 44 65 6c 61 79 28 44 | 65 6c 61 79 3a 20 69 6e |eDelay(D|elay: in|
|00000b60| 74 65 67 65 72 29 3b 0d | 0a 70 72 6f 63 65 64 75 |teger);.|.procedu|
|00000b70| 72 65 20 54 75 72 74 6c | 65 57 69 6e 64 6f 77 28 |re Turtl|eWindow(|
|00000b80| 58 2c 59 2c 57 2c 48 3a | 20 49 6e 74 65 67 65 72 |X,Y,W,H:| Integer|
|00000b90| 29 3b 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 20 54 75 |);..func|tion Tu|
|00000ba0| 72 74 6c 65 54 68 65 72 | 65 3a 20 42 6f 6f 6c 65 |rtleTher|e: Boole|
|00000bb0| 61 6e 3b 0d 0a 70 72 6f | 63 65 64 75 72 65 20 57 |an;..pro|cedure W|
|00000bc0| 72 61 70 3b 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 20 |rap;..fu|nction |
|00000bd0| 58 63 6f 72 3a 20 49 6e | 74 65 67 65 72 3b 0d 0a |Xcor: In|teger;..|
|00000be0| 66 75 6e 63 74 69 6f 6e | 20 20 59 63 6f 72 3a 20 |function| Ycor: |
|00000bf0| 49 6e 74 65 67 65 72 3b | 0d 0a 0d 0a 69 6d 70 6c |Integer;|....impl|
|00000c00| 65 6d 65 6e 74 61 74 69 | 6f 6e 0d 0a 1a 6f 6e 67 |ementati|on...ong|
|00000c10| 69 6e 74 29 3b 0d 0a 70 | 72 6f 63 65 64 75 72 65 |int);..p|rocedure|
|00000c20| 20 53 65 74 46 54 69 6d | 65 28 76 61 72 20 46 3b | SetFTim|e(var F;|
|00000c30| 20 54 69 6d 65 3a 20 4c | 6f 6e 67 69 6e 74 29 3b | Time: L|ongint);|
|00000c40| 0d 0a 70 72 6f 63 65 64 | 75 72 65 20 46 69 6e 64 |..proced|ure Find|
|00000c50| 46 69 72 73 74 28 50 61 | 74 68 3a 20 53 74 72 69 |First(Pa|th: Stri|
|00000c60| 6e 67 3b 20 41 74 74 72 | 3a 20 57 6f 72 64 3b 20 |ng; Attr|: Word; |
|00000c70| 76 61 72 20 46 3a 20 53 | 65 61 72 63 68 52 65 63 |var F: S|earchRec|
|00000c80| 29 3b 0d 0a 70 72 6f 63 | 65 64 75 72 65 20 46 69 |);..proc|edure Fi|
|00000c90| 6e 64 4e 65 78 74 28 76 | 61 72 20 46 3a 20 53 65 |ndNext(v|ar F: Se|
|00000ca0| 61 72 63 68 52 65 63 29 | 3b 0d 0a 70 72 6f 63 65 |archRec)|;..proce|
|00000cb0| 64 75 72 65 20 55 6e 70 | 61 63 6b 54 69 6d 65 28 |dure Unp|ackTime(|
|00000cc0| 50 3a 20 4c 6f 6e 67 69 | 6e 74 3b 20 76 61 72 20 |P: Longi|nt; var |
|00000cd0| 54 3a 20 44 61 74 65 54 | 69 6d 65 29 3b 0d 0a 70 |T: DateT|ime);..p|
|00000ce0| 72 6f 63 65 64 75 72 65 | 20 50 61 63 6b 54 69 6d |rocedure| PackTim|
|00000cf0| 65 28 76 61 72 20 54 3a | 20 44 61 74 65 54 69 6d |e(var T:| DateTim|
|00000d00| 65 3b 20 76 61 72 20 50 | 3a 20 4c 6f 6e 67 69 6e |e; var P|: Longin|
|00000d10| 74 29 3b 0d 0a 70 72 6f | 63 65 64 75 72 65 20 47 |t);..pro|cedure G|
|00000d20| 65 74 49 6e 74 56 65 63 | 28 49 6e 74 4e 6f 3a 20 |etIntVec|(IntNo: |
|00000d30| 42 79 74 65 3b 20 76 61 | 72 20 56 65 63 74 6f 72 |Byte; va|r Vector|
|00000d40| 3a 20 50 6f 69 6e 74 65 | 72 29 3b 0d 0a 70 72 6f |: Pointe|r);..pro|
|00000d50| 63 65 64 75 72 65 20 53 | 65 74 49 6e 74 56 65 63 |cedure S|etIntVec|
|00000d60| 28 49 6e 74 4e 6f 3a 20 | 42 79 74 65 3b 20 56 65 |(IntNo: |Byte; Ve|
|00000d70| 63 74 6f 72 3a 20 50 6f | 69 6e 74 65 72 29 3b 0d |ctor: Po|inter);.|
|00000d80| 0a 70 72 6f 63 65 64 75 | 72 65 20 4b 65 65 70 28 |.procedu|re Keep(|
|00000d90| 45 78 69 74 43 6f 64 65 | 3a 20 57 6f 72 64 29 3b |ExitCode|: Word);|
|00000da0| 0d 0a 70 72 6f 63 65 64 | 75 72 65 20 45 78 65 63 |..proced|ure Exec|
|00000db0| 28 50 61 74 68 2c 43 6d | 64 4c 69 6e 65 3a 20 53 |(Path,Cm|dLine: S|
|00000dc0| 74 72 69 6e 67 29 3b 0d | 0a 66 75 6e 63 74 69 6f |tring);.|.functio|
|00000dd0| 6e 20 44 6f 73 45 78 69 | 74 43 6f 64 65 3a 20 57 |n DosExi|tCode: W|
|00000de0| 6f 72 64 3b 0d 0a 0d 0a | 69 6d 70 6c 65 6d 65 6e |ord;....|implemen|
|00000df0| 74 61 74 69 6f 6e 0d 0a | 1a 00 00 00 00 00 00 00 |tation..|........|
|00000e00| 06 06 06 17 0d 0a 05 b2 | e5 05 20 20 20 20 20 20 |........|.. |
|00000e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e20| 20 20 20 20 20 05 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00000e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 05 20 20 20 | | . |
|00000e50| 20 20 20 20 20 20 20 05 | 0d 0a 05 c8 eb 05 20 20 | .|...... |
|00000e60| 20 3c 49 6e 73 3e bc fc | 20 20 20 20 20 20 20 20 | <Ins>..| |
|00000e70| 20 20 20 20 20 20 20 20 | 20 05 b8 c4 bb bb b5 b1 | | .......|
|00000e80| c7 b0 b5 c4 b2 e5 c8 eb | 2f d0 de b8 c4 b7 bd ca |........|/.......|
|00000e90| bd 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000ea0| 05 20 20 33 2e 33 2e 31 | 20 20 20 05 0d 0a 05 d0 |. 3.3.1| .....|
|00000eb0| de 05 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00000ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 05 20 b2 | | . .|
|00000ed0| e5 c8 eb b7 bd ca bd 3a | bc fc c8 eb b5 c4 d7 d6 |.......:|........|
|00000ee0| b7 fb b1 bb b2 e5 b5 bd | b5 b1 c7 b0 b9 e2 b1 ea |........|........|
|00000ef0| cf c2 20 20 05 20 20 33 | 2e 33 2e 32 20 20 20 05 |.. . 3|.3.2 .|
|00000f00| 0d 0a 05 b8 c4 05 20 20 | 20 20 20 20 20 20 20 20 |...... | |
|00000f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f20| 20 05 20 d0 de b8 c4 b7 | bd ca bd 3a bc fc c8 eb | . .....|...:....|
|00000f30| b5 c4 d7 d6 b7 fb c8 a1 | b4 fa b5 b1 c7 b0 b9 e2 |........|........|
|00000f40| b1 ea cf c2 d7 d6 b7 fb | 05 20 20 20 20 20 20 20 |........|. |
|00000f50| 20 20 20 05 0d 0a 19 06 | 06 10 06 06 06 06 06 06 | .....|........|
|00000f60| 06 06 06 06 06 06 06 06 | 06 06 06 06 06 06 06 06 |........|........|
|00000f70| 06 06 06 06 06 10 06 06 | 06 06 06 06 06 06 06 06 |........|........|
|00000f80| 06 06 06 06 06 06 06 06 | 06 06 06 06 06 06 06 06 |........|........|
|00000f90| 06 06 06 06 06 06 06 06 | 06 06 06 06 10 06 06 06 |........|........|
|00000fa0| 06 06 06 06 06 06 06 17 | 0d 0a 05 20 20 05 20 20 |........|... . |
|00000fb0| 20 b5 b9 cd cb bc fc 20 | a1 fb 20 20 20 20 20 20 | ...... |.. |
|00000fc0| 20 20 20 20 20 20 20 20 | 20 05 c9 be b3 fd b9 e2 | | .......|
|00000fd0| b1 ea d7 f3 b2 e0 d7 d6 | b7 fb 20 20 20 20 20 20 |........|.. |
|00000fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ff0| 05 20 20 33 2e 33 2e 33 | 20 20 20 05 0d 0a 05 20 |. 3.3.3| .... |
|00001000| 7b 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |{*******|********|
|00001010| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001030| 2a 2a 2a 2a 2a 2a 2a 2a | 7d 0d 0a 7b 20 20 20 20 |********|}..{ |
|00001040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001070| 20 20 20 7d 0d 0a 7b 20 | 20 20 20 20 20 20 54 75 | }..{ | Tu|
|00001080| 72 62 6f 20 50 61 73 63 | 61 6c 20 56 65 72 73 69 |rbo Pasc|al Versi|
|00001090| 6f 6e 20 34 2e 30 20 20 | 20 20 20 20 20 20 20 20 |on 4.0 | |
|000010a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7d 0d | | }.|
|000010b0| 0a 7b 20 20 20 20 20 20 | 20 54 55 52 42 4f 33 20 |.{ | TURBO3 |
|000010c0| 55 6e 69 74 20 49 6e 74 | 65 72 66 61 63 65 20 44 |Unit Int|erface D|
|000010d0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 20 20 20 |ocumenta|tion |
|000010e0| 20 20 20 20 20 20 20 20 | 20 7d 0d 0a 7b 20 20 20 | | }..{ |
|000010f0| 20 20 20 20 28 54 75 72 | 62 6f 20 50 61 73 63 61 | (Tur|bo Pasca|
|00001100| 6c 20 33 2e 30 20 43 6f | 6d 70 61 74 69 62 69 6c |l 3.0 Co|mpatibil|
|00001110| 69 74 79 20 55 6e 69 74 | 29 20 20 20 20 20 20 20 |ity Unit|) |
|00001120| 20 20 20 20 7d 0d 0a 7b | 20 20 20 20 20 20 20 20 | }..{| |
|00001130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7d | | }|
|00001160| 0d 0a 7b 20 20 20 20 20 | 20 20 43 6f 70 79 72 69 |..{ | Copyri|
|00001170| 67 68 74 20 28 63 29 20 | 31 39 38 37 20 42 6f 72 |ght (c) |1987 Bor|
|00001180| 6c 61 6e 64 20 49 6e 74 | 65 72 6e 61 74 69 6f 6e |land Int|ernation|
|00001190| 61 6c 2c 20 49 6e 63 2e | 20 20 7d 0d 0a 7b 20 20 |al, Inc.| }..{ |
|000011a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000011b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000011c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000011d0| 20 20 20 20 20 7d 0d 0a | 7b 2a 2a 2a 2a 2a 2a 2a | }..|{*******|
|000011e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000011f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001200| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001210| 7d 0d 0a 0d 0a 7b 24 44 | 2d 2c 49 2d 2c 53 2d 7d |}....{$D|-,I-,S-}|
|00001220| 0d 0a 0d 0a 75 6e 69 74 | 20 54 75 72 62 6f 33 3b |....unit| Turbo3;|
|00001230| 0d 0a 0d 0a 69 6e 74 65 | 72 66 61 63 65 0d 0a 0d |....inte|rface...|
|00001240| 0a 75 73 65 73 20 43 72 | 74 3b 0d 0a 0d 0a 76 61 |.uses Cr|t;....va|
|00001250| 72 0d 0a 20 20 4b 62 64 | 3a 20 54 65 78 74 3b 0d |r.. Kbd|: Text;.|
|00001260| 0a 20 20 43 42 72 65 61 | 6b 3a 20 42 6f 6f 6c 65 |. CBrea|k: Boole|
|00001270| 61 6e 20 61 62 73 6f 6c | 75 74 65 20 43 68 65 63 |an absol|ute Chec|
|00001280| 6b 42 72 65 61 6b 3b 0d | 0a 0d 0a 70 72 6f 63 65 |kBreak;.|...proce|
|00001290| 64 75 72 65 20 41 73 73 | 69 67 6e 4b 62 64 28 76 |dure Ass|ignKbd(v|
|000012a0| 61 72 20 46 3a 20 54 65 | 78 74 29 3b 0d 0a 66 75 |ar F: Te|xt);..fu|
|000012b0| 6e 63 74 69 6f 6e 20 4d | 65 6d 41 76 61 69 6c 3a |nction M|emAvail:|
|000012c0| 20 49 6e 74 65 67 65 72 | 3b 0d 0a 66 75 6e 63 74 | Integer|;..funct|
|000012d0| 69 6f 6e 20 4d 61 78 41 | 76 61 69 6c 3a 20 49 6e |ion MaxA|vail: In|
|000012e0| 74 65 67 65 72 3b 0d 0a | 66 75 6e 63 74 69 6f 6e |teger;..|function|
|000012f0| 20 4c 6f 6e 67 46 69 6c | 65 53 69 7a 65 28 76 61 | LongFil|eSize(va|
|00001300| 72 20 46 29 3a 20 52 65 | 61 6c 3b 0d 0a 66 75 6e |r F): Re|al;..fun|
|00001310| 63 74 69 6f 6e 20 4c 6f | 6e 67 46 69 6c 65 50 6f |ction Lo|ngFilePo|
|00001320| 73 28 76 61 72 20 46 29 | 3a 20 52 65 61 6c 3b 0d |s(var F)|: Real;.|
|00001330| 0a 70 72 6f 63 65 64 75 | 72 65 20 4c 6f 6e 67 53 |.procedu|re LongS|
|00001340| 65 65 6b 28 76 61 72 20 | 46 3b 20 50 6f 73 3a 20 |eek(var |F; Pos: |
|00001350| 52 65 61 6c 29 3b 0d 0a | 70 72 6f 63 65 64 75 72 |Real);..|procedur|
|00001360| 65 20 4e 6f 72 6d 56 69 | 64 65 6f 3b 0d 0a 70 72 |e NormVi|deo;..pr|
|00001370| 6f 63 65 64 75 72 65 20 | 48 69 67 68 56 69 64 65 |ocedure |HighVide|
|00001380| 6f 3b 0d 0a 70 72 6f 63 | 65 64 75 72 65 20 4c 6f |o;..proc|edure Lo|
|00001390| 77 56 69 64 65 6f 3b 0d | 0a 66 75 6e 63 74 69 6f |wVideo;.|.functio|
|000013a0| 6e 20 49 4f 72 65 73 75 | 6c 74 3a 20 49 6e 74 65 |n IOresu|lt: Inte|
|000013b0| 67 65 72 3b 0d 0a 0d 0a | 69 6d 70 6c 65 6d 65 6e |ger;....|implemen|
|000013c0| 74 61 74 69 6f 6e 0d 0a | 1a 00 00 00 00 00 00 00 |tation..|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001410| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001420| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001430| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001440| 3d 3d 3d 3d 3d 3d 0d 0a | 20 20 20 20 20 20 20 20 |======..| |
|00001450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001460| 20 20 20 47 52 41 50 48 | 20 55 4e 49 54 20 4e 4f | GRAPH| UNIT NO|
|00001470| 54 45 53 0d 0a 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |TES..===|========|
|00001480| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001490| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000014a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000014b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0d 0a 0d 0a 54 |========|===....T|
|000014c0| 68 65 20 66 69 72 73 74 | 20 70 61 72 74 20 6f 66 |he first| part of|
|000014d0| 20 74 68 69 73 20 66 69 | 6c 65 20 63 6f 6e 74 61 | this fi|le conta|
|000014e0| 69 6e 73 20 74 68 65 20 | 69 6e 74 65 72 66 61 63 |ins the |interfac|
|000014f0| 65 20 73 65 63 74 69 6f | 6e 20 6f 66 20 74 68 65 |e sectio|n of the|
|00001500| 0d 0a 47 72 61 70 68 20 | 75 6e 69 74 2e 20 54 68 |..Graph |unit. Th|
|00001510| 65 20 73 65 63 6f 6e 64 | 20 70 61 72 74 20 6f 66 |e second| part of|
|00001520| 20 74 68 69 73 20 66 69 | 6c 65 20 63 6f 6e 74 61 | this fi|le conta|
|00001530| 69 6e 73 20 63 6f 72 72 | 65 63 74 69 6f 6e 73 20 |ins corr|ections |
|00001540| 61 6e 64 0d 0a 61 64 64 | 69 74 69 6f 6e 73 20 74 |and..add|itions t|
|00001550| 6f 20 74 68 65 20 47 72 | 61 70 68 20 75 6e 69 74 |o the Gr|aph unit|
|00001560| 20 6d 61 74 65 72 69 61 | 6c 20 69 6e 20 74 68 65 | materia|l in the|
|00001570| 20 4f 77 6e 65 72 27 73 | 20 48 61 6e 64 62 6f 6f | Owner's| Handboo|
|00001580| 6b 2e 0d 0a 0d 0a 0d 0a | 7b 2a 2a 2a 2a 2a 2a 2a |k.......|{*******|
|00001590| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000015a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000015b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000015c0| 2a 2a 7d 0d 0a 7b 20 20 | 20 20 20 20 20 20 20 20 |**}..{ | |
|000015d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000015e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000015f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7d | | }|
|00001600| 0d 0a 7b 20 20 20 20 20 | 20 20 54 75 72 62 6f 20 |..{ | Turbo |
|00001610| 50 61 73 63 61 6c 20 56 | 65 72 73 69 6f 6e 20 34 |Pascal V|ersion 4|
|00001620| 2e 30 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.0 | |
|00001630| 20 20 20 20 20 20 20 20 | 20 20 20 20 7d 0d 0a 7b | | }..{|
|00001640| 20 20 20 20 20 20 20 47 | 52 41 50 48 20 55 6e 69 | G|RAPH Uni|
|00001650| 74 20 49 6e 74 65 72 66 | 61 63 65 20 44 6f 63 75 |t Interf|ace Docu|
|00001660| 6d 65 6e 74 61 74 69 6f | 6e 20 20 20 20 20 20 20 |mentatio|n |
|00001670| 20 20 20 20 20 20 20 20 | 20 7d 0d 0a 7b 20 20 20 | | }..{ |
|00001680| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016b0| 20 20 20 20 20 20 7d 0d | 0a 7b 20 20 20 20 20 20 | }.|.{ |
|000016c0| 20 43 6f 70 79 72 69 67 | 68 74 20 28 63 29 20 31 | Copyrig|ht (c) 1|
|000016d0| 39 38 37 20 62 79 20 42 | 6f 72 6c 61 6e 64 20 49 |987 by B|orland I|
|000016e0| 6e 74 65 72 6e 61 74 69 | 6f 6e 61 6c 2c 20 49 6e |nternati|onal, In|
|000016f0| 63 2e 20 7d 0d 0a 7b 20 | 20 20 20 20 20 20 20 20 |c. }..{ | |
|00001700| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001730| 7d 0d 0a 7b 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |}..{****|********|
|00001740| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001750| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001760| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 7d 0d 0a |********|*****}..|
|00001770| 0d 0a 7b 24 44 2d 2c 52 | 2d 2c 53 2d 7d 0d 0a 0d |..{$D-,R|-,S-}...|
|00001780| 0a 75 6e 69 74 20 47 72 | 61 70 68 3b 0d 0a 0d 0a |.unit Gr|aph;....|
|00001790| 69 6e 74 65 72 66 61 63 | 65 0d 0a 0d 0a 63 6f 6e |interfac|e....con|
|000017a0| 73 74 0d 0a 20 20 7b 20 | 47 72 61 70 68 52 65 73 |st.. { |GraphRes|
|000017b0| 75 6c 74 20 65 72 72 6f | 72 20 72 65 74 75 72 6e |ult erro|r return|
|000017c0| 20 63 6f 64 65 73 3a 20 | 7d 0d 0a 20 20 67 72 4f | codes: |}.. grO|
|000017d0| 6b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |k | |
|000017e0| 3d 20 20 20 30 3b 0d 0a | 20 20 67 72 4e 6f 49 6e |= 0;..| grNoIn|
|000017f0| 69 74 47 72 61 70 68 20 | 20 20 20 20 20 3d 20 20 |itGraph | = |
|00001800| 2d 31 3b 0d 0a 20 20 67 | 72 4e 6f 74 44 65 74 65 |-1;.. g|rNotDete|
|00001810| 63 74 65 64 20 20 20 20 | 20 20 3d 20 20 2d 32 3b |cted | = -2;|
|00001820| 0d 0a 20 20 67 72 46 69 | 6c 65 4e 6f 74 46 6f 75 |.. grFi|leNotFou|
|00001830| 6e 64 20 20 20 20 20 3d | 20 20 2d 33 3b 0d 0a 20 |nd =| -3;.. |
|00001840| 20 67 72 49 6e 76 61 6c | 69 64 44 72 69 76 65 72 | grInval|idDriver|
|00001850| 20 20 20 20 3d 20 20 2d | 34 3b 0d 0a 20 20 67 72 | = -|4;.. gr|
|00001860| 4e 6f 4c 6f 61 64 4d 65 | 6d 20 20 20 20 20 20 20 |NoLoadMe|m |
|00001870| 20 3d 20 20 2d 35 3b 0d | 0a 20 20 67 72 4e 6f 53 | = -5;.|. grNoS|
|00001880| 63 61 6e 4d 65 6d 20 20 | 20 20 20 20 20 20 3d 20 |canMem | = |
|00001890| 20 2d 36 3b 0d 0a 20 20 | 67 72 4e 6f 46 6c 6f 6f | -6;.. |grNoFloo|
|000018a0| 64 4d 65 6d 20 20 20 20 | 20 20 20 3d 20 20 2d 37 |dMem | = -7|
|000018b0| 3b 0d 0a 20 20 67 72 46 | 6f 6e 74 4e 6f 74 46 6f |;.. grF|ontNotFo|
|000018c0| 75 6e 64 20 20 20 20 20 | 3d 20 20 2d 38 3b 0d 0a |und |= -8;..|
|000018d0| 20 20 67 72 4e 6f 46 6f | 6e 74 4d 65 6d 20 20 20 | grNoFo|ntMem |
|000018e0| 20 20 20 20 20 3d 20 20 | 2d 39 3b 0d 0a 20 20 67 | = |-9;.. g|
|000018f0| 72 49 6e 76 61 6c 69 64 | 4d 6f 64 65 20 20 20 20 |rInvalid|Mode |
|00001900| 20 20 3d 20 2d 31 30 3b | 0d 0a 20 20 67 72 45 72 | = -10;|.. grEr|
|00001910| 72 6f 72 20 20 20 20 20 | 20 20 20 20 20 20 20 3d |ror | =|
|00001920| 20 2d 31 31 3b 20 20 20 | 7b 20 67 65 6e 65 72 69 | -11; |{ generi|
|00001930| 63 20 65 72 72 6f 72 20 | 7d 0d 0a 20 20 67 72 49 |c error |}.. grI|
|00001940| 4f 65 72 72 6f 72 20 20 | 20 20 20 20 20 20 20 20 |Oerror | |
|00001950| 3d 20 2d 31 32 3b 0d 0a | 20 20 67 72 49 6e 76 61 |= -12;..| grInva|
|00001960| 6c 69 64 46 6f 6e 74 20 | 20 20 20 20 20 3d 20 2d |lidFont | = -|
|00001970| 31 33 3b 0d 0a 20 20 67 | 72 49 6e 76 61 6c 69 64 |13;.. g|rInvalid|
|00001980| 46 6f 6e 74 4e 75 6d 20 | 20 20 3d 20 2d 31 34 3b |FontNum | = -14;|
|00001990| 0d 0a 20 20 67 72 49 6e | 76 61 6c 69 64 44 65 76 |.. grIn|validDev|
|000019a0| 69 63 65 4e 75 6d 20 3d | 20 2d 31 35 3b 0d 0a 0d |iceNum =| -15;...|
|000019b0| 0a 20 20 7b 20 64 65 66 | 69 6e 65 20 67 72 61 70 |. { def|ine grap|
|000019c0| 68 69 63 73 20 64 72 69 | 76 65 72 73 20 7d 0d 0a |hics dri|vers }..|
|000019d0| 20 20 44 65 74 65 63 74 | 20 20 20 3d 20 30 3b 20 | Detect| = 0; |
|000019e0| 20 20 20 7b 20 72 65 71 | 75 65 73 74 73 20 61 75 | { req|uests au|
|000019f0| 74 6f 64 65 74 65 63 74 | 69 6f 6e 20 7d 0d 0a 20 |todetect|ion }.. |
|00001a00| 20 43 47 41 20 20 20 20 | 20 20 3d 20 31 3b 0d 0a | CGA | = 1;..|
|00001a10| 20 20 4d 43 47 41 20 20 | 20 20 20 3d 20 32 3b 0d | MCGA | = 2;.|
|00001a20| 0a 20 20 45 47 41 20 20 | 20 20 20 20 3d 20 33 3b |. EGA | = 3;|
|00001a30| 0d 0a 20 20 45 47 41 36 | 34 20 20 20 20 3d 20 34 |.. EGA6|4 = 4|
|00001a40| 3b 0d 0a 20 20 45 47 41 | 4d 6f 6e 6f 20 20 3d 20 |;.. EGA|Mono = |
|00001a50| 35 3b 0d 0a 20 20 52 45 | 53 45 52 56 45 44 20 3d |5;.. RE|SERVED =|
|00001a60| 20 36 3b 0d 0a 20 20 48 | 65 72 63 4d 6f 6e 6f 20 | 6;.. H|ercMono |
|00001a70| 3d 20 37 3b 0d 0a 20 20 | 41 54 54 34 30 30 20 20 |= 7;.. |ATT400 |
|00001a80| 20 3d 20 38 3b 0d 0a 20 | 20 56 47 41 20 20 20 20 | = 8;.. | VGA |
|00001a90| 20 20 3d 20 39 3b 0d 0a | 20 20 50 43 33 32 37 30 | = 9;..| PC3270|
|00001aa0| 20 20 20 3d 20 31 30 3b | 0d 0a 0d 0a 20 20 7b 20 | = 10;|.... { |
|00001ab0| 67 72 61 70 68 69 63 73 | 20 6d 6f 64 65 73 20 66 |graphics| modes f|
|00001ac0| 6f 72 20 65 61 63 68 20 | 64 72 69 76 65 72 20 7d |or each |driver }|
|00001ad0| 0d 0a 20 20 43 47 41 43 | 30 20 20 20 20 20 20 3d |.. CGAC|0 =|
|00001ae0| 20 30 3b 20 20 7b 20 33 | 32 30 78 32 30 30 20 70 | 0; { 3|20x200 p|
|00001af0| 61 6c 65 74 74 65 20 30 | 3a 20 4c 69 67 68 74 47 |alette 0|: LightG|
|00001b00| 72 65 65 6e 2c 20 4c 69 | 67 68 74 52 65 64 2c 20 |reen, Li|ghtRed, |
|00001b10| 59 65 6c 6c 6f 77 3b 20 | 31 20 70 61 67 65 20 7d |Yellow; |1 page }|
|00001b20| 0d 0a 20 20 43 47 41 43 | 31 20 20 20 20 20 20 3d |.. CGAC|1 =|
|00001b30| 20 31 3b 20 20 7b 20 33 | 32 30 78 32 30 30 20 70 | 1; { 3|20x200 p|
|00001b40| 61 6c 65 74 74 65 20 31 | 3a 20 4c 69 67 68 74 43 |alette 1|: LightC|
|00001b50| 79 61 6e 2c 20 4c 69 67 | 68 74 4d 61 67 65 6e 74 |yan, Lig|htMagent|
|00001b60| 61 2c 20 57 68 69 74 65 | 3b 20 31 20 70 61 67 65 |a, White|; 1 page|
|00001b70| 20 7d 0d 0a 20 20 43 47 | 41 43 32 20 20 20 20 20 | }.. CG|AC2 |
|00001b80| 20 3d 20 32 3b 20 20 7b | 20 33 32 30 78 32 30 30 | = 2; {| 320x200|
|00001b90| 20 70 61 6c 65 74 74 65 | 20 32 3a 20 47 72 65 65 | palette| 2: Gree|
|00001ba0| 6e 2c 20 52 65 64 2c 20 | 42 72 6f 77 6e 3b 20 31 |n, Red, |Brown; 1|
|00001bb0| 20 70 61 67 65 20 7d 0d | 0a 20 20 43 47 41 43 33 | page }.|. CGAC3|
|00001bc0| 20 20 20 20 20 20 3d 20 | 33 3b 20 20 7b 20 33 32 | = |3; { 32|
|00001bd0| 30 78 32 30 30 20 70 61 | 6c 65 74 74 65 20 33 3a |0x200 pa|lette 3:|
|00001be0| 20 43 79 61 6e 2c 20 4d | 61 67 65 6e 74 61 2c 20 | Cyan, M|agenta, |
|00001bf0| 4c 69 67 68 74 47 72 61 | 79 3b 20 31 20 70 61 67 |LightGra|y; 1 pag|
|00001c00| 65 20 7d 0d 0a 20 20 43 | 47 41 48 69 20 20 20 20 |e }.. C|GAHi |
|00001c10| 20 20 3d 20 34 3b 20 20 | 7b 20 36 34 30 78 32 30 | = 4; |{ 640x20|
|00001c20| 30 20 31 20 70 61 67 65 | 20 7d 0d 0a 20 20 4d 43 |0 1 page| }.. MC|
|00001c30| 47 41 43 30 20 20 20 20 | 20 3d 20 30 3b 20 20 7b |GAC0 | = 0; {|
|00001c40| 20 33 32 30 78 32 30 30 | 20 70 61 6c 65 74 74 65 | 320x200| palette|
|00001c50| 20 30 3a 20 4c 69 67 68 | 74 47 72 65 65 6e 2c 20 | 0: Ligh|tGreen, |
|00001c60| 4c 69 67 68 74 52 65 64 | 2c 20 59 65 6c 6c 6f 77 |LightRed|, Yellow|
|00001c70| 3b 20 31 20 70 61 67 65 | 20 7d 0d 0a 20 20 4d 43 |; 1 page| }.. MC|
|00001c80| 47 41 43 31 20 20 20 20 | 20 3d 20 31 3b 20 20 7b |GAC1 | = 1; {|
|00001c90| 20 33 32 30 78 32 30 30 | 20 70 61 6c 65 74 74 65 | 320x200| palette|
|00001ca0| 20 31 3a 20 4c 69 67 68 | 74 43 79 61 6e 2c 20 4c | 1: Ligh|tCyan, L|
|00001cb0| 69 67 68 74 4d 61 67 65 | 6e 74 61 2c 20 57 68 69 |ightMage|nta, Whi|
|00001cc0| 74 65 3b 20 31 20 70 61 | 67 65 20 7d 0d 0a 20 20 |te; 1 pa|ge }.. |
|00001cd0| 4d 43 47 41 43 32 20 20 | 20 20 20 3d 20 32 3b 20 |MCGAC2 | = 2; |
|00001ce0| 20 7b 20 33 32 30 78 32 | 30 30 20 70 61 6c 65 74 | { 320x2|00 palet|
|00001cf0| 74 65 20 32 3a 20 47 72 | 65 65 6e 2c 20 52 65 64 |te 2: Gr|een, Red|
|00001d00| 2c 20 42 72 6f 77 6e 3b | 20 31 20 70 61 67 65 20 |, Brown;| 1 page |
|00001d10| 7d 0d 0a 20 20 4d 43 47 | 41 43 33 20 20 20 20 20 |}.. MCG|AC3 |
|00001d20| 3d 20 33 3b 20 20 7b 20 | 33 32 30 78 32 30 30 20 |= 3; { |320x200 |
|00001d30| 70 61 6c 65 74 74 65 20 | 33 3a 20 43 79 61 6e 2c |palette |3: Cyan,|
|00001d40| 20 4d 61 67 65 6e 74 61 | 2c 20 4c 69 67 68 74 47 | Magenta|, LightG|
|00001d50| 72 61 79 3b 20 31 20 70 | 61 67 65 20 7d 0d 0a 20 |ray; 1 p|age }.. |
|00001d60| 20 4d 43 47 41 4d 65 64 | 20 20 20 20 3d 20 34 3b | MCGAMed| = 4;|
|00001d70| 20 20 7b 20 36 34 30 78 | 32 30 30 20 31 20 70 61 | { 640x|200 1 pa|
|00001d80| 67 65 20 7d 0d 0a 20 20 | 4d 43 47 41 48 69 20 20 |ge }.. |MCGAHi |
|00001d90| 20 20 20 3d 20 35 3b 20 | 20 7b 20 36 34 30 78 34 | = 5; | { 640x4|
|00001da0| 38 30 20 31 20 70 61 67 | 65 20 7d 0d 0a 20 20 45 |80 1 pag|e }.. E|
|00001db0| 47 41 4c 6f 20 20 20 20 | 20 20 3d 20 30 3b 20 20 |GALo | = 0; |
|00001dc0| 7b 20 36 34 30 78 32 30 | 30 20 31 36 20 63 6f 6c |{ 640x20|0 16 col|
|00001dd0| 6f 72 20 34 20 70 61 67 | 65 20 7d 0d 0a 20 20 45 |or 4 pag|e }.. E|
|00001de0| 47 41 48 69 20 20 20 20 | 20 20 3d 20 31 3b 20 20 |GAHi | = 1; |
|00001df0| 7b 20 36 34 30 78 33 35 | 30 20 31 36 20 63 6f 6c |{ 640x35|0 16 col|
|00001e00| 6f 72 20 32 20 70 61 67 | 65 20 7d 0d 0a 20 20 45 |or 2 pag|e }.. E|
|00001e10| 47 41 36 34 4c 6f 20 20 | 20 20 3d 20 30 3b 20 20 |GA64Lo | = 0; |
|00001e20| 7b 20 36 34 30 78 32 30 | 30 20 31 36 20 63 6f 6c |{ 640x20|0 16 col|
|00001e30| 6f 72 20 31 20 70 61 67 | 65 20 7d 0d 0a 20 20 45 |or 1 pag|e }.. E|
|00001e40| 47 41 36 34 48 69 20 20 | 20 20 3d 20 31 3b 20 20 |GA64Hi | = 1; |
|00001e50| 7b 20 36 34 30 78 33 35 | 30 20 34 20 63 6f 6c 6f |{ 640x35|0 4 colo|
|00001e60| 72 20 20 31 20 70 61 67 | 65 20 7d 0d 0a 20 20 45 |r 1 pag|e }.. E|
|00001e70| 47 41 4d 6f 6e 6f 48 69 | 20 20 3d 20 33 3b 20 20 |GAMonoHi| = 3; |
|00001e80| 7b 20 36 34 30 78 33 35 | 30 20 36 34 4b 20 6f 6e |{ 640x35|0 64K on|
|00001e90| 20 63 61 72 64 2c 20 31 | 20 70 61 67 65 3b 20 32 | card, 1| page; 2|
|00001ea0| 35 36 4b 20 6f 6e 20 63 | 61 72 64 2c 20 32 20 70 |56K on c|ard, 2 p|
|00001eb0| 61 67 65 20 7d 0d 0a 20 | 20 48 65 72 63 4d 6f 6e |age }.. | HercMon|
|00001ec0| 6f 48 69 20 3d 20 30 3b | 20 20 7b 20 37 32 30 78 |oHi = 0;| { 720x|
|00001ed0| 33 34 38 20 32 20 70 61 | 67 65 20 7d 0d 0a 20 20 |348 2 pa|ge }.. |
|00001ee0| 41 54 54 34 30 30 43 30 | 20 20 20 3d 20 30 3b 20 |ATT400C0| = 0; |
|00001ef0| 20 7b 20 33 32 30 78 32 | 30 30 20 70 61 6c 65 74 | { 320x2|00 palet|
|00001f00| 74 65 20 30 3a 20 4c 69 | 67 68 74 47 72 65 65 6e |te 0: Li|ghtGreen|
|00001f10| 2c 20 4c 69 67 68 74 52 | 65 64 2c 20 59 65 6c 6c |, LightR|ed, Yell|
|00001f20| 6f 77 3b 20 31 20 70 61 | 67 65 20 7d 0d 0a 20 20 |ow; 1 pa|ge }.. |
|00001f30| 41 54 54 34 30 30 43 31 | 20 20 20 3d 20 31 3b 20 |ATT400C1| = 1; |
|00001f40| 20 7b 20 33 32 30 78 32 | 30 30 20 70 61 6c 65 74 | { 320x2|00 palet|
|00001f50| 74 65 20 31 3a 20 4c 69 | 67 68 74 43 79 61 6e 2c |te 1: Li|ghtCyan,|
|00001f60| 20 4c 69 67 68 74 4d 61 | 67 65 6e 74 61 2c 20 57 | LightMa|genta, W|
|00001f70| 68 69 74 65 3b 20 31 20 | 70 61 67 65 20 7d 0d 0a |hite; 1 |page }..|
|00001f80| 20 20 41 54 54 34 30 30 | 43 32 20 20 20 3d 20 32 | ATT400|C2 = 2|
|00001f90| 3b 20 20 7b 20 33 32 30 | 78 32 30 30 20 70 61 6c |; { 320|x200 pal|
|00001fa0| 65 74 74 65 20 32 3a 20 | 47 72 65 65 6e 2c 20 52 |ette 2: |Green, R|
|00001fb0| 65 64 2c 20 42 72 6f 77 | 6e 3b 20 31 20 70 61 67 |ed, Brow|n; 1 pag|
|00001fc0| 65 20 7d 0d 0a 20 20 41 | 54 54 34 30 30 43 33 20 |e }.. A|TT400C3 |
|00001fd0| 20 20 3d 20 33 3b 20 20 | 7b 20 33 32 30 78 32 30 | = 3; |{ 320x20|
|00001fe0| 30 20 70 61 6c 65 74 74 | 65 20 33 3a 20 43 79 61 |0 palett|e 3: Cya|
|00001ff0| 6e 2c 20 4d 61 67 65 6e | 74 61 2c 20 4c 69 67 68 |n, Magen|ta, Ligh|
|00002000| 74 47 72 61 79 3b 20 31 | 20 70 61 67 65 20 7d 0d |tGray; 1| page }.|
|00002010| 0a 20 20 41 54 54 34 30 | 30 4d 65 64 20 20 3d 20 |. ATT40|0Med = |
|00002020| 34 3b 20 20 7b 20 36 34 | 30 78 32 30 30 20 31 20 |4; { 64|0x200 1 |
|00002030| 70 61 67 65 20 7d 0d 0a | 20 20 41 54 54 34 30 30 |page }..| ATT400|
|00002040| 48 69 20 20 20 3d 20 35 | 3b 20 20 7b 20 36 34 30 |Hi = 5|; { 640|
|00002050| 78 34 30 30 20 31 20 70 | 61 67 65 20 7d 0d 0a 20 |x400 1 p|age }.. |
|00002060| 20 56 47 41 4c 6f 20 20 | 20 20 20 20 3d 20 30 3b | VGALo | = 0;|
|00002070| 20 20 7b 20 36 34 30 78 | 32 30 30 20 31 36 20 63 | { 640x|200 16 c|
|00002080| 6f 6c 6f 72 20 34 20 70 | 61 67 65 20 7d 0d 0a 20 |olor 4 p|age }.. |
|00002090| 20 56 47 41 4d 65 64 20 | 20 20 20 20 3d 20 31 3b | VGAMed | = 1;|
|000020a0| 20 20 7b 20 36 34 30 78 | 33 35 30 20 31 36 20 63 | { 640x|350 16 c|
|000020b0| 6f 6c 6f 72 20 32 20 70 | 61 67 65 20 7d 0d 0a 20 |olor 2 p|age }.. |
|000020c0| 20 56 47 41 48 69 20 20 | 20 20 20 20 3d 20 32 3b | VGAHi | = 2;|
|000020d0| 20 20 7b 20 36 34 30 78 | 34 38 30 20 31 36 20 63 | { 640x|480 16 c|
|000020e0| 6f 6c 6f 72 20 31 20 70 | 61 67 65 20 7d 0d 0a 20 |olor 1 p|age }.. |
|000020f0| 20 50 43 33 32 37 30 48 | 69 20 20 20 3d 20 30 3b | PC3270H|i = 0;|
|00002100| 20 20 7b 20 37 32 30 78 | 33 35 30 20 31 20 70 61 | { 720x|350 1 pa|
|00002110| 67 65 20 7d 0d 0a 0d 0a | 20 20 7b 20 43 6f 6c 6f |ge }....| { Colo|
|00002120| 72 73 20 66 6f 72 20 53 | 65 74 50 61 6c 65 74 74 |rs for S|etPalett|
|00002130| 65 20 61 6e 64 20 53 65 | 74 41 6c 6c 50 61 6c 65 |e and Se|tAllPale|
|00002140| 74 74 65 3a 20 7d 0d 0a | 20 20 42 6c 61 63 6b 20 |tte: }..| Black |
|00002150| 20 20 20 20 20 20 20 3d | 20 30 3b 0d 0a 20 20 42 | =| 0;.. B|
|00002160| 6c 75 65 20 20 20 20 20 | 20 20 20 20 3d 20 31 3b |lue | = 1;|
|00002170| 0d 0a 20 20 47 72 65 65 | 6e 20 20 20 20 20 20 20 |.. Gree|n |
|00002180| 20 3d 20 32 3b 0d 0a 20 | 20 43 79 61 6e 20 20 20 | = 2;.. | Cyan |
|00002190| 20 20 20 20 20 20 3d 20 | 33 3b 0d 0a 20 20 52 65 | = |3;.. Re|
|000021a0| 64 20 20 20 20 20 20 20 | 20 20 20 3d 20 34 3b 0d |d | = 4;.|
|000021b0| 0a 20 20 4d 61 67 65 6e | 74 61 20 20 20 20 20 20 |. Magen|ta |
|000021c0| 3d 20 35 3b 0d 0a 20 20 | 42 72 6f 77 6e 20 20 20 |= 5;.. |Brown |
|000021d0| 20 20 20 20 20 3d 20 36 | 3b 0d 0a 20 20 4c 69 67 | = 6|;.. Lig|
|000021e0| 68 74 47 72 61 79 20 20 | 20 20 3d 20 37 3b 0d 0a |htGray | = 7;..|
|000021f0| 20 20 44 61 72 6b 47 72 | 61 79 20 20 20 20 20 3d | DarkGr|ay =|
|00002200| 20 38 3b 0d 0a 20 20 4c | 69 67 68 74 42 6c 75 65 | 8;.. L|ightBlue|
|00002210| 20 20 20 20 3d 20 39 3b | 0d 0a 20 20 4c 69 67 68 | = 9;|.. Ligh|
|00002220| 74 47 72 65 65 6e 20 20 | 20 3d 20 31 30 3b 0d 0a |tGreen | = 10;..|
|00002230| 20 20 4c 69 67 68 74 43 | 79 61 6e 20 20 20 20 3d | LightC|yan =|
|00002240| 20 31 31 3b 0d 0a 20 20 | 4c 69 67 68 74 52 65 64 | 11;.. |LightRed|
|00002250| 20 20 20 20 20 3d 20 31 | 32 3b 0d 0a 20 20 4c 69 | = 1|2;.. Li|
|00002260| 67 68 74 4d 61 67 65 6e | 74 61 20 3d 20 31 33 3b |ghtMagen|ta = 13;|
|00002270| 0d 0a 20 20 59 65 6c 6c | 6f 77 20 20 20 20 20 20 |.. Yell|ow |
|00002280| 20 3d 20 31 34 3b 0d 0a | 20 20 57 68 69 74 65 20 | = 14;..| White |
|00002290| 20 20 20 20 20 20 20 3d | 20 31 35 3b 0d 0a 0d 0a | =| 15;....|
|000022a0| 20 20 7b 20 4c 69 6e 65 | 20 73 74 79 6c 65 73 20 | { Line| styles |
|000022b0| 61 6e 64 20 77 69 64 74 | 68 73 20 66 6f 72 20 47 |and widt|hs for G|
|000022c0| 65 74 2f 53 65 74 4c 69 | 6e 65 53 74 79 6c 65 3a |et/SetLi|neStyle:|
|000022d0| 20 7d 0d 0a 20 20 53 6f | 6c 69 64 4c 6e 20 20 20 | }.. So|lidLn |
|000022e0| 20 3d 20 30 3b 0d 0a 20 | 20 44 6f 74 74 65 64 4c | = 0;.. | DottedL|
|000022f0| 6e 20 20 20 3d 20 31 3b | 0d 0a 20 20 43 65 6e 74 |n = 1;|.. Cent|
|00002300| 65 72 4c 6e 20 20 20 3d | 20 32 3b 0d 0a 20 20 44 |erLn =| 2;.. D|
|00002310| 61 73 68 65 64 4c 6e 20 | 20 20 3d 20 33 3b 0d 0a |ashedLn | = 3;..|
|00002320| 20 20 55 73 65 72 42 69 | 74 4c 6e 20 20 3d 20 34 | UserBi|tLn = 4|
|00002330| 3b 20 20 20 20 20 20 20 | 7b 20 55 73 65 72 2d 64 |; |{ User-d|
|00002340| 65 66 69 6e 65 64 20 6c | 69 6e 65 20 73 74 79 6c |efined l|ine styl|
|00002350| 65 20 7d 0d 0a 0d 0a 0d | 0a 20 20 4e 6f 72 6d 57 |e }.....|. NormW|
|00002360| 69 64 74 68 20 20 3d 20 | 31 3b 0d 0a 20 20 54 68 |idth = |1;.. Th|
|00002370| 69 63 6b 57 69 64 74 68 | 20 3d 20 33 3b 0d 0a 0d |ickWidth| = 3;...|
|00002380| 0a 20 20 7b 20 53 65 74 | 2f 47 65 74 54 65 78 74 |. { Set|/GetText|
|00002390| 53 74 79 6c 65 20 63 6f | 6e 73 74 61 6e 74 73 3a |Style co|nstants:|
|000023a0| 20 7d 0d 0a 20 20 44 65 | 66 61 75 6c 74 46 6f 6e | }.. De|faultFon|
|000023b0| 74 20 20 20 3d 20 30 3b | 20 20 20 20 7b 20 38 78 |t = 0;| { 8x|
|000023c0| 38 20 62 69 74 20 6d 61 | 70 70 65 64 20 66 6f 6e |8 bit ma|pped fon|
|000023d0| 74 20 7d 0d 0a 0d 0a 20 | 20 54 72 69 70 6c 65 78 |t }.... | Triplex|
|000023e0| 46 6f 6e 74 20 20 20 3d | 20 31 3b 20 20 20 20 7b |Font =| 1; {|
|000023f0| 20 22 53 74 72 6f 6b 65 | 64 22 20 66 6f 6e 74 73 | "Stroke|d" fonts|
|00002400| 20 7d 0d 0a 20 20 53 6d | 61 6c 6c 46 6f 6e 74 20 | }.. Sm|allFont |
|00002410| 20 20 20 20 3d 20 32 3b | 0d 0a 20 20 53 61 6e 73 | = 2;|.. Sans|
|00002420| 53 65 72 69 66 46 6f 6e | 74 20 3d 20 33 3b 0d 0a |SerifFon|t = 3;..|
|00002430| 20 20 47 6f 74 68 69 63 | 46 6f 6e 74 20 20 20 20 | Gothic|Font |
|00002440| 3d 20 34 3b 0d 0a 0d 0a | 20 20 48 6f 72 69 7a 44 |= 4;....| HorizD|
|00002450| 69 72 20 20 20 3d 20 30 | 3b 20 20 20 20 20 20 20 |ir = 0|; |
|00002460| 7b 20 6c 65 66 74 20 74 | 6f 20 72 69 67 68 74 20 |{ left t|o right |
|00002470| 7d 0d 0a 20 20 56 65 72 | 74 44 69 72 20 20 20 20 |}.. Ver|tDir |
|00002480| 3d 20 31 3b 20 20 20 20 | 20 20 20 7b 20 62 6f 74 |= 1; | { bot|
|00002490| 74 6f 6d 20 74 6f 20 74 | 6f 70 20 7d 0d 0a 0d 0a |tom to t|op }....|
|000024a0| 20 20 55 73 65 72 43 68 | 61 72 53 69 7a 65 20 3d | UserCh|arSize =|
|000024b0| 20 30 3b 20 20 20 20 20 | 7b 20 75 73 65 72 2d 64 | 0; |{ user-d|
|000024c0| 65 66 69 6e 65 64 20 63 | 68 61 72 20 73 69 7a 65 |efined c|har size|
|000024d0| 20 7d 0d 0a 0d 0a 20 20 | 7b 20 43 6c 69 70 70 69 | }.... |{ Clippi|
|000024e0| 6e 67 20 63 6f 6e 73 74 | 61 6e 74 73 3a 20 7d 0d |ng const|ants: }.|
|000024f0| 0a 20 20 43 6c 69 70 4f | 6e 20 20 3d 20 74 72 75 |. ClipO|n = tru|
|00002500| 65 3b 0d 0a 20 20 43 6c | 69 70 4f 66 66 20 3d 20 |e;.. Cl|ipOff = |
|00002510| 66 61 6c 73 65 3b 0d 0a | 0d 0a 20 20 7b 20 42 61 |false;..|.. { Ba|
|00002520| 72 33 44 20 63 6f 6e 73 | 74 61 6e 74 73 3a 20 7d |r3D cons|tants: }|
|00002530| 0d 0a 20 20 54 6f 70 4f | 6e 20 20 3d 20 74 72 75 |.. TopO|n = tru|
|00002540| 65 3b 0d 0a 20 20 54 6f | 70 4f 66 66 20 3d 20 66 |e;.. To|pOff = f|
|00002550| 61 6c 73 65 3b 0d 0a 0d | 0a 20 20 7b 20 46 69 6c |alse;...|. { Fil|
|00002560| 6c 20 70 61 74 74 65 72 | 6e 73 20 66 6f 72 20 47 |l patter|ns for G|
|00002570| 65 74 2f 53 65 74 46 69 | 6c 6c 53 74 79 6c 65 3a |et/SetFi|llStyle:|
|00002580| 20 7d 0d 0a 20 20 45 6d | 70 74 79 46 69 6c 6c 20 | }.. Em|ptyFill |
|00002590| 20 20 20 20 20 20 3d 20 | 30 3b 20 20 7b 20 66 69 | = |0; { fi|
|000025a0| 6c 6c 73 20 61 72 65 61 | 20 69 6e 20 62 61 63 6b |lls area| in back|
|000025b0| 67 72 6f 75 6e 64 20 63 | 6f 6c 6f 72 20 7d 0d 0a |ground c|olor }..|
|000025c0| 20 20 53 6f 6c 69 64 46 | 69 6c 6c 20 20 20 20 20 | SolidF|ill |
|000025d0| 20 20 3d 20 31 3b 20 20 | 7b 20 66 69 6c 6c 73 20 | = 1; |{ fills |
|000025e0| 61 72 65 61 20 69 6e 20 | 73 6f 6c 69 64 20 66 69 |area in |solid fi|
|000025f0| 6c 6c 20 63 6f 6c 6f 72 | 20 7d 0d 0a 20 20 4c 69 |ll color| }.. Li|
|00002600| 6e 65 46 69 6c 6c 20 20 | 20 20 20 20 20 20 3d 20 |neFill | = |
|00002610| 32 3b 20 20 7b 20 2d 2d | 2d 20 66 69 6c 6c 20 7d |2; { --|- fill }|
|00002620| 0d 0a 20 20 4c 74 53 6c | 61 73 68 46 69 6c 6c 20 |.. LtSl|ashFill |
|00002630| 20 20 20 20 3d 20 33 3b | 20 20 7b 20 2f 2f 2f 20 | = 3;| { /// |
|00002640| 66 69 6c 6c 20 7d 0d 0a | 20 20 53 6c 61 73 68 46 |fill }..| SlashF|
|00002650| 69 6c 6c 20 20 20 20 20 | 20 20 3d 20 34 3b 20 20 |ill | = 4; |
|00002660| 7b 20 2f 2f 2f 20 66 69 | 6c 6c 20 77 69 74 68 20 |{ /// fi|ll with |
|00002670| 74 68 69 63 6b 20 6c 69 | 6e 65 73 20 7d 0d 0a 20 |thick li|nes }.. |
|00002680| 20 42 6b 53 6c 61 73 68 | 46 69 6c 6c 20 20 20 20 | BkSlash|Fill |
|00002690| 20 3d 20 35 3b 20 20 7b | 20 5c 5c 5c 20 66 69 6c | = 5; {| \\\ fil|
|000026a0| 6c 20 77 69 74 68 20 74 | 68 69 63 6b 20 6c 69 6e |l with t|hick lin|
|000026b0| 65 73 20 7d 0d 0a 20 20 | 4c 74 42 6b 53 6c 61 73 |es }.. |LtBkSlas|
|000026c0| 68 46 69 6c 6c 20 20 20 | 3d 20 36 3b 20 20 7b 20 |hFill |= 6; { |
|000026d0| 5c 5c 5c 20 66 69 6c 6c | 20 7d 0d 0a 20 20 48 61 |\\\ fill| }.. Ha|
|000026e0| 74 63 68 46 69 6c 6c 20 | 20 20 20 20 20 20 3d 20 |tchFill | = |
|000026f0| 37 3b 20 20 7b 20 6c 69 | 67 68 74 20 68 61 74 63 |7; { li|ght hatc|
|00002700| 68 20 66 69 6c 6c 20 7d | 0d 0a 20 20 58 48 61 74 |h fill }|.. XHat|
|00002710| 63 68 46 69 6c 6c 20 20 | 20 20 20 20 3d 20 38 3b |chFill | = 8;|
|00002720| 20 20 7b 20 68 65 61 76 | 79 20 63 72 6f 73 73 20 | { heav|y cross |
|00002730| 68 61 74 63 68 20 66 69 | 6c 6c 20 7d 0d 0a 20 20 |hatch fi|ll }.. |
|00002740| 49 6e 74 65 72 6c 65 61 | 76 65 46 69 6c 6c 20 20 |Interlea|veFill |
|00002750| 3d 20 39 3b 20 20 7b 20 | 69 6e 74 65 72 6c 65 61 |= 9; { |interlea|
|00002760| 76 69 6e 67 20 6c 69 6e | 65 20 66 69 6c 6c 20 7d |ving lin|e fill }|
|00002770| 0d 0a 20 20 57 69 64 65 | 44 6f 74 46 69 6c 6c 20 |.. Wide|DotFill |
|00002780| 20 20 20 20 3d 20 31 30 | 3b 20 7b 20 57 69 64 65 | = 10|; { Wide|
|00002790| 6c 79 20 73 70 61 63 65 | 64 20 64 6f 74 20 66 69 |ly space|d dot fi|
|000027a0| 6c 6c 20 7d 0d 0a 20 20 | 43 6c 6f 73 65 44 6f 74 |ll }.. |CloseDot|
|000027b0| 46 69 6c 6c 20 20 20 20 | 3d 20 31 31 3b 20 7b 20 |Fill |= 11; { |
|000027c0| 43 6c 6f 73 65 6c 79 20 | 73 70 61 63 65 64 20 64 |Closely |spaced d|
|000027d0| 6f 74 20 66 69 6c 6c 20 | 7d 0d 0a 20 20 55 73 65 |ot fill |}.. Use|
|000027e0| 72 46 69 6c 6c 20 20 20 | 20 20 20 20 20 3d 20 31 |rFill | = 1|
|000027f0| 32 3b 20 7b 20 75 73 65 | 72 20 64 65 66 69 6e 65 |2; { use|r define|
|00002800| 64 20 66 69 6c 6c 20 7d | 0d 0a 0d 0a 20 20 7b 20 |d fill }|.... { |
|00002810| 42 69 74 42 6c 74 20 6f | 70 65 72 61 74 6f 72 73 |BitBlt o|perators|
|00002820| 20 66 6f 72 20 50 75 74 | 49 6d 61 67 65 3a 20 7d | for Put|Image: }|
|00002830| 0d 0a 20 20 4e 6f 72 6d | 61 6c 50 75 74 20 20 20 |.. Norm|alPut |
|00002840| 20 20 3d 20 30 3b 20 20 | 20 20 7b 20 4d 4f 56 20 | = 0; | { MOV |
|00002850| 7d 0d 0a 20 20 58 4f 52 | 50 75 74 20 20 20 20 20 |}.. XOR|Put |
|00002860| 20 20 20 3d 20 31 3b 20 | 20 20 20 7b 20 58 4f 52 | = 1; | { XOR|
|00002870| 20 7d 0d 0a 20 20 4f 72 | 50 75 74 20 20 20 20 20 | }.. Or|Put |
|00002880| 20 20 20 20 3d 20 32 3b | 20 20 20 20 7b 20 4f 52 | = 2;| { OR|
|00002890| 20 20 7d 0d 0a 20 20 41 | 6e 64 50 75 74 20 20 20 | }.. A|ndPut |
|000028a0| 20 20 20 20 20 3d 20 33 | 3b 20 20 20 20 7b 20 41 | = 3|; { A|
|000028b0| 4e 44 20 7d 0d 0a 20 20 | 4e 6f 74 50 75 74 20 20 |ND }.. |NotPut |
|000028c0| 20 20 20 20 20 20 3d 20 | 34 3b 20 20 20 20 7b 20 | = |4; { |
|000028d0| 4e 4f 54 20 7d 0d 0a 0d | 0a 20 20 7b 20 48 6f 72 |NOT }...|. { Hor|
|000028e0| 69 7a 6f 6e 74 61 6c 20 | 61 6e 64 20 76 65 72 74 |izontal |and vert|
|000028f0| 69 63 61 6c 20 6a 75 73 | 74 69 66 69 63 61 74 69 |ical jus|tificati|
|00002900| 6f 6e 20 66 6f 72 20 53 | 65 74 54 65 78 74 4a 75 |on for S|etTextJu|
|00002910| 73 74 69 66 79 3a 20 7d | 0d 0a 20 20 4c 65 66 74 |stify: }|.. Left|
|00002920| 54 65 78 74 20 20 20 3d | 20 30 3b 0d 0a 20 20 43 |Text =| 0;.. C|
|00002930| 65 6e 74 65 72 54 65 78 | 74 20 3d 20 31 3b 0d 0a |enterTex|t = 1;..|
|00002940| 20 20 52 69 67 68 74 54 | 65 78 74 20 20 3d 20 32 | RightT|ext = 2|
|00002950| 3b 0d 0a 0d 0a 20 20 42 | 6f 74 74 6f 6d 54 65 78 |;.... B|ottomTex|
|00002960| 74 20 3d 20 30 3b 0d 0a | 7b 20 43 65 6e 74 65 72 |t = 0;..|{ Center|
|00002970| 54 65 78 74 20 3d 20 31 | 3b 20 61 6c 72 65 61 64 |Text = 1|; alread|
|00002980| 79 20 64 65 66 69 6e 65 | 64 20 61 62 6f 76 65 20 |y define|d above |
|00002990| 7d 0d 0a 20 20 54 6f 70 | 54 65 78 74 20 20 20 20 |}.. Top|Text |
|000029a0| 3d 20 32 3b 0d 0a 0d 0a | 0d 0a 63 6f 6e 73 74 0d |= 2;....|..const.|
|000029b0| 0a 20 20 4d 61 78 43 6f | 6c 6f 72 73 20 3d 20 31 |. MaxCo|lors = 1|
|000029c0| 35 3b 0d 0a 74 79 70 65 | 0d 0a 20 20 50 61 6c 65 |5;..type|.. Pale|
|000029d0| 74 74 65 54 79 70 65 20 | 3d 20 72 65 63 6f 72 64 |tteType |= record|
|000029e0| 0d 0a 20 20 20 20 20 20 | 53 69 7a 65 20 20 20 3a |.. |Size :|
|000029f0| 20 62 79 74 65 3b 0d 0a | 20 20 20 20 20 20 43 6f | byte;..| Co|
|00002a00| 6c 6f 72 73 20 3a 20 61 | 72 72 61 79 5b 30 2e 2e |lors : a|rray[0..|
|00002a10| 4d 61 78 43 6f 6c 6f 72 | 73 5d 20 6f 66 20 73 68 |MaxColor|s] of sh|
|00002a20| 6f 72 74 69 6e 74 3b 0d | 0a 20 20 20 20 65 6e 64 |ortint;.|. end|
|00002a30| 3b 0d 0a 0d 0a 20 20 4c | 69 6e 65 53 65 74 74 69 |;.... L|ineSetti|
|00002a40| 6e 67 73 54 79 70 65 20 | 3d 20 72 65 63 6f 72 64 |ngsType |= record|
|00002a50| 0d 0a 20 20 20 20 20 20 | 4c 69 6e 65 53 74 79 6c |.. |LineStyl|
|00002a60| 65 20 3a 20 77 6f 72 64 | 3b 0d 0a 20 20 20 20 20 |e : word|;.. |
|00002a70| 20 50 61 74 74 65 72 6e | 20 20 20 3a 20 77 6f 72 | Pattern| : wor|
|00002a80| 64 3b 0d 0a 20 20 20 20 | 20 20 54 68 69 63 6b 6e |d;.. | Thickn|
|00002a90| 65 73 73 20 3a 20 77 6f | 72 64 3b 0d 0a 20 20 20 |ess : wo|rd;.. |
|00002aa0| 20 65 6e 64 3b 0d 0a 0d | 0a 20 20 54 65 78 74 53 | end;...|. TextS|
|00002ab0| 65 74 74 69 6e 67 73 54 | 79 70 65 20 3d 20 72 65 |ettingsT|ype = re|
|00002ac0| 63 6f 72 64 0d 0a 20 20 | 20 20 20 20 46 6f 6e 74 |cord.. | Font|
|00002ad0| 20 20 20 20 20 20 3a 20 | 77 6f 72 64 3b 0d 0a 20 | : |word;.. |
|00002ae0| 20 20 20 20 20 44 69 72 | 65 63 74 69 6f 6e 20 3a | Dir|ection :|
|00002af0| 20 77 6f 72 64 3b 0d 0a | 20 20 20 20 20 20 43 68 | word;..| Ch|
|00002b00| 61 72 53 69 7a 65 20 20 | 3a 20 77 6f 72 64 3b 0d |arSize |: word;.|
|00002b10| 0a 20 20 20 20 20 20 48 | 6f 72 69 7a 20 20 20 20 |. H|oriz |
|00002b20| 20 3a 20 77 6f 72 64 3b | 0d 0a 20 20 20 20 20 20 | : word;|.. |
|00002b30| 56 65 72 74 20 20 20 20 | 20 20 3a 20 77 6f 72 64 |Vert | : word|
|00002b40| 3b 0d 0a 20 20 20 20 65 | 6e 64 3b 0d 0a 0d 0a 20 |;.. e|nd;.... |
|00002b50| 20 46 69 6c 6c 53 65 74 | 74 69 6e 67 73 54 79 70 | FillSet|tingsTyp|
|00002b60| 65 20 3d 20 72 65 63 6f | 72 64 20 20 20 20 20 20 |e = reco|rd |
|00002b70| 20 20 20 20 20 20 20 20 | 20 7b 20 50 72 65 2d 64 | | { Pre-d|
|00002b80| 65 66 69 6e 65 64 20 66 | 69 6c 6c 20 73 74 79 6c |efined f|ill styl|
|00002b90| 65 20 7d 0d 0a 20 20 20 | 20 20 20 50 61 74 74 65 |e }.. | Patte|
|00002ba0| 72 6e 20 3a 20 77 6f 72 | 64 3b 0d 0a 20 20 20 20 |rn : wor|d;.. |
|00002bb0| 20 20 43 6f 6c 6f 72 20 | 20 20 3a 20 77 6f 72 64 | Color | : word|
|00002bc0| 3b 0d 0a 20 20 20 20 65 | 6e 64 3b 0d 0a 0d 0a 20 |;.. e|nd;.... |
|00002bd0| 20 46 69 6c 6c 50 61 74 | 74 65 72 6e 54 79 70 65 | FillPat|ternType|
|00002be0| 20 3d 20 61 72 72 61 79 | 5b 31 2e 2e 38 5d 20 6f | = array|[1..8] o|
|00002bf0| 66 20 62 79 74 65 3b 20 | 20 7b 20 55 73 65 72 20 |f byte; | { User |
|00002c00| 64 65 66 69 6e 65 64 20 | 66 69 6c 6c 20 73 74 79 |defined |fill sty|
|00002c10| 6c 65 20 7d 0d 0a 0d 0a | 20 20 50 6f 69 6e 74 54 |le }....| PointT|
|00002c20| 79 70 65 20 3d 20 72 65 | 63 6f 72 64 0d 0a 20 20 |ype = re|cord.. |
|00002c30| 20 20 20 20 58 2c 20 59 | 20 3a 20 69 6e 74 65 67 | X, Y| : integ|
|00002c40| 65 72 3b 0d 0a 20 20 20 | 20 65 6e 64 3b 0d 0a 0d |er;.. | end;...|
|00002c50| 0a 20 20 56 69 65 77 50 | 6f 72 74 54 79 70 65 20 |. ViewP|ortType |
|00002c60| 3d 20 72 65 63 6f 72 64 | 0d 0a 20 20 20 20 20 20 |= record|.. |
|00002c70| 78 31 2c 20 79 31 2c 20 | 78 32 2c 20 79 32 20 3a |x1, y1, |x2, y2 :|
|00002c80| 20 69 6e 74 65 67 65 72 | 3b 0d 0a 20 20 20 20 20 | integer|;.. |
|00002c90| 20 43 6c 69 70 20 20 20 | 20 20 20 20 20 20 20 20 | Clip | |
|00002ca0| 3a 20 62 6f 6f 6c 65 61 | 6e 3b 0d 0a 20 20 20 20 |: boolea|n;.. |
|00002cb0| 65 6e 64 3b 0d 0a 0d 0a | 20 20 41 72 63 43 6f 6f |end;....| ArcCoo|
|00002cc0| 72 64 73 54 79 70 65 20 | 3d 20 72 65 63 6f 72 64 |rdsType |= record|
|00002cd0| 0d 0a 20 20 20 20 20 20 | 58 2c 20 59 20 20 20 20 |.. |X, Y |
|00002ce0| 20 20 20 20 20 20 20 3a | 20 69 6e 74 65 67 65 72 | :| integer|
|00002cf0| 3b 0d 0a 20 20 20 20 20 | 20 58 73 74 61 72 74 2c |;.. | Xstart,|
|00002d00| 20 59 73 74 61 72 74 20 | 3a 20 69 6e 74 65 67 65 | Ystart |: intege|
|00002d10| 72 3b 0d 0a 20 20 20 20 | 20 20 58 65 6e 64 2c 20 |r;.. | Xend, |
|00002d20| 59 65 6e 64 20 20 20 20 | 20 3a 20 69 6e 74 65 67 |Yend | : integ|
|00002d30| 65 72 3b 0d 0a 20 20 20 | 20 65 6e 64 3b 0d 0a 0d |er;.. | end;...|
|00002d40| 0a 76 61 72 0d 0a 20 20 | 47 72 61 70 68 47 65 74 |.var.. |GraphGet|
|00002d50| 4d 65 6d 50 74 72 20 20 | 3a 20 50 6f 69 6e 74 65 |MemPtr |: Pointe|
|00002d60| 72 3b 20 20 20 7b 20 61 | 6c 6c 6f 77 73 20 75 73 |r; { a|llows us|
|00002d70| 65 72 20 74 6f 20 73 74 | 65 61 6c 20 68 65 61 70 |er to st|eal heap|
|00002d80| 20 61 6c 6c 6f 63 61 74 | 69 6f 6e 20 7d 0d 0a 20 | allocat|ion }.. |
|00002d90| 20 47 72 61 70 68 46 72 | 65 65 4d 65 6d 50 74 72 | GraphFr|eeMemPtr|
|00002da0| 20 3a 20 50 6f 69 6e 74 | 65 72 3b 20 20 20 7b 20 | : Point|er; { |
|00002db0| 61 6c 6c 6f 77 73 20 75 | 73 65 72 20 74 6f 20 73 |allows u|ser to s|
|00002dc0| 74 65 61 6c 20 68 65 61 | 70 20 64 65 2d 61 6c 6c |teal hea|p de-all|
|00002dd0| 6f 63 61 74 69 6f 6e 20 | 7d 0d 0a 0d 0a 7b 20 2a |ocation |}....{ *|
|00002de0| 2a 2a 20 68 69 67 68 2d | 6c 65 76 65 6c 20 65 72 |** high-|level er|
|00002df0| 72 6f 72 20 68 61 6e 64 | 6c 69 6e 67 20 2a 2a 2a |ror hand|ling ***|
|00002e00| 20 7d 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 47 72 61 | }..func|tion Gra|
|00002e10| 70 68 45 72 72 6f 72 4d | 73 67 28 45 72 72 6f 72 |phErrorM|sg(Error|
|00002e20| 43 6f 64 65 20 3a 20 69 | 6e 74 65 67 65 72 29 20 |Code : i|nteger) |
|00002e30| 3a 20 53 74 72 69 6e 67 | 3b 0d 0a 66 75 6e 63 74 |: String|;..funct|
|00002e40| 69 6f 6e 20 47 72 61 70 | 68 52 65 73 75 6c 74 20 |ion Grap|hResult |
|00002e50| 3a 20 69 6e 74 65 67 65 | 72 3b 0d 0a 0d 0a 7b 20 |: intege|r;....{ |
|00002e60| 2a 2a 2a 20 64 65 74 65 | 63 74 69 6f 6e 2c 20 69 |*** dete|ction, i|
|00002e70| 6e 69 74 69 61 6c 69 7a | 61 74 69 6f 6e 20 61 6e |nitializ|ation an|
|00002e80| 64 20 63 72 74 20 6d 6f | 64 65 20 72 6f 75 74 69 |d crt mo|de routi|
|00002e90| 6e 65 73 20 2a 2a 2a 20 | 7d 0d 0a 70 72 6f 63 65 |nes *** |}..proce|
|00002ea0| 64 75 72 65 20 44 65 74 | 65 63 74 47 72 61 70 68 |dure Det|ectGraph|
|00002eb0| 28 76 61 72 20 47 72 61 | 70 68 44 72 69 76 65 72 |(var Gra|phDriver|
|00002ec0| 2c 20 47 72 61 70 68 4d | 6f 64 65 20 3a 20 69 6e |, GraphM|ode : in|
|00002ed0| 74 65 67 65 72 29 3b 0d | 0a 0d 0a 70 72 6f 63 65 |teger);.|...proce|
|00002ee0| 64 75 72 65 20 49 6e 69 | 74 47 72 61 70 68 28 76 |dure Ini|tGraph(v|
|00002ef0| 61 72 20 47 72 61 70 68 | 44 72 69 76 65 72 20 3a |ar Graph|Driver :|
|00002f00| 20 69 6e 74 65 67 65 72 | 3b 0d 0a 20 20 20 20 20 | integer|;.. |
|00002f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 76 | | v|
|00002f20| 61 72 20 47 72 61 70 68 | 4d 6f 64 65 20 20 20 3a |ar Graph|Mode :|
|00002f30| 20 69 6e 74 65 67 65 72 | 3b 0d 0a 20 20 20 20 20 | integer|;.. |
|00002f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f50| 20 20 20 50 61 74 68 54 | 6f 44 72 69 76 65 72 20 | PathT|oDriver |
|00002f60| 3a 20 53 74 72 69 6e 67 | 29 3b 0d 0a 0d 0a 66 75 |: String|);....fu|
|00002f70| 6e 63 74 69 6f 6e 20 52 | 65 67 69 73 74 65 72 42 |nction R|egisterB|
|00002f80| 47 49 66 6f 6e 74 28 66 | 6f 6e 74 20 3a 20 70 6f |GIfont(f|ont : po|
|00002f90| 69 6e 74 65 72 29 20 3a | 20 69 6e 74 65 67 65 72 |inter) :| integer|
|00002fa0| 3b 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 52 65 67 69 |;..funct|ion Regi|
|00002fb0| 73 74 65 72 42 47 49 64 | 72 69 76 65 72 28 64 72 |sterBGId|river(dr|
|00002fc0| 69 76 65 72 20 3a 20 70 | 6f 69 6e 74 65 72 29 20 |iver : p|ointer) |
|00002fd0| 3a 20 69 6e 74 65 67 65 | 72 3b 0d 0a 70 72 6f 63 |: intege|r;..proc|
|00002fe0| 65 64 75 72 65 20 53 65 | 74 47 72 61 70 68 42 75 |edure Se|tGraphBu|
|00002ff0| 66 53 69 7a 65 28 42 75 | 66 53 69 7a 65 20 3a 20 |fSize(Bu|fSize : |
|00003000| 77 6f 72 64 29 3b 0d 0a | 70 72 6f 63 65 64 75 72 |word);..|procedur|
|00003010| 65 20 47 65 74 4d 6f 64 | 65 52 61 6e 67 65 28 47 |e GetMod|eRange(G|
|00003020| 72 61 70 68 44 72 69 76 | 65 72 20 3a 20 69 6e 74 |raphDriv|er : int|
|00003030| 65 67 65 72 3b 20 76 61 | 72 20 4c 6f 4d 6f 64 65 |eger; va|r LoMode|
|00003040| 2c 20 48 69 4d 6f 64 65 | 20 3a 20 69 6e 74 65 67 |, HiMode| : integ|
|00003050| 65 72 29 3b 0d 0a 70 72 | 6f 63 65 64 75 72 65 20 |er);..pr|ocedure |
|00003060| 53 65 74 47 72 61 70 68 | 4d 6f 64 65 28 4d 6f 64 |SetGraph|Mode(Mod|
|00003070| 65 20 3a 20 69 6e 74 65 | 67 65 72 29 3b 0d 0a 66 |e : inte|ger);..f|
|00003080| 75 6e 63 74 69 6f 6e 20 | 47 65 74 47 72 61 70 68 |unction |GetGraph|
|00003090| 4d 6f 64 65 20 3a 20 69 | 6e 74 65 67 65 72 3b 0d |Mode : i|nteger;.|
|000030a0| 0a 70 72 6f 63 65 64 75 | 72 65 20 47 72 61 70 68 |.procedu|re Graph|
|000030b0| 44 65 66 61 75 6c 74 73 | 3b 0d 0a 70 72 6f 63 65 |Defaults|;..proce|
|000030c0| 64 75 72 65 20 52 65 73 | 74 6f 72 65 43 72 74 4d |dure Res|toreCrtM|
|000030d0| 6f 64 65 3b 0d 0a 70 72 | 6f 63 65 64 75 72 65 20 |ode;..pr|ocedure |
|000030e0| 43 6c 6f 73 65 47 72 61 | 70 68 3b 0d 0a 0d 0a 66 |CloseGra|ph;....f|
|000030f0| 75 6e 63 74 69 6f 6e 20 | 20 47 65 74 58 20 3a 20 |unction | GetX : |
|00003100| 69 6e 74 65 67 65 72 3b | 0d 0a 66 75 6e 63 74 69 |integer;|..functi|
|00003110| 6f 6e 20 20 47 65 74 59 | 20 3a 20 69 6e 74 65 67 |on GetY| : integ|
|00003120| 65 72 3b 0d 0a 66 75 6e | 63 74 69 6f 6e 20 20 47 |er;..fun|ction G|
|00003130| 65 74 4d 61 78 58 20 3a | 20 69 6e 74 65 67 65 72 |etMaxX :| integer|
|00003140| 3b 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 20 47 65 74 |;..funct|ion Get|
|00003150| 4d 61 78 59 20 3a 20 69 | 6e 74 65 67 65 72 3b 0d |MaxY : i|nteger;.|
|00003160| 0a 0d 0a 7b 20 2a 2a 2a | 20 53 63 72 65 65 6e 2c |...{ ***| Screen,|
|00003170| 20 76 69 65 77 70 6f 72 | 74 2c 20 70 61 67 65 20 | viewpor|t, page |
|00003180| 72 6f 75 74 69 6e 65 73 | 20 2a 2a 2a 20 7d 0d 0a |routines| *** }..|
|00003190| 70 72 6f 63 65 64 75 72 | 65 20 43 6c 65 61 72 44 |procedur|e ClearD|
|000031a0| 65 76 69 63 65 3b 0d 0a | 70 72 6f 63 65 64 75 72 |evice;..|procedur|
|000031b0| 65 20 53 65 74 56 69 65 | 77 50 6f 72 74 28 78 31 |e SetVie|wPort(x1|
|000031c0| 2c 20 79 31 2c 20 78 32 | 2c 20 79 32 20 3a 20 69 |, y1, x2|, y2 : i|
|000031d0| 6e 74 65 67 65 72 3b 20 | 43 6c 69 70 20 3a 20 62 |nteger; |Clip : b|
|000031e0| 6f 6f 6c 65 61 6e 29 3b | 0d 0a 70 72 6f 63 65 64 |oolean);|..proced|
|000031f0| 75 72 65 20 47 65 74 56 | 69 65 77 53 65 74 74 69 |ure GetV|iewSetti|
|00003200| 6e 67 73 28 76 61 72 20 | 56 69 65 77 50 6f 72 74 |ngs(var |ViewPort|
|00003210| 20 3a 20 56 69 65 77 50 | 6f 72 74 54 79 70 65 29 | : ViewP|ortType)|
|00003220| 3b 0d 0a 70 72 6f 63 65 | 64 75 72 65 20 43 6c 65 |;..proce|dure Cle|
|00003230| 61 72 56 69 65 77 50 6f | 72 74 3b 0d 0a 70 72 6f |arViewPo|rt;..pro|
|00003240| 63 65 64 75 72 65 20 53 | 65 74 56 69 73 75 61 6c |cedure S|etVisual|
|00003250| 50 61 67 65 28 50 61 67 | 65 20 3a 20 77 6f 72 64 |Page(Pag|e : word|
|00003260| 29 3b 0d 0a 70 72 6f 63 | 65 64 75 72 65 20 53 65 |);..proc|edure Se|
|00003270| 74 41 63 74 69 76 65 50 | 61 67 65 28 50 61 67 65 |tActiveP|age(Page|
|00003280| 20 3a 20 77 6f 72 64 29 | 3b 0d 0a 0d 0a 7b 20 2a | : word)|;....{ *|
|00003290| 2a 2a 20 70 6f 69 6e 74 | 2d 6f 72 69 65 6e 74 65 |** point|-oriente|
|000032a0| 64 20 72 6f 75 74 69 6e | 65 73 20 2a 2a 2a 20 7d |d routin|es *** }|
|000032b0| 0d 0a 70 72 6f 63 65 64 | 75 72 65 20 50 75 74 50 |..proced|ure PutP|
|000032c0| 69 78 65 6c 28 58 2c 20 | 59 20 3a 20 69 6e 74 65 |ixel(X, |Y : inte|
|000032d0| 67 65 72 3b 20 50 69 78 | 65 6c 20 3a 20 77 6f 72 |ger; Pix|el : wor|
|000032e0| 64 29 3b 0d 0a 66 75 6e | 63 74 69 6f 6e 20 20 47 |d);..fun|ction G|
|000032f0| 65 74 50 69 78 65 6c 28 | 58 2c 20 59 20 3a 20 69 |etPixel(|X, Y : i|
|00003300| 6e 74 65 67 65 72 29 20 | 3a 20 77 6f 72 64 3b 0d |nteger) |: word;.|
|00003310| 0a 0d 0a 7b 20 2a 2a 2a | 20 6c 69 6e 65 2d 6f 72 |...{ ***| line-or|
|00003320| 69 65 6e 74 65 64 20 72 | 6f 75 74 69 6e 65 73 20 |iented r|outines |
|00003330| 2a 2a 2a 20 7d 0d 0a 70 | 72 6f 63 65 64 75 72 65 |*** }..p|rocedure|
|00003340| 20 4c 69 6e 65 54 6f 28 | 58 2c 20 59 20 3a 20 69 | LineTo(|X, Y : i|
|00003350| 6e 74 65 67 65 72 29 3b | 0d 0a 70 72 6f 63 65 64 |nteger);|..proced|
|00003360| 75 72 65 20 4c 69 6e 65 | 52 65 6c 28 44 78 2c 20 |ure Line|Rel(Dx, |
|00003370| 44 79 20 3a 20 69 6e 74 | 65 67 65 72 29 3b 0d 0a |Dy : int|eger);..|
|00003380| 70 72 6f 63 65 64 75 72 | 65 20 4d 6f 76 65 54 6f |procedur|e MoveTo|
|00003390| 28 58 2c 20 59 20 3a 20 | 69 6e 74 65 67 65 72 29 |(X, Y : |integer)|
|000033a0| 3b 0d 0a 70 72 6f 63 65 | 64 75 72 65 20 4d 6f 76 |;..proce|dure Mov|
|000033b0| 65 52 65 6c 28 44 78 2c | 20 44 79 20 3a 20 69 6e |eRel(Dx,| Dy : in|
|000033c0| 74 65 67 65 72 29 3b 0d | 0a 70 72 6f 63 65 64 75 |teger);.|.procedu|
|000033d0| 72 65 20 4c 69 6e 65 28 | 78 31 2c 20 79 31 2c 20 |re Line(|x1, y1, |
|000033e0| 78 32 2c 20 79 32 20 3a | 20 69 6e 74 65 67 65 72 |x2, y2 :| integer|
|000033f0| 29 3b 0d 0a 70 72 6f 63 | 65 64 75 72 65 20 47 65 |);..proc|edure Ge|
|00003400| 74 4c 69 6e 65 53 65 74 | 74 69 6e 67 73 28 76 61 |tLineSet|tings(va|
|00003410| 72 20 4c 69 6e 65 49 6e | 66 6f 20 3a 20 4c 69 6e |r LineIn|fo : Lin|
|00003420| 65 53 65 74 74 69 6e 67 | 73 54 79 70 65 29 3b 0d |eSetting|sType);.|
|00003430| 0a 70 72 6f 63 65 64 75 | 72 65 20 53 65 74 4c 69 |.procedu|re SetLi|
|00003440| 6e 65 53 74 79 6c 65 28 | 4c 69 6e 65 53 74 79 6c |neStyle(|LineStyl|
|00003450| 65 20 3a 20 77 6f 72 64 | 3b 0d 0a 20 20 20 20 20 |e : word|;.. |
|00003460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003470| 20 20 50 61 74 74 65 72 | 6e 20 20 20 3a 20 77 6f | Patter|n : wo|
|00003480| 72 64 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |rd;.. | |
|00003490| 20 20 20 20 20 20 20 20 | 20 20 20 20 54 68 69 63 | | Thic|
|000034a0| 6b 6e 65 73 73 20 3a 20 | 77 6f 72 64 29 3b 0d 0a |kness : |word);..|
|000034b0| 0d 0a 7b 20 2a 2a 2a 20 | 70 6f 6c 79 67 6f 6e 2c |..{ *** |polygon,|
|000034c0| 20 66 69 6c 6c 73 20 61 | 6e 64 20 66 69 67 75 72 | fills a|nd figur|
|000034d0| 65 73 20 2a 2a 2a 20 7d | 0d 0a 70 72 6f 63 65 64 |es *** }|..proced|
|000034e0| 75 72 65 20 52 65 63 74 | 61 6e 67 6c 65 28 78 31 |ure Rect|angle(x1|
|000034f0| 2c 20 79 31 2c 20 78 32 | 2c 20 79 32 20 3a 20 69 |, y1, x2|, y2 : i|
|00003500| 6e 74 65 67 65 72 29 3b | 0d 0a 70 72 6f 63 65 64 |nteger);|..proced|
|00003510| 75 72 65 20 42 61 72 28 | 78 31 2c 20 79 31 2c 20 |ure Bar(|x1, y1, |
|00003520| 78 32 2c 20 79 32 20 3a | 20 69 6e 74 65 67 65 72 |x2, y2 :| integer|
|00003530| 29 3b 0d 0a 70 72 6f 63 | 65 64 75 72 65 20 42 61 |);..proc|edure Ba|
|00003540| 72 33 44 28 78 31 2c 20 | 79 31 2c 20 78 32 2c 20 |r3D(x1, |y1, x2, |
|00003550| 79 32 20 3a 20 69 6e 74 | 65 67 65 72 3b 20 44 65 |y2 : int|eger; De|
|00003560| 70 74 68 20 3a 20 77 6f | 72 64 3b 20 54 6f 70 20 |pth : wo|rd; Top |
|00003570| 3a 20 62 6f 6f 6c 65 61 | 6e 29 3b 0d 0a 70 72 6f |: boolea|n);..pro|
|00003580| 63 65 64 75 72 65 20 44 | 72 61 77 50 6f 6c 79 28 |cedure D|rawPoly(|
|00003590| 4e 75 6d 50 6f 69 6e 74 | 73 20 3a 20 77 6f 72 64 |NumPoint|s : word|
|000035a0| 3b 20 76 61 72 20 50 6f | 6c 79 50 6f 69 6e 74 73 |; var Po|lyPoints|
|000035b0| 29 3b 0d 0a 70 72 6f 63 | 65 64 75 72 65 20 46 69 |);..proc|edure Fi|
|000035c0| 6c 6c 50 6f 6c 79 28 4e | 75 6d 50 6f 69 6e 74 73 |llPoly(N|umPoints|
|000035d0| 20 3a 20 77 6f 72 64 3b | 20 76 61 72 20 50 6f 6c | : word;| var Pol|
|000035e0| 79 50 6f 69 6e 74 73 29 | 3b 0d 0a 70 72 6f 63 65 |yPoints)|;..proce|
|000035f0| 64 75 72 65 20 47 65 74 | 46 69 6c 6c 53 65 74 74 |dure Get|FillSett|
|00003600| 69 6e 67 73 28 76 61 72 | 20 46 69 6c 6c 49 6e 66 |ings(var| FillInf|
|00003610| 6f 20 3a 20 46 69 6c 6c | 53 65 74 74 69 6e 67 73 |o : Fill|Settings|
|00003620| 54 79 70 65 29 3b 0d 0a | 70 72 6f 63 65 64 75 72 |Type);..|procedur|
|00003630| 65 20 47 65 74 46 69 6c | 6c 50 61 74 74 65 72 6e |e GetFil|lPattern|
|00003640| 28 76 61 72 20 46 69 6c | 6c 50 61 74 74 65 72 6e |(var Fil|lPattern|
|00003650| 20 3a 20 46 69 6c 6c 50 | 61 74 74 65 72 6e 54 79 | : FillP|atternTy|
|00003660| 70 65 29 3b 0d 0a 70 72 | 6f 63 65 64 75 72 65 20 |pe);..pr|ocedure |
|00003670| 53 65 74 46 69 6c 6c 53 | 74 79 6c 65 28 50 61 74 |SetFillS|tyle(Pat|
|00003680| 74 65 72 6e 20 3a 20 77 | 6f 72 64 3b 20 43 6f 6c |tern : w|ord; Col|
|00003690| 6f 72 20 3a 20 77 6f 72 | 64 29 3b 0d 0a 70 72 6f |or : wor|d);..pro|
|000036a0| 63 65 64 75 72 65 20 53 | 65 74 46 69 6c 6c 50 61 |cedure S|etFillPa|
|000036b0| 74 74 65 72 6e 28 50 61 | 74 74 65 72 6e 20 3a 20 |ttern(Pa|ttern : |
|000036c0| 46 69 6c 6c 50 61 74 74 | 65 72 6e 54 79 70 65 3b |FillPatt|ernType;|
|000036d0| 20 43 6f 6c 6f 72 20 3a | 20 77 6f 72 64 29 3b 0d | Color :| word);.|
|000036e0| 0a 70 72 6f 63 65 64 75 | 72 65 20 46 6c 6f 6f 64 |.procedu|re Flood|
|000036f0| 46 69 6c 6c 28 58 2c 20 | 59 20 3a 20 69 6e 74 65 |Fill(X, |Y : inte|
|00003700| 67 65 72 3b 20 42 6f 72 | 64 65 72 20 3a 20 77 6f |ger; Bor|der : wo|
|00003710| 72 64 29 3b 0d 0a 0d 0a | 7b 20 2a 2a 2a 20 61 72 |rd);....|{ *** ar|
|00003720| 63 2c 20 63 69 72 63 6c | 65 2c 20 61 6e 64 20 6f |c, circl|e, and o|
|00003730| 74 68 65 72 20 63 75 72 | 76 65 73 20 2a 2a 2a 20 |ther cur|ves *** |
|00003740| 7d 0d 0a 70 72 6f 63 65 | 64 75 72 65 20 41 72 63 |}..proce|dure Arc|
|00003750| 28 58 2c 20 59 20 3a 20 | 69 6e 74 65 67 65 72 3b |(X, Y : |integer;|
|00003760| 20 53 74 41 6e 67 6c 65 | 2c 20 45 6e 64 41 6e 67 | StAngle|, EndAng|
|00003770| 6c 65 2c 20 52 61 64 69 | 75 73 20 3a 20 77 6f 72 |le, Radi|us : wor|
|00003780| 64 29 3b 0d 0a 70 72 6f | 63 65 64 75 72 65 20 47 |d);..pro|cedure G|
|00003790| 65 74 41 72 63 43 6f 6f | 72 64 73 28 76 61 72 20 |etArcCoo|rds(var |
|000037a0| 41 72 63 43 6f 6f 72 64 | 73 20 3a 20 41 72 63 43 |ArcCoord|s : ArcC|
|000037b0| 6f 6f 72 64 73 54 79 70 | 65 29 3b 0d 0a 70 72 6f |oordsTyp|e);..pro|
|000037c0| 63 65 64 75 72 65 20 43 | 69 72 63 6c 65 28 58 2c |cedure C|ircle(X,|
|000037d0| 20 59 20 3a 20 69 6e 74 | 65 67 65 72 3b 20 52 61 | Y : int|eger; Ra|
|000037e0| 64 69 75 73 20 3a 20 77 | 6f 72 64 29 3b 0d 0a 70 |dius : w|ord);..p|
|000037f0| 72 6f 63 65 64 75 72 65 | 20 45 6c 6c 69 70 73 65 |rocedure| Ellipse|
|00003800| 28 58 2c 20 59 20 3a 20 | 69 6e 74 65 67 65 72 3b |(X, Y : |integer;|
|00003810| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00003820| 20 20 20 20 53 74 41 6e | 67 6c 65 2c 20 45 6e 64 | StAn|gle, End|
|00003830| 41 6e 67 6c 65 20 3a 20 | 77 6f 72 64 3b 0d 0a 20 |Angle : |word;.. |
|00003840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003850| 20 58 52 61 64 69 75 73 | 2c 20 59 52 61 64 69 75 | XRadius|, YRadiu|
|00003860| 73 20 20 3a 20 77 6f 72 | 64 29 3b 0d 0a 70 72 6f |s : wor|d);..pro|
|00003870| 63 65 64 75 72 65 20 47 | 65 74 41 73 70 65 63 74 |cedure G|etAspect|
|00003880| 52 61 74 69 6f 28 76 61 | 72 20 58 61 73 70 2c 20 |Ratio(va|r Xasp, |
|00003890| 59 61 73 70 20 3a 20 77 | 6f 72 64 29 3b 0d 0a 70 |Yasp : w|ord);..p|
|000038a0| 72 6f 63 65 64 75 72 65 | 20 50 69 65 53 6c 69 63 |rocedure| PieSlic|
|000038b0| 65 28 58 2c 20 59 20 3a | 20 69 6e 74 65 67 65 72 |e(X, Y :| integer|
|000038c0| 3b 20 53 74 41 6e 67 6c | 65 2c 20 45 6e 64 41 6e |; StAngl|e, EndAn|
|000038d0| 67 6c 65 2c 20 52 61 64 | 69 75 73 20 3a 20 77 6f |gle, Rad|ius : wo|
|000038e0| 72 64 29 3b 0d 0a 0d 0a | 7b 20 2a 2a 2a 20 63 6f |rd);....|{ *** co|
|000038f0| 6c 6f 72 20 61 6e 64 20 | 70 61 6c 65 74 74 65 20 |lor and |palette |
|00003900| 72 6f 75 74 69 6e 65 73 | 20 2a 2a 2a 20 7d 0d 0a |routines| *** }..|
|00003910| 70 72 6f 63 65 64 75 72 | 65 20 53 65 74 42 6b 43 |procedur|e SetBkC|
|00003920| 6f 6c 6f 72 28 43 6f 6c | 6f 72 20 3a 20 77 6f 72 |olor(Col|or : wor|
|00003930| 64 29 3b 0d 0a 70 72 6f | 63 65 64 75 72 65 20 53 |d);..pro|cedure S|
|00003940| 65 74 43 6f 6c 6f 72 28 | 43 6f 6c 6f 72 20 3a 20 |etColor(|Color : |
|00003950| 77 6f 72 64 29 3b 0d 0a | 66 75 6e 63 74 69 6f 6e |word);..|function|
|00003960| 20 47 65 74 42 6b 43 6f | 6c 6f 72 20 3a 20 77 6f | GetBkCo|lor : wo|
|00003970| 72 64 3b 0d 0a 66 75 6e | 63 74 69 6f 6e 20 47 65 |rd;..fun|ction Ge|
|00003980| 74 43 6f 6c 6f 72 20 3a | 20 77 6f 72 64 3b 0d 0a |tColor :| word;..|
|00003990| 70 72 6f 63 65 64 75 72 | 65 20 53 65 74 41 6c 6c |procedur|e SetAll|
|000039a0| 50 61 6c 65 74 74 65 28 | 76 61 72 20 50 61 6c 65 |Palette(|var Pale|
|000039b0| 74 74 65 29 3b 0d 0a 70 | 72 6f 63 65 64 75 72 65 |tte);..p|rocedure|
|000039c0| 20 53 65 74 50 61 6c 65 | 74 74 65 28 43 6f 6c 6f | SetPale|tte(Colo|
|000039d0| 72 4e 75 6d 20 3a 20 77 | 6f 72 64 3b 20 43 6f 6c |rNum : w|ord; Col|
|000039e0| 6f 72 20 3a 20 73 68 6f | 72 74 69 6e 74 29 3b 0d |or : sho|rtint);.|
|000039f0| 0a 70 72 6f 63 65 64 75 | 72 65 20 47 65 74 50 61 |.procedu|re GetPa|
|00003a00| 6c 65 74 74 65 28 76 61 | 72 20 50 61 6c 65 74 74 |lette(va|r Palett|
|00003a10| 65 20 3a 20 50 61 6c 65 | 74 74 65 54 79 70 65 29 |e : Pale|tteType)|
|00003a20| 3b 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 47 65 74 4d |;..funct|ion GetM|
|00003a30| 61 78 43 6f 6c 6f 72 20 | 3a 20 77 6f 72 64 3b 0d |axColor |: word;.|
|00003a40| 0a 0d 0a 7b 20 2a 2a 2a | 20 62 69 74 2d 69 6d 61 |...{ ***| bit-ima|
|00003a50| 67 65 20 72 6f 75 74 69 | 6e 65 73 20 2a 2a 2a 20 |ge routi|nes *** |
|00003a60| 7d 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 20 49 6d 61 |}..funct|ion Ima|
|00003a70| 67 65 53 69 7a 65 28 78 | 31 2c 20 79 31 2c 20 78 |geSize(x|1, y1, x|
|00003a80| 32 2c 20 79 32 20 3a 20 | 69 6e 74 65 67 65 72 29 |2, y2 : |integer)|
|00003a90| 20 3a 20 77 6f 72 64 3b | 0d 0a 70 72 6f 63 65 64 | : word;|..proced|
|00003aa0| 75 72 65 20 47 65 74 49 | 6d 61 67 65 28 78 31 2c |ure GetI|mage(x1,|
|00003ab0| 20 79 31 2c 20 78 32 2c | 20 79 32 20 3a 20 69 6e | y1, x2,| y2 : in|
|00003ac0| 74 65 67 65 72 3b 20 76 | 61 72 20 42 69 74 4d 61 |teger; v|ar BitMa|
|00003ad0| 70 29 3b 0d 0a 70 72 6f | 63 65 64 75 72 65 20 50 |p);..pro|cedure P|
|00003ae0| 75 74 49 6d 61 67 65 28 | 58 2c 20 59 20 3a 20 69 |utImage(|X, Y : i|
|00003af0| 6e 74 65 67 65 72 3b 20 | 76 61 72 20 42 69 74 4d |nteger; |var BitM|
|00003b00| 61 70 3b 20 42 69 74 42 | 6c 74 20 3a 20 77 6f 72 |ap; BitB|lt : wor|
|00003b10| 64 29 3b 0d 0a 0d 0a 7b | 20 2a 2a 2a 20 74 65 78 |d);....{| *** tex|
|00003b20| 74 20 72 6f 75 74 69 6e | 65 73 20 2a 2a 2a 20 7d |t routin|es *** }|
|00003b30| 0d 0a 70 72 6f 63 65 64 | 75 72 65 20 47 65 74 54 |..proced|ure GetT|
|00003b40| 65 78 74 53 65 74 74 69 | 6e 67 73 28 76 61 72 20 |extSetti|ngs(var |
|00003b50| 54 65 78 74 49 6e 66 6f | 20 3a 20 54 65 78 74 53 |TextInfo| : TextS|
|00003b60| 65 74 74 69 6e 67 73 54 | 79 70 65 29 3b 0d 0a 70 |ettingsT|ype);..p|
|00003b70| 72 6f 63 65 64 75 72 65 | 20 4f 75 74 54 65 78 74 |rocedure| OutText|
|00003b80| 28 54 65 78 74 53 74 72 | 69 6e 67 20 3a 20 73 74 |(TextStr|ing : st|
|00003b90| 72 69 6e 67 29 3b 0d 0a | 70 72 6f 63 65 64 75 72 |ring);..|procedur|
|00003ba0| 65 20 4f 75 74 54 65 78 | 74 58 59 28 58 2c 20 59 |e OutTex|tXY(X, Y|
|00003bb0| 20 3a 20 69 6e 74 65 67 | 65 72 3b 20 54 65 78 74 | : integ|er; Text|
|00003bc0| 53 74 72 69 6e 67 20 3a | 20 73 74 72 69 6e 67 29 |String :| string)|
|00003bd0| 3b 0d 0a 70 72 6f 63 65 | 64 75 72 65 20 53 65 74 |;..proce|dure Set|
|00003be0| 54 65 78 74 4a 75 73 74 | 69 66 79 28 48 6f 72 69 |TextJust|ify(Hori|
|00003bf0| 7a 2c 20 56 65 72 74 20 | 3a 20 77 6f 72 64 29 3b |z, Vert |: word);|
|00003c00| 0d 0a 70 72 6f 63 65 64 | 75 72 65 20 53 65 74 54 |..proced|ure SetT|
|00003c10| 65 78 74 53 74 79 6c 65 | 28 46 6f 6e 74 2c 20 44 |extStyle|(Font, D|
|00003c20| 69 72 65 63 74 69 6f 6e | 20 3a 20 77 6f 72 64 3b |irection| : word;|
|00003c30| 20 43 68 61 72 53 69 7a | 65 20 3a 20 77 6f 72 64 | CharSiz|e : word|
|00003c40| 29 3b 0d 0a 70 72 6f 63 | 65 64 75 72 65 20 53 65 |);..proc|edure Se|
|00003c50| 74 55 73 65 72 43 68 61 | 72 53 69 7a 65 28 4d 75 |tUserCha|rSize(Mu|
|00003c60| 6c 74 58 2c 20 44 69 76 | 58 2c 20 4d 75 6c 74 59 |ltX, Div|X, MultY|
|00003c70| 2c 20 44 69 76 59 20 3a | 20 77 6f 72 64 29 3b 0d |, DivY :| word);.|
|00003c80| 0a 66 75 6e 63 74 69 6f | 6e 20 20 54 65 78 74 48 |.functio|n TextH|
|00003c90| 65 69 67 68 74 28 54 65 | 78 74 53 74 72 69 6e 67 |eight(Te|xtString|
|00003ca0| 20 3a 20 73 74 72 69 6e | 67 29 20 3a 20 77 6f 72 | : strin|g) : wor|
|00003cb0| 64 3b 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 20 54 65 |d;..func|tion Te|
|00003cc0| 78 74 57 69 64 74 68 28 | 54 65 78 74 53 74 72 69 |xtWidth(|TextStri|
|00003cd0| 6e 67 20 3a 20 73 74 72 | 69 6e 67 29 20 3a 20 77 |ng : str|ing) : w|
|00003ce0| 6f 72 64 3b 0d 0a 0d 0a | 69 6d 70 6c 65 6d 65 6e |ord;....|implemen|
|00003cf0| 74 61 74 69 6f 6e 0d 0a | 0d 0a 0d 0a 3d 3d 3d 3d |tation..|....====|
|00003d00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003d10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003d20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003d30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003d40| 3d 3d 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |==.. | |
|00003d50| 20 20 20 20 20 20 20 20 | 47 52 41 50 48 20 43 4f | |GRAPH CO|
|00003d60| 52 52 45 43 54 49 4f 4e | 53 20 26 20 41 44 44 49 |RRECTION|S & ADDI|
|00003d70| 54 49 4f 4e 53 0d 0a 3d | 3d 3d 3d 3d 3d 3d 3d 3d |TIONS..=|========|
|00003d80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003d90| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003da0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003db0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0d 0a 0d |========|=====...|
|00003dc0| 0a 54 68 69 73 20 73 65 | 63 74 69 6f 6e 20 63 6f |.This se|ction co|
|00003dd0| 6e 74 61 69 6e 73 20 63 | 6f 72 72 65 63 74 69 6f |ntains c|orrectio|
|00003de0| 6e 73 20 61 6e 64 20 61 | 64 64 69 74 69 6f 6e 73 |ns and a|dditions|
|00003df0| 20 74 6f 20 74 68 65 20 | 47 72 61 70 68 20 75 6e | to the |Graph un|
|00003e00| 69 74 0d 0a 6d 61 74 65 | 72 69 61 6c 20 69 6e 20 |it..mate|rial in |
|00003e10| 74 68 65 20 6d 61 6e 75 | 61 6c 2e 20 53 65 76 65 |the manu|al. Seve|
|00003e20| 72 61 6c 20 69 6d 70 6f | 72 74 61 6e 74 20 63 68 |ral impo|rtant ch|
|00003e30| 61 6e 67 65 73 20 68 61 | 76 65 20 62 65 65 6e 20 |anges ha|ve been |
|00003e40| 6d 61 64 65 20 74 6f 0d | 0a 74 68 65 20 47 72 61 |made to.|.the Gra|
|00003e50| 70 68 20 75 6e 69 74 20 | 73 69 6e 63 65 20 74 68 |ph unit |since th|
|00003e60| 65 20 6d 61 6e 75 61 6c | 20 77 61 73 20 70 72 69 |e manual| was pri|
|00003e70| 6e 74 65 64 2e 20 54 68 | 65 73 65 20 63 68 61 6e |nted. Th|ese chan|
|00003e80| 67 65 73 20 66 61 6c 6c | 20 69 6e 74 6f 0d 0a 74 |ges fall| into..t|
|00003e90| 77 6f 20 63 61 74 65 67 | 6f 72 69 65 73 3a 0d 0a |wo categ|ories:..|
|00003ea0| 0d 0a 20 20 31 2e 20 50 | 61 72 61 6d 65 74 65 72 |.. 1. P|arameter|
|00003eb0| 20 74 79 70 65 20 63 68 | 61 6e 67 65 73 2e 20 49 | type ch|anges. I|
|00003ec0| 6e 20 61 6e 20 65 66 66 | 6f 72 74 20 74 6f 20 6d |n an eff|ort to m|
|00003ed0| 61 6b 65 20 69 74 20 65 | 61 73 69 65 72 20 74 6f |ake it e|asier to|
|00003ee0| 0d 0a 20 20 20 20 20 72 | 65 6d 65 6d 62 65 72 20 |.. r|emember |
|00003ef0| 77 68 69 63 68 20 6e 75 | 6d 65 72 69 63 20 64 61 |which nu|meric da|
|00003f00| 74 61 20 74 79 70 65 73 | 20 61 72 65 20 75 73 65 |ta types| are use|
|00003f10| 64 20 69 6e 20 74 68 65 | 20 47 72 61 70 68 20 75 |d in the| Graph u|
|00003f20| 6e 69 74 2c 20 74 68 65 | 0d 0a 20 20 20 20 20 66 |nit, the|.. f|
|00003f30| 6f 6c 6c 6f 77 69 6e 67 | 20 63 6f 6e 76 65 6e 74 |ollowing| convent|
|00003f40| 69 6f 6e 73 20 61 72 65 | 20 6f 62 73 65 72 76 65 |ions are| observe|
|00003f50| 64 3a 0d 0a 0d 0a 20 20 | 20 20 20 6f 20 41 6c 6c |d:.... | o All|
|00003f60| 20 67 72 61 70 68 69 63 | 73 20 63 6f 6f 72 64 69 | graphic|s coordi|
|00003f70| 6e 61 74 65 73 20 61 72 | 65 20 6f 66 20 74 79 70 |nates ar|e of typ|
|00003f80| 65 20 69 6e 74 65 67 65 | 72 20 28 65 76 65 6e 20 |e intege|r (even |
|00003f90| 69 66 20 74 68 65 20 6d | 61 6e 75 61 6c 0d 0a 20 |if the m|anual.. |
|00003fa0| 20 20 20 20 20 20 73 61 | 79 73 20 58 2c 59 20 3a | sa|ys X,Y :|
|00003fb0| 20 77 6f 72 64 2c 20 66 | 6f 72 20 65 78 61 6d 70 | word, f|or examp|
|00003fc0| 6c 65 29 2e 0d 0a 20 20 | 20 20 20 6f 20 41 6c 6c |le)... | o All|
|00003fd0| 20 67 72 61 70 68 69 63 | 73 20 65 72 72 6f 72 73 | graphic|s errors|
|00003fe0| 20 61 72 65 20 6e 65 67 | 61 74 69 76 65 20 6e 75 | are neg|ative nu|
|00003ff0| 6d 62 65 72 73 20 28 61 | 6e 64 20 61 72 65 20 74 |mbers (a|nd are t|
|00004000| 68 65 72 65 66 6f 72 65 | 0d 0a 20 20 20 20 20 20 |herefore|.. |
|00004010| 20 72 65 74 75 72 6e 65 | 64 20 61 73 20 74 79 70 | returne|d as typ|
|00004020| 65 20 69 6e 74 65 67 65 | 72 29 2e 0d 0a 20 20 20 |e intege|r)... |
|00004030| 20 20 6f 20 54 68 65 20 | 61 63 74 69 76 65 20 64 | o The |active d|
|00004040| 72 69 76 65 72 20 61 6e | 64 20 6d 6f 64 65 20 61 |river an|d mode a|
|00004050| 72 65 20 6f 66 20 74 79 | 70 65 20 69 6e 74 65 67 |re of ty|pe integ|
|00004060| 65 72 20 28 62 65 63 61 | 75 73 65 20 74 68 65 79 |er (beca|use they|
|00004070| 0d 0a 20 20 20 20 20 20 | 20 61 72 65 20 75 73 65 |.. | are use|
|00004080| 64 20 61 73 20 65 72 72 | 6f 72 20 72 65 74 75 72 |d as err|or retur|
|00004090| 6e 73 29 2e 0d 0a 20 20 | 20 20 20 6f 20 4f 74 68 |ns)... | o Oth|
|000040a0| 65 72 20 6e 75 6d 65 72 | 69 63 20 70 61 72 61 6d |er numer|ic param|
|000040b0| 65 74 65 72 20 74 79 70 | 65 73 20 61 72 65 20 75 |eter typ|es are u|
|000040c0| 6e 73 69 67 6e 65 64 20 | 28 74 79 70 65 20 77 6f |nsigned |(type wo|
|000040d0| 72 64 20 6f 72 20 62 79 | 74 65 29 2e 0d 0a 0d 0a |rd or by|te).....|
|000040e0| 20 20 20 20 20 52 65 66 | 65 72 20 74 6f 20 62 65 | Ref|er to be|
|000040f0| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 74 68 69 73 20 |ginning |of this |
|00004100| 66 69 6c 65 20 66 6f 72 | 20 61 6e 20 75 70 2d 74 |file for| an up-t|
|00004110| 6f 2d 64 61 74 65 20 6c | 69 73 74 69 6e 67 20 6f |o-date l|isting o|
|00004120| 66 20 74 68 65 0d 0a 20 | 20 20 20 20 69 6e 74 65 |f the.. | inte|
|00004130| 72 66 61 63 65 20 73 65 | 63 74 69 6f 6e 20 66 6f |rface se|ction fo|
|00004140| 72 20 47 52 41 50 48 2e | 54 50 55 2e 20 41 6c 73 |r GRAPH.|TPU. Als|
|00004150| 6f 20 6e 6f 74 65 20 74 | 68 61 74 20 74 68 65 20 |o note t|hat the |
|00004160| 70 72 6f 63 65 64 75 72 | 65 20 61 6e 64 0d 0a 20 |procedur|e and.. |
|00004170| 20 20 20 20 66 75 6e 63 | 74 69 6f 6e 20 72 65 66 | func|tion ref|
|00004180| 65 72 65 6e 63 65 20 73 | 65 63 74 69 6f 6e 20 61 |erence s|ection a|
|00004190| 76 61 69 6c 61 62 6c 65 | 20 76 69 61 20 6f 6e 6c |vailable| via onl|
|000041a0| 69 6e 65 20 68 65 6c 70 | 20 69 73 0d 0a 20 20 20 |ine help| is.. |
|000041b0| 20 20 75 70 2d 74 6f 2d | 64 61 74 65 20 28 74 79 | up-to-|date (ty|
|000041c0| 70 65 20 46 31 20 69 6e | 20 74 68 65 20 69 6e 74 |pe F1 in| the int|
|000041d0| 65 67 72 61 74 65 64 20 | 65 6e 76 69 72 6f 6e 6d |egrated |environm|
|000041e0| 65 6e 74 29 2e 0d 0a 0d | 0a 20 20 32 2e 20 53 65 |ent)....|. 2. Se|
|000041f0| 76 65 72 61 6c 20 6e 65 | 77 20 70 72 6f 63 65 64 |veral ne|w proced|
|00004200| 75 72 65 73 20 61 6e 64 | 20 66 75 6e 63 74 69 6f |ures and| functio|
|00004210| 6e 73 20 68 61 76 65 20 | 62 65 65 6e 20 61 64 64 |ns have |been add|
|00004220| 65 64 2e 20 54 68 65 73 | 65 20 61 72 65 3a 0d 0a |ed. Thes|e are:..|
|00004230| 0d 0a 20 20 20 20 20 20 | 20 6f 20 47 65 74 46 69 |.. | o GetFi|
|00004240| 6c 6c 50 61 74 74 65 72 | 6e 20 2d 20 52 65 74 75 |llPatter|n - Retu|
|00004250| 72 6e 73 20 74 68 65 20 | 6c 61 73 74 20 66 69 6c |rns the |last fil|
|00004260| 6c 20 70 61 74 74 65 72 | 6e 20 73 65 74 20 62 79 |l patter|n set by|
|00004270| 20 61 20 63 61 6c 6c 0d | 0a 20 20 20 20 20 20 20 | a call.|. |
|00004280| 20 20 20 20 74 6f 20 53 | 65 74 46 69 6c 6c 50 61 | to S|etFillPa|
|00004290| 74 74 65 72 6e 2e 0d 0a | 0d 0a 20 20 20 20 20 20 |ttern...|.. |
|000042a0| 20 6f 20 47 65 74 4d 61 | 78 43 6f 6c 6f 72 20 2d | o GetMa|xColor -|
|000042b0| 20 52 65 74 75 72 6e 73 | 20 74 68 65 20 68 69 67 | Returns| the hig|
|000042c0| 68 65 73 74 20 63 6f 6c | 6f 72 20 74 68 61 74 20 |hest col|or that |
|000042d0| 63 61 6e 20 62 65 20 70 | 61 73 73 65 64 20 74 6f |can be p|assed to|
|000042e0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 74 68 65 |.. | the|
|000042f0| 20 53 65 74 43 6f 6c 6f | 72 20 70 72 6f 63 65 64 | SetColo|r proced|
|00004300| 75 72 65 2e 0d 0a 0d 0a | 20 20 20 20 20 20 20 6f |ure.....| o|
|00004310| 20 47 65 74 4d 6f 64 65 | 52 61 6e 67 65 20 2d 20 | GetMode|Range - |
|00004320| 52 65 74 75 72 6e 73 20 | 74 68 65 20 6c 6f 77 65 |Returns |the lowe|
|00004330| 73 74 20 61 6e 64 20 68 | 69 67 68 65 73 74 20 67 |st and h|ighest g|
|00004340| 72 61 70 68 69 63 73 20 | 6d 6f 64 65 73 0d 0a 20 |raphics |modes.. |
|00004350| 20 20 20 20 20 20 20 20 | 20 20 66 6f 72 20 61 20 | | for a |
|00004360| 67 69 76 65 6e 20 64 72 | 69 76 65 72 2e 0d 0a 0d |given dr|iver....|
|00004370| 0a 20 20 20 20 20 20 20 | 6f 20 47 72 61 70 68 44 |. |o GraphD|
|00004380| 65 66 61 75 6c 74 73 20 | 2d 20 48 6f 6d 65 73 20 |efaults |- Homes |
|00004390| 74 68 65 20 63 75 72 72 | 65 6e 74 20 70 6f 69 6e |the curr|ent poin|
|000043a0| 74 65 72 20 28 43 50 29 | 20 61 6e 64 20 72 65 73 |ter (CP)| and res|
|000043b0| 65 74 73 20 61 6c 6c 0d | 0a 20 20 20 20 20 20 20 |ets all.|. |
|000043c0| 20 20 20 20 67 72 61 70 | 68 69 63 73 20 73 79 73 | grap|hics sys|
|000043d0| 74 65 6d 20 64 65 66 61 | 75 6c 74 20 76 61 6c 75 |tem defa|ult valu|
|000043e0| 65 73 20 28 76 69 65 77 | 70 6f 72 74 2c 20 70 61 |es (view|port, pa|
|000043f0| 6c 65 74 74 65 2c 20 73 | 74 79 6c 65 73 2c 0d 0a |lette, s|tyles,..|
|00004400| 20 20 20 20 20 20 20 20 | 20 20 20 65 74 63 2e 29 | | etc.)|
|00004410| 2e 0d 0a 0d 0a 20 20 20 | 20 20 20 20 6f 20 52 65 |..... | o Re|
|00004420| 67 69 73 74 65 72 42 47 | 49 64 72 69 76 65 72 20 |gisterBG|Idriver |
|00004430| 2d 20 52 65 67 69 73 74 | 65 72 73 20 61 20 75 73 |- Regist|ers a us|
|00004440| 65 72 2d 6c 6f 61 64 65 | 64 20 6f 72 20 6c 69 6e |er-loade|d or lin|
|00004450| 6b 65 64 2d 69 6e 20 42 | 47 49 0d 0a 20 20 20 20 |ked-in B|GI.. |
|00004460| 20 20 20 20 20 20 20 64 | 72 69 76 65 72 20 77 69 | d|river wi|
|00004470| 74 68 20 74 68 65 20 67 | 72 61 70 68 69 63 73 20 |th the g|raphics |
|00004480| 73 79 73 74 65 6d 2e 0d | 0a 0d 0a 20 20 20 20 20 |system..|... |
|00004490| 20 20 6f 20 52 65 67 69 | 73 74 65 72 42 47 49 66 | o Regi|sterBGIf|
|000044a0| 6f 6e 74 20 2d 20 52 65 | 67 69 73 74 65 72 73 20 |ont - Re|gisters |
|000044b0| 61 20 75 73 65 72 2d 6c | 6f 61 64 65 64 20 6f 72 |a user-l|oaded or|
|000044c0| 20 6c 69 6e 6b 65 64 2d | 69 6e 20 42 47 49 0d 0a | linked-|in BGI..|
|000044d0| 20 20 20 20 20 20 20 20 | 20 20 20 66 6f 6e 74 20 | | font |
|000044e0| 77 69 74 68 20 74 68 65 | 20 67 72 61 70 68 69 63 |with the| graphic|
|000044f0| 73 20 73 79 73 74 65 6d | 2e 0d 0a 0d 0a 20 20 20 |s system|..... |
|00004500| 20 20 20 20 6f 20 53 65 | 74 47 72 61 70 68 42 75 | o Se|tGraphBu|
|00004510| 66 53 69 7a 65 20 2d 20 | 41 6c 6c 6f 77 73 20 79 |fSize - |Allows y|
|00004520| 6f 75 20 74 6f 20 63 68 | 61 6e 67 65 20 74 68 65 |ou to ch|ange the|
|00004530| 20 73 69 7a 65 20 6f 66 | 20 74 68 65 20 62 75 66 | size of| the buf|
|00004540| 66 65 72 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |fer.. | |
|00004550| 75 73 65 64 20 66 6f 72 | 20 73 63 61 6e 20 61 6e |used for| scan an|
|00004560| 64 20 66 6c 6f 6f 64 20 | 66 69 6c 6c 73 2e 0d 0a |d flood |fills...|
|00004570| 0d 0a 20 20 20 20 20 20 | 20 6f 20 53 65 74 55 73 |.. | o SetUs|
|00004580| 65 72 43 68 61 72 53 69 | 7a 65 20 2d 20 41 6c 6c |erCharSi|ze - All|
|00004590| 6f 77 73 20 74 68 65 20 | 75 73 65 72 20 74 6f 20 |ows the |user to |
|000045a0| 76 61 72 79 20 74 68 65 | 20 63 68 61 72 61 63 74 |vary the| charact|
|000045b0| 65 72 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 77 |er.. | w|
|000045c0| 69 64 74 68 20 61 6e 64 | 20 68 65 69 67 68 74 20 |idth and| height |
|000045d0| 66 6f 72 20 73 74 72 6f | 6b 65 64 20 66 6f 6e 74 |for stro|ked font|
|000045e0| 73 2e 0d 0a 0d 0a 0d 0a | 43 6f 72 72 65 63 74 69 |s.......|Correcti|
|000045f0| 6f 6e 73 2f 41 64 64 69 | 74 69 6f 6e 73 20 74 6f |ons/Addi|tions to|
|00004600| 20 74 68 65 20 47 72 61 | 70 68 69 63 73 20 44 6f | the Gra|phics Do|
|00004610| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 0d 0a 3d 3d 3d |cumentat|ion..===|
|00004620| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004630| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004640| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004650| 0d 0a 0d 0a 43 48 41 4e | 47 45 53 20 54 4f 20 49 |....CHAN|GES TO I|
|00004660| 4e 54 52 4f 44 55 43 54 | 4f 52 59 20 4d 41 54 45 |NTRODUCT|ORY MATE|
|00004670| 52 49 41 4c 0d 0a 0d 0a | 43 75 72 72 65 6e 74 20 |RIAL....|Current |
|00004680| 50 6f 73 69 74 69 6f 6e | 20 20 20 20 20 20 20 20 |Position| |
|00004690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000046a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000046b0| 20 20 20 20 50 2d 33 31 | 30 2c 20 34 34 37 0d 0a | P-31|0, 447..|
|000046c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000046d0| 0d 0a 20 20 20 20 54 68 | 65 20 72 6f 75 74 69 6e |.. Th|e routin|
|000046e0| 65 73 20 69 6e 20 74 68 | 65 20 47 72 61 70 68 20 |es in th|e Graph |
|000046f0| 75 6e 69 74 20 74 68 61 | 74 20 63 68 61 6e 67 65 |unit tha|t change|
|00004700| 20 74 68 65 20 43 50 20 | 61 72 65 0d 0a 0d 0a 20 | the CP |are.... |
|00004710| 20 20 20 20 20 2a 2a 49 | 6e 69 74 47 72 61 70 68 | **I|nitGraph|
|00004720| 2c 20 2a 2a 53 65 74 47 | 72 61 70 68 4d 6f 64 65 |, **SetG|raphMode|
|00004730| 2c 20 2a 2a 43 6c 65 61 | 72 44 65 76 69 63 65 2c |, **Clea|rDevice,|
|00004740| 20 2a 2a 47 72 61 70 68 | 44 65 66 61 75 6c 74 73 | **Graph|Defaults|
|00004750| 2c 0d 0a 20 20 20 20 20 | 20 2a 2a 43 6c 65 61 72 |,.. | **Clear|
|00004760| 56 69 65 77 50 6f 72 74 | 2c 20 2a 2a 53 65 74 56 |ViewPort|, **SetV|
|00004770| 69 65 77 50 6f 72 74 2c | 20 4d 6f 76 65 54 6f 2c |iewPort,| MoveTo,|
|00004780| 20 4d 6f 76 65 52 65 6c | 2c 20 4c 69 6e 65 54 6f | MoveRel|, LineTo|
|00004790| 2c 0d 0a 20 20 20 20 20 | 20 4c 69 6e 65 52 65 6c |,.. | LineRel|
|000047a0| 2c 20 4f 75 74 54 65 78 | 74 2e 0d 0a 0d 0a 20 20 |, OutTex|t..... |
|000047b0| 20 20 54 68 65 20 2a 2a | 20 69 6e 64 69 63 61 74 | The **| indicat|
|000047c0| 65 73 20 70 72 6f 63 65 | 64 75 72 65 73 20 74 68 |es proce|dures th|
|000047d0| 61 74 20 6d 6f 76 65 20 | 74 68 65 20 43 50 20 74 |at move |the CP t|
|000047e0| 6f 20 28 30 2c 30 29 2e | 0d 0a 0d 0a 44 72 69 76 |o (0,0).|....Driv|
|000047f0| 65 72 20 46 69 6c 65 73 | 0d 0a 2d 2d 2d 2d 2d 2d |er Files|..------|
|00004800| 2d 2d 2d 2d 2d 2d 0d 0a | 20 20 47 72 61 70 68 69 |------..| Graphi|
|00004810| 63 73 20 64 72 69 76 65 | 72 73 20 63 61 6e 20 62 |cs drive|rs can b|
|00004820| 65 20 6c 6f 61 64 65 64 | 20 62 79 20 49 6e 69 74 |e loaded| by Init|
|00004830| 47 72 61 70 68 2c 20 6f | 72 20 6c 6f 61 64 65 64 |Graph, o|r loaded|
|00004840| 20 61 6e 64 0d 0a 20 20 | 72 65 67 69 73 74 65 72 | and.. |register|
|00004850| 65 64 20 62 79 20 61 20 | 75 73 65 72 20 70 72 6f |ed by a |user pro|
|00004860| 67 72 61 6d 2e 20 49 6e | 20 61 64 64 69 74 69 6f |gram. In| additio|
|00004870| 6e 2c 20 79 6f 75 20 63 | 61 6e 20 6c 69 6e 6b 20 |n, you c|an link |
|00004880| 61 20 67 72 61 70 68 69 | 63 73 0d 0a 20 20 64 72 |a graphi|cs.. dr|
|00004890| 69 76 65 72 20 64 69 72 | 65 63 74 6c 79 20 69 6e |iver dir|ectly in|
|000048a0| 74 6f 20 61 6e 20 2e 45 | 58 45 20 66 69 6c 65 20 |to an .E|XE file |
|000048b0| 28 73 65 65 20 64 69 73 | 63 75 73 73 69 6f 6e 20 |(see dis|cussion |
|000048c0| 6f 66 0d 0a 20 20 52 65 | 67 69 73 74 65 72 42 47 |of.. Re|gisterBG|
|000048d0| 49 64 72 69 76 65 72 20 | 62 65 6c 6f 77 29 2e 20 |Idriver |below). |
|000048e0| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 64 72 |The foll|owing dr|
|000048f0| 69 76 65 72 73 20 61 72 | 65 20 70 72 6f 76 69 64 |ivers ar|e provid|
|00004900| 65 64 3a 0d 0a 0d 0a 20 | 20 20 20 43 47 41 2e 42 |ed:.... | CGA.B|
|00004910| 47 49 20 20 20 20 2d 20 | 64 72 69 76 65 72 20 66 |GI - |driver f|
|00004920| 6f 72 20 49 42 4d 20 43 | 47 41 2c 20 4d 43 47 41 |or IBM C|GA, MCGA|
|00004930| 0d 0a 20 20 20 20 45 47 | 41 56 47 41 2e 42 47 49 |.. EG|AVGA.BGI|
|00004940| 20 2d 20 64 72 69 76 65 | 72 20 66 6f 72 20 49 42 | - drive|r for IB|
|00004950| 4d 20 45 47 41 2c 20 56 | 47 41 0d 0a 20 20 20 20 |M EGA, V|GA.. |
|00004960| 48 45 52 43 2e 42 47 49 | 20 20 20 2d 20 64 72 69 |HERC.BGI| - dri|
|00004970| 76 65 72 20 66 6f 72 20 | 48 65 72 63 75 6c 65 73 |ver for |Hercules|
|00004980| 20 6d 6f 6e 6f 63 68 72 | 6f 6d 65 0d 0a 20 20 20 | monochr|ome.. |
|00004990| 20 41 54 54 2e 42 47 49 | 20 20 20 20 2d 20 64 72 | ATT.BGI| - dr|
|000049a0| 69 76 65 72 20 66 6f 72 | 20 41 54 26 54 20 36 33 |iver for| AT&T 63|
|000049b0| 30 30 20 28 34 30 30 20 | 6c 69 6e 65 29 0d 0a 20 |00 (400 |line).. |
|000049c0| 20 20 20 50 43 33 32 37 | 30 2e 42 47 49 20 2d 20 | PC327|0.BGI - |
|000049d0| 64 72 69 76 65 72 20 66 | 6f 72 20 49 42 4d 20 33 |driver f|or IBM 3|
|000049e0| 32 37 30 20 50 43 0d 0a | 0d 0a 46 6f 6e 74 20 46 |270 PC..|..Font F|
|000049f0| 69 6c 65 73 20 20 20 20 | 20 20 20 20 20 20 20 20 |iles | |
|00004a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004a20| 20 20 20 20 20 20 20 20 | 20 20 20 50 2d 33 31 31 | | P-311|
|00004a30| 0d 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 20 20 |..------|----.. |
|00004a40| 46 6f 6e 74 20 66 69 6c | 65 73 20 63 61 6e 20 62 |Font fil|es can b|
|00004a50| 65 20 6c 6f 61 64 65 64 | 20 66 72 6f 6d 20 64 69 |e loaded| from di|
|00004a60| 73 6b 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |sk autom|atically|
|00004a70| 20 62 79 20 74 68 65 20 | 47 72 61 70 68 20 75 6e | by the |Graph un|
|00004a80| 69 74 0d 0a 20 20 61 74 | 20 72 75 6e 74 69 6d 65 |it.. at| runtime|
|00004a90| 20 28 61 73 20 64 65 73 | 63 72 69 62 65 64 29 2c | (as des|cribed),|
|00004aa0| 20 6f 72 20 74 68 65 79 | 20 63 61 6e 20 61 6c 73 | or they| can als|
|00004ab0| 6f 20 62 65 20 6c 69 6e | 6b 65 64 20 69 6e 20 6f |o be lin|ked in o|
|00004ac0| 72 20 6c 6f 61 64 65 64 | |r loaded| |
+--------+-------------------------+-------------------------+--------+--------+