Re: [cc65] c64 kernal 02 vs. 03

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-09-27 15:31:00
On Sat, Sep 26, 2009 at 05:44:50PM +0200, Groepaz wrote:
> it is... i'd say that maybe 20% of the c64s out there use the -O2 kernal. back
> in the days it was a popular sign of lameness when a crack didnt work on one
> or the other =P

Just found this, when browsing through the sources:

------------------------------------------------------------------------------
;
; Ullrich von Bassewitz, 2002-12-09
;
; PLOT replacement function for the VIC20. The kernal function does not set
; the pointer to the color RAM correctly.
;
        .export         PLOT

.proc   PLOT

        bcs     @L1
        jsr     $FFF0                   ; Set cursor position
        jmp     $EAB2                   ; Set pointer to color RAM
@L1:    jmp     $FFF0                   ; Get cursor position

.endproc
------------------------------------------------------------------------------

So the VIC had the same problem as the C64 with the -02 kernal and it was
fixed in another way. Maybe I should apply the same to the C64?

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Sep 27 15:32:49 2009

This archive was generated by hypermail 2.1.8 : 2009-09-27 15:32:51 CEST