Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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_Autodo...



Thanks. 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.


You'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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: