Home » Archimedes archive » Acorn User » AU 1995-01.adf » !StarInfo_StarInfo » Lewis/!OldModes/!Help
Lewis/!OldModes/!Help
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1995-01.adf » !StarInfo_StarInfo |
Filename: | Lewis/!OldModes/!Help |
Read OK: | ✔ |
File size: | 053B bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
OldModes ======== Note: RiscPC only Introduction ------------ This module creates a menu of old style pre RiscOS 3.50 modes when adjust is clicked on the Display Manager's icon on the icon bar. This is useful as some pre RiscPC applications do not like the new style modes and it saves you having to type in the mode. Use --- Clicking adjust on the Display Manager's icon generates the menu. Clicking on the mode number in the menu changes the Wimp mode. Clicking on quit turns off the module. Programmer's note ----------------- Templates MUST be defined whilst in the host task and so this module does this using a flag. When a mouse click is received by the Display Manager a flag is checked by the module and if it is clear then the templates are loaded and defined. This ALWAYS occurs before any menus are generated and so the 'info' window can be attached to the module's menu before it is produced. The flag is set once the templates are loaded. Copyright --------- This application is submitted under Acorn Users PD scheme and is � Matt Lewis after 3 months. The source code is included so that people can get ideas from it and should not be changed. Matt Lewis Weird Sheep Software Field House Primrose Hill Cowbridge Email to : Internet : 100344.3670@CompuServe.Com CServe : 100344,3670 Arcade : User 1547
00000000 4f 6c 64 4d 6f 64 65 73 20 0a 3d 3d 3d 3d 3d 3d |OldModes .======| 00000010 3d 3d 0a 0a 4e 6f 74 65 3a 20 20 52 69 73 63 50 |==..Note: RiscP| 00000020 43 20 6f 6e 6c 79 0a 0a 49 6e 74 72 6f 64 75 63 |C only..Introduc| 00000030 74 69 6f 6e 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |tion.-----------| 00000040 2d 0a 0a 54 68 69 73 20 6d 6f 64 75 6c 65 20 63 |-..This module c| 00000050 72 65 61 74 65 73 20 61 20 6d 65 6e 75 20 6f 66 |reates a menu of| 00000060 20 6f 6c 64 20 73 74 79 6c 65 20 70 72 65 20 0a | old style pre .| 00000070 52 69 73 63 4f 53 20 33 2e 35 30 20 6d 6f 64 65 |RiscOS 3.50 mode| 00000080 73 20 77 68 65 6e 20 61 64 6a 75 73 74 20 69 73 |s when adjust is| 00000090 20 63 6c 69 63 6b 65 64 20 6f 6e 0a 74 68 65 20 | clicked on.the | 000000a0 44 69 73 70 6c 61 79 20 4d 61 6e 61 67 65 72 27 |Display Manager'| 000000b0 73 20 69 63 6f 6e 20 6f 6e 20 74 68 65 20 69 63 |s icon on the ic| 000000c0 6f 6e 20 62 61 72 2e 0a 54 68 69 73 20 69 73 20 |on bar..This is | 000000d0 75 73 65 66 75 6c 20 61 73 20 73 6f 6d 65 20 70 |useful as some p| 000000e0 72 65 20 52 69 73 63 50 43 20 61 70 70 6c 69 63 |re RiscPC applic| 000000f0 61 74 69 6f 6e 73 0a 64 6f 20 6e 6f 74 20 6c 69 |ations.do not li| 00000100 6b 65 20 74 68 65 20 6e 65 77 20 73 74 79 6c 65 |ke the new style| 00000110 20 6d 6f 64 65 73 20 61 6e 64 20 69 74 20 73 61 | modes and it sa| 00000120 76 65 73 0a 79 6f 75 20 68 61 76 69 6e 67 20 74 |ves.you having t| 00000130 6f 20 74 79 70 65 20 69 6e 20 74 68 65 20 6d 6f |o type in the mo| 00000140 64 65 2e 0a 0a 55 73 65 0a 2d 2d 2d 0a 0a 43 6c |de...Use.---..Cl| 00000150 69 63 6b 69 6e 67 20 61 64 6a 75 73 74 20 6f 6e |icking adjust on| 00000160 20 74 68 65 20 44 69 73 70 6c 61 79 20 4d 61 6e | the Display Man| 00000170 61 67 65 72 27 73 20 69 63 6f 6e 0a 67 65 6e 65 |ager's icon.gene| 00000180 72 61 74 65 73 20 74 68 65 20 6d 65 6e 75 2e 0a |rates the menu..| 00000190 0a 43 6c 69 63 6b 69 6e 67 20 6f 6e 20 74 68 65 |.Clicking on the| 000001a0 20 6d 6f 64 65 20 6e 75 6d 62 65 72 20 69 6e 20 | mode number in | 000001b0 74 68 65 20 6d 65 6e 75 0a 63 68 61 6e 67 65 73 |the menu.changes| 000001c0 20 74 68 65 20 57 69 6d 70 20 6d 6f 64 65 2e 20 | the Wimp mode. | 000001d0 20 43 6c 69 63 6b 69 6e 67 20 6f 6e 20 71 75 69 | Clicking on qui| 000001e0 74 20 74 75 72 6e 73 0a 6f 66 66 20 74 68 65 20 |t turns.off the | 000001f0 6d 6f 64 75 6c 65 2e 0a 0a 50 72 6f 67 72 61 6d |module...Program| 00000200 6d 65 72 27 73 20 6e 6f 74 65 0a 2d 2d 2d 2d 2d |mer's note.-----| 00000210 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 65 |------------..Te| 00000220 6d 70 6c 61 74 65 73 20 4d 55 53 54 20 62 65 20 |mplates MUST be | 00000230 64 65 66 69 6e 65 64 20 77 68 69 6c 73 74 20 69 |defined whilst i| 00000240 6e 20 74 68 65 20 68 6f 73 74 0a 74 61 73 6b 20 |n the host.task | 00000250 61 6e 64 20 73 6f 20 74 68 69 73 20 6d 6f 64 75 |and so this modu| 00000260 6c 65 20 64 6f 65 73 20 74 68 69 73 20 75 73 69 |le does this usi| 00000270 6e 67 20 61 20 66 6c 61 67 2e 0a 57 68 65 6e 20 |ng a flag..When | 00000280 61 20 6d 6f 75 73 65 20 63 6c 69 63 6b 20 69 73 |a mouse click is| 00000290 20 72 65 63 65 69 76 65 64 20 62 79 20 74 68 65 | received by the| 000002a0 20 44 69 73 70 6c 61 79 0a 4d 61 6e 61 67 65 72 | Display.Manager| 000002b0 20 61 20 66 6c 61 67 20 69 73 20 63 68 65 63 6b | a flag is check| 000002c0 65 64 20 62 79 20 74 68 65 20 6d 6f 64 75 6c 65 |ed by the module| 000002d0 20 61 6e 64 20 69 66 0a 69 74 20 69 73 20 63 6c | and if.it is cl| 000002e0 65 61 72 20 74 68 65 6e 20 74 68 65 20 74 65 6d |ear then the tem| 000002f0 70 6c 61 74 65 73 20 61 72 65 20 6c 6f 61 64 65 |plates are loade| 00000300 64 20 61 6e 64 0a 64 65 66 69 6e 65 64 2e 20 20 |d and.defined. | 00000310 54 68 69 73 20 41 4c 57 41 59 53 20 6f 63 63 75 |This ALWAYS occu| 00000320 72 73 20 62 65 66 6f 72 65 20 61 6e 79 20 6d 65 |rs before any me| 00000330 6e 75 73 0a 61 72 65 20 67 65 6e 65 72 61 74 65 |nus.are generate| 00000340 64 20 61 6e 64 20 73 6f 20 74 68 65 20 27 69 6e |d and so the 'in| 00000350 66 6f 27 20 77 69 6e 64 6f 77 20 63 61 6e 0a 62 |fo' window can.b| 00000360 65 20 61 74 74 61 63 68 65 64 20 74 6f 20 74 68 |e attached to th| 00000370 65 20 6d 6f 64 75 6c 65 27 73 20 6d 65 6e 75 20 |e module's menu | 00000380 62 65 66 6f 72 65 20 69 74 20 69 73 0a 70 72 6f |before it is.pro| 00000390 64 75 63 65 64 2e 20 54 68 65 20 66 6c 61 67 20 |duced. The flag | 000003a0 69 73 20 73 65 74 20 6f 6e 63 65 20 74 68 65 20 |is set once the | 000003b0 74 65 6d 70 6c 61 74 65 73 0a 61 72 65 20 6c 6f |templates.are lo| 000003c0 61 64 65 64 2e 0a 0a 43 6f 70 79 72 69 67 68 74 |aded...Copyright| 000003d0 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 |.---------..This| 000003e0 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 69 73 20 | application is | 000003f0 73 75 62 6d 69 74 74 65 64 20 75 6e 64 65 72 20 |submitted under | 00000400 41 63 6f 72 6e 20 55 73 65 72 73 0a 50 44 20 73 |Acorn Users.PD s| 00000410 63 68 65 6d 65 20 61 6e 64 20 69 73 20 a9 20 4d |cheme and is . M| 00000420 61 74 74 20 4c 65 77 69 73 20 61 66 74 65 72 20 |att Lewis after | 00000430 33 20 6d 6f 6e 74 68 73 2e 0a 54 68 65 20 73 6f |3 months..The so| 00000440 75 72 63 65 20 63 6f 64 65 20 69 73 20 69 6e 63 |urce code is inc| 00000450 6c 75 64 65 64 20 73 6f 20 74 68 61 74 20 70 65 |luded so that pe| 00000460 6f 70 6c 65 20 63 61 6e 0a 67 65 74 20 69 64 65 |ople can.get ide| 00000470 61 73 20 66 72 6f 6d 20 69 74 20 61 6e 64 20 73 |as from it and s| 00000480 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 63 68 61 |hould not be cha| 00000490 6e 67 65 64 2e 0a 0a 0a 0a 4d 61 74 74 20 4c 65 |nged.....Matt Le| 000004a0 77 69 73 0a 57 65 69 72 64 20 53 68 65 65 70 20 |wis.Weird Sheep | 000004b0 53 6f 66 74 77 61 72 65 0a 46 69 65 6c 64 20 48 |Software.Field H| 000004c0 6f 75 73 65 0a 50 72 69 6d 72 6f 73 65 20 48 69 |ouse.Primrose Hi| 000004d0 6c 6c 0a 43 6f 77 62 72 69 64 67 65 0a 0a 45 6d |ll.Cowbridge..Em| 000004e0 61 69 6c 20 74 6f 20 3a 0a 0a 49 6e 74 65 72 6e |ail to :..Intern| 000004f0 65 74 20 3a 20 31 30 30 33 34 34 2e 33 36 37 30 |et : 100344.3670| 00000500 40 43 6f 6d 70 75 53 65 72 76 65 2e 43 6f 6d 0a |@CompuServe.Com.| 00000510 43 53 65 72 76 65 20 20 20 3a 20 31 30 30 33 34 |CServe : 10034| 00000520 34 2c 33 36 37 30 0a 41 72 63 61 64 65 20 20 20 |4,3670.Arcade | 00000530 3a 20 55 73 65 72 20 31 35 34 37 |: User 1547| 0000053b