16 bit Assembly

Feedback   Site Map   Instruction Index  


16bit Assembly Code

The objectives of this website

I set out several years ago to write a DOS type operating system from scratch.

Whilst the web is a good source of information, assembly references are confusing and often miss-leading with very few working examples.

Information is mostly based around FAT16 hard drives, and running on top of another operation system.

As a result I have put this site together to help spread a little happiness to those programmers also struggling to resolve similar issues.

Originally I tried using Visual Studio but it kept trying to insert 32bit and sometimes 64bit code into the 16bit program. Visual Studio was also not able to let me use the INT command.

My code has therefore been written simply and should compile on most freely available compilers, although some minor amendments may be needed.

I will be uploading working program code, that you may use at your leisure.
You may find that some minor editing is required to adapt it for your own editor and compiler.

General Syntax used in my code samples:

All disk access routines assume Drive A: using 1.44Mb diskettes.

Reference

Assembly Instructions

Recent Code Release

Basic Teletype Code Samples

Displaying Register Values

Displaying Text Code Samples

Using the Stack

Date Code Samples

Time Code Samples

FAT12 Format of Floppy Disks

Finding Free Space on a Floppy Disk

Memory Code Samples

Creating a Startup Disk

File Size

Parameters (floppy)

Register Addressing

Mouse Callback

Information

My Compiler

Reference Links

Some information of 16bit FAT16




Last Update 9/03/2023
 


This website does not use cookies to identify or track user activity