MDV Low Level Routines

Anything QL Software or Programming Related.
tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: MDV Low Level Routines

Post 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


User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: MDV Low Level Routines

Post 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


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: MDV Low Level Routines

Post 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


Post Reply