gcc 16 bit code output

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

gcc 16 bit code output

Post by Neo »

can anyone tell me how to output 16 bit code using gcc compiler?
Only Human
rexlunae

RE:gcc 16 bit code output

Post by rexlunae »

asm(".code16gcc");

You need to place this is every module.
rexlunae

RE:gcc 16 bit code output

Post by rexlunae »

Or, at least, this will make 32-bit code with overrides so it can run in 16-bit segments and real mode, but you still need a 386 or better.
Jarek Pelczar

RE:gcc 16 bit code output

Post by Jarek Pelczar »

There are .md and other files on DJGPP site (www.delorie.com/djgpp). It's in 16-bit tools group.
Adek336

RE:gcc 16 bit code output

Post by Adek336 »

Co slychac, Jarek? Jak zdrowko?

Cheers,
Adrian.
Jarek Pelczar

RE:gcc 16 bit code output

Post by Jarek Pelczar »

Thanks, fine ;)
Post Reply