Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199609.adf » Extras » PDScheme/Atterer/!SwitchF/SetCountry

PDScheme/Atterer/!SwitchF/SetCountry

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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199609.adf » Extras
Filename: PDScheme/Atterer/!SwitchF/SetCountry
Read OK:
File size: 011B bytes
Load address: 0000
Exec address: 0000
File contents
   10REM Set variable 'SwitchF$Country' to configured country
   11REM Only 2 characters allowed!
   12
   13SYS"OS_Byte",240,0,255 TO ,nr%
   14REM nr% contains country number, e.g.:
   15REM 0=Default
   16REM 1=UK
   17REM 6=France
   18REM 7=Germany
   19*Set SwitchF$Country UK
   20IFnr%=7THEN*Set SwitchF$Country Ge

:� Set variable 'SwitchF$Country' to configured country
 � Only 2 characters allowed!


 ș"OS_Byte",240,0,255 � ,nr%
(� nr% contains country number, e.g.:
� 0=Default

� 1=UK
� 6=France
� 7=Germany
*Set SwitchF$Country UK
"�nr%=7�*Set SwitchF$Country Ge
�
00000000  0d 00 0a 3a f4 20 53 65  74 20 76 61 72 69 61 62  |...:. Set variab|
00000010  6c 65 20 27 53 77 69 74  63 68 46 24 43 6f 75 6e  |le 'SwitchF$Coun|
00000020  74 72 79 27 20 74 6f 20  63 6f 6e 66 69 67 75 72  |try' to configur|
00000030  65 64 20 63 6f 75 6e 74  72 79 0d 00 0b 20 f4 20  |ed country... . |
00000040  4f 6e 6c 79 20 32 20 63  68 61 72 61 63 74 65 72  |Only 2 character|
00000050  73 20 61 6c 6c 6f 77 65  64 21 0d 00 0c 04 0d 00  |s allowed!......|
00000060  0d 20 c8 99 22 4f 53 5f  42 79 74 65 22 2c 32 34  |. .."OS_Byte",24|
00000070  30 2c 30 2c 32 35 35 20  b8 20 2c 6e 72 25 0d 00  |0,0,255 . ,nr%..|
00000080  0e 28 f4 20 6e 72 25 20  63 6f 6e 74 61 69 6e 73  |.(. nr% contains|
00000090  20 63 6f 75 6e 74 72 79  20 6e 75 6d 62 65 72 2c  | country number,|
000000a0  20 65 2e 67 2e 3a 0d 00  0f 0f f4 20 30 3d 44 65  | e.g.:..... 0=De|
000000b0  66 61 75 6c 74 0d 00 10  0a f4 20 31 3d 55 4b 0d  |fault..... 1=UK.|
000000c0  00 11 0e f4 20 36 3d 46  72 61 6e 63 65 0d 00 12  |.... 6=France...|
000000d0  0f f4 20 37 3d 47 65 72  6d 61 6e 79 0d 00 13 1b  |.. 7=Germany....|
000000e0  2a 53 65 74 20 53 77 69  74 63 68 46 24 43 6f 75  |*Set SwitchF$Cou|
000000f0  6e 74 72 79 20 55 4b 0d  00 14 22 e7 6e 72 25 3d  |ntry UK...".nr%=|
00000100  37 8c 2a 53 65 74 20 53  77 69 74 63 68 46 24 43  |7.*Set SwitchF$C|
00000110  6f 75 6e 74 72 79 20 47  65 0d ff                 |ountry Ge..|
0000011b