Fix startup code loading starting physical page of segemnt in wrong register

This commit is contained in:
pjht 2023-03-24 13:25:26 -05:00
parent 5397400960
commit 912f4534a4
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -23,7 +23,7 @@ beq.b even_page
addq.l #1, d3
even_page:
subq.b #1, d3 | | Adjust the number of pages to map for dbra
move.l (12, a1), d2 | Get the starting physical page in d3
move.l (12, a1), d1 | Get the starting physical page in d3
ori.l #3, d1 | Set the present and writable falgs on the entry
move.l (8, a1), d0 | Get the starting virtual page number in the quarter in d0
lsr.l #8, d0