aboutsummaryrefslogtreecommitdiff
path: root/scripts/vgafixup.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vgafixup.py')
-rw-r--r--scripts/vgafixup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vgafixup.py b/scripts/vgafixup.py
index 52fb934..2493f35 100644
--- a/scripts/vgafixup.py
+++ b/scripts/vgafixup.py
@@ -28,6 +28,8 @@ def main():
out.append('retw $2\n')
elif sline == 'leave':
out.append('movl %ebp, %esp ; popl %ebp\n')
+ elif sline.startswith('call'):
+ out.append('pushw %ax ; callw' + sline[4:] + '\n')
else:
out.append(line)
infile.close()