Commit 10b51b54 authored by Richard Leggett's avatar Richard Leggett
Browse files

Initial import to CVS.

parent 679f7452
hdr/** gitlab-language=armasm linguist-language=armasm linguist-detectable=true
s/** gitlab-language=armasm linguist-language=armasm linguist-detectable=true
*,ffb gitlab-language=bbcbasic linguist-language=bbcbasic linguist-detectable=true
**/c/** gitlab-language=c linguist-language=c linguist-detectable=true
**/h/** gitlab-language=c linguist-language=c linguist-detectable=true
# Copyright 1998 Acorn Computers Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Makefile for hourmake
#
# ***********************************
# *** C h a n g e L i s t ***
# ***********************************
# Date Name Description
# ---- ---- -----------
# 23-Apr-98 RML Created
#
# Program specific options:
#
COMPONENT = hourmake
#
# Generic options:
#
MKDIR = cdir
CC = cc
LD = link
CP = copy
RM = remove
SQUISH = squish
WIPE = -wipe
AFLAGS = ${THROWBACK} -depend !Depend -nocache -stamp -quit -module
CFLAGS = ${THROWBACK} -depend !Depend -ffa ${INCLUDES}
CPFLAGS = ~cfr~v
SQFLAGS = -nolist
WFLAGS = ~c~v
#
# Libraries
#
CLIB = CLib:o.stubs
#
# Include files
#
INCLUDES = -IC:
FILES =\
obj.hourmake
OBJS =\
o.hourmake
#
# Rule patterns
#
.SUFFIXES: .o
.c.o:; @echo
@echo Compiling $<
@${CC} ${CFLAGS} ${DFLAGS} -c -o $@ $<
#
# Main rules:
#
all: ${FILES}
@echo ${COMPONENT}: Application made.
clean:
${WIPE} o.* ${WFLAGS}
${RM} obj.hourmake
@echo ${COMPONENT}: cleaned
#
# Static dependencies:
#
obj.hourmake: ${OBJS} ${CLIB}
${LD} -o $@ ${CLIB} ${OBJS}
#---------------------------------------------------------------------------
# Dynamic dependencies:
| Copyright 1998 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
Dir <Obey$Dir>
amu_machine all THROWBACK=-throwback
| Copyright 1998 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
Dir <Obey$Dir>
amu_machine clean
This diff is collapsed.
/* Copyright 1998 Acorn Computers Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define SPRITE_PREFIX "hour"
#define DCB " DCB "
#define ALIGN " ALIGN\n"
#define STARS "; ***************************************************************************\n"
#define CR 10
#define COMMA 44
#define DCB_LENGTH 6
/* Copyright 1998 Acorn Computers Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define Sprite_Initialise 9
#define Sprite_Load 10
#define Sprite_Select 24
#define Sprite_ReadInformation 40
#define Sprite_PutScaled 52
#define Sprite_SwitchOutputToSprite 60
#define Sprite_SaveAreaSize 62
typedef struct
{
int size;
int number;
int sproff;
int freeoff;
} sprite_area;
typedef struct
{
int next;
char name[12];
int width;
int height;
int lbit;
int rbit;
int image;
int mask;
int mode;
} sprite_header;
| Copyright 1998 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
Dir <Obey$Dir>
hourmake HourSpr Output 7 C
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment