Prova a usare gli interrupt del DOS (INT 21h), a me funzionava