rayzor

diff src/timer.c @ 22:5380ff64e83f

minor changes from dos, and line endings cleanup
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 02 May 2014 14:32:58 +0300
parents a826bf0fb169
children
line diff
     1.1 --- a/src/timer.c	Tue Apr 15 20:52:05 2014 +0300
     1.2 +++ b/src/timer.c	Fri May 02 14:32:58 2014 +0300
     1.3 @@ -1,6 +1,6 @@
     1.4  /*
     1.5 -256-color 3D graphics hack for real-mode DOS.
     1.6 -Copyright (C) 2011  John Tsiombikas <nuclear@member.fsf.org>
     1.7 +pit8254 timer code for DOS programs.
     1.8 +Copyright (C) 2011-2014  John Tsiombikas <nuclear@member.fsf.org>
     1.9  
    1.10  This program is free software: you can redistribute it and/or modify
    1.11  it under the terms of the GNU General Public License as published by
    1.12 @@ -22,6 +22,10 @@
    1.13  #include <i86.h>
    1.14  #include "pit8254.h"
    1.15  
    1.16 +#ifdef BORLANDC
    1.17 +#error borland unsupported
    1.18 +#endif
    1.19 +
    1.20  #define PIT_TIMER_INTR	8
    1.21  #define DOS_TIMER_INTR	0x1c
    1.22