You are not logged in.

  • "internium" is male
  • "internium" started this thread

Posts: 4,482

Date of registration: Aug 30th 2008

Location: Berlin

  • Send private message

member since 54 month member since 54 month member since 54 month

1

Wednesday, April 18th 2012, 6:09pm

Aufgabe des Farbram und $d020 im hochauflösenden Bitmap Modus?

Hi,

hat das Farbram im hochauflösenden Bitmapmodus überhaupt eine Funktion? Vorder- und Hintergrundfarbe der 8x8 Blöcke werden doch aus dem Low- und Highnibble des Videorams gelesen, oder? Also, hat das Farbram und auch das Hintergrundfarbregister $d020 in diesem Modus keine Funktion?

  • "Fröhn" is male

Posts: 4,493

Date of registration: Jan 5th 2004

Location: MOS County

  • Send private message

member since 108 month member since 108 month member since 108 month member since 108 month member since 108 month member since 108 month

2

Wednesday, April 18th 2012, 6:51pm

Hi,

hat das Farbram im hochauflösenden Bitmapmodus überhaupt eine Funktion? Vorder- und Hintergrundfarbe der 8x8 Blöcke werden doch aus dem Low- und Highnibble des Videorams gelesen, oder? Also, hat das Farbram und auch das Hintergrundfarbregister $d020 in diesem Modus keine Funktion?

Nein, das wird gelesen aber ignoriert. Nur wenn man innerhalb einer Zeichenzeile in einen anderen Modus wechselt, könnte man die Farben sehen.

3

Wednesday, April 18th 2012, 7:05pm

äh, hier ist doch wohl eher $d021 gemeint, oder?

  • "internium" is male
  • "internium" started this thread

Posts: 4,482

Date of registration: Aug 30th 2008

Location: Berlin

  • Send private message

member since 54 month member since 54 month member since 54 month

4

Wednesday, April 18th 2012, 7:12pm

Ähm ja sorry, ich meinte $d021 und nicht die Bordercolor.

5

Wednesday, April 18th 2012, 8:42pm

Hihihih, passiert mir auch dauernd :)

  • "Gerrit" is male
  • »Gerrit« is a verified user

Posts: 4,403

Date of registration: Mar 27th 2011

Location: Holzgerlingen

  • Send private message

member since 18 member since

6

Wednesday, April 18th 2012, 8:49pm

Ich habe eine Tabelle gefunden die erklärt was der VIC in welchem Modus woher holt wenn es um die Farben geht:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 +---------------+----------------------------------------------------------+
 | Charset-Hires |  0 = Background ($D021)      1 = Color-RAM               |
 +---------------+----------------------------------------------------------+
 | Charset-MC    | 00 = Background ($D021)     01 = MC-Color1 ($D022)       |
 |               | 10 = MC-Color2  ($D023)     11 = Color-RAM               |
 +---------------+----------------------------------------------------------+
 | Bitmap-Hires  |  0 = LN Screen-RAM           1 = HN Screen-RAM           |
 +---------------+----------------------------------------------------------+
 | Bitmap-MC     | 00 = Background ($D021)     01 = HN Screen-RAM           |
 |               | 10 = LN Screen-RAM          11 = Color-RAM               |
 +---------------+----------------------------------------------------------+
 | Sprite-Hires  |  0 = Background ($D021)      1 = Sprite-Color ($D027..)  |
 +---------------+----------------------------------------------------------+
 | Sprite-MC     | 00 = Background ($D021)     01 = Sprite-MC-Color1 ($D025)|
 |               | 10 = Sprite-Color ($D027..) 11 = Sprite-MC-Color2 ($D026)|
 +---------------+----------------------------------------------------------+

  LN = Low-Nybble ; HN = High-Nybble


Quelle: All_About_Your_64-Online Help V0.64

  • "internium" is male
  • "internium" started this thread

Posts: 4,482

Date of registration: Aug 30th 2008

Location: Berlin

  • Send private message

member since 54 month member since 54 month member since 54 month

7

Wednesday, April 18th 2012, 9:02pm

Fehlt der ECM TextModus, aber sonst sehr übersichtlich danke.

  • "Gerrit" is male
  • »Gerrit« is a verified user

Posts: 4,403

Date of registration: Mar 27th 2011

Location: Holzgerlingen

  • Send private message

member since 18 member since

8

Wednesday, April 18th 2012, 9:15pm

Häng diesen Modus an die Tabelle ran damit sie vollständig ist. :)

  • "internium" is male
  • "internium" started this thread

Posts: 4,482

Date of registration: Aug 30th 2008

Location: Berlin

  • Send private message

member since 54 month member since 54 month member since 54 month

9

Saturday, April 21st 2012, 7:06pm

Ich habe mal den ECM mit hinzugefügt:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 +---------------+----------------------------------------------------------+
 | Charset-Hires |  0 = Background ($D021)      1 = Color-RAM               |
 +---------------+----------------------------------------------------------+
 | Charset-MC    | 00 = Background ($D021)     01 = MC-Color1 ($D022)       |
 |               | 10 = MC-Color2  ($D023)     11 = Color-RAM               |
 +---------------+----------------------------------------------------------+
 | Charset-ECM   |  0 = Bit 6 and 7 of Screen-RAM choose BG-Color           |
 |               |    00 = Background ($D021)     01 = Background ($D022)   |
 |		 |    10 = Background ($D023)     11 = Background ($D024)   |
 |		 |                                                          |
 |		 |  1 = Color-RAM                                           |
 |		 |                                                          |
 |		 | Note: Only 64 chars possible                             | 
 +---------------+----------------------------------------------------------+
 | Bitmap-Hires  |  0 = LN Screen-RAM           1 = HN Screen-RAM           |
 +---------------+----------------------------------------------------------+
 | Bitmap-MC     | 00 = Background ($D021)     01 = HN Screen-RAM           |
 |               | 10 = LN Screen-RAM          11 = Color-RAM               |
 +---------------+----------------------------------------------------------+
 | Sprite-Hires  |  0 = Background ($D021)      1 = Sprite-Color ($D027..)  |
 +---------------+----------------------------------------------------------+
 | Sprite-MC     | 00 = Background ($D021)     01 = Sprite-MC-Color1 ($D025)|
 |               | 10 = Sprite-Color ($D027..) 11 = Sprite-MC-Color2 ($D026)|
 +---------------+----------------------------------------------------------+

  LN = Low-Nybble ; HN = High-Nybble

10

Saturday, April 21st 2012, 8:22pm

11 = Color-RAM bei Charset-MC ist aber mitunter Erklaerungsbeduerftig.
Es geht schliesslich nur um bit 0-2 (also nur Farben 0-7) fuer die Farbwahl, bit 3 legt fest ob der entsprechende char HiRes oder eben MC dargstellt wird.

  • "internium" is male
  • "internium" started this thread

Posts: 4,482

Date of registration: Aug 30th 2008

Location: Berlin

  • Send private message

member since 54 month member since 54 month member since 54 month

11

Saturday, April 21st 2012, 8:51pm

Charset-MC hatte ich mir gar nicht so genau augeschaut, aber du hast Recht, hier mein Vorschlag für eine Erweiterung:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 +---------------+----------------------------------------------------------+
 | Charset-Hires |  0 = Background ($D021)      1 = Color-RAM               |
 +---------------+----------------------------------------------------------+
 | Charset-MC    | 00 = Background ($D021)     01 = MC-Color1 ($D022)       |
 |               | 10 = MC-Color2  ($D023)     11 = Color-RAM               |
 |               |                                                          |
 |               | Note: You can only choose color 0-7 in Color-RAM, cause  |
 |               |       the 4th bit is using for Hires/MC-Switch           |
 +---------------+----------------------------------------------------------+
 | Charset-ECM   |  0 = Bit 6 and 7 of Screen-RAM choose BG-Color           |
 |               |    00 = Background ($D021)     01 = Background ($D022)   |
 |               |    10 = Background ($D023)     11 = Background ($D024)   |
 |               |                                                          |
 |               |  1 = Color-RAM                                           |
 |               |                                                          |
 |               | Note: Only 64 chars possible                             |
 +---------------+----------------------------------------------------------+
 | Bitmap-Hires  |  0 = LN Screen-RAM           1 = HN Screen-RAM           |
 +---------------+----------------------------------------------------------+
 | Bitmap-MC     | 00 = Background ($D021)     01 = HN Screen-RAM           |
 |               | 10 = LN Screen-RAM          11 = Color-RAM               |
 +---------------+----------------------------------------------------------+
 | Sprite-Hires  |  0 = Background ($D021)      1 = Sprite-Color ($D027..)  |
 +---------------+----------------------------------------------------------+
 | Sprite-MC     | 00 = Background ($D021)     01 = Sprite-MC-Color1 ($D025)|
 |               | 10 = Sprite-Color ($D027..) 11 = Sprite-MC-Color2 ($D026)|
 +---------------+----------------------------------------------------------+

  LN = Low-Nybble ; HN = High-Nybble

peiselulli

Professional

  • "peiselulli" is male

Posts: 944

Date of registration: Sep 14th 2006

  • Send private message

member since 72 month member since 72 month member since 72 month member since 72 month

12

Saturday, April 21st 2012, 11:03pm

Lass mal das $d021 bei den beiden Sprites-Backgrounds weg, das ist da falsch ...

13

Saturday, April 21st 2012, 11:03pm

und 01 ist aus Sicht der Sprites ebenfalls Background ;-)

Similar threads