1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-11-18 22:07:07 +00:00
millfork/include/c64_sid.mfk
2018-12-16 21:07:04 +01:00

29 lines
578 B
Plaintext

// Hardware addresses for C64
#if not(CBM_64)
#warn c64_sid module should be only used on C64-compatible targets
#endif
// 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
volatile byte sid_paddle_x @$D419
volatile byte sid_paddle_y @$D41A