diff --git a/c64/kernal/chrout_real.s b/c64/kernal/chrout_real.s index e1ce3c2c..1c60be55 100644 --- a/c64/kernal/chrout_real.s +++ b/c64/kernal/chrout_real.s @@ -876,7 +876,6 @@ update_colour_line_pointer: rts - advance_screen_pointer_40_bytes: lda PNT+0 clc @@ -893,8 +892,3 @@ advance_screen_pointer_40_bytes: sta USER+1 jmp update_colour_line_pointer - -colour_codes: // consider moving them to separate location - // CHR$ codes for the 16 colours - .byte 144,5,28,159,156,30,31,158 - .byte 129,149,150,151,152,153,154,155 diff --git a/c64/kernal/colour_codes.s b/c64/kernal/colour_codes.s new file mode 100644 index 00000000..fdf0b980 --- /dev/null +++ b/c64/kernal/colour_codes.s @@ -0,0 +1,6 @@ + +// CHR$ codes for the 16 colours + +colour_codes: + .byte 144,5,28,159,156,30,31,158 + .byte 129,149,150,151,152,153,154,155