mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:43:15 -06:00
Workaround CH376 Reset Behavior
I am encountering some CH376 chips that go haywire after a reset command. They stop responding for a very long time. I am seeing this only on "LC Tech" adapters and only on Z80 systems (not Z180). No idea what is going on, so I am giving up for now and removing the reset.
This commit is contained in:
@@ -155,7 +155,14 @@ CH_INIT2:
|
||||
XOR A ; UNKNOWN MODE
|
||||
LD (CH_MODE),A ; SAVE IT
|
||||
;CALL CH_FLUSH ; FLUSH DEVICE OUTPUT QUEUE
|
||||
CALL CH_RESET ; FULL CH37X RESET
|
||||
;
|
||||
; I AM ENCOUNTERING SOME CH376 CHIPS THAT GO HAYWIRE AFTER A
|
||||
; RESET COMMAND. THEY STOP RESPONDING FOR A VERY LONG TIME.
|
||||
; I AM SEEING THIS ONLY ON "LC TECH" ADAPTERS AND ONLY ON Z80
|
||||
; SYSTEMS (NOT Z180). NO IDEA WHAT IS GOING ON, SO I AM
|
||||
; GIVING UP FOR NOW AND REMOVING THE RESET.
|
||||
;CALL CH_RESET ; FULL CH37X RESET
|
||||
;
|
||||
CALL CH_DETECT ; DETECT CHIP PRESENCE
|
||||
JR Z,CH_INIT3 ; GO AHEAD IF CHIP FOUND
|
||||
LD DE,CH_STR_NOHW ; NOT PRESENT
|
||||
|
||||
Reference in New Issue
Block a user