Comment Comment by snvzz From the article:move.l #$dff000,a0 ;Base for hardware registerslea save(pc),a1 ;Get the systemmove.w #$4000,intena(A0) ;from the AMIGACrude, although perfectly fine in practice. The system-friendly way is to call the function exec.library has for the purpose, Disable()[0].0. http://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodo... parent snvzz 1 month ago
move.l #$dff000,a0 ;Base for hardware registers
lea save(pc),a1 ;Get the system
move.w #$4000,intena(A0) ;from the AMIGA
Crude, although perfectly fine in practice. The system-friendly way is to call the function exec.library has for the purpose, Disable()[0].
0. http://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodo...