This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/movedata.c

17 lines
325 B
C
Raw Normal View History

#include <stdio.h>
#include <string.h>
#include <dos.h>
void main()
{
char buffer[14] = {
'*', 0x17, 'H', 0x17, 'e', 0x17, 'l', 0x17,
'l', 0x17, 'o', 0x17, '*', 0x17 };
movedata( FP_SEG( buffer ),
FP_OFF( buffer ),
0xB800,
0x0720,
14 );
}