charset c64 ROM

Szukasz drobnej pomocy przy kodowaniu, albo chcesz przedstawić światu swoją gotową lub w trakcie realizacji produkcję? To właściwy dział.
Wiadomość
Autor
Awatar użytkownika
at0mic
Posty: 82
Rejestracja: 02 gru 2011, 14:55

charset c64 ROM

#1 Post autor: at0mic »

-VIC II potrafi adresować na raz 16KB pamięci, tak?

-które to 16KB wybiera się w CIA 2, tak ?

-znaki ,ekran tekstowy i sprajty muszą być w tym samym 16KB aby były widoczne, tak ?


to jakim cudem w 0 Banku z ekranem tekstowym od $0400 widać charset z adresu $D000 ?


O odpowiedź proszę wszystkich zorientowanych z wyjątkiem kisiela.
At0mic

Awatar użytkownika
Sebaloz/Lepsi.De
Posty: 3949
Rejestracja: 14 wrz 2008, 00:02

#2 Post autor: Sebaloz/Lepsi.De »

Dlaczego nie wiem, ale tak to juz jest ze nie da wstawic swojej grafiki od $1000-1fff bo i tak bedzie widoczny originalny komodorowski charset od $d000. Od $1000 zwykle umieszcza sie muzyke.
__________________________
Socjopatyczna Legia Commodore

Awatar użytkownika
wackee
Posty: 1606
Rejestracja: 05 paź 2008, 23:05
Grupa: Arise
Kontakt:

#3 Post autor: wackee »

http://codebase64.org/doku0583.html?id= ... organizing

Kod: Zaznacz cały

The specially handled character ROM

The character rom consists of two character sets being uppercase/lowercase set. $0800×2=$1000 thus the char ram is 4k in size.

Now dont ask me how this mechanism works but there are two memory areas handled differently where for the VIC the character ROM is mapped in. Unless Ultimax mode is selected by an expansion port cartridge, at these areas the VIC will _always_ 'see' the char rom instead of the RAM. If you set a sprite/bitmap/screen/character memory to read its data from $1000-$2000 or $9000-$a000 the read will be always done from the character rom. These areas are:

$1000-$2000
$9000-$a000

While the cpu will always handle these areas as RAM, the VIC (once again) will always see the character rom. This was done so you can use the RAM freely for the CPU, but at the same time the VIC can read its characters without the need to have them stored in RAM.
Arise - keeping your eyes wide open since 1991.

Awatar użytkownika
skull
Posty: 760
Rejestracja: 15 wrz 2008, 08:18
Grupa: samar

#4 Post autor: skull »

do tego wszystkiego brakuje Ci jeszcze wiedzy o komórce konfiguracji pamięci w $0001
Bo pecet to zwykły banan...

ODPOWIEDZ