2 ; Maciej 'YTM/Elysium' Witkowiak
5 ; this function is used by dio_read and dio_write to fix parameters (secnum)
6 ; this function calls SetDevice so that more than one drive can be used at once
8 .import popax,pushax,_dio_log_to_phys
10 .export dio_params,dio_secnum
11 .include "../inc/geossym.inc"
12 .include "../inc/jumptab.inc"
13 .include "../inc/dio.inc"
28 jsr popax ; get 3rd parameter
32 jsr pushax ; put it back
41 jsr SetDevice ; setup device, load driver