2017-12-06 23:23:30 +00:00
|
|
|
// Hardware addresses for C64
|
|
|
|
|
2019-06-26 11:40:33 +00:00
|
|
|
#if not(CBM_64) && not(CBM_64_COMPAT)
|
2018-07-12 16:30:35 +00:00
|
|
|
#warn c64_sid module should be only used on C64-compatible targets
|
|
|
|
#endif
|
|
|
|
|
2017-12-06 23:23:30 +00:00
|
|
|
// SID
|
|
|
|
|
|
|
|
word sid_v1_freq @$D400
|
|
|
|
word sid_v1_pulse @$D402
|
|
|
|
byte sid_v1_cr @$D404
|
|
|
|
byte sid_v1_ad @$D405
|
|
|
|
byte sid_v1_sr @$D409
|
|
|
|
|
|
|
|
word sid_v2_freq @$D407
|
|
|
|
word sid_v2_pulse @$D409
|
|
|
|
byte sid_v2_cr @$D40B
|
|
|
|
byte sid_v2_ad @$D40C
|
|
|
|
byte sid_v2_sr @$D40D
|
|
|
|
|
|
|
|
word sid_v3_freq @$D40E
|
|
|
|
word sid_v3_pulse @$D410
|
|
|
|
byte sid_v3_cr @$D412
|
|
|
|
byte sid_v3_ad @$D413
|
|
|
|
byte sid_v3_sr @$D414
|
|
|
|
|
2020-01-01 03:51:50 +00:00
|
|
|
word sid_filt_cutoff @$D415
|
|
|
|
byte sid_filt_cr @$D417
|
|
|
|
byte sid_filt_mode @$D418
|
|
|
|
|
2018-12-16 20:07:04 +00:00
|
|
|
volatile byte sid_paddle_x @$D419
|
|
|
|
volatile byte sid_paddle_y @$D41A
|
2020-01-05 02:41:37 +00:00
|
|
|
|
2020-02-02 21:39:01 +00:00
|
|
|
volatile byte sid_v3_osc_out @$D41B
|
|
|
|
volatile byte sid_v3_adsr_out @$D41C
|