works pretty reliable now under MiNT

This commit is contained in:
Markus Fröschle
2013-05-11 18:27:00 +00:00
parent 62f5eae5dd
commit 4b7dc9c5a0
5 changed files with 76 additions and 34 deletions

View File

@@ -16,10 +16,6 @@ _xhdi_vec:
lea -12(sp),sp // save all used registers according to XHDI spec
movem.l d1/a0-a1,(sp)
move.l _drvbits,d0
bset.l #('S'-'A'),d0 // add drive S
move.l d0,_drvbits
pea 16(sp) // forward address of parameters on stack
jsr _xhdi_call // to internal routine
addq.l #4,sp // correct stack