Mercurial > hg > Members > kono > nitros9-code
changeset 3057:1a76d7b57aa6
level 1 krn: Fix stack injection on 6309
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 25 Jan 2015 22:36:04 +0100 |
parents | dde1b2fc79fc |
children | 958f7a277064 |
files | level1/modules/kernel/krn.asm |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/level1/modules/kernel/krn.asm Sun Jan 25 22:36:03 2015 +0100 +++ b/level1/modules/kernel/krn.asm Sun Jan 25 22:36:04 2015 +0100 @@ -865,7 +865,7 @@ bhi L05B6 * set up registers for return of F$Fork/F$Chain L05BE ldx <D.Proc - sty -$08,y put in X on caller stack + sty -R$Size+R$X,y put in X on caller stack leay -R$Size,y back up register size sty P$SP,x lda P$ADDR,x