summaryrefslogtreecommitdiff
path: root/xpp/slic.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/slic.h')
-rw-r--r--xpp/slic.h28
1 files changed, 22 insertions, 6 deletions
diff --git a/xpp/slic.h b/xpp/slic.h
index 76f2d6e..ea49441 100644
--- a/xpp/slic.h
+++ b/xpp/slic.h
@@ -1,5 +1,26 @@
#ifndef SLIC_H
#define SLIC_H
+/*
+ * Written by Oron Peled <oron@actcom.co.il>
+ * Copyright (C) 2004-2006, Xorcom
+ *
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
#include "xdefs.h"
@@ -46,12 +67,6 @@ typedef struct slic_reply {
(slic_reg)->reg_data = data; \
} while(0);
-/* OLD SLIC_INIT data */
-typedef struct slic_data {
- byte len;
- byte data[40];
-} __attribute__((packed)) slic_data_t;
-
/*------------------------------ SLIC Initializers -------------------------*/
@@ -60,6 +75,7 @@ int slic_cmd_direct_read(slic_cmd_t *sc, xpp_line_t lines, byte reg);
int slic_cmd_indirect_write(slic_cmd_t *sc, xpp_line_t lines, byte reg, byte data_low, byte data_high);
int slic_cmd_indirect_read(slic_cmd_t *sc, xpp_line_t lines, byte reg);
void dump_slic_cmd(const char msg[], slic_cmd_t *sc);
+int run_initialize_registers(xpd_t *xpd);
#endif /* SLIC_H */