4 ; in cc65 up to 2.9.1 65c02 means 65sc02
10 ; 2 bit per pixel, packed
14 lcd_xpos = $2002 ; in pixel, bit 0+1 not used
15 lcd_ypos = $2003 ; weird
20 sv_timer_count = $2023
24 ; bit 0 timer, bit 1 dma
26 SV_IRQ_REQUEST_TIMER = 1
27 SV_IRQ_REQUEST_DMA = 2
29 ; bit 5,6,7 select bank at 0x8000
32 SV_IRQ_ENABLE_TIMER = 2
35 SV_TIMER_MODE_240Hz = $10 ; else 15360
49 ; frequency=125000/counter
50 sv_audio_right_counter = $2010 ;word
51 sv_audio_left_counter = $2014
56 sv_audio_right_control = $2012
57 sv_audio_left_control = $2016
58 ; write activates tone for x/60 sec (0 means 256)
59 sv_audio_right_timer = $2013
60 sv_audio_left_timer = $2017
63 ;read for irq quitting
66 ; bit 7 true start, false stop
67 sv_dma_start = $2018 ; word
68 sv_dma_size = $201a ; *32 samples
69 sv_dma_control = $201b
70 ; bit 0,1 speed: 0 15360, 11 15360/4
71 ; bit 2,3 volume: 0 silent, 11 loud
73 sv_noise_volume = $2028 ; and frequency
74 sv_noise_timer = $2029
75 sv_noise_control = $202a