The code used to scan for drivers using the PlayIt_ListDrivers SWI should look something like this Basic pseudo-code:

`
index=0
REPEAT
SYS "PlayIt_ListDrivers",howmuch,dir$,buffer,,index TO ,,,numread,index
IF numread = 1 THEN
id = buffer!0
IF buffer?4 THEN filename is at buffer+buffer?4
IF buffer?5 THEN name is at buffer+buffer?5
IF buffer?6 THEN description is at buffer+buffer?6
IF buffer?7 THEN version is at buffer+buffer?7
ENDIF
UNTIL index < 0`

[ Parent ] [ Manual root ]