Forum unknown
· Programming
#kprintf()
17 messages in this thread
I've seen it in several places where neither amiga.lib or a startup
library could be used. This leads me to believe it might be an interesting
macro. Todd
Someone else replied to me that it's part of the debug code, and
prints just like printf() except to the serial port for use by an external
terminal.
I just got the 1.2 include strip from Commodore, which includes debug.doc.
kprintf() is not mentioned anywhere in it, so I'll probably have to do a
OML listing of the library to find out if that's true. However, I saw it
used in a printer driver, where I believe you can't use ANY sort of library
before printertag.obj so I'm kind of confused. It's possible that he added
it last in the link list though. Since I don't have a 9600 baud terminal
yet, the debug.lib is useless to me (unfortunately).
Take a look at the Dual Playfield demo I uploaded. It uses k
kprintf. Oops, maybe thats where you saw it. I'm not sure why its not in
the docs. It isn't in the RKM either. But it is in the object lib. John
Take a look at the Dual Playfield demo I uploaded. It uses k
kprintf. Oops, maybe thats where you saw it. I'm not sure why its not in
the docs. It isn't in the RKM either. But it is in the object lib. John
There is a problem with the Gamma 1 include strip file that I
recieved from CBM. It seems that they stripped a bit too much from some of
the files makeing them unusable. Use the Gamma 1 include files. Jim
Thanks, I will. Although, I'm not sure exactly what I have. I got
2 disks from them: 1 labelled "v1.2 – GAMMA1 INCLUDE.STRIP" and the other
labelled "v1.2 – GAMMA1 INCLUDE". The only difference that I've been able
to find is that the 2nd disk doesn't have the doc files. I'll have to look
more closely. Also, the only autodoc files that I found were:
debug.doc clib.doc exec_support.doc dos.doc mathlink.doc
Can you tell me if there are any others? (Intuition, Graphics, and
other libraries that have changed with 1.2). Basically, I've been trying
to figure out exactly what the changes in 1.2 are and have been having a
hard time at it. Any info is appreciated.
Thanks, I will. Although, I'm not sure exactly what I have. I got
2 disks from them: 1 labelled "v1.2 – GAMMA1 INCLUDE.STRIP" and the other
labelled "v1.2 – GAMMA1 INCLUDE". The only difference that I've been able
to find is that the 2nd disk doesn't have the doc files. I'll have to look
more closely. Also, the only autodoc files that I found were:
debug.doc clib.doc exec_support.doc dos.doc mathlink.doc
Can you tell me if there are any others? (Intuition, Graphics, and
other libraries that have changed with 1.2). Basically, I've been trying
to figure out exactly what the changes in 1.2 are and have been having a
hard time at it. Any info is appreciated.
There is a problem with the Gamma 1 include strip file that I
recieved from CBM. It seems that they stripped a bit too much from some of
the files makeing them unusable. Use the Gamma 1 include files. Jim
kprintf() is documented in the RKM (1.1) in appendix F oops… make that
KPutFmt (is that the same thing? Am I off base? Does anyone care? Who am I)
<sigh> Anyway, there are a few goodies there. Have a look.
Well, if it is, I can't find it! They sound similar, but I still can't
find references to kprintf(). Bye the way, Appendix F is a Skeleton
Device/Library Code section. Hmmm… let's see here …. Nope, nothing in
mine — checked both volumes too. Maybe you have the original manual. Mine
are Addison Wesley's.
Ahh… minee are the version 1.1 double volume from CBM. Appendix F is Exec
support.
Regards, Larry.
Ahh… minee are the version 1.1 double volume from CBM. Appendix F is Exec
support.
Regards, Larry.
Well, if it is, I can't find it! They sound similar, but I still can't
find references to kprintf(). Bye the way, Appendix F is a Skeleton
Device/Library Code section. Hmmm… let's see here …. Nope, nothing in
mine — checked both volumes too. Maybe you have the original manual. Mine
are Addison Wesley's.
kprintf() is documented in the RKM (1.1) in appendix F oops… make that
KPutFmt (is that the same thing? Am I off base? Does anyone care? Who am I)
<sigh> Anyway, there are a few goodies there. Have a look.
I just got the 1.2 include strip from Commodore, which includes debug.doc.
kprintf() is not mentioned anywhere in it, so I'll probably have to do a
OML listing of the library to find out if that's true. However, I saw it
used in a printer driver, where I believe you can't use ANY sort of library
before printertag.obj so I'm kind of confused. It's possible that he added
it last in the link list though. Since I don't have a 9600 baud terminal
yet, the debug.lib is useless to me (unfortunately).
Someone else replied to me that it's part of the debug code, and
prints just like printf() except to the serial port for use by an external
terminal.