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


Forums > C64 Coding > CIA #1 Timer A settings
2017-08-13 11:24
TWW

Registered: Jul 2009
Posts: 409
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 15:36
The_WOZ

Registered: May 2006
Posts: 19
On mine is the same as the top one.
2017-08-14 00:57
TWW

Registered: Jul 2009
Posts: 409
Thanks!
2017-08-14 07:18
The_WOZ

Registered: May 2006
Posts: 19
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 20:26
The_WOZ

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

Registered: Jul 2009
Posts: 409
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
Grue
Quetzal/Chrome
MagerValp/G★P
Pitcher/Fairlight
Zamdee/Topaz Beerline
iAN CooG/HVSC
Acidchild/Padua
Didi/Laxity
Guests online: 50
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 The Shores of Reflec..  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.5)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Pandemoniac Part 2 o..  (9.6)
2 FMX Music Demo  (9.6)
3 Daah, Those Acid Pil..  (9.5)
4 Dawnfall V1.1  (9.5)
5 Synthesis  (9.5)
6 Dawnfall  (9.4)
7 Treu Love [reu]  (9.4)
8 Field Sort  (9.4)
9 KAOS 64  (9.3)
10 One-Der  (9.2)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 The Judges  (9.3)
Top Swappers
1 Jerry  (10)
2 Zyron  (10)
3 Derbyshire Ram  (10)
4 Splatterhead  (9.8)
5 Walker  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.135 sec.