This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via 09b44b0d5e40e9302a71c9269e7df36c08377f1a (commit)
from 9c5ee7e30560a4d03fa82547e4b365ee0db73e2a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 09b44b0d5e40e9302a71c9269e7df36c08377f1a
Author: Zack Buhman <za...@bu...>
Date: Sat May 17 16:14:49 2025 -0500
scif: disable MCE by default
Enabling MCE is not a reasonable library default because the typical USB-UARTs
that are connected to the Dreamcast have large ~1024 byte TX/RX buffers and the
maximum Dreamcast SCIF baud rate is slow compared to the capabilities of these
chips.
Given the use-case for scif.c appears to be to allow for synchronously-blocking
debug prints over scif, from a library/policy perspective MCE should be
considered a "specialized" configuration.
For KallistiOS users, the behavior prior to this commit was:
- serial transmission may be silently permanently disabled due to the SCIF CTS
pin being disconnected or tied high
- it is not possible to use RTS/CTS as GPIO pins while also using scif.c
-----------------------------------------------------------------------
Summary of changes:
kernel/arch/dreamcast/hardware/scif.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/arch/dreamcast/hardware/scif.c b/kernel/arch/dreamcast/hardware/scif.c
index 4ceab8ca..70b7254b 100644
--- a/kernel/arch/dreamcast/hardware/scif.c
+++ b/kernel/arch/dreamcast/hardware/scif.c
@@ -242,8 +242,8 @@ int scif_init(void) {
for(i = 0; i < 800000; i++)
__asm__("nop");
- /* Unreset, enable hardware flow control, triggers on 8 bytes */
- SCFCR2 = 0x48;
+ /* Unreset, disable hardware flow control, triggers on 8 bytes */
+ SCFCR2 = 0x40;
/* Disable manual pin control */
SCSPTR2 = 0;
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|