The DOS 3.3 SYS.COM Bug Hunt
============================
SYS.COM corrupted a NetDrive image. But why?
Posted: 2025-02-22
Tags: DOS, NetDrive, ForgotToCheckReturnCode
Created February 23rd, 2025
(C)opyright Michael Brutman, mbbrutman at gmail dot com
From:
<https://www.brutman.com/Adventures_In_Code/DOS_33_SYS_Bug_Hunt/ DOS_33_SYS_Bug_Hunt.html>
On Mon, 24 Feb 2025 01:03:51 -0000 (UTC)<snip>
Ben Collver <bencollver@tilde.pink> wrote:
The DOS 3.3 SYS.COM Bug Hunt
============================
From:
<https://www.brutman.com/Adventures_In_Code/DOS_33_SYS_Bug_Hunt/
DOS_33_SYS_Bug_Hunt.html>
Now I'm suffering from acute nostalgia.
Followups changed to: comp.misc
In comp.misc Kerr-Mudd, John <admin@127.0.0.1> wrote:
On Mon, 24 Feb 2025 01:03:51 -0000 (UTC)<snip>
Ben Collver <bencollver@tilde.pink> wrote:
The DOS 3.3 SYS.COM Bug Hunt
============================
From:
<https://www.brutman.com/Adventures_In_Code/DOS_33_SYS_Bug_Hunt/
DOS_33_SYS_Bug_Hunt.html>
Now I'm suffering from acute nostalgia.
You and me both, DOS 3.3 on a 286, fun times :)
I never used DOS as a programmer, so it wasn't nostalgic to me, but I
enjoyed seeing how simpler things were back then and how programs like
debug could help you to see what was going on. I was reading about 6502 assembly recently and I became very interested in getting closer to that simplicity. The booklet author remarked that modern x86 assembly isn't really meant for programmers, but compilers. I had never really thought
of that, but it made a lot of sense to me. So maybe I should indeed
look into an older, simpler machine to enjoy the low level of things.
John McCue <jmccue@reddwf.jmcunx.com> writes:
Followups changed to: comp.misc
In comp.misc Kerr-Mudd, John <admin@127.0.0.1> wrote:
On Mon, 24 Feb 2025 01:03:51 -0000 (UTC)<snip>
Ben Collver <bencollver@tilde.pink> wrote:
The DOS 3.3 SYS.COM Bug Hunt
============================
From:
<https://www.brutman.com/Adventures_In_Code/DOS_33_SYS_Bug_Hunt/
DOS_33_SYS_Bug_Hunt.html>
Now I'm suffering from acute nostalgia.
You and me both, DOS 3.3 on a 286, fun times :)
I never used DOS as a programmer, so it wasn't nostalgic to me, but I
enjoyed seeing how simpler things were back then and how programs like
debug could help you to see what was going on. I was reading about 6502 assembly recently and I became very interested in getting closer to that
simplicity. The booklet author remarked that modern x86 assembly isn't really meant for programmers, but compilers. I had never really thought
of that, but it made a lot of sense to me. So maybe I should indeed
look into an older, simpler machine to enjoy the low level of things.
Learned all the basic principles of how computers operate --
intentionally obstructed from day 1 by Apple for Mac, dismally more
arcane for then-current 386.
Raspberry Pi sort of wanted to revive that simpler times, but it only
works with a higher level language (Python); (ARM assembly is
notoriously obscure).
On Tue, 25 Feb 2025 07:28:37 +0000, Kerr-Mudd, John wrote:
Raspberry Pi sort of wanted to revive that simpler times, but it only
works with a higher level language (Python); (ARM assembly is
notoriously obscure).
Now days the definition of “low-level” programming is using a language like C. Note also that the Pi, being a full Linux system, has access to
all the range of languages available in any major Linux distro. Maybe you want to try C++ or D instead of C? Ada? Smalltalk? Really want to get your hands dirty an old-style assembly language, for some vintage architecture like the PDP-11? Apple II? Altair 8800? IBM 1401? Software emulators for
all of these are available.
Modern assembly/machine language is the way it is because it’s designed
for compilers to generate efficient code, not for humans to understand.
I never used DOS as a programmer, so it wasn't nostalgic to me, but I
enjoyed seeing how simpler things were back then and how programs like
debug could help you to see what was going on. I was reading about 6502 assembly recently and I became very interested in getting closer to that simplicity. The booklet author remarked that modern x86 assembly isn't really meant for programmers, but compilers. I had never really thought
of that, but it made a lot of sense to me. So maybe I should indeed
look into an older, simpler machine to enjoy the low level of things.
On 2025-02-25, Salvador Mirzo <smirzo@example.com> wrote:
I never used DOS as a programmer, so it wasn't nostalgic to me, but I
enjoyed seeing how simpler things were back then and how programs like
debug could help you to see what was going on. I was reading about 6502
assembly recently and I became very interested in getting closer to that
simplicity. The booklet author remarked that modern x86 assembly isn't
really meant for programmers, but compilers. I had never really thought
of that, but it made a lot of sense to me. So maybe I should indeed
look into an older, simpler machine to enjoy the low level of things.
To validate your post: I think some C=64 retro-enthusiasts who have
never touched a real C=64, and the same can be said of other 8-bit
platforms. Once for fun i wrote a program for the ZX Spectrum, and i
did not have access to the real hardware. Though i can remember
tinkering with a Timex Sinclair 1000.
For that matter, 8bitworkshop supports both C=64 and ZX Spectrum
development in corporate web browsers.
http://8bitworkshop.com/
See also:
https://x64.halb.it/
Bu that was the thrill of those early home computers; wrestling the cpu
into doing your bidding and really getting to understand the
fundamentals.
On Tue, 25 Feb 2025 08:57:07 +0000, Kerr-Mudd, John wrote:
Bu that was the thrill of those early home computers; wrestling the cpu into doing your bidding and really getting to understand the
fundamentals.
Which is exactly the kind of thing the Raspberry Pi was designed to help recreate.
On Tue, 25 Feb 2025 20:36:41 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Tue, 25 Feb 2025 08:57:07 +0000, Kerr-Mudd, John wrote:
Bu that was the thrill of those early home computers; wrestling the cpu
into doing your bidding and really getting to understand the
fundamentals.
Which is exactly the kind of thing the Raspberry Pi was designed to help
recreate.
My point was that that was the intention, and they chose Python as the medium; actual ARM assembler is too difficult for beginners.
On Tue, 25 Feb 2025 20:36:41 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Tue, 25 Feb 2025 08:57:07 +0000, Kerr-Mudd, John wrote:
Bu that was the thrill of those early home computers; wrestling the
cpu into doing your bidding and really getting to understand the
fundamentals.
Which is exactly the kind of thing the Raspberry Pi was designed to
help recreate.
My point was that that was the intention, and they chose Python as the medium; actual ARM assembler is too difficult for beginners.
Very cool stuff! But I'd believe I have a certain bug to expose
relative to 8bitworkshop.com. The machine screen first appears with a beautiful logo and then eventually it looks like an old buggy TV with
red lanes going up the screen:
https://0x0.st/8AwL.png
This is Firefox 133.0.3 (amd64) on OpenBSD 7.6.
On 25 Feb 2025 02:19:13 -0400, Mike Spencer wrote:
Learned all the basic principles of how computers operate --
intentionally obstructed from day 1 by Apple for Mac, dismally more
arcane for then-current 386.
The "Inside Macintosh" series had all the details. Volumes I and II
covered the software APIs, while Volume III described the original
Macintosh hardware: the video buffers, sound buffers, vertical refresh interrupt, floppy interface, Z8530 serial controller chips, the lot.
Volume IV updated all that for the Mac Plus (with SCSI!).
Those Z8530 chips were wonderfully versatile. Back when your Microsoft- compatible PCs were struggling to do transfers beyond about 19200bps, the
Mac could do 230.4kbps, or even a megabit per second with external
clocking (e.g. for MIDI).
On 26 Feb 2025 04:31:55 -0400, Mike Spencer wrote:
Never did get him to tell me how you program a Mac.
Didn't you think to ask anybody else?
Never did get him to tell me how you program a Mac.
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
On 26 Feb 2025 04:31:55 -0400, Mike Spencer wrote:
Never did get him to tell me how you program a Mac.
Didn't you think to ask anybody else?
Not then, no. Why would I want to take on, as a prelude to doing what
*I* wanted to do, engaging with and defeating the apparently organized intentions of he people selling the product?
Soon thereafter, Apple was ballyhooing the Mac so I borrowed a Mac for
a week, then went into the Apple Store and had a look:
Me: So, how do you program it?
IIRC at one point in time around 1981, the answer was:
You buy a Lisa. The "Lisa Workshop" is the development system
for the Mac.
(After a few years, Macintosh-native development system were
developed.)
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
IIRC at one point in time around 1981, the answer was:
You buy a Lisa. The "Lisa Workshop" is the development system
for the Mac.
The Lisa might have been used internally at Apple in 1982 and
was released 1983.
(After a few years, Macintosh-native development system were
developed.)
The Macintosh was released in 1984-01, and around 1986, the
Lisa Workshop was replaced with the Macintosh Programmer's
Workshop which ran inside the Macintosh operating system.
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
IIRC at one point in time around 1981, the answer was:
You buy a Lisa. The "Lisa Workshop" is the development system
for the Mac.
The Lisa might have been used internally at Apple in 1982 and
was released 1983.
(After a few years, Macintosh-native development system were
developed.)
The Macintosh was released in 1984-01, and around 1986, the
Lisa Workshop was replaced with the Macintosh Programmer's
Workshop which ran inside the Macintosh operating system.
Mike Spencer <mds@bogus.nodomain.nowhere> wrote or quoted:
Soon thereafter, Apple was ballyhooing the Mac so I borrowed a Mac for
a week, then went into the Apple Store and had a look:
Me: So, how do you program it?
IIRC at one point in time around 1981, the answer was:
You buy a Lisa. The "Lisa Workshop" is the development system
for the Mac.
And.... one of the answers to "how do you program it?" is "you use Hypercard."
Mike Spencer <mds@bogus.nodomain.nowhere> wrote or quoted:
Me: So, how do you program it?
IIRC at one point in time around 1981, the answer was:
You buy a Lisa.
And we had MPW running on it.
IIRC at one point in time around 1981, the answer was: You buy a Lisa.
On 28 Feb 2025 09:49:01 GMT, Stefan Ram wrote:
Mike Spencer <mds@bogus.nodomain.nowhere> wrote or quoted:
Me: So, how Hdo you program it?
IIRC at one point in time around 1981, the answer was:
You buy a Lisa.
The original 128K Mac was simply too resource-starved to self-host any
useful development environment.
Except ... Forth. I think there was a Forth-based product called “Neon” that actually let you write programs on a 128K Mac, to run on a 128K Mac.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 481 |
Nodes: | 16 (2 / 14) |
Uptime: | 12:29:41 |
Calls: | 9,540 |
Calls today: | 8 |
Files: | 13,653 |
Messages: | 6,139,413 |
Posted today: | 1 |