Table of Contents
Note: This library for DOS/Win16 personality only. Use Family API for portability.
Note: osFree Macro Library provides macros for most of functions
@ModBlok
Version
2.0+
Brief
Modify memory block
DOS Interrupt
Family API
Syntax
INCLUDE DOS.INC @ModBlok PAR, SEGM
Parameters
- PAR WORD New size in paragraphs
- SEGM WORD (optional) segment to change. IF not passed then ES used
Return
- CF clear if successful
- CF set on error
- AX = error code (07h,08h,09h) (see #01680 at AH=59h/BX=0000h)
- BX = maximum paragraphs available for specified memory block
osFree Macro Library | |
---|---|
Video I/O | @SetMode @SetCurSz @SetCurPos @GetCur @SetPage @ScrollUp @ScrollDn @Scroll @GetChAtr @PutChAtr @PutCh @SetPalet @SetColor @SetDot @GetDot @WrtTTY @VideoState @GetMode @GetDisplay @GetVideoState @GetEGAInfo @Cls |
Hardware info | @Equipment @MemSize |
Serial I/O | @AuxInit @AuxSendChar @AuxRecieveChar @AuxStatus |
Tape I/O | @TapeOn @TapeOff @TapeRead @TapeWrite |
Keyboard I/O | @KbdStatus @CharIn @CharPeek |
Printer I/O | @PrnPrint @PrnInit @PrnStatus |
Disk I/O | @DskReset @DskStatus @DskRead @DskWrite @DskVerify @DskFormat |
Date and Time | @SetTime @GetTime |
Mouse | @MouInit @MouShowPointer @MouStatus @MouSetPos @MouSetMickey @MouRegion |
Memory manager | @ModBlok SET_BLOCK |