Login
Back to forumReply to this topicGo to last reply

Posted By

icbrkr
on 2014-10-25
12:29:29
 Charset in assembly

I'm new to messing with TED, so I'm doing something obviously wrong.

I'm attempting to add in my own charset in multicolor mode, but the extended colors aren't showing - only the main color.

Here's what I'm doing:


My charset is sitting at $1400:

LDA $FF12
AND #251 ;turning on
STA $FF12
LDA #$14 ; memory location $1400
STA $FF13

LDA #$58
STA $FF07 ; NTSC Multicolor Mode

LDA #$06 ; Setting random shades of blue
STA $FF16
LDA #$16
STA $FF17
LDA #$26
STA $FF18

If I relocate the charset, do I have to update the color memory location or am I just doing something stupid?

Posted By

gerliczer
on 2014-10-25
13:02:07
 Re: Charset in assembly

Looks good to me. It is not necessary to relocate the screen memory if you are using your own character generator. Did you turn on multicolour mode in the colour matrix (check the Ultimate Map or other reference material)?

Posted By

KiCHY
on 2014-10-25
18:03:32
 Re: Charset in assembly

Hi icbrkr,

First a (perhaps unnecessary) clearance: there are multicolor and extended color mode on Plus4. Multicolor uses ff16 and ff17, extended color mode uses ff16, ff17 and ff18.
I read your code you set up multicolor mode but later you use all 3 extra color registers, ff18 is unused in multicolor mode.

Do you set bit 3 of video color ram values to turn on multicolor mode on each character position?
lda #$71 ; means white in hires and in multicolor as well, and all multicolor designed chars display without extra colors.
lda #$79 ; means light brown in hires and white in multicolor, and it displays the extra ff16, ff17 colors also.
sta $0800 ; set color of topleft character in video color ram.

Posted By

icbrkr
on 2014-10-28
21:02:31
 Re: Charset in assembly

Heyas,

Okay, I was assuming ff16/ff17/ff18 was the three colors for multicolor mode, but I'm guessing what I really want is background plus 2 colors?

I haven't changed any video ram settings - that might be where I'm having an issue.



Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2024