I'm using MASM and dosBOX
Basically I have to create a top 10 based on the time someone took to finish a maze.
I started by resetting the system time to 0 when the user passes through the initial character of the maze by doing this:
mov ah, 2Dh
mov ch, 00
mov cl, 00
mov dh, 00
int 21h
And then when the user reaches the end of the maze i get the system time again and store the time in 2 variables.
mov ah, 2Ch
int 21h
mov Final_Min, cl
mov Final_Sec, dh
Now my problem is , how do i convert those "Final_Min" to seconds and add them to "Final_Sec" so i can get the total time someone took to finish the maze and how do I store these values in an array ?