Print error message in pop_frame when the frame stack is empty

This commit is contained in:
pjht 2023-03-28 12:27:03 -05:00
parent 2a0ebb88df
commit 0f7ab3941f
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A

View File

@ -42,8 +42,13 @@ move.l mmu_tlb_clear_addr, a0 | Clear the TLB entry for the mapping page
move.l #map_page, (a0)
rts
pop_no_page:
move.l #oom_error_str, a0
jsr term_println
stop #2700
.data
oom_error_str: .asciz "Out of physical memory"
.bss
mmu_tlb_clear_addr:
.ds.b 4