This is the code executed by the @ON command:nippur72 wrote:And, yes, I am interested in the source, I need only the screen and pointers setup part.
Code: Select all
.On
CLC ; set up char map
LDA #$10 ; first char is 'P', accessing $1100
TAY
.On_00
STA $0FF0,Y
ADC #$0C
BCC On_01
SBC #$EF
.On_01
INY
BNE On_00
LDY #$05 ; program VIC registers
.On_02
CLC
LDA $EDE4,Y
ADC Offset,Y
STA $9000,Y
DEY
BPL On_02
RTS
.Offset
EQUB $02
EQUB $FE
EQUB $FE
EQUB $EB
EQUB $00
EQUB $0C
Code: Select all
AD=4352+192*INT(X/8)+Y