First post, by Harry Potter
Hi! I have a library for the cc65 compiler called CBMSimpleIO. cc65 is a C compiler that runs on modern computers but targets some 8-bit computers. CBMSimpleIO is a replacement for some of standard C's text I/O functions such as printf() that is much more efficient. It does this by interfacing with the OS directly rather than doing a lot of extra processing. Now, I'm wondering if I should port it to some DOS-target C compilers. If so, I need to know how to handle assembler-based __fastcall functions. I also want to be able to print longs and unsigned longs. In order to do this, on 16-bit computers, I usually need to do extra work. On the 8086 and 286, how do I perform the 32-bit divide by 10 needed to convert to decimal/ANSI?
Joseph Rose, a.k.a. Harry Potter
Working magic in the computer community