Category : Network Files
Archive   : ENADR.ZIP
Filename : ENADR.C
Output of file : ENADR.C contained in archive : ENADR.ZIP
#define L_GETEAR 6 /* bytes in binary E/N address */
#define L_EA (2 * (L_GETEAR + 1)) /* size of ASCII E/N address */
#define IE_GP 8 /* xmit, station addr PROM pointer */
#define IE_SA 12 /* station address PROM window */
#define EA_BASE 0x300 /* Ethernet adapter base address */
main()
{
int i, byte, base = EA_BASE; /* 3C501 adapter I/O base address */
for (i=0; i
byte = inportb (base + IE_SA); /* fetch address byte */
printf ("%02x", byte & 0xff);
}
printf ("\n");
}
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/