I started looking at more of the source/leaks over the days.
I really wanted to build Hangtime and WWF, but they require a special tool to process the ASM files. More on this later.
I looked at a lot of LOD files.
The later generation of LOD has many IHDR statements, as wel as PPP ZON ZOF stuff that's outlined in the doc (hangtime source repo)
Adding a random IHDR from the load2 sample folder gives me output very similar to what i would expect.
I used a small lod file for only mutexp.tbl:
IHDR SIZX:W,SIZY:W,ANIX:W,ANIY:W,SAG:L,CTRL:W,PAL:L
.word: word,word,word,word (sizex, size y, aniX,aniY)
.long (SAG: image address)
.word (dma2 ctrl, but we don't have this..)
.long (pallette name)
Now, the docs also state clearly:
IHDR SIZX:W,SIZY:W,SAG:L,ANIX:W,ANIY:W,CTRL:W,PAL:L is default (totally wrong for our intent and purpose)
So this leaves us with:
- We don't have DMA2 control flags i think (ours is DMA1)
- Where does it get the 0x6000 from
- What other stuff we need to do to get proper output/alignment? Are we using correct LOD file?
Maybe
@mypinballs can see from this screenshot if the table is good enough? (my build root is a mess.)