Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

21.33FF kernel version string interface (Developers)

posted by DosWorld, 18.01.2022, 02:54

> How to get this version string in Pascal?

:)

function GetFreeDosVer : pchar; assembler;
asm
> > mov ax,$33ff ; get FreeDOS version string pointer
> > xor dx, dx
> > int $21 ; returns DX AX
> > test dx, dx
> > jnz @gotname
xor ax, ax
mov dx, ax
@gotname:
end;

---
Make DOS great again!

Carthago delenda est, Ceterum censeo Carthaginem delendam esse.

 

Complete thread:

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