elks-enhanced

publicRead
Owner: themasterBranch: masterCommits: 6893Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL

Commit diff

Commit 00299ae0fccd48f3d556bf0f4a28f95db0ea7c7
commit 00299ae0fccd48f3d556bf0f4a28f95db0ea7c76
Author: swausd <swausd@t-online.de>
Date:   Mon Mar 16 11:19:20 2026 +0100

    Define a CPU internal IO pin to react on ISA BUS wait state requests (IOCHRDY)
---
 elks/include/arch/necv25.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/elks/include/arch/necv25.h b/elks/include/arch/necv25.h
index 499404eb..f7954e79 100644
--- a/elks/include/arch/necv25.h
+++ b/elks/include/arch/necv25.h
@@ -71,12 +71,12 @@
  * Port.Pin  Name   Function Direction Used in
  * P1.0             special  in        do not change
  * P1.1      INTP0  special  in        do not change
- * P1.2             special  in        do not change
- * P1.3             special  in        NE200 NIC
+ * P1.2      INTP1  special  in        do not change
+ * P1.3      INTP2  special  in        NE200 NIC
  * P1.4             I/O      in
  * P1.5             I/O      in
  * P1.6      /SCK0  special  out       spi-hw-necv25.S
- * P1.7             I/O      in
+ * P1.7      READY  I/O      in        connected to ISA IOCHRDY
  *
  * Port.Pin  Name   Function Direction Used in
  * P2.0      SDA    I/O      in/out    i2c-ll.S
@@ -91,7 +91,7 @@
 // PM1 PMC1, PM2 and PMC2 have to get initialized in BIOS
 // or startup code with these values before ELKS starts:
 #define NEC_PM1_DEF  0xbf
-#define NEC_PMC1_DEF 0x40
+#define NEC_PMC1_DEF 0xc0
 #define NEC_PM2_DEF  0x80
 #define NEC_PMC2_DEF 0x00