Thread View: ncr.sys.pcdos
1 messages
1 total messages
Started by Mark Regester
Tue, 16 May 1989 19:20
Turbo C Memory Resident Problems
Author: Mark Regester
Date: Tue, 16 May 1989 19:20
Date: Tue, 16 May 1989 19:20
48 lines
2355 bytes
2355 bytes
Has anyone used the "_Turbo C Memory-Resident Utilities, Screen I/O,
and Programming Techniques_" by Al Stevens to create a memory resident
program?
I inherited a memory resident program that I must maintain. The
program is based on the examples in the book. I have compiled and run
the program successfully on '286 and '386 machines, but I cannot get
the program to run on 8088 machines. When I press the program's "hot
key", the PC "locks up". Sometimes a warm boot will revive the
machine, other times a cold boot is required.
I have looked everywhere that I know of to make sure that the
compiler/linker are not generating machine specific instructions. As
far as I can tell, the program is being loaded into memory properly.
One thing that I cannot do the way the book suggests, is assembling
c0.asm. The book uses the commands:
C>masm c0,c0t /ML /D__TINY__;
C>masm c0,c0s /ML /D__SMALL__;
When I run masm for the small module, the following is displayed:
Microsoft (R) Macro Assembler Version 4.00
Copyright (C) Microsoft Corp 1981, 1983, 1984, 1985. All rights
reserved.
c0.ASM(312) : error 9: Symbol not defined CheckSum
c0.ASM(314) : error 9: Symbol not defined lgth_NullCheck
c0.ASM(315) : error 9: Symbol not defined NullCheck
43724 Bytes symbol space free
0 Warning Errors
3 Severe Errors
The Turbo C supplied commands to rebuild c0t and c0s tell you to use
the /MX option, not the /ML option. If /MX is used, there are no
error messages displayed. In either case, the memory resident program
does not work properly.
Any suggestions would be greatly appreciated.
--
Mark Regester Information Systems & Services, NCR E&M Wichita
NCR:654-8340 <M.Regester@Wichita.NCR.COM>
(316)636-8340 <{ece-csc,hubcap,gould,rtech}!ncrcae!ncrwic!m.regester>
<{sdcsvax,cbatt,dcdwest,nosc.ARPA,ihnp4}!ncr-sd!ncrwic!m.regester>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads