Re: [AD] dat2s bug

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> So you're basically having a data ref made to point to the end of
> the exe, and dat2s itself appends and resolves refs ? Kind of a linker,
> really ?

Not so complicated. dat2s simply wraps up the binary dump (with the labels)
of the datafile in the .data section of an assembly file. Linking is done as
usual since the labels are present.

What was funny with the original dat2s is that compiled sprites, which are
stored as plain BITMAPs in the datafile, were compiled to machine code (a
bunch of 'mov') by dat2s and put in the .data section too!

- Eric




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/