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 > CIA #1 Timer A settings
2017-08-13 09:24
TWW

Registered: Jul 2009
Posts: 541
CIA #1 Timer A settings

During IO Init, the CIA #1 Timer A is set as follows:

.C:fddd  AD A6 02    LDA $02A6
.C:fde0  F0 0A       BEQ $FDEC
.C:fde2  A9 25       LDA #$25
.C:fde4  8D 04 DC    STA $DC04
.C:fde7  A9 40       LDA #$40
.C:fde9  4C F3 FD    JMP $FDF3
.C:fdec  A9 95       LDA #$95
.C:fdee  8D 04 DC    STA $DC04
.C:fdf1  A9 42       LDA #$42
.C:fdf3  8D 05 DC    STA $DC05


Except for the Old NTSC which sets it directly (modified KERNAL):

.C:fddd  A9 1B       LDA #$1B
.C:fddf  8D 04 DC    STA $DC04
.C:fde2  A9 41       LDA #$41
.C:fde4  8D 05 DC    STA $DC05


Can someone confirm that the DREAN uses the same method as the top one (same as PAL and NTSC)?
2017-08-13 13:36
Durandal

Registered: May 2006
Posts: 30
On mine is the same as the top one.
2017-08-13 22:57
TWW

Registered: Jul 2009
Posts: 541
Thanks!
2017-08-14 05:18
Durandal

Registered: May 2006
Posts: 30
I'll ask around on the local argentine forum.
Drean mainboards came from all revisions, anything Commodore had lying around to be refurbished.
So it might not be too far fetched that there is some with an old NTSC Kernal around.
2017-08-19 18:26
Durandal

Registered: May 2006
Posts: 30
5 Dreans checked so far, all have the normal Kernal.
2017-08-19 21:41
TWW

Registered: Jul 2009
Posts: 541
Awesome.

As the KERNAL seem to count raster-lines (by using raster compare) to distinguish between NTSC/PAL, it should be safe to assume the DREAN uses the same setting as PAL.
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
Martin Piper
Scooby/G★P/Light
cba
bisboch/HF
Frostbyte/Artline De..
Stone/Prosonix/Offence
Krill/Plush
CA$H/TRiAD
Guests online: 168
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 Bromance  (9.6)
10 Memento Mori  (9.6)
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 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (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 Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Stinsen  (9.6)
4 Mutetus  (9.6)
5 Linus  (9.6)

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