davidgiven / ack

The Amsterdam Compiler Kit
http://tack.sf.net
Other
420 stars 59 forks source link

Implement small memory model (separate I/D) for msdos86 target #234

Closed tkchia closed 2 years ago

tkchia commented 3 years ago

The proposed patches implement support for the small memory model (-i) for the msdos86 platform target. Specifying the -i option to the ACK front-end will make the compiler output an MS-DOS MZ executable with separate code and data segments.

As part of the implementation, I made a small change to the semantics of the mapflag directive in back-end description files (plat/*/descr). This change should not affect the other ACK platform targets.