ChrisOS Research ProjectOperating systems · language systems · graphics · machine emulation
DOCUMENTATION ARCHIVEMAIN BRANCH
ChrisOS/Source reference: SYS/DRV/AC97.CC

Source reference: SYS/DRV/AC97.CC

Deterministic source record. The complete textual file is reproduced below; this page does not replace architectural interpretation in the authored chapters.

File identity

Field Value
Path SYS/DRV/AC97.CC
Lines 18
Bytes 243
SHA-256 37adc46b90e7e239554a02808487b4e565ac8c9462f053d9f2d82bec88de5713
ChrisOS revision da3df29cb397932c43d32373871fb9380e688ade

Detected syntactic dependencies

Line Include
— No preprocessor include detected.

Detected symbols

Line Symbol
1 main

Complete source

The following block is the complete textual file at the recorded revision. No lines are elided, abbreviated or paraphrased.

void main() {
  int nam;
  int i;
  viewport(160, 40);
  text(4, 8, "ac97", 0x00FFFFFF);
  nam = drv_pci(0, 0, 0, 0);
  i = 0;
  while (i < 8) {
    if (drv_irq(i)) {
      i = 8;
    }
    i = i + 1;
  }
  drv_outw(0, 0);
  while (1) {
  }
}

Role of this record

The atlas guarantees file-by-file traceability. Responsibility, invariants, ownership, concurrency, security, performance and subsystem interactions belong in authored chapters and must cite this file when applicable.

Document record ID: source-37adc46b90e7e239 Reviewed source: da3df29cb397 Class: generated-source-reference