Custom Char Set and Memory

Basic and Machine Language

Moderator: Moderators

Post Reply
User avatar
plbyrd
Vic 20 Hobbyist
Posts: 135
Joined: Tue Jun 01, 2010 9:32 pm
Website: http://thesharp.ninja
Location: Clarksville, TN
Occupation: Software Engineer

Custom Char Set and Memory

Post by plbyrd »

Is it possible to tuck a custom char set under the char rom ala C64? Or is that a special feature of the 6510?
User avatar
tokra
Vic 20 Scientist
Posts: 1120
Joined: Tue Apr 27, 2010 5:32 pm
Location: Scheessel, Germany

Re: Custom Char Set and Memory

Post by tokra »

There is no RAM under ROM on the VIC-20. That is a special feature of the 6510. On the VIC-20 you can only put custom chars (and the video-RAM) in the RAM-area of the unexpanded VIC ($0000-$03ff and $1000-$1fff). The first 1K-area at $0000-$03ff does not make a lot of sense for custom chars in most cases but is possible anyway.
User avatar
plbyrd
Vic 20 Hobbyist
Posts: 135
Joined: Tue Jun 01, 2010 9:32 pm
Website: http://thesharp.ninja
Location: Clarksville, TN
Occupation: Software Engineer

Re: Custom Char Set and Memory

Post by plbyrd »

OK, thanks. I'm going to use a modified version of the C128 character set. I need to use some special glyphs for the display and the C128 font looks awesome on the VIC20.
User avatar
Mike
Herr VC
Posts: 4816
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: Custom Char Set and Memory

Post by Mike »

To be exact, what the VIC-II chip 'sees' in the C64 has nothing to do with the 6510 (port) at all.

What is addressed by VIC-II is selected by the PAL IC, independent on the 6510's port settings; VIC-II only sees the C64 RAM with the exception of two mirror copies of the character ROM at $1000..$1FFF and $9000..$9FFF (unless there's Ultimax-Mode active). The 6510 has its own copy of the character ROM selected at $D000..$DFFF with /CHAREN=0 and at least one of /LORAM or /HIRAM =1.
Post Reply