I have studied most of the commands and features available in debug.exe now, but I am curious to why and when one would like to make use of the w 'write' version where you can specify the start sector of the disk. Is this for very low level stuff only ?
On Wed, 4 Jan 2023 02:15:58 -0800 (PST)?
Etienne Marais <etienne.marais@nospicedham.gmail.com> wrote:
I have studied most of the commands and features available in debug.exe now, but I am curious to why and when one would like to make use of the w 'write' version where you can specify the start sector of the disk. Is this for very low level stuff only
Yes. I used to use it to edit floppy disk bootsectors. (we'd get some
boot sector viruses come in at times).
I have studied most of the commands and features available in debug.exe now, but I am curious to why and when one would like to make use of the w 'write' version where you can specify the start sector of the disk. Is this for very low level stuff only ?
Kerr-Mudd, John wrote:only ?
On Wed, 4 Jan 2023 02:15:58 -0800 (PST)
Etienne Marais wrote:
I have studied most of the commands and features available in debug.exe now, but I am curious to why and when one would like to make use of the w 'write' version where you can specify the start sector of the disk. Is this for very low level stuff
I once fixed a laptop over a sat phone link to an oil engineer working somewhere in a Middle East desert: The Master Boot Record (MBR) had been scrambled by a bad software crash, but I was able to get him to boot upYes. I used to use it to edit floppy disk bootsectors. (we'd get some
boot sector viruses come in at times).
with a Dos floppy, enter DEBUG and then enter commands to load & list
that MBR, figure out what was wrong (I was looking at a similar laptop
in Oslo) and tell him how to enter hex bytes, verify them and then write them back to the hard disk.
His PC booted again on the first try. :-)
Terje
--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"
On 04/01/2023 11:15, Etienne Marais wrote:only ?
I have studied most of the commands and features available in debug.exe now, but I am curious to why and when one would like to make use of the w 'write' version where you can specify the start sector of the disk. Is this for very low level stuff
even cumbersome to enter everything in hexadecimal and in consecutive
order debug.com was absolute the best way to create my very own tools
and the core of my first OS (~1980)
Yes, it is really the lowest level possible for programming.
But it can also be a life saver for complete sector restore.
(you need to know and be aware of CHS and LBA formats)
I wrote my whole OS [KESYS] in hexadecimal and ASCII only.
But my own tool gave me much more comfort than DOS-debug:
* immediate disassemble for input verify
* allow full navigation within set limits (ie: go back up).
* can change between 16/32/64bit code interpreter anytime.
* toggle between ASCII/HEX input and dump view as well.
* RD/WR from/to any media, incl. partial sector writes.
* and a few more :)
unfortunately it became all history now (damned UEFI)
__
wolfgang
unfortunately it became all history now (damned UEFI)Gonna Github it ?
On 05/01/2023 16:29, Etienne Marais wrote:
[...about my OS]
unfortunately it became all history now (damned UEFI)Gonna Github it ?
No, because of several things:
* it's a commercial product and still active >100 times
* it is written w/o any textual source code (hex only).
* it wont run on any newer PC (due UEFI) and also not on
many older stuff because it's made for specific hardware
where it was delivered on.
* I have only a handful copies on CD yet which I reserved
in case of required re-installation at clients side. And
my responsibility for maintenance times out end of 2025.
If I'm still alive I may share code snips and layout hints then.
__
wolfgang
On Thursday, January 5, 2023 at 6:00:25 PM UTC+2, wolfgang kern wrote:assembly is it satisfies my retro computing indulgence and desire to understand the evolution of architecture. I think I would enjoy such as tool but I doubt there are many people who would make good use of it (?)
On 05/01/2023 16:29, Etienne Marais wrote:
[...about my OS]
unfortunately it became all history now (damned UEFI)Gonna Github it ?
No, because of several things:
* it's a commercial product and still active >100 times
* it is written w/o any textual source code (hex only).
* it wont run on any newer PC (due UEFI) and also not on
many older stuff because it's made for specific hardware
where it was delivered on.
* I have only a handful copies on CD yet which I reserved
in case of required re-installation at clients side. And
my responsibility for maintenance times out end of 2025.
If I'm still alive I may share code snips and layout hints then.
__
wolfgang
Cool. Sounds like something for a very specific market if I may garner a guess. The switching between architecture looks very interesting, but I wonder how many people would make use of something like that in the 'real world'. Only reason I'm on x86
On Wednesday, January 4, 2023 at 7:59:02 PM UTC+2, Terje Mathisen wrote:only ?
Kerr-Mudd, John wrote:
On Wed, 4 Jan 2023 02:15:58 -0800 (PST)
Etienne Marais wrote:
I have studied most of the commands and features available in debug.exe now, but I am curious to why and when one would like to make use of the w 'write' version where you can specify the start sector of the disk. Is this for very low level stuff
I once fixed a laptop over a sat phone link to an oil engineer workingYes. I used to use it to edit floppy disk bootsectors. (we'd get some
boot sector viruses come in at times).
somewhere in a Middle East desert: The Master Boot Record (MBR) had been
scrambled by a bad software crash, but I was able to get him to boot up
with a Dos floppy, enter DEBUG and then enter commands to load & list
that MBR, figure out what was wrong (I was looking at a similar laptop
in Oslo) and tell him how to enter hex bytes, verify them and then write
them back to the hard disk.
His PC booted again on the first try. :-)
Terje
--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"
wow
I would feel proud as punch had I achieved that
I searched w/o success for PC spare parts to revive any one of my
collection from the past. Nothing older than 3 years is available.
wolfgang kern wrote:
I searched w/o success for PC spare parts to revive any one of my
collection from the past. Nothing older than 3 years is available.
Are you really sure?
Where do you live?
What parts are looking for?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 304 |
Nodes: | 16 (0 / 16) |
Uptime: | 02:44:32 |
Calls: | 6,826 |
Calls today: | 6 |
Files: | 12,340 |
D/L today: |
1 files (2,541K bytes) |
Messages: | 5,407,568 |