Josh Wilmes wrote:
> 
> > I think the only feature I used tools86 for was to preprocess
> > the bios file and separate lines after like...
> >
> > #define JMPL(label) db 0xe9!!!dw (label-(*+2)) ; jmp near label
> >
> > ...after gcc -E preprocessed macros.  I could be forgetting
> > something else.  But if now, this would only take a small
> > C program to do, and could replace using tools86.
> >
> > When you see '!!!', generate a newline.
> >
> 
> You mean something like "perl -pe 's/!!!/\n/g' file"?

Yeah, something like that.  Sed, perl, or other stream
editor will do as well as C.  I suggested C 'cause
I'm always in lowest common denominator mode (Windows).

-Kevin

Reply via email to