WriteThrough INIT source code

Source in C, Pascal, etc. Note: apps that come with source should be included here as well as the appropriate software directory.
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
WriteThrough INIT source code

Post by Info-Mac » December 14th, 1999, 11:00 am

Download: http://archive.info-mac.org/dev/src/wol ... ce-204.hqx

This is the Think Pascal 4 source code of WolfEdit 2.0.4.

The executable is also available from the Info-Mac
Archive.

What is WolfEdit 2?

WolfEdit 2 is a complete scenario editor for the
Macintosh version of Wolfenstein 3D. With WolfEdit 2,
not only can you design your own maps, you can replace
the artwork for walls, doors, objects, weapons and
more.

Greg Ewing
greg@cosc.canterbury.ac.nz
http://www.cosc.canterbury.ac.nz/~greg





// Disk cache bypass INIT
// Copyright (C) April 1994 Stuart Cheshire
// Should be compiled as an INIT resource
// (use the "custom header" option in Think C)


// I know an address should be defined as a pointer type (eg 'void *'),
// not a 'long', but Apple's Get & Set TrapAddress calls are defined to
// use longs, so it's not my fault

typedef struct { unsigned short opcode; long addr; } JmpInstruction;

typedef void ShowIconFamily(short iconId);

void main(void);
Post Reply