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 > Writes to $00 / $01
2008-09-11 11:24
JackAsser

Registered: Jun 2002
Posts: 1989
Writes to $00 / $01

When you write to $00 and $01, are these writes also issued on the memory bus?

To test on the real thing, simply enable bitmap mode and point the VIC-bank to #$03 ($0000-$3fff). Then write to $00 and $01, if the memory writes are issued then the two first bytes on the bit map will change. I don't have my setup up and running, could someone please test it.

@Gideon: If this works then this will enable you to know indirectly the state of $00 and $01 and thus be able to switch I/O-Address decoding on/off for f.e. SID-emulation.
2008-09-11 12:31
chatGPZ

Registered: Dec 2001
Posts: 11119
Quote:
To test on the real thing, simply enable bitmap mode and point the VIC-bank to #$03 ($0000-$3fff). Then write to $00 and $01, if the memory writes are issued then the two first bytes on the bit map will change. I don't have my setup up and running, could someone please test it.


that was tested long ago... marko did it if i recall correctly. (yes it works)
2008-09-11 12:41
JackAsser

Registered: Jun 2002
Posts: 1989
@Groepaz: \o/ Hurray for SID-emulation core in 1541u then! (and other I/O stuff).
2008-09-11 13:29
Frantic

Registered: Mar 2003
Posts: 1627
http://codebase64.org/doku.php?id=magazines:chacking7#hiding_ki..
2008-09-11 14:43
Oswald

Registered: Apr 2002
Posts: 5018
mmm... this makes me remember an article which claimed that if you read 00/01 on the same cycle the VIC does you will read the ram (iirc)
2008-09-11 17:16
Krill

Registered: Apr 2002
Posts: 2847
Sounds like nonsense. :)

The 6510 just catches any read-accesses on $00 and $01 and gives you the contents of their respective registers in the CPU, no matter what the VIC is currently doing. Besides, the CPU and the VIC access the bus on different edges of the clock signal. (Except when the CPU is stalled and the VIC does 2 reads per clock cycle.)
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
Smasher/F4CG
chesser/Nigaz
DuncanTwain
Adder/Triad
Twoflower/ΤRIΛD
Eddie
Apollyon/ALD
Frida Katarina
chromemag
kbs/Pht/Lxt
Guests online: 153
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 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 S!R  (9.7)
5 Faayd  (9.7)

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