Herunterladen Inhalt Inhalt Diese Seite drucken

NCR DECISION MATE V Bedienungsanleitung Seite 89

Inhaltsverzeichnis

Werbung

IMPORTANT INFORMATION
FOR MS-DOS USERS WITH 256KB MEMORY
Do not use the /HIGH switch when linking a program with MS-
L IN K on systems with 256 KB memory. (The switch can never be
used with P A S C A L and F O R T R A N programs, regardless o f mem­
ory size.) While M S-LINK performs successfully, the computer
" goes dow n" when MS-DOS attempts to load the .EXE program
into memory.
I f using interpretive BASIC, you can store a subroutine in high
memory, but you should only use this technique if you are fa­
miliar with debugger:
1. Debug subroutine
2. Move subroutine to higher memory
3. Record register values (segment address o f subroutine)
4. Load BASIC
5. Load BASIC program
6. Change DEF SEG to refer to subroutine
7. Save subroutine (B S A V E )
Finally, use the follow ing sequence in programs that compute the
size o f the user area. This sequence ensures a successful program
load.
1. Load the application program.
2. Save segment address o f program (in CS).
3. Issue the System Call, " M odify allocated memory block" :
• move CS to ES
• move length o f program to BX
• move 4AH to AH
• IN T 2 1 H
4. Issue the System Call " Allocate m em ory" :
• move FF F F H to BX
• move 48H to A H
• IN T 2 1 H
5. Multiply the contents o f BX by 16 to determine the size o f
the user area.
(F o r detailed information see the MS-DOS Programmer's Manual,
" System Calls" chapter.)
017-0031781

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis