amiga-bootcamp/09_intuition/intuition_base.md
Ilia Sharin 21751c0025 docs(amiga): complete AmigaOS 3.1/3.2 developer reference — 172 files across 17 sections
Comprehensive technical documentation covering:
- Hardware: OCS/ECS/AGA custom chip registers, Copper & Blitter deep dives
- Boot sequence: cold boot through startup-sequence
- Binary format: HUNK executable spec, relocation, debug info
- Linking & ABI: .fd files, LVO tables, register calling conventions
- Exec kernel: tasks, interrupts, memory, signals, semaphores
- AmigaDOS: file I/O, FFS/OFS layout, CLI/Shell scripting
- Graphics: planar bitmaps, Copper programming, HAM/EHB modes
- Intuition: screens, windows, IDCMP, BOOPSI
- Devices: trackdisk, SCSI, serial, timer, audio, keyboard
- Libraries: utility, expansion, IFFParse, locale, ARexx
- Networking: bsdsocket API, SANA-II, TCP/IP stack comparison
- Toolchain: GCC, vasm/vlink, SAS/C, NDK, debugging
- Reverse engineering: IDA/Ghidra setup, compiler fingerprints, case studies
- CPU & MMU: 68040/060 emulation libs, PMMU, cache management
- Driver development: SANA-II, Picasso96/RTG, AHI audio

All files include breadcrumb navigation. No local paths or proprietary content.
2026-04-23 12:17:35 -04:00

38 lines
903 B
Markdown

[← Home](../README.md) · [Intuition](README.md)
# IntuitionBase — Global GUI State
## Overview
`intuition.library` manages screens, windows, menus, gadgets, and the input event pipeline. `IntuitionBase` is the library base containing active display state.
---
## struct IntuitionBase (Key Fields)
```c
/* intuition/intuitionbase.h — NDK39 */
struct IntuitionBase {
struct Library LibNode;
struct View ViewLord; /* master View */
struct Window *ActiveWindow; /* currently active window */
struct Screen *ActiveScreen; /* currently active screen */
struct Screen *FirstScreen; /* head of screen list */
/* ... private fields ... */
};
```
---
## Opening
```c
struct IntuitionBase *IntuitionBase;
IntuitionBase = (struct IntuitionBase *)OpenLibrary("intuition.library", 39);
```
---
## References
- NDK39: `intuition/intuitionbase.h`