View Single Post
Old 02 May 2020, 10:36   #12
thyslo
Registered User
 
Join Date: Apr 2018
Location: Germany
Posts: 189
Thanks for this tutorial! Meanwhile halfway through episode 5 and I've learnt a lot so far. Really looking forward for more stuff to come;-)

One remark. 'though: With the Episode5 files I tried to load a picture which I saved with the Amiga program Brilliance. I noticed that the CMAP header of this picture wasn't found in palette.asm / agdGetBitmapPalette.

The reason is that Brilliance has some long extra chunk after FORM which is like:

Code:
   ILBMANNO   "Written by Brilliance Release 2.0
So, in agdGetBitmapPalette I had to change the line

Code:
    move.l #40,d7
to

Code:
    move.l #80,d7
for the CMAP to be loaded. But this is no generic solution, and I don't know if this would be a problem if a really small ILBM file is loaded.
thyslo is offline  
 
Page generated in 0.04564 seconds with 11 queries