6 ms·
From the article: move.l #$dff000,a0 ;Base for hardware registers lea save(pc),a1 ;Get the system move.w #$4000,intena(A0) ;from the AMIGA Crude, al
by snvzz 13d ago
From the article:
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_Autodocs_2._guide/node034A.html http://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodo...
- rabahs 13d agoThanks. I wonder if that was documented in the Amiga Hardware Reference Manual :) that was the only book I had back then. I remember it was mostly registers and assembly language.
- snvzz 10d agoYou're welcome. It's all in the NDKs, which I didn't have at the time, either. I only got my hands on the AHRM once I started university, and that was after 2000. Having very belated fun with Amiga development today. It's never been easier to get into, with all the archived tools and books, and the modern ones.