Skip to content

Commit

Permalink
Added identification of WDC or AMD part based on microcode version
Browse files Browse the repository at this point in the history
Added measure and reporting of SCSI controller input clock
Improved handling of user abort (^C)
For -r command, added optional register number to read a single register
For -r command, added optional value to update a single register
Added -p command to probe SCSI bus for device presence (not well-tested)
Added decode of SCSI Command Phase register
Added support for register access of 33C93B parts using undocumented command
Improved SDMAC version check to be more careful about identifying SDMAC-04
  • Loading branch information
Chris Hooper committed Sep 22, 2024
1 parent 2962db4 commit b6c20fd
Show file tree
Hide file tree
Showing 4 changed files with 1,408 additions and 264 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Chris Hooper
Copyright (c) 2024 Chris Hooper

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ CFLAGS := -Wall -Wno-pointer-sign -Os

CFLAGS += -fomit-frame-pointer

#LDFLAGS := -Xlinker -Map=$(PROG).map -noixemul
#LDFLAGS = -Xlinker [email protected] -mcrt=clib2 -lnet
LDFLAGS = -Xlinker -Map=$@.map -Wa,-a > $@.lst -mcrt=clib2
# clib2 crashes on exit under Kickstart 2.x
#LDFLAGS = -Xlinker [email protected] -Wa,-a > [email protected] -mcrt=clib2
LDFLAGS = -Xlinker -Map=$@.map -Wa,-a > $@.lst -noixemul

#CFLAGS += -g
#LDFLAGS += -g
Expand Down
42 changes: 40 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,44 @@
Amiga 3000 SDMAC and WD33C93A register test utility

This is a small utility which can identify the Amiga 3000 SDMAC version
and talk through the SDMAC to read WD33C93A registers.
and talk through the SDMAC to read WD33C93A registers and identify that
chip as well.

Updated so this can be built using the [amigadev/crosstools](https://hub.docker.com/r/amigadev/crosstools) Docker container and VSCode
It can be built using the [amigadev/crosstools](https://hub.docker.com/r/amigadev/crosstools) Docker container and VSCode or can be built using Bebbo's gcc Amiga cross-compiler from Linux.

-------------------------------------------------------

Example output

<PRE>
9.OS322:> sdmac
Memory controller: Ramsey-07 $f
Ramsey config: 1Mx4, 238 clock refresh
SCSI DMA Controller: SDMAC-02
SCSI Controller: WD33C93A 00-08 microcode 09
WDC Configuration: 14.3 MHz, Polled Mode, 245 msec timeout, Async

Ramsey test: PASS
SDMAC test: PASS
WDC test: PASS
</PRE>

-------------------------------------------------------

For more information on WD33C93 and compatible chips, including high resolution photos of chip packages, see the following:<BR>
<A HREF="http://eebugs.com/scsi/wd33c93/">
http://eebugs.com/scsi/wd33c93/
</A>

Actual samples from my part stock
<PRE>
mcode datecode
WD33C93 00-02 00 8849 115315200102
WD33C93A 00-03 00 8909
WD33C93A 00-04 00 9040 040315200102 9109 041816200102
WD33C93A 00-06 08 9018 058564200302
AM33C93A 08 9022 9009 1048EXA A 8950 1608EXA A
WD33C93A 00-08 09 9209 F 25933A5-3503 9205 F 25890A2-3503
WD33C93B 00-02 0d 1025 E 2513427-3702
AIC-33C93B 0d EBACA724
</PRE>
Loading

0 comments on commit b6c20fd

Please sign in to comment.