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