OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mw/] [src/] [drivers/] [int10_pc.c] - Blame information for rev 1772

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 673 markom
/*
2
 * Copyright (c) 2000 Victor Rogachev <rogach@sut.ru>
3
 *
4
 * Int10 function for PACIFIC C on MSDOS
5
 */
6
 
7
#include "device.h"
8
#include "vgaplan4.h"
9
 
10
/*
11
**      Uses int 10 for graphics
12
*/
13
 
14
FARADDR
15
int10(int ax, int bx)
16
{
17
        union REGPACK reg;
18
 
19
        reg.x.ax = ax;
20
        reg.x.bx = bx;
21
        intr(0x10, &reg);
22
 
23
        return ((FARADDR) MK_FP(reg.x.es, reg.x.bp));
24
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.