URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [gfx/] [mw/] [v2_0/] [src/] [drivers/] [int10_pc.c] - Rev 174
Compare with Previous | Blame | View Log
/* * Copyright (c) 2000 Victor Rogachev <rogach@sut.ru> * * Int10 function for PACIFIC C on MSDOS */ #include "device.h" #include "vgaplan4.h" /* ** Uses int 10 for graphics */ FARADDR int10(int ax, int bx) { union REGPACK reg; reg.x.ax = ax; reg.x.bx = bx; intr(0x10, ®); return ((FARADDR) MK_FP(reg.x.es, reg.x.bp)); }