Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Minimal 3DFX program via Glide3x.DXE library (Developers)

posted by Laaca(R) Homepage, Czech republic, 13.10.2016, 21:06

All sources about DXE files in Freepascal I have suffer by problem that they can't use external units.
I have never seen in DXE module something like "uses Dos" or "uses Graph".
It seems that even functions from unit Systém don't work.

The only way is the use of procedural variables.

In DXE:
var my_getmem_proc = procedure (p:pointer;size:longint);
...
my_getmem_proc(buffer,65536);


-----------------------------------------------------------------------

in main source:
my_getmem_proc:=@GetMem;


I don't know how to do it in other way.

---
DOS-u-akbar!

 

Complete thread:

Back to the forum
Board view  Mix view
15189 Postings in 1365 Threads, 250 registered users, 11 users online (0 registered, 11 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum