Proper startup-code for Amiga
category: code [glöplog]
@britelite
Yes but only provided that it works on the real hardware.
Yes but only provided that it works on the real hardware.
Quote:
With "exotic" I meant those Amiga compatible systems like for example The Draco and the modern Minimig (which I own).
Draco lacks the chipset, so no. What Britelite said about the Minimig. :)
Quote:
"; twice to avoid a4k hw bug" from the source code provided above by StingRay.
Yes, that one is included in the interrupt code.
Quote:
Yes but only provided that it works on the real hardware.
That was my point, yes. You shouldn't make any changes in your code for MiniMig, it's the MiniMig that needs to be fixed if something doesn't work.
Here is the MiniWrapper used in the Amiga Hardware Programming Youtube tutorials and the Amiga Future articles Developing Demo Effects (available in German and English).
It's all you need, just add the label Demo: and paste your hardware-banging code. :)
This article on Coppershade.org explains the startup code with a link to the optional double-buffering demo template, where you can try ideas easily.
All of the code works on all Amigas, including auto-switching from graphics cards to native graphics. Have fun :)
It's all you need, just add the label Demo: and paste your hardware-banging code. :)
This article on Coppershade.org explains the startup code with a link to the optional double-buffering demo template, where you can try ideas easily.
All of the code works on all Amigas, including auto-switching from graphics cards to native graphics. Have fun :)
Quote:
Here is the MiniWrapper
A typo from the very beginning:
Code:
lea .GetVBR(PC),a5 ;else fetch vector base address to a4
Quote:
A typo from the very beginning:
Code:lea .GetVBR(PC),a5 ;else fetch vector base address to a4
It's not a typo. The vector base address is fetched to A4 by the .GetVBR procedure, the address of which is put into A5 for the Supervisor call on the subsequent line.
Ooops, yes. So not a typo, just my dumbness :)
Yesh, but shouldn't it read Amiga instead of PC? ;)
and PRINCESS lea...