1
0
mirror of https://frontier.innolan.net/github/AmigaExamples.git synced 2025-11-21 00:20:30 +00:00
Files
AmigaExamples/022.photons_bootloader
2016-03-21 20:35:08 +11:00
..
2016-03-19 12:53:59 +11:00
2016-03-19 12:53:59 +11:00
2016-03-19 12:53:59 +11:00
2016-03-20 21:11:56 +11:00
2016-03-19 12:53:59 +11:00
2016-03-19 13:03:25 +11:00
2016-03-19 12:53:59 +11:00

Photon's bootloader

In this example we take 020.shrinkler and convert it to use Photon's bootloader.

I hacked the boot loader code just a little bit. Firstly I think some of the vasm optimisations messed with some of the code offsets that are assumed by Photon's code. Secondly I modified it to be compatible with my previous bootloader.

The bootblock code is in ../shared/hardware_bootblock.s, and will be the default bootblock I use going forward.

A new Makefile config option has been added:

USERSTACK_ADDRESS=7fffc

Luckily the bootloader and shrinkler code still fit in the bootblock :-)

try it