Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
ethernet65.h
Go to the documentation of this file.
1 /* A work-in-progess MEGA65 (Commodore 65 clone origins) emulator
2  Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu
3  Copyright (C)2018 LGB (Gábor Lénárt) <lgblgblgb@gmail.com>
4 
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
18 
19 #ifndef __XEMU_ETHERNET65_MEGA65_H_INCLUDED
20 #define __XEMU_ETHERNET65_MEGA65_H_INCLUDED
21 
22 extern int eth65_init ( const char *options );
23 extern void eth65_shutdown ( void );
24 extern void eth65_reset ( void );
25 extern Uint8 eth65_read_rx_buffer ( int offset );
26 extern void eth65_write_tx_buffer ( int offset, Uint8 data );
27 extern Uint8 eth65_read_reg ( int addr );
28 extern void eth65_write_reg ( int addr , Uint8 data );
29 
30 #endif
eth65_write_reg
void eth65_write_reg(int addr, Uint8 data)
Definition: ethernet65.c:419
eth65_write_tx_buffer
void eth65_write_tx_buffer(int offset, Uint8 data)
Definition: ethernet65.c:514
eth65_read_rx_buffer
Uint8 eth65_read_rx_buffer(int offset)
Definition: ethernet65.c:508
addr
int addr
Definition: dma65.c:81
m65-memcontent-generator.data
data
Definition: m65-memcontent-generator.py:119
Uint8
uint8_t Uint8
Definition: fat32.c:51
eth65_reset
void eth65_reset(void)
Definition: ethernet65.c:542
options
int options
Definition: cpmfs.c:41
eth65_init
int eth65_init(const char *options)
Definition: ethernet65.c:560
eth65_shutdown
void eth65_shutdown(void)
Definition: ethernet65.c:521
eth65_read_reg
Uint8 eth65_read_reg(int addr)
Definition: ethernet65.c:353