Re: Commodore 4046 / Educator64

From: smf <smf_at_null.net>
Date: Fri, 7 Mar 2014 18:46:00 -0000
Message-ID: <D6556C1D7E8A4979B6465D6E88F51201@smf>
>Shameless plug: The ROMs from zimmers are already analysed at
>http://www.trikaliotis.net/cbmrom.

cool, I probably wouldn't use #COL_LIGHTBLUE though

000005r 1  A9 00            lda    #COL_BLACK
000007r 1  A2 0E            ldx    #COL_LIGHTBLUE
000009r 1  9D 20 D0     LE4D1:    sta    VIC + VICII_O_BorderCol,x
00000Cr 1  CA               dex
00000Dr 1  10 FA            bpl    LE4D1

It makes more sense as:

000007r 1  A2 0E            ldx    #(VICII_O_Spr7Col - VICII_O_BorderCol)

Because the loop is just zero'ing from the border colour to sprite 7 colour. 
The number happens to be 14, which happens to be light blue.


       Message was sent through the cbm-hackers mailing list
Received on 2014-03-07 19:00:12

Archive generated by hypermail 2.2.0.