You don't need tricks to do it with VGA. There is a register specifically for that purpose. You can do it with CGA as well but that does require tricks.
(Like reprogramming the CRT controller on the fly to have reduced height lines at the top and bottom of the screen while doing the smooth scroll).
(Like reprogramming the CRT controller on the fly to have reduced height lines at the top and bottom of the screen while doing the smooth scroll).