Make _printf() __fastcall__

git-svn-id: svn://svn.cc65.org/cc65/trunk@507 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-12-01 10:21:18 +00:00
parent 88fc6399db
commit 27f600e986
3 changed files with 12 additions and 11 deletions

View File

@@ -60,15 +60,15 @@ _printf:
lda (ptr1),y
jsr pushax
; Push the va_list
; Push va_list (last parameter to vfprintf)
lda ptr1
ldx ptr1+1
lda ptr1
ldx ptr1+1
jsr pushax
; Call vfprintf
jsr _vfprintf
jsr _vfprintf
; Cleanup the stack. We will return what we got from vfprintf