]> git.sur5r.net Git - cc65/blob - asminc/accelerator.inc
86d27b3f25ccfc6916d4b657da272cf0c9719e94
[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 in C64 mode
47
48 C128_VICIIE_CLK := $D030
49