You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
glob_asm.h have this comment: /* grep "ASM " globals.h | grep "extern" | grep ";" | sed 's/extern \(.\+\) ASM \(.\+\);/__ASM(\1, \2) SEMIC/' */
So its pretty clear how it was generated initially.
But with time it gets more and more hand-editing
when new thunk types are added.
It would be good to investigate the possibility
of generating it during build.
The text was updated successfully, but these errors were encountered:
OK, this appears basically impossible.
One needs to get rid of glob_asmdefs.h first,
because it defines all symbols from glob_asm.h
as macros while we want to define them as symbols.
While it would be cool to get rid of one,
this will mean squashing of SymWrp into
AsmXXX classes.
One can even have some progress with
such squashing, until he hits the fact that
operator dot doesn't trigger the conversion
operator, cannot be overridden and all that.
So getting rid of glob_asmdefs.h and
consequently of glob_asm.h is currently
absolutely impossible.
Maybe with C++-23 there will be a hole
in that wall...
Its possible to add a new header that
will not be included in fdpp, but only in
freedos. Which means not globals.h,
as it IS included in fdpp.
So it won't be any closer to freedos
sources, no matter how hard to try.
glob_asm.h have this comment:
/* grep "ASM " globals.h | grep "extern" | grep ";" | sed 's/extern \(.\+\) ASM \(.\+\);/__ASM(\1, \2) SEMIC/' */
So its pretty clear how it was generated initially.
But with time it gets more and more hand-editing
when new thunk types are added.
It would be good to investigate the possibility
of generating it during build.
The text was updated successfully, but these errors were encountered: