AminetAminet
Search:
83524 packages online
About
Recent
Browse
Search
Upload
Setup
Services

driver/other/dsp3210.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:DSP 3210 drivers and tools
Author:Thomas Winischhofer
Uploader:thomas winischhofer net (Thomas Winischhofer)
Type:driver/other
Version:2.00
Architecture:m68k-amigaos
Date:2021-06-09
Download:http://aminet.net/driver/other/dsp3210.lha - View contents
Readme:http://aminet.net/driver/other/dsp3210.readme
Downloads:743

DSP 3210 drivers & tools

This package contains drivers and several tools to use 
and operate the DSP 3210 on AA3000/AA3000+ motherboards.

Samples and Demos **********************************

dsp3210devtest: A tool for comprehensively testing
the DSP drivers (dsp3210.device and dsp3210.resource)
and the hardware. It executes DSP programs that hammer 
host memory in all directions and of all kinds (chip 
and fast). If this shows errors (other than IO errors), 
there is a hardware problem at hand, most likely GAL 
timing issues.

examples/dsp3210run: Runs a given DSP program.
Is a sample and skeleton for new applications at the
same time. It fully utilizes the drivers in this
package.

examples/dsp3210libtest and examples/dsp3210clibtest:
Show usage of dsp3210.library, by loading and relocating
the DSP programs in examples/DSP.

makeobjectfile: This utility creates an object file 
out of any binary, and the main purpose here is to 
create object files out of DSP binaries, ready to link 
to your own application with blink, slink or and other 
Amiga standard linker. 

dsp3210.library *************************************

This library helps applications to use the DSP by
handling binaries created by the d32 tools (eg d32as 
and d32cc). 

It currently supports 
- calculating the required memory for the relocated
  binary
- relocating a DSP binary to a target memory 
  address 
- loading and relocating a DSP binary in one single 
  step (DSPLoadMod())
- resolving local and global symbols accross several
  DSP binaries
- additional application-provided global symbols
- searching for global symbols  

Please see the code samples for more information,
first and foremost dsp3210run.

Source and developer files included.

DSP 3210 Resource & Device ***************************

Low level drivers for the DSP.

1) dsp3210.resource

The dsp3210.resource ("resource") is the base layer.

dsp3210.resource is an executable which is run from
CLI at startup, for example from user-startup.

This executable creates the dsp3210.resource.

If an onboard DSP is found (such as on the original
AA3000 or the new AA3000+), it creates a corresponding
DSPEntry and installs an interrupt server.

If no onboard DSP is found, the resource is created
empty, ready for third party drivers to add their
DSPEntry (including an optional interrupt handler
task).

The original concept of the onboard DSP had SuperDMAC
version 4 in mind. This version of SuperDMAC has
a register for reading various DSP control signals.

Since SuperDMAC 4 is not widely available (yes, I am
aware this is an understatement), the resource, by 
default, installs in SuperDMAC 2 mode. This means 
the resource does not use the control signals.

If dsp3210.resource is run on a machine with Super-
DMAC 4, the resource can be installed in SuperDMAC
4 mode by using the command line switch "SDMAC4".

The resource offers an infrastructure to let the DSP
trigger hardware interrupts 2 and/or 6. Please see
the included example programs on how to use this.

Calling dsp3210.resource directly is not recommended,
dsp3210.device is the real API for user applications.

2) dsp3210.device

This is placed in devs: and is a middle layer between
the dsp3210.resource and the user application.

Please see the included examples for more information 
on how to use this.

  
All files in this archive are written in 1987 or 2020 
by Thomas Winischhofer

Newer versions of this package might be found at
https://github.com/realA10001986/Amiga

Changelog:

2.00: (=210609 on github)
- massive changes and additions, see ChangeLog
- add dsp3210run, a fully featured sample
  program to run DSP programs

1.03: (=210304 on github)
- numerous changes, additions and fixes for 
  dsp3210.library

1.02: (=210213 on github)
- dsp3210.resource: disable interrupts while
  writing to $dd0080 if started with r4 or r10
  parameters. 
  
1.01: (=210210 on github)
- dsp3210.resource: By default, write byte to 
  DSP control register only once. 
- Added read tests to dsp3210devtest
- Moved dsp3210.resource to devs:
  (Please delete c:dsp3210.resource after installing)

1.00
- Initial release




Contents of driver/other/dsp3210.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 3458    7820  44.2% -lh5- 4ba7 Jun  9 16:55 Changelog.txt
[unknown]                 1581    2528  62.5% -lh5- 21e8 Jun  9 16:55 devs/dsp3210.device
[unknown]                 1794    2964  60.5% -lh5- cdec Jun  9 16:55 devs/dsp3210.resource
[unknown]                 4934   25786  19.1% -lh5- ea1b Jun  9 16:55 doc/dsp3210_device.doc
[unknown]                 2414    8023  30.1% -lh5- 3a90 Jun  9 16:55 doc/dsp3210_library.doc
[unknown]                  330     554  59.6% -lh5- 9aa2 Jun  9 16:55 doc/makeobjectfile.txt
[unknown]                10000   19296  51.8% -lh5- c439 Jun  9 16:55 dsp3210devtest
[unknown]                  316     618  51.1% -lh5- 43f9 Jun  9 16:55 examples/DSP/example1
[unknown]                  412     766  53.8% -lh5- d95f Jun  9 16:55 examples/DSP/example1.s
[unknown]                  367     713  51.5% -lh5- c814 Jun  9 16:55 examples/DSP/example2
[unknown]                  274     555  49.4% -lh5- 4307 Jun  9 16:55 examples/DSP/example2.s
[unknown]                  246     550  44.7% -lh5- af8b Jun  9 16:55 examples/DSP/make
[unknown]                  224     342  65.5% -lh5- f5b2 Jun  9 16:55 examples/DSP/testprogram
[unknown]                  261     443  58.9% -lh5- 571a Jun  9 16:55 examples/DSP/testprogram.s
[unknown]                  283     634  44.6% -lh5- 5b00 Jun  9 16:55 examples/DSP/triggerhostint
[unknown]                  510    1834  27.8% -lh5- f6ca Jun  9 16:55 examples/DSP/triggerhostint.s
[unknown]                 6175    9724  63.5% -lh5- 6d5a Jun  9 16:55 examples/dsp3210clibtest
[unknown]                 3265    9323  35.0% -lh5- 7d5c Jun  9 16:55 examples/dsp3210clibtest.c
[unknown]                 1052    2168  48.5% -lh5- c009 Jun  9 16:55 examples/dsp3210libtest
[unknown]                 3676   11592  31.7% -lh5- 6a15 Jun  9 16:55 examples/dsp3210libtest.a
[unknown]                 7829   13304  58.8% -lh5- 13c7 Jun  9 16:55 examples/dsp3210run
[unknown]                 5190   14826  35.0% -lh5- 3cb4 Jun  9 16:55 examples/dsp3210run.c
[unknown]                  307     688  44.6% -lh5- 12bc Jun  9 16:55 examples/dsp3210run_int.o
[unknown]                  478    1424  33.6% -lh5- e5dd Jun  9 16:55 include/clib/dsp3210_protos.h
[unknown]                 1116    3215  34.7% -lh5- 4a4f Jun  9 16:55 include/devices/dsp3210.h
[unknown]                 1434    4096  35.0% -lh5- 5934 Jun  9 16:55 include/devices/dsp3210.i
[unknown]                  454     935  48.6% -lh5- 32db Jun  9 16:55 include/libraries/dsp3210.h
[unknown]                  589    1284  45.9% -lh5- d25d Jun  9 16:55 include/libraries/dsp3210.i
[unknown]                  130     346  37.6% -lh5- 19b4 Jun  9 16:55 include/pragmas/dsp3210_pragmas.h
[unknown]                  127     186  68.3% -lh5- 8c01 Jun  9 16:55 include/proto/dsp3210.h
[unknown]                 3532    9977  35.4% -lh5- 0d2e Jun  9 16:55 include/resources/dsp3210.h
[unknown]                 3834   10769  35.6% -lh5- 1191 Jun  9 16:55 include/resources/dsp3210.i
[unknown]                  209     511  40.9% -lh5- 81f5 Jun  8 15:30 install
[unknown]                  258     840  30.7% -lh5- 5d2f Jun  9 16:55 lib/dsp3210.lib
[unknown]                 2161    3676  58.8% -lh5- 0bbf Jun  9 16:55 libs/dsp3210.library
[unknown]                  644    1616  39.9% -lh5- 0fe6 Jun  9 16:55 makeobjectfile
[unknown]                 1900    4362  43.6% -lh5- e6db Jun  9 16:55 readme
[unknown]                  532    1935  27.5% -lh5- b7cb Jun  9 16:55 src/dsp3210.lib.a
[unknown]                11900   44082  27.0% -lh5- e8be Jun  9 16:55 src/dsp3210.library.a
[unknown]                 8963   40733  22.0% -lh5- 802e Jun  9 16:55 src/dsp3210devtest.c
[unknown]                 1655    5835  28.4% -lh5- 171d Jun  9 16:55 src/makeobjectfile.a
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        41 files   94814  270873  35.0%            Jun  9 22:51

Aminet © 1992-2021 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>