|alpine9000 fd81af3cca||2 years ago|
|000.trackdisk||5 years ago|
|001.simple_image||2 years ago|
|002.sprite_display||5 years ago|
|003.music||2 years ago|
|004.copper_bars||5 years ago|
|005.copper_vert||5 years ago|
|006.simple_blit||2 years ago|
|007.masked_blit||2 years ago|
|008.shift_blit||2 years ago|
|009.anim_blit||2 years ago|
|010.blit_speed||2 years ago|
|011.ehb_mode||2 years ago|
|012.ham_mode||2 years ago|
|013.dithered_ham||2 years ago|
|014.lace_mode||2 years ago|
|015.sliced_ham||2 years ago|
|016.copper_fun||2 years ago|
|017.dual_playfield||2 years ago|
|018.vert_scroll||2 years ago|
|019.hori_scroll||2 years ago|
|020.shrinkler||2 years ago|
|021.calling_c||2 years ago|
|022.photons_bootloader||2 years ago|
|023.slideshow||2 years ago|
|024.simple_text||2 years ago|
|025.scroll_text||2 years ago|
|026.tile_hscroll||2 years ago|
|027.parallax||2 years ago|
|028.bs||5 years ago|
|assets||5 years ago|
|doc||5 years ago|
|examples||5 years ago|
|include||5 years ago|
|shared||2 years ago|
|tools||2 years ago|
|.gitignore||5 years ago|
|LICENSE||5 years ago|
|Makefile||2 years ago|
|README.md||5 years ago|
This repo contains example programs I have written as I re-learn how to program an amiga. The programs are written in assembler and directly access the hardware. Most of the examples have been tested using FS-UAE and my Amiga 500. Some require 1mb of chip ram, most work fine with 512kb.
Don't use this as an amiga programming guide. I don't do things the "correct" way. There are heaps of great guides out there if you want to do things the right way. My a68k asm vocab starts out pretty small, and grows only very slowly, so again, this is not guide on the best way to do things.
Most of the sites I have used during the learning process:
Each example tries to introduce only one new concept, often building on the previous examples.
See each example's README.md for a limited description as well as a clickable link to run the example in your browser using my hacked version of Scripted Amiga Emulator
Most of the examples are only tested on a 512kb chip ram A500. Some examples have an option extended versoin that might require more chip ram, and in that case an A600 would be the best option.
These examples are developed on a mac using cahirwpz's AmigaOS cross compiler for Linux / MacOSX / Windows.
The support tools I have developed have additional requirements which you may not have on your system.
For a dump of what I did to install them see installing the cross development environment
Build all examples by running
make at the top level directory.
Individual examples can be built by entering the directory and running make:
# cd 001.simple_image # make
this will create a bootable ADF image in the
Load this file directly into your emulator of choice as
DF0:, or even better, run it on the real hardware.
The following are the emulators I have used so far:
they each have strengths and weaknesses, so it's worth giving them each a try.
The following cross development tools have been developed to support the examples:
The following cross development tools have been sourced from external authors:
Each tool has a test to check if any changes you have made have broken basic functionality:
# cd tools/imagecon # make test ______ ___ _____ _____ ___________ | ___ \/ _ \ / ___/ ___| ___| _ \ | |_/ / /_\ \\ `--.\ `--.| |__ | | | | | __/| _ | `--. \`--. \ __|| | | | | | | | | |/\__/ /\__/ / |___| |/ / \_| \_| |_/\____/\____/\____/|___/ #
or test all by running
make test at the top level
Some of the code I have included in this repository is copyright by various authors and provided under various licenses. Copyright notices are preseved where possible.
Some of the tools use GPL licensed libraries which would mean they could only be distributed under the conditions of the respective version of the GPL.
All code without a copyright notice is licensed as per the terms in LICENSE.