home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
turbopas
/
tload.lbr
/
TLOAD.DZC
/
TLOAD.DOC
Wrap
Text File
|
1987-03-08
|
1KB
|
35 lines
This program takes a file *.PRN and converts it to
to *.PAS with the machine language converted to
TURBO's INLINE requirements for machine language code
----Author Rudy Rawlins,
460 Pape Ave
Toronto, Ont,
416-463-2133
May 30, 1984
This started as a quickie way to 'link'
assembly routines to Turbo Pascal.
I repeat quickie, because it is not meant to
link reams of code; it is meant to link short
routines that are not longer than 128 bytes or
one page in code length or code running from
00h to 0ffh. If they are longer break them up into procedures.
Okay, instructions....
With your small routine set ORG to 00h and assemble
asking for the Print file , forget about Hex file.
Then run TLOAD. TLOAD will take care of everything ,
however , when making absolute calls to
memory location you may then have to edit the file
to suit you, since I assume that all calls to
LDA and SHLD are to space allocated
within the small routine, and similarly with CALL,
JMP, etc...
It will ignore DS's, DB's , etc..within the routine,
better to pop and push unto stack than use absolute memory
I can't speak of bugs as I haven't used it that much
please tell me of any.
Rudy