Skip to content

Taiki-azrs/PC-98_Apps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%