Showing posts with label MMC (TE-I). Show all posts
Showing posts with label MMC (TE-I). Show all posts

TE Comp Sem-I MMC Prac 9 (PC2PC File)

#include<stdio.h>
#include<dos.h>
#include<string.h>
#include<conio.h>

#define PORT1 0x3f8

void main()
{
int c,ch,choice,i;

TE Comp Sem-I MMC Prac 8 (PC2PC Chat)

#include<stdio.h>
#include<dos.h>
#include<string.h>
#include<conio.h>

#define PORT1 0x3f8

void main()
{
int c,ch,choice,i;

TE Comp Sem-I MMC Prac 7 (Mouse)

print macro msg
push ax
push dx
mov ah,09h
lea dx,msg
int 21h
pop dx

TE Comp Sem-I MMC Prac 6 (DPMI)


.MODEL SMALL
.486P

DISPLAY1 MACRO MSG
    MOV AH,09H

TE Comp Sem-I MMC Prac 5 (Printer)

.MODEL SMALL
.CODE
                   ;"DEVICE HEADER"
LINK DD -1                         ;LINK FIELD
     DW 0C000H                     ;ATTRIBUTE WORD

TE Comp Sem-I MMC Prac 4 (FAT)

#include<stdio.h>
#include<conio.h>
#include<stdio.h>
#include<string.h>

union
    {
     char no[4];
     int num;

TE Comp Sem-I MMC Prac 3 (Boot)

#include<stdio.h>
#include<conio.h>
#include<stdlib.h>

void main()
{
    int i;
    unsigned char *buff,*ptr;
    union

TE Comp Sem-I MMC Prac 2 (Copy)

.model small
.data
sname db 20 dup(0),00,'$'
dname db 20 dup(0),00,'$'
handle1 dw ?
handle2 dw ?
buff db ?

TE Comp Sem-I MMC Prac 1 (Type)

.model small

.data
str1 db 10h dup(0)                ; will save filename in this
buff db 1h dup(0)                   ; buffer to save data
str2 db 10,13,'File Not Found $'         ; will print this in case file not found

.code
mov ax,@data