Search
lxdream.org :: lxdream/src/bootstrap.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/bootstrap.h
changeset 167:71c0cc416a64
prev88:0a1bd43fa4ad
next422:61a0598e07ff
author nkeynes
date Wed Jan 03 09:00:17 2007 +0000 (17 years ago)
permissions -rw-r--r--
last change Adjust timers when they're read rather than waiting until the next time
slice. Also temporarily cut the CPU time by 4.
Initialize the FRQCR register to 0x0E0A for convenience
file annotate diff log raw
nkeynes@26
     1
/**
nkeynes@167
     2
 * $Id: bootstrap.h,v 1.4 2006-06-19 11:00:40 nkeynes Exp $
nkeynes@26
     3
 *
nkeynes@26
     4
 * CD Bootstrap header parsing. Mostly for informational purposes.
nkeynes@26
     5
 *
nkeynes@26
     6
 * Copyright (c) 2005 Nathan Keynes.
nkeynes@26
     7
 *
nkeynes@26
     8
 * This program is free software; you can redistribute it and/or modify
nkeynes@26
     9
 * it under the terms of the GNU General Public License as published by
nkeynes@26
    10
 * the Free Software Foundation; either version 2 of the License, or
nkeynes@26
    11
 * (at your option) any later version.
nkeynes@26
    12
 *
nkeynes@26
    13
 * This program is distributed in the hope that it will be useful,
nkeynes@26
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
nkeynes@26
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
nkeynes@26
    16
 * GNU General Public License for more details.
nkeynes@26
    17
 */
nkeynes@26
    18
nkeynes@1
    19
/*
nkeynes@1
    20
 * IP.BIN related code. Ref: http://mc.pp.se/dc/ip0000.bin.html
nkeynes@1
    21
 */
nkeynes@26
    22
#ifndef dream_bootstrap_H
nkeynes@26
    23
#define dream_bootstrap_H 1
nkeynes@1
    24
nkeynes@1
    25
#ifdef __cplusplus
nkeynes@1
    26
extern "C" {
nkeynes@1
    27
#endif
nkeynes@1
    28
nkeynes@167
    29
#include "dream.h"
nkeynes@88
    30
nkeynes@26
    31
/**
nkeynes@26
    32
 * Dump the bootstrap info to the output log for infomational/debugging
nkeynes@26
    33
 * purposes.
nkeynes@26
    34
 */
nkeynes@167
    35
void bootstrap_dump(char *data, gboolean detail);
nkeynes@1
    36
nkeynes@1
    37
#ifdef __cplusplus
nkeynes@1
    38
}
nkeynes@1
    39
#endif
nkeynes@26
    40
#endif /* !dream_bootstrap_H */
.