]> git.sur5r.net Git - cc65/blob - asminc/accelerator.inc
un-remove TABs in doc/using-make.sgml
[cc65] / asminc / accelerator.inc
1 ;
2 ; Accelerator definitions.
3 ;
4
5 ; ---------------------------------------------------------------------------
6 ; Speed definitions for all accelerator, to be used as input for the 'set'
7 ; functions.
8
9
10 SPEED_SLOW = $00
11 SPEED_FAST = $FF
12
13 SPEED_1X    = SPEED_SLOW
14 SPEED_2X    =  2 - 1
15 SPEED_3X    =  3 - 1
16 SPEED_4X    =  4 - 1
17 SPEED_5X    =  5 - 1
18 SPEED_6X    =  6 - 1
19 SPEED_7X    =  7 - 1
20 SPEED_8X    =  8 - 1
21 SPEED_10X   = 10 - 1
22 SPEED_12X   = 12 - 1
23 SPEED_16X   = 16 - 1
24 SPEED_20X   = 20 - 1
25
26
27 ; ---------------------------------------------------------------------------
28 ; C64/C128 Super CPU cartridge
29
30 SuperCPU_Slow       := $D07A
31 SuperCPU_Fast       := $D07B
32 SuperCPU_Speed_Mode := $D0B8
33 SuperCPU_Detect     := $D0BC
34
35
36 ; ---------------------------------------------------------------------------
37 ; C64DTV
38
39 C64DTV_Extended_Regs := $D03F
40
41 C64DTV_Slow = $00
42 C64DTV_Fast = $03
43
44
45 ; ---------------------------------------------------------------------------
46 ; C128 native and C128 in C64 mode
47
48 C128_VICIIE_CLK := $D030
49
50
51 ; ---------------------------------------------------------------------------
52 ; C64 Chameleon cartridge
53
54 CHAMELEON_CFGTUR := $D0F3
55 CHAMELEON_CFGENA := $D0FE
56
57 CHAMELEON_ENABLE_REGS  = $2A
58 CHAMELEON_DISABLE_REGS = $FF
59
60 CHAMELEON_CFGTUR_LIMIT_1MHZ = %00001100
61 CHAMELEON_CFGTUR_LIMIT_NONE = %10000000
62
63
64 ; ---------------------------------------------------------------------------
65 ; C65/C64DX in C64 mode
66
67 C65_VICIII_KEY    := $D02F
68 C65_VICIII_CTRL_B := $D031
69
70 C65_VICIII_UNLOCK_1 = $A5
71 C65_VICIII_UNLOCK_2 = $96
72
73
74 ; ---------------------------------------------------------------------------
75 ; C64 Turbo Master cartridge
76
77 TURBOMASTER_DETECT    := $BF53
78
79 TURBOMASTER_SPEED_REG := $00
80