Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

The Doszip Commander version 3.08 available (Announce)

posted by nidud E-mail, Norway, 09.10.2013, 12:39

The problem with executing old .EXE?s (BC/BCC/... is now solved by using a .BAT file to execute these .EXE?s. There is however now an issue with redirection like JWASM -? > jwasm.txt, so this may also need some special handling.

The process approach to "hide the screen and execute" was also a problem, so a full "shutdown" of all screen activity was needed. A command like MODE CON LINES=25 should now work, and DZ should then reload with the new screen metrics.

Windowing, like moving a dialog box using the mouse, generate flickering of the screen do to the slow screen functions in a window compare to text mode. The approach to hide the window, update the positions, and then show the window is basically to slow. In 16-bit you have direct access to the screen, so then you just move each WORD directly to avoid this problem, but this is not not so in graphical mode. The way it is done now is to read a copy of the dialog and dump this the the new location without hideing the original. The saved buffer is then updated in memory. The problem is in the editor when you flip between open files using F6. This is now solved by flipping the save-buffer in memory an overwrite.

In the editor the screen was updated for each keystroke, so this generated some flickering as well. This is now solved by setting a CRC value of the screen output, and only update the screen if this changes. This had some side effects with blank screens, but hopefully this is now fixed.

The console window also have a slow-cursor problem, so the keyboard properties may need an update. You may use the REG command for setting these values.

Install.cmd:
REGEDIT4

; @ECHO OFF
; CLS
; REG EXPORT "HKCU\Control Panel\Keyboard" Keyboard.REG
; REG IMPORT "%~f0"
; EXIT

[HKEY_CURRENT_USER\Control Panel\Keyboard]
"KeyboardDelay"="0"
"KeyboardSpeed"="31"


uninstall.cmd:
@ECHO OFF
REG IMPORT Keyboard.REG


It is possible to use JWASM or other tools to compile the file you currently edit. The short keys Shift-F1..F9, and Alt-F1..F6 could be hooked for this pupose. The output can be viewed by hitting Ctrl-O.

If a .ERR file is produced as a result of this, then this will be read into a buffer, and error messages will appear in the editor. This will also collect external file with error codes, like include files, and these files will be loaded into the editor displaying the line of error. You may flip back and forth in the error list by using Alt-F7 and Alt-F8.

With regards to changing colours, the best way to do this is by creating a .LNK file to DZ, and change the properties there. In the 16-bit version you are able to manipulate the palette directly, and thereby setting the background colour of Push-Buttons and Title-Lines to white. This is not possible in now (white: Fh), since a value above 7 activates the blink function. The current colour used is green, but this may now (I think) be changed in this property dialog.

Changes in 3.08 - 9 Oct 2013
- added user screen (Ctrl-B) -- not fully implementet
- rewrote process functions -- update screen metrics
- fixed bug process functions -- execute old .EXE failed (BCC.EXE/...)
- fixed bug(s) in console functions on large screens
- fixed bug in inflate (Unzip) -- stored entries failed
- fixed bug in inflate (Unzip) -- password decryption failed
- fixed bug in inflate (Unzip) -- exploaded entries failed
- fixed bug in Doskey -- index not updated after execute

Changes in 3.07 - 6 Oct 2013
- fixed Zip/Unzip functions -- not fully implemented
-- copy including overwite of existing file(s) failed
-- edit file inside Zip archives failed
-- delete failed in some cases
-- added new streams for fast compression
- fixed bug(s) in screen updates in panels and edit
- fixed bug(s) in Menus and statusline -- visual
- rewrote event handler -- removed Ctrl hook-up

 

Complete thread:

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