-#define ETH_CTRL_PORT P3 // Adjust this to suit hardware.
-sbit IOW = ETH_CTRL_PORT^4; // ISA slot pin B13, RTL8019AS pin 30, active low
-sbit IOR = ETH_CTRL_PORT^5; // ISA slot pin B14, RTL8019AS pin 29, active low
-sbit NICE = ETH_CTRL_PORT^2; // A7, usado para activar placa de red
-
-
-/* ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
- º º
- º Required additional ISA slot wiring. º
- º º
- ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ */
-// SD0 ETH_DATA_PORT^0 // ISA slot pin A9, RTL8019AS pin 36
-// SD1 ETH_DATA_PORT^1 // ISA slot pin A8, RTL8019AS pin 37
-// SD2 ETH_DATA_PORT^2 // ISA slot pin A7, RTL8019AS pin 38
-// SD3 ETH_DATA_PORT^3 // ISA slot pin A6, RTL8019AS pin 39
-// SD4 ETH_DATA_PORT^4 // ISA slot pin A5, RTL8019AS pin 40
-// SD5 ETH_DATA_PORT^5 // ISA slot pin A4, RTL8019AS pin 41
-// SD6 ETH_DATA_PORT^6 // ISA slot pin A3, RTL8019AS pin 42
-// SD7 ETH_DATA_PORT^7 // ISA slot pin A2, RTL8019AS pin 43
-// SA0 ETH_ADDR_PORT^0 // ISA slot pin A31, RTL8019AS pin 5
-// SA1 ETH_ADDR_PORT^1 // ISA slot pin A30, RTL8019AS pin 7
-// SA2 ETH_ADDR_PORT^2 // ISA slot pin A29, RTL8019AS pin 8
-// SA3 ETH_ADDR_PORT^3 // ISA slot pin A28, RTL8019AS pin 9
-// SA4 ETH_ADDR_PORT^4 // ISA slot pin A27, RTL8019AS pin 10
-// SA5 GND // ISA slot pin A26, RTL8019AS pin 11
-// SA6 GND // ISA slot pin A25, RTL8019AS pin 12
-// SA7 GND // ISA slot pin A24, RTL8019AS pin 13
-// SA8 +5V // ISA slot pin A23, RTL8019AS pin 15
-// SA9 +5V // ISA slot pin A22, RTL8019AS pin 16
-// SA10 GND // ISA slot pin A21, RTL8019AS pin 18
-// SA11 GND // ISA slot pin A20, RTL8019AS pin 19
-// SA12 GND // ISA slot pin A19, RTL8019AS pin 20
-// SA13 GND // ISA slot pin A18, RTL8019AS pin 21
-// SA14 GND // ISA slot pin A17, RTL8019AS pin 22
-// SA15 GND // ISA slot pin A16, RTL8019AS pin 23
-// SA16 GND // ISA slot pin A15, RTL8019AS pin 24
-// SA17 GND // ISA slot pin A14, RTL8019AS pin 25
-// SA18 GND // ISA slot pin A13, RTL8019AS pin 26
-// SA19 GND // ISA slot pin A12, RTL8019AS pin 27
-// AEN GND // ISA slot pin A11, RTL8019AS pin 34
-// SMEMW +5V // ISA slot pin B11, RTL8019AS pin 32
-// SMEMR +5V // ISA slot pin B12, RTL8019AS pin 31
-// GND GND // ISA slot pin B1
-// +5VDC +5V // ISA slot pin B3
-// GND GND // ISA slot pin B31
-// +5VDC +5V // ISA slot pin B29
-// RESET ? // ISA slot pin B2, active high reset input
-
-
-/* ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
- º º
- º ISA 16 bit expansion slot edge connector. º
- º º
- ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ */
-
-// ³ ÚÄÄÄÄÄ¿ ³
-// ³C18 C1³ ³A31 Component side A1³
-// ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ; ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;
-// D18 D1 B31 Solder side B1
-
-
+#ifdef SDCC
+sbit at 0xB4 IOW; // ISA slot pin B13, RTL8019AS pin 30, active low
+sbit at 0xB5 IOR; // ISA slot pin B14, RTL8019AS pin 29, active low
+sbit at 0xB2 NICE; // A7, usado para activar placa de red
+#else
+#define CTRL_PORT P3 // Adjust this to suit hardware.
+sbit IOW = CTRL_PORT^4; // ISA slot pin B13, RTL8019AS pin 30, active low
+sbit IOR = CTRL_PORT^5; // ISA slot pin B14, RTL8019AS pin 29, active low
+sbit NICE = CTRL_PORT^2; // A7, usado para activar placa de red
+#endif