Re: [cc65] vic20 again

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2002-12-11 17:30:38


>>>>> "UvB" == Ullrich von Bassewitz <uz_at_musoftware.de> writes:

UvB> What do you mean with that? Does writing to the last line lead
UvB> always to a crash, or is it writing some special position? Is
UvB> this a behaviour of the conio implementation of the VIC20 or is
UvB> this true for all platforms?

True for the C64 at least.

  for (i = 0; i < 100; ++i)
    printf("Hello %d\r\n", i);

overwrites $0800 and crashes as it scrolls off the screen.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-11 17:32:32 CET