Hi there and sorry if this is a silly question, but I'm slightly confused about the ticks in relation to Portamento slides...

I have worked with Milky Tracker in the past but am having understanding how much of a slide occurs inbetween rows in DefleMask.

To simplify the question, let's say I have C-3 in row 000 and I wish to slide it to D#3 by row 002, if I wish to slide the note upwards and halt the slide on row 002, how would I achieve this using Portamento up (01 xx) and how would I do this with Portamento to note (03 xx)?

Is there an equation and what variables do I need to take into consideration?