Home » Archimedes archive » Acorn Computing » 1994 03.adf » 9403 » Asylum/!AsylumDem/Modules/VsyncPat

Asylum/!AsylumDem/Modules/VsyncPat

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 Computing » 1994 03.adf » 9403
Filename: Asylum/!AsylumDem/Modules/VsyncPat
Read OK:
File size: 038C bytes
Load address: 0000
Exec address: 0000
File contents
X|,8X���VsyncPatrolVsync Patrol	1.01 (26 Mar 1993)VsyncPatrol�VsyncPatrol_SetSWIbasee8	�Vsync Patrol provides more versatile vsync waiting.  When the SWI "VsyncPatrol_Wait" is issued, the module returns after R0 vsyncs have passed since it was last called.

On return, R0 contains the number of vsyncs which have elapsed since the previous call.

Public Domain by A.Southgate


 sets the swi base number for this module.  The default is &4C0C0

 <number>IGNVsyncPatrolWaitGetAddressc P@-����� ��!�? ��<"����@-���8�� �����������@-�
��������� �� ����P��-�����������[�
[� O���-�(���4� A�P������0�0��0��jX�P���`�d�@�������������fUnknown VsyncPatrol SWI.
��������fExcessive Vsync wait.or
00000000  00 00 00 00 58 02 00 00  7c 02 00 00 00 00 00 00  |....X...|.......|
00000010  2c 00 00 00 38 00 00 00  58 00 00 00 c0 c0 04 00  |,...8...X.......|
00000020  c8 02 00 00 18 02 00 00  00 00 00 00 56 73 79 6e  |............Vsyn|
00000030  63 50 61 74 72 6f 6c 00  56 73 79 6e 63 20 50 61  |cPatrol.Vsync Pa|
00000040  74 72 6f 6c 09 31 2e 30  31 20 28 32 36 20 4d 61  |trol.1.01 (26 Ma|
00000050  72 20 31 39 39 33 29 00  56 73 79 6e 63 50 61 74  |r 1993).VsyncPat|
00000060  72 6f 6c 00 00 00 00 00  00 00 00 00 00 00 00 00  |rol.............|
00000070  a0 00 00 00 56 73 79 6e  63 50 61 74 72 6f 6c 5f  |....VsyncPatrol_|
00000080  53 65 74 53 57 49 62 61  73 65 00 65 38 02 00 00  |SetSWIbase.e8...|
00000090  01 01 01 00 09 02 00 00  c4 01 00 00 00 00 00 00  |................|
000000a0  56 73 79 6e 63 20 50 61  74 72 6f 6c 20 70 72 6f  |Vsync Patrol pro|
000000b0  76 69 64 65 73 20 6d 6f  72 65 20 76 65 72 73 61  |vides more versa|
000000c0  74 69 6c 65 20 76 73 79  6e 63 20 77 61 69 74 69  |tile vsync waiti|
000000d0  6e 67 2e 20 20 57 68 65  6e 20 74 68 65 20 53 57  |ng.  When the SW|
000000e0  49 20 22 56 73 79 6e 63  50 61 74 72 6f 6c 5f 57  |I "VsyncPatrol_W|
000000f0  61 69 74 22 20 69 73 20  69 73 73 75 65 64 2c 20  |ait" is issued, |
00000100  74 68 65 20 6d 6f 64 75  6c 65 20 72 65 74 75 72  |the module retur|
00000110  6e 73 20 61 66 74 65 72  20 52 30 20 76 73 79 6e  |ns after R0 vsyn|
00000120  63 73 20 68 61 76 65 20  70 61 73 73 65 64 20 73  |cs have passed s|
00000130  69 6e 63 65 20 69 74 20  77 61 73 20 6c 61 73 74  |ince it was last|
00000140  20 63 61 6c 6c 65 64 2e  0a 0d 4f 6e 20 72 65 74  | called...On ret|
00000150  75 72 6e 2c 20 52 30 20  63 6f 6e 74 61 69 6e 73  |urn, R0 contains|
00000160  20 74 68 65 20 6e 75 6d  62 65 72 20 6f 66 20 76  | the number of v|
00000170  73 79 6e 63 73 20 77 68  69 63 68 20 68 61 76 65  |syncs which have|
00000180  20 65 6c 61 70 73 65 64  20 73 69 6e 63 65 20 74  | elapsed since t|
00000190  68 65 20 70 72 65 76 69  6f 75 73 20 63 61 6c 6c  |he previous call|
000001a0  2e 0a 0d 50 75 62 6c 69  63 20 44 6f 6d 61 69 6e  |...Public Domain|
000001b0  20 62 79 20 41 2e 53 6f  75 74 68 67 61 74 65 0a  | by A.Southgate.|
000001c0  0d 00 0d 00 1b 00 20 73  65 74 73 20 74 68 65 20  |...... sets the |
000001d0  73 77 69 20 62 61 73 65  20 6e 75 6d 62 65 72 20  |swi base number |
000001e0  66 6f 72 20 74 68 69 73  20 6d 6f 64 75 6c 65 2e  |for this module.|
000001f0  20 20 54 68 65 20 64 65  66 61 75 6c 74 20 69 73  |  The default is|
00000200  20 26 34 43 30 43 30 0a  0d 1b 01 20 3c 6e 75 6d  | &4C0C0.... <num|
00000210  62 65 72 3e 00 49 47 4e  56 73 79 6e 63 50 61 74  |ber>.IGNVsyncPat|
00000220  72 6f 6c 00 57 61 69 74  00 47 65 74 41 64 64 72  |rol.Wait.GetAddr|
00000230  65 73 73 00 00 63 20 50  00 40 2d e9 00 10 a0 e1  |ess..c P.@-.....|
00000240  10 00 a0 e3 00 20 a0 e3  21 00 00 ef 3f 20 c2 e3  |..... ..!...? ..|
00000250  3c 22 0f e5 00 80 bd e8  00 40 2d e9 10 00 a0 e3  |<".......@-.....|
00000260  38 10 8f e2 00 20 a0 e3  1f 00 00 ef 0e 00 a0 e3  |8.... ..........|
00000270  04 10 a0 e3 06 00 00 ef  00 80 bd e8 00 40 2d e9  |.............@-.|
00000280  0d 00 a0 e3 04 10 a0 e3  06 00 00 ef 10 00 a0 e3  |................|
00000290  08 10 8f e2 00 20 a0 e3  20 00 00 ef 00 80 bd e8  |..... .. .......|
000002a0  04 00 50 e3 0e f0 b0 11  01 00 2d e9 0c 00 9f e5  |..P.......-.....|
000002b0  01 00 80 e2 04 00 8f e5  01 00 bd e8 0e f0 b0 e1  |................|
000002c0  00 00 00 00 00 00 00 00  00 00 5b e3 03 00 00 0a  |..........[.....|
000002d0  01 00 5b e3 16 00 00 1a  20 00 4f e2 0e f0 a0 e1  |..[..... .O.....|
000002e0  04 00 2d e9 28 10 1f e5  00 10 81 e0 34 00 1f e5  |..-.(.......4...|
000002f0  00 20 41 e0 01 00 50 e1  01 10 80 a2 03 03 8e e3  |. A...P.........|
00000300  03 f3 30 e3 00 30 a0 e3  80 30 93 e2 13 00 00 6a  |..0..0...0.....j|
00000310  58 00 1f e5 01 00 50 e1  fa ff ff ba 60 10 1f e5  |X.....P.....`...|
00000320  64 00 0f e5 01 00 40 e0  02 10 a0 e1 04 00 bd e8  |d.....@.........|
00000330  0e f0 a0 e1 04 00 8f e2  01 e2 8e e3 0e f0 b0 e1  |................|
00000340  66 06 00 00 55 6e 6b 6e  6f 77 6e 20 56 73 79 6e  |f...Unknown Vsyn|
00000350  63 50 61 74 72 6f 6c 20  53 57 49 2e 00 02 1c 0d  |cPatrol SWI.....|
00000360  04 00 bd e8 04 00 8f e2  01 e2 8e e3 0e f0 b0 e1  |................|
00000370  66 06 00 00 45 78 63 65  73 73 69 76 65 20 56 73  |f...Excessive Vs|
00000380  79 6e 63 20 77 61 69 74  2e 00 6f 72              |ync wait..or|
0000038c