CompuServe Thread

Forum unknown · Programming

#kprintf()

17 messages in this thread
#47889From: Todd WeissJan 9, 1987 5:55 AM
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
#47911From: Don Curtis/SYSOPJan 9, 1987 12:22 PM
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.
#47975From: Todd WeissJan 9, 1987 11:55 PM
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).
#47980From: John YurkonJan 10, 1987 12:03 AM
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
#47980From: John YurkonJan 10, 1987 12:03 AM
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
#47995From: Jim Nangano/SYSOPJan 10, 1987 1:24 AM
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
#47999From: Todd WeissJan 10, 1987 2:04 AM
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.
#47999From: Todd WeissJan 10, 1987 2:04 AM
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.
#47995From: Jim Nangano/SYSOPJan 10, 1987 1:24 AM
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
#48010From: Larry Phillips/ICUGJan 10, 1987 2:39 AM
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.
#48021From: Todd WeissJan 10, 1987 4:58 AM
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.
#48093From: Larry Phillips/ICUGJan 10, 1987 9:34 PM
Ahh… minee are the version 1.1 double volume from CBM. Appendix F is Exec support. Regards, Larry.
#48093From: Larry Phillips/ICUGJan 10, 1987 9:34 PM
Ahh… minee are the version 1.1 double volume from CBM. Appendix F is Exec support. Regards, Larry.
#48021From: Todd WeissJan 10, 1987 4:58 AM
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.
#48010From: Larry Phillips/ICUGJan 10, 1987 2:39 AM
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.
#47975From: Todd WeissJan 9, 1987 11:55 PM
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).
#47911From: Don Curtis/SYSOPJan 9, 1987 12:22 PM
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.