en:docs:bios:api:int12

Note: This IBM PC BIOS API call is for DOS/Win16 personality only. Use Family API for portability.

Note: osFree Macro Library provides macros for most of functions

2022/03/13 05:41 · prokushev · 0 Comments

Int 12H

Version

IBM 5150 and later

Brief

Get memory size

Family API

Input

none

Return

  • AX = kilobytes of contiguous memory starting at absolute address 00000h

Macro

INCLUDE BIOS.INC
 
@MemSize

Notes

  • this call returns the contents of the word at 0040h:0013h; in PC and XT, this value is set from the switches on the motherboard

Note