Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Documentation for RTM.EXE (16-Bit) from Borland (Developers)

posted by fm77, 08.05.2012, 16:50

> > any help would be appreciated!
> One method that is often overlooked is to get the compiler to tell you,
> e.g. via ADDR etc. However for reserved system items this will result in
> "Error 20: Variable identifier expected." this however can be worked around
> via MOVE etc.

I am not quite sure if I understand you correctly, but in my case you tell the compiler with the external declaration in the source code - and not vice versa. e.g.

function MemAllocateBlock(HeapHandle, Size, Attributes: Word;
  EventProc: Pointer; var Selector: Word): Integer; far;
  external 'RTM' index $0005;

function MemFreeBlock(Selector: Word): Integer; far;
  external 'RTM' index $0006;


> e.g. I have written some code to disable delay and other functions via such
> methods to enable distribution of code/TPU's to people with unpatched
> compilers. If I get time today I'll dig out some example code which is on
> a different machine.

I think you mean something different here.... anyway, I am still glad for your respose - many thanks!

---
I am still so much in love with Borland Pascal Version 7.0

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum