News for hackers. Stuff that matters.
Re:If 16-bit Windows had a single input queue, how did you d... by snarfy on Wednesday November 26, 2014 @01:31PM (#8663825)
"How did you debug applications on it? "

With this bad boy:

http://en.wikipedia.org/wiki/SoftICE

Re:If 16-bit Windows had a single input queue, how did you d... by th0ma5 on Wednesday November 26, 2014 @01:43PM (#8663915)
I remember meeting some hackers at their house a friend of mine took me to in the middle of nowhere, and I asked them where they got their software cracks, and they kind of blinked, and showed me the first dual monitor setup I had ever seen in person, with a regular system on the left, and the output of SoftICE on the right. I guess before that I had just assumed lower level things were unknowable, but after that I sure didn't.
Re:If 16-bit Windows had a single input queue, how did you d... by DrPhish on Wednesday November 26, 2014 @01:58PM (#8663987)
Was it the old VGA/Hercules combination? That was so badass It was also the only way to run dual-screen for a while, since it used a different memory region than colour displays. There was literally no way to run multiple colour adapters on the same computer at one point
Re:If 16-bit Windows had a single input queue, how did you d... by th0ma5 on Wednesday November 26, 2014 @02:03PM (#8664016)
Man I am just not sure. I had a Hercules green screen / more shades than CGA setup myself, but if it helps I do think both of their screens were color. I know Hercules probably did other stuff, but I guess I think monochrome whenever I think about it, heh. I do believe this was the old DOS version, not the Windows version of SoftICE, although when I was over there seemed was just before the time of Windows 95 possibly.
Re:If 16-bit Windows had a single input queue, how did you d... by chinpokomon on Thursday November 27, 2014 @02:37AM (#8666350)
I used the DOS version of SoftICE on a retail Windows 95 machine, to circumvent the upgrade prevention check in Windows 95 OSR2. OSR2 was an OEM only release, but I figured there had to be a way. Setting breakpoints and single stepping through the setup, I discovered that it checked for krnl386.exe. If that for existed, it was considered an upgrade. If you were a clever young hacker, you renamed that file and went ahead with the upgrade.
Re:If 16-bit Windows had a single input queue, how did you d... by biot on Wednesday November 26, 2014 @03:43PM (#8664470)
Talk about a blast from the past! Watcom C/C++ with external amber debugging display was the best.
Re:If 16-bit Windows had a single input queue, how did you d... by zwieback on Wednesday November 26, 2014 @04:17PM (#8664639)
Watcom was the best - with Dos Extender and 16-32 cross compiler. Worst IDE, though.
Re:If 16-bit Windows had a single input queue, how did you d... by zwieback on Wednesday November 26, 2014 @02:22PM (#8664116)
We used SoftICE extensively for driver debugging. I seem to remember a pushbutton that slid into the ISA slot to trigger a NMI but now I'm not quite sure anymore if it was SoftICE or Periscope that had that.
Re:If 16-bit Windows had a single input queue, how did you d... by kosma on Wednesday November 26, 2014 @07:07PM (#8665295)
I used to trigger NMI by shorting the first two pins on an empty ISA slot with a screwdriver (conveniently NMI and GND); stopped when the screwdriver slipped once. Thankfully nothing died on that day, but the cascade of sparks convinced me to install a proper button. ;)
Re:If 16-bit Windows had a single input queue, how did you d... by markbnj on Wednesday November 26, 2014 @08:30PM (#8665575)
Same, but that was all we used it for. I do recall running into some horrible memory issues on another project (Iona's Orbix, but that's another story) and wishing I had SoftICE to tear it apart with. But for most application issues it was overkill. The existing debugging tools (and 3rd party stuff like Bounds Checker) were usually good enough.
Re:If 16-bit Windows had a single input queue, how did you d... by markbnj on Wednesday November 26, 2014 @12:58PM (#8663619)
Sounds much more complicated than I remember it. I wrote a game called MVP Backgammon in 1991 using Borland C++ (5.x) and their integrated debugger, and do not recall any specific issues related to input queue deadlocks. You set up your PeekMessage loop or whatever and hung a breakpoint on the switch statement for the message type you needed to debug, and followed it down from there. I assume the debugger was smart enough to run its own PeekMessage loop while waiting for commands.
Re:If 16-bit Windows had a single input queue, how did you d... by zwieback on Wednesday November 26, 2014 @01:02PM (#8663653)
Did you use OWL with BC++? That was so much better than MFC although the non-standard C++ extension was a little unsavory.

I also remember the BC++ debugger being pretty nice although I preferred CodeView.

Re:If 16-bit Windows had a single input queue, how did you d... by DanielBMarkham on Wednesday November 26, 2014 @02:16PM (#8664083)
+1 for OWL. It was my first "real" C++ framework, and it was a great way to start.

Borland had a nice tool suite but somehow just couldn't hang on to market share.

Re:If 16-bit Windows had a single input queue, how did you d... by mkramlich on Wednesday November 26, 2014 @03:44PM (#8664476)
I loved Borland's tools. But they got Microsofted just like dozens of other apps, one by one over the years (word proc, spreadsheet, browser, etc.)
Re:If 16-bit Windows had a single input queue, how did you d... by CWuestefeld on Wednesday November 26, 2014 @04:37PM (#8664750)
At the time, the battle over products like Quattro were with competitors like Lotus, and not MS.

And Borland sure did their part. There were a number of great products they acquired and then destroyed. The Brief editor is a near and dear example for us developers, but they also went out of their way, it seems, to destroy dBase and the whole Ashton Tate thing. And Sidekick was a really cool app that they managed not to handle well, too.

Re:If 16-bit Windows had a single input queue, how did you d... by yuhong on Wednesday November 26, 2014 @07:55PM (#8665466)
I think dBase screwed up before they were acquired by Borland.
Re:If 16-bit Windows had a single input queue, how did you d... by acqq on Wednesday November 26, 2014 @03:13PM (#8664370)
"Somehow?" Microsoft did its best, including hiring away Anders Hejlsberg.
Re:If 16-bit Windows had a single input queue, how did you d... by final on Wednesday November 26, 2014 @06:03PM (#8665081)
Borland got rid of Anders, he was constantly criticizing the move away from dev tools to enterprise platforms.
Re:If 16-bit Windows had a single input queue, how did you d... by acqq on Wednesday November 26, 2014 @07:12PM (#8665315)
I followed only from afar, I don't have any inside info. If you know more details than this, please tell:

"Borland Charges Microsoft Stole Away Its Employees" (1997)

http://online.wsj.com/articles/SB863034062733665000

"According to the suit, Microsoft also offered Mr. Hejlsberg a $1.5 million signing bonus, a base salary of $150,000 to $200,000 and options for 75,000 shares of Microsoft stock. After Borland's counteroffer last October, Microsoft offered another $1.5 million bonus, the complaint says."

I believed MSFT offered a lot, Hejlsberg told that to Borland, Borland offered him to stay and MSFT then offered 1.5 mil more, which Borland passed.

By the way, I didn't like much OWL. The transition between OWL 1 and OWL 2 was a mess, if I remember they were practically incompatible (and also if I remember correctly, only the name was the same, I believe different companies made 1 and 2 (!) independently) whereas it was easier to upgrade the code that depended on one MFC version to the next. I liked VCL from Delphi, then also accessible from C++ Builder, but VCL lacked Unicode for too long.

At the time of Delphi 2, VCL was very nice. Delphi 2 was really, really nice way to make native Windows applications rapidly.

Re:If 16-bit Windows had a single input queue, how did you d... by markbnj on Wednesday November 26, 2014 @08:28PM (#8665566)
I don't have any inside info, but the common perception in the industry at the time was that Microsoft raided Borland's talent, and thereafter Microsoft's development tools started getting better. Borland at the time was easily the most innovative programming tools company. They had "Visual" tools long before Microsoft, so it's not surprising that Redmond focused their wallet on disrupting that narrative.
Re:If 16-bit Windows had a single input queue, how did you d... by markbnj on Wednesday November 26, 2014 @08:24PM (#8665552)
No, the game was written directly on the Win16 API, something from which I have still not completely recovered.
Re:If 16-bit Windows had a single input queue, how did you d... by bluedino on Wednesday November 26, 2014 @02:41PM (#8664220)
Were you also responsible for MVP Paint?
Re:If 16-bit Windows had a single input queue, how did you d... by markbnj on Wednesday November 26, 2014 @08:26PM (#8665559)
No, but it was developed at about the same time. The late Dave Snyder, founder of the company, rounded up young programmers on Compuserve and put out a ton of shareware games during that period. There was also another version of MVP Backgammon later, but I had no involvement with that one.
Re:If 16-bit Windows had a single input queue, how did you d... by breadbox on Wednesday November 26, 2014 @02:37PM (#8664196)
I loved having the debugger separated out onto its own screen, even if it was a monochrome screen showing a bunch of tiled windows drawn with CP437 text-mode characters. To this day I miss the perfection of that setup.

One of the first times I had to use a "modern" 32-bit debugger, one with its own top-level window on the normal desktop, I was trying to find a bug triggered by focus events. Every time I hit a breakpoint, the focus would change to the debugger, dropping another focus event into the event queue, which would naturally trigger the breakpoint again once I stopped single-stepping. Having the debugger embedded in the system you're trying to debug can be very, very annoying.

Re:If 16-bit Windows had a single input queue, how did you d... by yuhong on Wednesday November 26, 2014 @02:41PM (#8664219)
You can still do remote debugging with WinDbg for example.
Re:If 16-bit Windows had a single input queue, how did you d... by reddiric on Wednesday November 26, 2014 @05:05PM (#8664879)
And Visual Studio.
Re:If 16-bit Windows had a single input queue, how did you d... by yuhong on Wednesday November 26, 2014 @02:06PM (#8664031)
http://blogs.msdn.com/b/matt_pietrek/archive/2005/02/14/3724...

I am surprised Raymond did not mention it.

Re:If 16-bit Windows had a single input queue, how did you d... by henderson101 on Friday November 28, 2014 @08:29AM (#8670852)
I was just remembering my first job, where we still developed 16-bit based clients. I was thinking "Wow, I don't remember it being so difficult to debug...", then it dawned on me, everything we were doing was on machines running Win NT 4!! 16bit Delphi 1 was an amazing achievement though, and the 32bit transition was fairly painless for us too.