MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / ADKCON

Function ADKCON

src/custom.cpp:3331–3346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3329}
3330
3331static void ADKCON(int hpos, uae_u16 v)
3332{
3333 if (currprefs.produce_sound > 0) {
3334 update_audio();
3335 }
3336 DISK_update(hpos);
3337 DISK_update_adkcon(hpos, v);
3338 setclr(&adkcon, v);
3339 DISK_update_predict();
3340 audio_update_adkmasks();
3341#ifdef SERIAL_PORT
3342 if ((v >> 11) & 1) {
3343 serial_uartbreak((adkcon >> 11) & 1);
3344 }
3345#endif
3346}
3347
3348static void check_harddis(void)
3349{

Callers 1

custom_wput_agnusFunction · 0.85

Calls 7

update_audioFunction · 0.85
DISK_updateFunction · 0.85
DISK_update_adkconFunction · 0.85
DISK_update_predictFunction · 0.85
audio_update_adkmasksFunction · 0.85
serial_uartbreakFunction · 0.85
setclrFunction · 0.70

Tested by

no test coverage detected