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: 545
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: 545
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: 545
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
wacek/arise
A3/AFL
oziphantom
Impetigo/Crescent
Airwolf/F4CG
wil
Guests online: 96
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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