Closed edcdecl closed 4 weeks ago
Yes, indeed. I already recognize this issue and would likely to be fixed in #406. But it would be a breaking change no matter how we fix.
See this comment in the PR for more detailed analysis about DOS stub and signature across toolchains.
yes this will be fixed shortly with the linked PR; we may not have a crates release for a bit, since it's a breaking change, and I like to roll up breaking changes as much as possible
fixed in #406
assembling these two files with FASM in the same folder in this order:
segment haha use16 _entry: ; this is bad on purpose mov ah, 0x02 repeat 32 mov dl, 'b' int 21h mov dl, 'o' int 21h mov dl, 'g' int 21h mov dl, 'u' int 21h mov dl, 's' int 21h end repeat mov al, 0 mov ah, 0x4C int 21h
format PE CONSOLE on 'DOSS.EXE' include 'win32axp.inc'
.code _entry: invoke MessageBoxA,0,"Text","Caption",0 invoke ExitProcess,0
.end _entry