Taiki-azrs / PC-98_Apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MS-DOS(PC-98) app developed in C language

Install tools

$ sudo add-apt-repository ppa:tkchia/build-ia16
$ sudo apt-get update
$ sudo apt-get install gcc-ia16-elf

How to make

  • tiny code model(64KB)
$ ia16-elf-gcc -mcmodel=tiny -march=i286 -o hello.com hello.c
$ file hello.com
hello.com: COM executable for DOS
  • small code model
$ ia16-elf-gcc -mcmodel=small -march=i286 -o hello.exe hello.c
  • medium code model
$ ia16-elf-gcc -mcmodel=medium -march=i286 -o hello.exe hello.c

About

License:MIT License


Languages

Language:C 100.0%