|Lukas F. Hartmann f3e96efd75 Merge branch 'master' of midwan/zz9000-sdk into master||pirms 4 mēnešiem|
|examples||pirms 7 mēnešiem|
|include||pirms 8 mēnešiem|
|lib||pirms 8 mēnešiem|
|zz9k-loader||pirms 5 mēnešiem|
|.gitignore||pirms 7 mēnešiem|
|README.md||pirms 6 mēnešiem|
|link.ld||pirms 8 mēnešiem|
build-appname.sh script that calls
arm-none-eabi-gcc to build and statically link the application with a special linker file,
link.ld. Every application is per default linked to run at address
0x03000000 and can access arbitrary memory. There is no memory protection or memory management, but you can link in the included
libmemory for malloc/free as demonstrated by the nanojpeg example (you just give it a fixed memory block on startup).
zz9k-loader directory, you can find sources for the
zz9k CLI tool that runs on AmigaOS (m68k). With
zz9k, you can load an ARM application into the DDR3 memory of ZZ9000 and run it. The loader supports setting up multiple user interface modalities as a convenience:
runjust jumps to your code with no user interface.
-320x240set up a 640x480@32 or 320x240@32 Intuition screen. If you pass a
!screenparameter to your application, it will be substituted for the screen’s bitmap address for direct access. Pass
!widthas a parameter to get the screen’s width in pixels.
-keyboardpasses raw Amiga keyboard scan codes to the ARM application’s event stream.
-consoleattaches stdin and stdout of the Shell to your application, demonstrated by the
-audioexperimental mode that plays back an audio buffer your application creates until a mouse button is pressed, demonstrated by
zz9k load conway.bin zz9k run -320x240 !screen !width
zz9k load vector.bin zz9k run -320x240 !screen !width
zz9k load raytrace.bin zz9k run -320x240 !screen !width
The SDK contains a collection of third-party libraries/code for ARM bare metal applications:
Portions of example code is lifted from the following sources:
If not stated otherwise in specific source code files, everything here is:
SPDX-License-Identifier: GPL-3.0-or-later https://spdx.org/licenses/GPL-3.0-or-later.html