From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2001-08-12 15:26:58
Hi!
On Sun, Aug 12, 2001 at 02:25:24PM +0200, Dominique Biesmans wrote:
> Well, the cprintf() function works fine for me too, _except_ that the screen
> doesn't scroll automatically when printing below the bottom line. Any idea
> on how to work around that?.
If you just need to scroll the whole screen, you may use the scroll function
of the PET ROM, or something like
#define scroll() \
asm ("\tldx\t#$4F"); \
asm ("\tldy\t#$18"); \
asm ("\tclc"); \
asm ("\tjsr\t$FFF0"); \
asm ("\tlda\t#$0D"); \
asm ("\tjsr\t$FFD2")
Note: The code is untested but you will probably get the idea.
An additional cscroll() function would be a useful enhancement for the conio
module, but it has to be implemented separately for each platform.
Regards
Uz
--
Ullrich von Bassewitz uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:40 CET