Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Which text editor do you use for dos programming? (Developers)

posted by RayeR Homepage, CZ, 15.05.2013, 00:09

> > BTW what DOS/BIOS service or call to get current mode height?
> > It should work under DJGPP and also under NTVDM.
> > (e.g. if I'd like to pause printing after screen is filled)
>
> ir.x.ax = 0x1130; /* get number of lines */
> ir.x.bx = 0;
> int86x(0x10,&ir,&ir,&sr);
> _vmaxline = ir.h.dl;
>
>
> OR
> _vmaxcol = *(uchar far *)0x0000044al; // 40:4a
> _vmaxline = *(uchar far *)0x00000484l; // 40:84

Thx, is there some difference in compatability under various VMs, DOS boxes etc or does it works always the same?

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

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