</itemize>
<tag/Availability/cc65 (not all platforms)
<tag/See also/
-<ref id="get_scpu_speed" name="get_c64dtv_speed">,
-<ref id="set_scpu_speed" name="set_c64dtv_speed">,
+<ref id="get_c64dtv_speed" name="get_c64dtv_speed">,
+<ref id="set_c64dtv_speed" name="set_c64dtv_speed">,
<tag/Example/None.
</descrip>
</quote>
<tag/Description/The function returns the current speed of the C64DTV.
<tag/Notes/<itemize>
<item>The function is specific to the C64.
-<item>The function does not check for the presence of the cartridge.
+<item>The function does not check for the presence of the C64DTV.
<item>See the accelerator.h header for the speed definitions.
</itemize>
<tag/Availability/cc65 (not all platforms)
<descrip>
<tag/Function/Set the current speed of the C64DTV.
<tag/Header/<tt/<ref id="accelerator.h" name="accelerator.h">/
-<tag/Declaration/<tt/unsigned char set_c64dtv_speed (unsigned char speed);/
+<tag/Declaration/<tt/unsigned char __fastcall__ set_c64dtv_speed (unsigned char speed);/
<tag/Description/The function returns the speed after trying to set the speed of the C64DTV.
<tag/Notes/<itemize>
<item>The function is specific to the C64.
<descrip>
<tag/Function/Set the current speed of the C64/C128 SuperCPU cartridge.
<tag/Header/<tt/<ref id="accelerator.h" name="accelerator.h">/
-<tag/Declaration/<tt/unsigned char set_scpu_speed (unsigned char speed);/
+<tag/Declaration/<tt/unsigned char __fastcall__ set_scpu_speed (unsigned char speed);/
<tag/Description/The function returns the speed after trying to set the speed of the SuperCPU cartridge.
<tag/Notes/<itemize>
<item>The function is specific to the C128 and C64.
set_speed:
.byte $32,$99 ; SAC #$99 set accumulator to reg 9 (cpu control)
txa ; (re)set skip and burst bits
- .byte $32,$00 ; SAC #$99 set accumulator back to reg 0
+ .byte $32,$00 ; SAC #$00 set accumulator back to reg 0
jmp _get_c64dtv_speed
high_speed: