WHAT'S NEW with version 0.0.2: - Again thanks to Eric Youngdale for some very useful comments. - The Windows startup code created by Micrsoft C 7.0 now runs to completion. - Added a new patch to the kernel to increase the usable size of the ldt to the full 32 entries currently allowed. - Imported name relocations are now supported. - Source code for my infamous test program is now included. - A handful of basic Windows functions are now emulated. See "kernel.spec" for examples of how to use the build program. WHAT'S NEW with version 0.0.1: - Eric Youngdale contributed countless improvements in memory efficiency, bug fixes, and relocation. - The build program has been completed. It now lets you specify how the main DLL entry point should interface to your emulation library routines. A brief description of how to build these specifications is included in the file "build-spec.txt". - The code to dispatch builtin DLL calls is complete, but untested.
32 lines
930 B
C
32 lines
930 B
C
/* $Id$
|
|
*/
|
|
/*
|
|
* Copyright Robert J. Amstadt, 1993
|
|
*/
|
|
#ifndef PROTOTYPES_H
|
|
#define PROTOTYPES_H
|
|
|
|
#include <sys/types.h>
|
|
#include "neexe.h"
|
|
#include "segmem.h"
|
|
|
|
extern struct segment_descriptor_s *
|
|
CreateSelectors(int fd, struct ne_segment_table_entry_s *seg_table,
|
|
struct ne_header_s *ne_header);
|
|
|
|
extern void PrintFileHeader(struct ne_header_s *ne_header);
|
|
extern void PrintSegmentTable(struct ne_segment_table_entry_s *seg_table,
|
|
int nentries);
|
|
extern void PrintRelocationTable(char *exe_ptr,
|
|
struct ne_segment_table_entry_s *seg_entry_p,
|
|
int segment);
|
|
extern int FixupSegment(int fd, struct mz_header_s * mz_header,
|
|
struct ne_header_s *ne_header,
|
|
struct ne_segment_table_entry_s *seg_table,
|
|
struct segment_descriptor_s *selecetor_table,
|
|
int segment_num);
|
|
extern struct dll_table_entry_s *FindDLLTable(char *dll_name);
|
|
|
|
extern char WIN_CommandLine[];
|
|
|
|
#endif /* PROTOTYPES_H */
|