changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / sys/src/games/blit/fns.h

changeset 6228: f4fa0b9d0397
parent: 84a6cae21f1f
date: Sun, 26 Nov 2017 17:11:01 +0100
permissions: -rw-r--r--
description: cga: capture cga console contents on boot, make sure cgapos is in range

to capture bios and bootloader messages, convert the contents
on the screen to kmesg.

on machines without legacy cga, the cga registers read out as
0xFF, resuting in out of bounds cgapos. so set cgapos to 0 in
that case.
1 u16int memread(u32int);
2 void memwrite(u32int, u16int, u16int);
3 int intack(int);
4 int step(void);
5 void meminit(void);
6 void cpureset(void);
7 void keycheck(void);
8 void telnetinit(char *);