Problem if current screen width isn't 80 chars (Announce)
> > The program should adapt to the current screen setting if this is not
> set.
>
> This works as far as the screen width is 80.
>
> Perhaps it's possible to improve the current behavior? My suggestion is:
>
> 1. if screen width is < 80, reset video mode to 3 ( or 7 ).
This is the default setting.
> 2. if screen width is > 80 and text mode is on, use it.
>
> On my web site there is a package, SETMXX.ZIP, which contains a tool
> setm37.exe. This tools uses VESA mode 0x102 (800x600x4) to create a 100x37
> text mode resolution. Works with a lot of cards, so there's a chance you
> can use it for testing.
I can?t implement functions that reprogram the graphics card in this way, and I could line up a long list of argument why, but the short answer will be: if you want to implement this you have to do it yourself.
Most of the console function calls @rcsprc (src/clib/console/rect/_rcsprc.asm) to create a screen pointer from x, y (bl, bh), but some functions are hard coded and add 2*80 to get the offset of the next line.
Complete thread:
- The Doszip Commander version 1.37 available - rr, 16.10.2009, 22:34
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- The Doszip Commander version 1.38 available - Rugxulo, 08.12.2009, 01:26
- The Doszip Commander version 1.39 available - rr, 10.12.2009, 20:58
- The Doszip Commander version 1.40 available - rr, 15.12.2009, 10:16
- The Doszip Commander version 1.41 available - Rugxulo, 31.12.2009, 16:03
- The Doszip Commander version 1.44 available - nidud, 19.02.2010, 14:27
- The Doszip Commander version 1.45 available - rr, 19.02.2010, 22:36
- Doszip 1.50 - Rugxulo, 09.04.2010, 01:06
- The Doszip Commander version 1.56 available - nidud, 27.07.2010, 14:14
- Doszip 1.50 - Rugxulo, 09.04.2010, 01:06
- The Doszip Commander version 1.45 available - rr, 19.02.2010, 22:36
- The Doszip Commander version 1.44 available - nidud, 19.02.2010, 14:27
- The Doszip Commander version 1.41 available - Rugxulo, 31.12.2009, 16:03
- The Doszip Commander version 1.40 available - rr, 15.12.2009, 10:16
- The Doszip Commander version 1.39 available - rr, 10.12.2009, 20:58
- The Doszip Commander version 2.00 available - rr, 02.08.2010, 21:49
- Feature request - don't reset video mode - Japheth, 04.08.2010, 15:51
- Feature request - don't reset video mode - nidud, 04.08.2010, 17:08
- Feature request - don't reset video mode - Japheth, 05.08.2010, 07:07
- Problem if current screen width isn't 80 chars - Japheth, 19.08.2010, 10:52
- Problem if current screen width isn't 80 chars - nidud, 19.08.2010, 22:48
- Problem if current screen width isn't 80 chars - Japheth, 20.08.2010, 00:22
- Problem if current screen width isn't 80 chars - nidud, 14.09.2010, 21:39
- Problem if current screen width isn't 80 chars - Japheth, 15.09.2010, 10:48
- Problem if current screen width isn't 80 chars - nidud, 15.09.2010, 14:07
- Problem if current screen width isn't 80 chars - Japheth, 15.09.2010, 10:48
- Problem if current screen width isn't 80 chars - nidud, 14.09.2010, 21:39
- Problem if current screen width isn't 80 chars - Japheth, 20.08.2010, 00:22
- Problem if current screen width isn't 80 chars - nidud, 19.08.2010, 22:48
- Feature request - don't reset video mode - nidud, 04.08.2010, 17:08
- Bug report - menu bar still active in hidden state - Japheth, 10.08.2010, 07:06
- Bug report - menu bar still active in hidden state - nidud, 10.08.2010, 19:07
- Bug report - menu bar still active in hidden state - Japheth, 11.08.2010, 09:57
- Bug report - menu bar still active in hidden state - nidud, 11.08.2010, 15:26
- Bug report - menu bar still active in hidden state - Japheth, 11.08.2010, 16:05
- Bug report - menu bar still active in hidden state - nidud, 12.08.2010, 15:49
- Bug report - menu bar still active in hidden state - Japheth, 17.08.2010, 10:56
- Bug report - menu bar still active in hidden state - nidud, 17.08.2010, 13:51
- Bug report - menu bar still active in hidden state - nidud, 19.08.2010, 22:57
- Bug report - menu bar still active in hidden state - Japheth, 21.08.2010, 08:17
- Bug report - menu bar still active in hidden state - Japheth, 17.08.2010, 10:56
- Bug report - menu bar still active in hidden state - nidud, 12.08.2010, 15:49
- Bug report - menu bar still active in hidden state - Japheth, 11.08.2010, 16:05
- Bug report - menu bar still active in hidden state - nidud, 11.08.2010, 15:26
- Bug report - menu bar still active in hidden state - Japheth, 11.08.2010, 09:57
- Bug report - menu bar still active in hidden state - nidud, 10.08.2010, 19:07
- Feature request - don't reset video mode - Japheth, 04.08.2010, 15:51
- The Doszip Commander version 2.04 available - nidud, 03.10.2010, 12:52
- The Doszip Commander version 2.06 available - nidud, 14.11.2010, 17:20
- The Doszip Commander version 2.06 available - nidud, 14.11.2010, 23:42
- The Doszip Commander version 2.08 available - nidud, 15.11.2010, 15:17
- The Doszip Commander version 2.08 available - Rugxulo, 20.11.2010, 18:35
- The Doszip Commander version 2.08 available - nidud, 21.11.2010, 15:22
- The Doszip Commander version 2.08 available - Rugxulo, 20.11.2010, 18:35
- The Doszip Commander version 1.38 available - Rugxulo, 08.12.2009, 01:26
Mix view