1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-15 15:57:13 +00:00
Nick Briggs 6fb4b9a189
Remove sccs id lines (#98)
* Remove static char *id = from all source files.

The same information is included in a comment in each source file.

* Remove unused template file 'id'
2020-12-19 19:08:52 -08:00

63 lines
1.5 KiB
C

/* $Id: blt.c,v 1.3 1999/05/31 23:35:24 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
/************************************************************************/
/* */
/* (C) Copyright 1989-95 Venue. All Rights Reserved. */
/* Manufactured in the United States of America. */
/* */
/************************************************************************/
#include "version.h"
/*
*
* Author : Takeshi Shimizu
*
*/
/******************************************************************/
/*
File Name : blt.c
Including : OP_blt
Created : jul 9, 1987 by T.Shimizu
*/
/******************************************************************/
#include "lispemul.h"
#include "address.h"
#include "adr68k.h"
#include "lsptypes.h"
#include "lispmap.h"
#include "stack.h"
#include "emlglob.h"
#include "lspglob.h"
#include "cell.h"
#include "bltdefs.h"
/*
N_OP_blt takes 3 arguments.
STK-1 has destination's pointer.
STK has source's pointer.
TOS has number of words to be translated.
*/
LispPTR N_OP_blt(LispPTR destptr, LispPTR sourceptr, register LispPTR wordcount) {
register DLword *source68k;
register DLword *dest68k;
register int nw;
if ((wordcount & SEGMASK) != S_POSITIVE) ERROR_EXIT(wordcount);
nw = wordcount & 0xffff;
source68k = Addr68k_from_LADDR(sourceptr) + nw;
dest68k = Addr68k_from_LADDR(destptr) + nw;
while (nw) {
(GETWORD(--dest68k)) = GETWORD(--source68k);
nw--;
}
return (wordcount);
} /* end N_OP_blt */