Deleted Added
full compact
fire_saver.c (46899) fire_saver.c (48104)
1/*-
2 * Copyright (c) 1999 Brad Forschinger
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 1999 Brad Forschinger
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $Id: fire_saver.c,v 1.2.2.1 1999/05/10 15:20:30 des Exp $
26 * $Id: fire_saver.c,v 1.4 1999/05/10 15:25:50 des Exp $
27 */
28
29/*
30 * brad forschinger, 19990504 <retch@flag.blackened.net>
31 *
32 * written with much help from warp_saver.c
33 *
34 */
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/kernel.h>
39#include <sys/module.h>
40#include <sys/syslog.h>
27 */
28
29/*
30 * brad forschinger, 19990504 <retch@flag.blackened.net>
31 *
32 * written with much help from warp_saver.c
33 *
34 */
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/kernel.h>
39#include <sys/module.h>
40#include <sys/syslog.h>
41#include <sys/consio.h>
42#include <sys/fbio.h>
41
43
42#include <machine/md_var.h>
43#include <machine/random.h>
44
44#include <machine/random.h>
45
45#include <saver.h>
46#include <dev/fb/fbreg.h>
47#include <dev/fb/splashreg.h>
48#include <dev/syscons/syscons.h>
46
47#define X_SIZE 320
48#define Y_SIZE 200
49
50static int blanked;
51static u_char fire_pal[768];
52static u_char buf[X_SIZE * (Y_SIZE + 1)];
53static u_char *vid;

--- 80 unchanged lines hidden ---
49
50#define X_SIZE 320
51#define Y_SIZE 200
52
53static int blanked;
54static u_char fire_pal[768];
55static u_char buf[X_SIZE * (Y_SIZE + 1)];
56static u_char *vid;

--- 80 unchanged lines hidden ---