Acorn Arcade forums: Programming: Can old libs be made 32 bit?
|
Can old libs be made 32 bit? |
|
pfj (19:19 26/8/2003) Paolo Zaino (21:57 3/9/2003) jmb (22:26 3/9/2003) Paolo Zaino (23:31 3/9/2003)
|
|
Paul F. Johnson |
Message #45888, posted by pfj at 19:19, 26/8/2003 |
Member
Posts: 54
|
I have a 26 bit precompiled AOF file which I've altered to make 32 bit compliant. However, linking with it still gives the 32 bit attribute clash.
Is there a way to change the AOF so that the clash goes? |
|
[ Log in to reply ] |
|
Paolo Fabio Zaino |
Message #46158, posted by Paolo Zaino at 21:57, 3/9/2003, in reply to message #45888 |
Member
Posts: 61
|
Very good question Paul... I have your same problem and i am looking arround it too, but still didn't undestand where the problem is, it should be in some SharedCLib call but i get lost. |
|
[ Log in to reply ] |
|
JMB |
Message #46160, posted by jmb at 22:26, 3/9/2003, in reply to message #46158 |
Member
Posts: 467
|
It's perfectly possible. Assuming you've 32bitted the contents, all you need to do is set the 32bit compatibility flag in the each Area Header. (bit 16. Bits 0-7 = AL, Bits 8-15 = AT) See PRM4, Appendix D for more details (AOF file format) |
|
[ Log in to reply ] |
|
Paolo Fabio Zaino |
Message #46161, posted by Paolo Zaino at 23:31, 3/9/2003, in reply to message #46160 |
Member
Posts: 61
|
Thanks a lot JMB, i am going to check on PRM4 |
|
[ Log in to reply ] |
|
|
Acorn Arcade forums: Programming: Can old libs be made 32 bit? |