Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > REU and Color Memory
2023-10-06 07:57
Fungus

Registered: Sep 2002
Posts: 617
REU and Color Memory

Can the REU access color memory or is it a quirk that it cannot?

I've not been able to get color memory scrolling to work with an REU and don't know if it's just a VICE bug or if this is intended.
 
... 3 posts hidden. Click here to view all posts....
 
2023-10-06 11:25
Mr. SID

Registered: Jan 2003
Posts: 421
Sonic only writes to Screen and Color RAM, it never reads. Maybe reading doesn't work, I've never tried that...
2023-10-06 12:48
tlr

Registered: Sep 2003
Posts: 1714
No point in speculating here. I'll ask on #vice-dev if someone knows if this is tested, otherwise we need to see what it does on a real machine.
2023-10-06 13:57
chatGPZ

Registered: Dec 2001
Posts: 11116
it should work (ignoring that transfers from/to I/O are glitchy on some setups)

https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/REU..

And yes, for REU things use recent VICE :)

PS: make sure REU transfers do not start or end at the same cycle as VICII DMA, that causes weird behaviour/glitches. VICE does NOT emulate this correctly atm.

https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/REU..
https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/REU..
2023-10-06 20:03
Fungus

Registered: Sep 2002
Posts: 617
What do you mean by "some setups" ?
2023-10-06 21:31
chatGPZ

Registered: Dec 2001
Posts: 11116
Random C64s, reason unknown. It may or may not be related to the (known) glitches that happen when REU DMA starts (or stops) at the same time as a VICII DMA. In some of those demos that show 1 pixel wide color splits using REU, you can see glitches - on some C64s.
2023-10-06 22:22
Fungus

Registered: Sep 2002
Posts: 617
Okidoki, I'll check that REU is not dmaing at the same time then.
2023-10-08 05:01
Martin Piper

Registered: Nov 2007
Posts: 634
Do you need to avoid bad lines?
2023-10-08 12:49
Fungus

Registered: Sep 2002
Posts: 617
Yes, it can cause problems. Verified.
2023-10-10 21:46
Repose

Registered: Oct 2010
Posts: 222
Quote: Okidoki, I'll check that REU is not dmaing at the same time then.

1 cycle is 8 pixels - how is a 1 cycle colour split done?
2023-10-10 21:54
chatGPZ

Registered: Dec 2001
Posts: 11116
Simply DMA to a color register (with fixed target address)
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
The Phantom
Guests online: 130
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.046 sec.