📄 global.h
字号:
/*****************************************************************************/
/* Part of Monitor Program to use RS-232 */
/*****************************************************************************/
data word buf_addr;
data word buf_addr2;
data byte loading_ready = 0;
data byte dump_auto = 0;
data word dump_address = 0x8000;
/*****************************************************************************/
/* Part of Ethernet Driver */
/*****************************************************************************/
byte current_page;
byte next_pkt;
byte rx_frame_errors;
byte rx_crc_errors;
byte rx_missed_errors;
byte EthRxBufRdPtr;
byte EthRxBufWrPtr;
byte ethernet_8390_hdr[3];
dword pkt_cnt = 0;
/*****************************************************************************/
/* Description of header of each packet in receive area of memory */
/* The 8019 specific per-packet-header format. */
/*****************************************************************************/
struct e8390_pkt_hdr {
byte status; /* status of receiver */
byte next; /* pointer to next packet. */
byte countl; /* header + packet length in bytes */
byte counth;
};
/*****************************************************************************/
/* from tinytcp main */
/*****************************************************************************/
#include "tinytcp.h"
//#define LOCAL_IP_ADDR (202<<24)+(30<<16)+(20<<8)+162 /* 202.30.20.162 */
#define LOCAL_IP_ADDR 0xCA1E14AC
eth_HwAddress sed_lclEthAddr = { 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC };
eth_HwAddress sed_ethBcastAddr = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
in_HwAddress sin_lclINAddr = LOCAL_IP_ADDR;
dword clock_MS = 0; /* I don't know yet ??*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -