Problem if current screen width isn't 80 chars (Announce)
I do understand your point Japheth, but in some cases it would be useful to do nothing. The main reason to apply the "restore screen mode" is to enable use/testing of different settings. Using command.com (in XP) to run setm34.exe will not work, but using DZ as a shell will do. The option(s) comes as a result of the possibility to remove the panels, menus/status line, and mouse, which enable the use of DZ as a command line tool. Most of the options in the "System Options" menu was used for debug, but applied in this way it may also be useful for debugging other programs. The point with the "default is on" is then to clarify that if you turn it off there may be problems. To add more options than 80x25/50 is not necessarily a lot of work, but this should be applied as "default" including test and init code. There are two output functions used, one writes to screen (x, y, 80, B800:0000) and one writes to memory (x, y, columns, *ptr). A global screen pointer is already added, so it?s currently only the columns that are hard-coded.
The init code added in v2.02:
if (no_of_columns_of_current_mode != 80){
setvideomode( 80x25 );
if (no_of_columns != 80)
exit();
}
This will ensure output on the supported modes, but a rewrite of the output functions will make it more flexible.
Changelog v2.02:
- fixed bug on moving selected files (hard error)
- fixed bug on reading .ZIP files with no End Central Directory (hard error)
- added video init and (some) support for mono board (seg B000h)
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