A.D.A. Amiga Demoscene Archive

  Welcome guest! Please register a new account or log in




log in with SceneID


Demos Amiga Demoscene Archive Forum / Coding / structs in asm and c


Author Message
#1 - Posted: 23 Sep 2013 20:00
Reply Quote
Does anyone know any good way too keep struct definitions up to date between vbcc and vasm? I tend to just replicate c structs with rs-statements in asm, but ideally I would like the compiler to do this automatically. To save time and to avoid mistakes. Any ideas?

#2 - Posted: 28 Aug 2018 02:40
Reply Quote
Yes, what you're looking for is a C header converter. Just add a step in the build process to have all .h files converted to .i files before assembling any files. Some examples here:



  Please register a new account or log in to comment





A.D.A. Amiga Demoscene Archive, Version 3.0