Page 13 of 13

Re: MDV Low Level Routines

Posted: Sat Mar 11, 2017 5:27 pm
by tcat
Hi,

After many, many tries I am not able to call `Minerva' vectored routines, MD.SELEC, and MD.DESEL.
I ended up writing my own routines, albeit imperfect, do not crash the machine.

Tomas

Re: MDV Low Level Routines

Posted: Sat Mar 11, 2017 5:47 pm
by tofro
Tomas,

have you consulted the "QL Technical Guide" page 60 ff? There are example routines to select and de-select drives that are announced to "be supported in future versions of QDOS". I'd guess that was what Minerva has actually implemented. The routines in the TG actually work reliably - I once tested them last century...

Tobias

Re: MDV Low Level Routines

Posted: Sat Mar 11, 2017 6:58 pm
by tcat
Hi Tobias,

Thank you, not knowing better, this is what I actually resorted to.
TG routines work `Minerva' and also `JS' , but have some problems with `MG' as it seems.
So I currently maintain two forks of code, `AH-JS,MG' and `Minerva'.

EDIT
TG routines work for all tested roms here, I've had problems with sign extension on longs.

Many thanks
Tomas