Stas Sergeev wrote:
> 08.04.2014 09:39, Frantisek Hanzlik пишет:
>> Hello all DOSEMU enthusiasts,
>>
>> first, thanks for developing and evolving this powerfull SW piece!
>> And now my current research (so far in vain): I want my DOS text app
>> run in text mode with resolution 132 columns × 50 rows - which should
>> be VESA 2.0 (maybe as early as VESA 1.2) mode 0x10B, according e.g.:
>>
>> http://en.wikipedia.org/wiki/VESA_BIOS_Extensions#Modes_defined_by_VESA
>>
>> but so far I'm unsuccessfull (except in the case when I run DOSEMU in
>> console mode in console/X window with this resolution, but this is
>> perhaps obvious).
>> Nevertheless, modes 0x10A (132 x 43) and 0x010C 132 x 60 are working
>> fine under xdosemu. Problem I have only with this 132 x 50 mode.
>>
>> I'm using DOSEMU + FreeDOS 1.0, and thus potentially may be problem
>> in FreeDOS, but I suspect rather DOSEMU, as:
>>
>> 1) when I run commands 'mode con cols=132 lines=43', resp. 'mode con
>> cols=132 lines=60', I will get responses:
>>
>> VESA 2.0 'DOSEMU VGA/VBE 2.0 Emulator', mode 0x0003, 4096k for BIOS, 57 
>> modes.
>> VESA mode 0x010A: 132 x 43 with 8 x 11 font.
>>
>> resp.
>>
>> VESA 2.0 'DOSEMU VGA/VBE 2.0 Emulator', mode 0x0003, 4096k for BIOS, 57 
>> modes.
>> VESA mode 0x010C: 132 x 60 with 8 x 8 font.
>>
>> and right mode is set.
>> But after 'mode con cols=132 lines=50' command, resolution changes to
>> 80 cols x 50 lines (i.e. not 132x50, as I want) and command output is:
>>
>> VESA 2.0 'DOSEMU VGA/VBE 2.0 Emulator', mode 0x0003, 4096k for BIOS, 57 
>> modes.
>> Using VGA 400 line resolution.
>> (this second line is totally different than in previous two cases)
>
> Hello, not sure if it helps, but take a look at this:
> http://sourceforge.net/p/dosemu/patches/51/

Stas, thanks to you I now know what 'scanline' is. Maybe I not understand
full patch meaning, but it seems as it only eliminates some glitches.
In the meantime, I slightly looked into Freedos mode (modecon) source,
and it seems to me as 'mode' know and work with VESA VBE - it obtain
list of modes which is videocard capable, and when there is requested mode,
then set it. And DOSEMU VBE not offers mode 0x10B (text mode 132x50), thus
it somehow tries emulate it - no. of rows is set OK, but it set only 80
columns, not 132. But I could be wrong...

Franta Hanzlik








------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Dosemu-devel mailing list
Dosemu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dosemu-devel

Reply via email to