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: 400
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: 400
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: 400
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
Mike
sP0CkEr2
Guests online: 45
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 Quad Core 100%  (9.5)
7 Comaland 100%  (9.5)
8 Incoherent Nightmare  (9.5)
9 Wonderland XII  (9.5)
10 Comaland  (9.5)
Top onefile Demos
1 Pandemoniac Part 2 o..  (9.6)
2 Synthesis  (9.6)
3 Dawnfall V1.1  (9.5)
4 Daah, Those Acid Pil..  (9.5)
5 Field Sort  (9.4)
6 Treu Love [reu]  (9.4)
7 Dawnfall  (9.3)
8 Globe 2016 [reu]  (9.3)
9 KAOS 64  (9.3)
10 Hardware Accelerated..  (9.2)
Top Groups
1 Booze Design  (9.4)
2 Censor Design  (9.4)
3 Oxyron  (9.4)
4 Crest  (9.3)
5 Finnish Gold  (9.3)
Top Mega Swappers
1 Nightshade  (9.4)
2 Aslive  (9.3)
3 R.C.S.  (9.3)
4 Calypso  (9.2)
5 Dishy  (9.0)

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