mirror of
https://github.com/david-schmidt/gsport.git
synced 2024-06-01 12:41:29 +00:00
Quiet down the Windows build
This commit is contained in:
parent
27173383be
commit
f5c585f7b0
|
@ -32,8 +32,8 @@
|
|||
#define STRICT /* Tell Windows we want compile type checks */
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
#include "pcap.h"
|
||||
#include "../../tfe/tfesupp.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
@ -354,6 +354,7 @@ void tfe_arch_set_mac( const BYTE mac[6] )
|
|||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
void tfe_arch_set_hashfilter(const DWORD hash_mask[2])
|
||||
{
|
||||
#if defined(TFE_DEBUG_ARCH) || defined(TFE_DEBUG_FRAMES)
|
||||
|
@ -361,7 +362,7 @@ void tfe_arch_set_hashfilter(const DWORD hash_mask[2])
|
|||
hash_mask[1], hash_mask[0]);
|
||||
#endif
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
void tfe_arch_receive_remove_committed_frame(void)
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
#include <dirent.h>
|
||||
|
||||
#ifdef HAVE_TFE
|
||||
#include "protos_tfe.h"
|
||||
#include "tfe/tfesupp.h"
|
||||
#include "tfe/protos_tfe.h"
|
||||
#endif
|
||||
|
||||
#if defined _MSC_VER
|
||||
|
|
|
@ -24,7 +24,7 @@ const char rcsid_moremem_c[] = "@(#)$KmKId: moremem.c,v 1.251 2004-11-19 01:55:5
|
|||
#include "defc.h"
|
||||
|
||||
#ifdef HAVE_TFE
|
||||
#include "protos_tfe.h"
|
||||
#include "tfe/protos_tfe.h"
|
||||
#endif
|
||||
|
||||
extern char g_kegs_version_str[];
|
||||
|
|
|
@ -27,7 +27,8 @@ const char rcsid_sim65816_c[] = "@(#)$KmKId: sim65816.c,v 1.367 2004-11-22 02:39
|
|||
#include "defc.h"
|
||||
#undef INCLUDE_RCSID_C
|
||||
#ifdef HAVE_TFE
|
||||
#include "protos_tfe.h"
|
||||
#include "tfe/tfesupp.h"
|
||||
#include "tfe/protos_tfe.h"
|
||||
#endif
|
||||
#ifdef HAVE_PARALLEL
|
||||
#include "printer.h"
|
||||
|
|
|
@ -32,8 +32,10 @@ void tfe_reset(void);
|
|||
void tfe_shutdown(void);
|
||||
byte tfe_read(word16 addr);
|
||||
void tfe_store(word16 addr, byte var);
|
||||
/* Unused in this version of TFE, and generates complaints
|
||||
int tfe_read_snapshot_module(struct snapshot_s *s);
|
||||
int tfe_write_snapshot_module(struct snapshot_s *s);
|
||||
*/
|
||||
int tfe_enumadapter_open(void);
|
||||
int tfe_enumadapter(char **ppname, char **ppdescription);
|
||||
int tfe_enumadapter_close(void);
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
#include "..\defc.h"
|
||||
#include "tfesupp.h"
|
||||
#include "protos_tfe.h"
|
||||
#include "types.h"
|
||||
|
||||
|
||||
|
@ -996,8 +997,8 @@ static byte tfe_read_rx_buffer(int odd_address)
|
|||
static
|
||||
void tfe_sideeffects_write_pp(word16 ppaddress, int odd_address)
|
||||
{
|
||||
const char *on_off[2] = { "on","off" };
|
||||
#define on_off_str(x) ((x) ? on_off[0] : on_off[1])
|
||||
// const char *on_off[2] = { "on","off" };
|
||||
//#define on_off_str(x) ((x) ? on_off[0] : on_off[1])
|
||||
word16 content = GET_PP_16( ppaddress );
|
||||
|
||||
assert((ppaddress & 1) == 0);
|
||||
|
@ -1160,7 +1161,7 @@ void tfe_sideeffects_write_pp(word16 ppaddress, int odd_address)
|
|||
*p &= ~(0xFF << pos); /* clear out relevant bits */
|
||||
*p |= GET_PP_8(ppaddress+odd_address) << pos;
|
||||
|
||||
tfe_arch_set_hashfilter(tfe_hash_mask);
|
||||
// tfe_arch_set_hashfilter(tfe_hash_mask);
|
||||
|
||||
#if 0
|
||||
if(odd_address && (ppaddress == TFE_PP_ADDR_LOG_ADDR_FILTER+6))
|
||||
|
@ -1591,7 +1592,7 @@ byte tfe_read(word16 io_address)
|
|||
assert( io_address < 0x10);
|
||||
|
||||
/*if (tfe_as_rr_net) {
|
||||
/* rr status register is handled by rr cartidge
|
||||
// rr status register is handled by rr cartidge
|
||||
if (io_address < 0x02) {
|
||||
return 0;
|
||||
}
|
||||
|
@ -1685,7 +1686,7 @@ void tfe_store(word16 io_address, byte var)
|
|||
assert( io_address < 0x10);
|
||||
|
||||
/*if (tfe_as_rr_net) {
|
||||
/* rr control register is handled by rr cartidge
|
||||
// rr control register is handled by rr cartidge
|
||||
if (io_address < 0x02) {
|
||||
return;
|
||||
}
|
||||
|
@ -1784,6 +1785,7 @@ void tfe_store(word16 io_address, byte var)
|
|||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* resources support functions */
|
||||
#if 0
|
||||
static int set_tfe_disabled(int val, void *param)
|
||||
{
|
||||
/* dummy function since we don't want "disabled" to be stored on disk */
|
||||
|
@ -1794,11 +1796,11 @@ static int set_tfe_disabled(int val, void *param)
|
|||
{
|
||||
if (!tfe_cannot_use) {
|
||||
if (!val) {
|
||||
/* TFE should not be used as rr net
|
||||
// TFE should not be used as rr net
|
||||
if (tfe_as_rr_net) {
|
||||
tfe_as_rr_net = 0;
|
||||
|
||||
/* if adapter is already enabled then reset the LAN chip
|
||||
// if adapter is already enabled then reset the LAN chip
|
||||
if (tfe) {
|
||||
tfe_reset();
|
||||
}
|
||||
|
@ -1808,7 +1810,7 @@ static int set_tfe_disabled(int val, void *param)
|
|||
if (!tfe_as_rr_net) {
|
||||
tfe_as_rr_net = 1;
|
||||
|
||||
/* if adapter is already enabled then reset the LAN chip
|
||||
// if adapter is already enabled then reset the LAN chip
|
||||
if (tfe) {
|
||||
tfe_reset();
|
||||
}
|
||||
|
@ -1846,7 +1848,7 @@ static int set_tfe_enabled(int val, void *param)
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* 0 */
|
||||
|
||||
int set_tfe_interface(const char *name)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user