notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac871e1
)
z80, DrZ80: another fix for EABI stack alignment
author
kub
<derkub@gmail.com>
Tue, 14 Dec 2021 19:20:12 +0000
(20:20 +0100)
committer
kub
<derkub@gmail.com>
Tue, 14 Dec 2021 19:20:12 +0000
(20:20 +0100)
cpu/DrZ80/drz80.S
patch
|
blob
|
blame
|
history
diff --git
a/cpu/DrZ80/drz80.S
b/cpu/DrZ80/drz80.S
index
d7eaa0d
..
e4e1047
100644
(file)
--- a/
cpu/DrZ80/drz80.S
+++ b/
cpu/DrZ80/drz80.S
@@
-1517,7
+1517,7
@@
DoInterrupt_end:
ldr r0,[cpucontext, #z80irqcallback]
\r
tst r0,r0
\r
streqb r0,[cpucontext,#z80irq] ;@ default handling
\r
- ldmeqfd sp!,{pc}
\r
+ ldmeqfd sp!,{
r2,
pc}
\r
stmfd sp!,{r3,r12}
\r
mov lr,pc
\r
mov pc,r0 ;@ call callback function
\r