Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

BATCH script to save DATE to a variable (Users)

posted by rosegondon, C:\DOS, 02.03.2025, 17:10

If you have access to Pascal compiler and you are willing to rely on external tool, you can store up to 16 bytes in
memory area known as ICA or IPCA (Inter-Process Communication Area):

Procedure IPCA(Const Get : Boolean; Var SourceDest; Const Size:Integer);
Begin { IPCA }
If Get Then
Move(Mem[$0000:$04F0],SourceDest,Min(16,Size))
Else
Move(SourceDest,Mem[$0000:$04F0],Min(16,Size));
End; { IPCA }

---
echo g=ffff:0|debug>nul

 

Complete thread:

Back to the forum
Board view  Mix view
22477 Postings in 2087 Threads, 400 registered users, 139 users online (1 registered, 138 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum