I read that we can know the current text mode page directly by an interrupt like this code:
mov ah, 15 int 10h
the current page number will b