This page is a wiki. Please login or create an account to begin editing.


339 posts / 0 new
Last post

Comments

Lauri's picture
Offline
Joined: 2020 Sep 4

Apparently you did not get the "fever" though? I got it, but a mild form of the disease! Still controllable, hah! I remember all the late nights with the old guys, gold was all they could think about. True prisoners for life, but who am I to judge: that was the lifestyle they chose, good for them!

Lauri

[Edit] "fewer" -> "fever" -- It looks like I will never learn your difficult language Smile I have noticed many more spelling errors in my previous posts, but there seems to be no way to fix them any more! I guess that it really doesn't matter.

MikeTomTom's picture
Offline
Joined: 2009 Dec 7

"fewer" -> "fever" I did notice but I "kept mum" <-- weird English expression Wink

It appears that once someone replies to a post you make, you can no longer edit that post. I suppose this it to prevent "changing the story" once someone replies to a comment. But, you are correct, it really doesn't matter, all typos are forgiven.

Lauri's picture
Offline
Joined: 2020 Sep 4

I guess that it does not matter, but remember the original punch line of the elephant joke? Haha! That's me!

Lauri

MikeTomTom's picture
Offline
Joined: 2009 Dec 7

No, I didn't get it. It must be the Norwegian blood in my veins Wink

Lauri's picture
Offline
Joined: 2020 Sep 4

I just meant that our people is world-famous for being so preoccupied with what others think about us ... even spelling errors ... kind of shy and withdrawn (the last part does not really apply to me). Haha!

Lauri

MikeTomTom's picture
Offline
Joined: 2009 Dec 7

I was kidding too, referring to when you said I must have Norwegian blood in my veins because I didn't get the elephant joke referring to the "Norway and Norway’s Mountains" book about elephants. Wink

I think Finns must be similar to Aussies in being preoccupied with what others think about us, in that (used to be the case) journalists/paparazzi would stake out airports waiting for a VIP's arrival - it didn't matter if they'd never been here before, the first question always seemed to be 'What d'ya think about Australia?" or "How d'ya like Australia?" - when they hadn't even left the airport. It used to drive me nuts if I saw it on tv.

Lauri's picture
Offline
Joined: 2020 Sep 4

I think that if I will get better, your country, along with Canada, is the one place I would like to visit. Currently this is just a dream, I'm speculating; but if it so happens, would you like to see me? I'm a seasoned couchsurfer.

Most of all, In Australia, so I have heard, it is possible to find rather large pieces of gold using a metal detector. Nothing like that is possible over here. And if nothing is found, who cares, the search itself is the thrill!

We could talk about emulation a bit, too Smile

[Edit] Don't take this too seriously, there is hardly any danger that I could travel Smile

Lauri

MikeTomTom's picture
Offline
Joined: 2009 Dec 7

I'm a seasoned couchsurfer.

Oh, that would be just awesome. I would love to have you stay. My couch-room is yours.

I do recommend tho' that you choose to head down this way in our winter - should you plan to do some fossiking. If you want to head off to where the big nuggets are, you will be much better off doing that, in temperatures of below 40 deg C.

I live in the Blue Mountains in NSW a couple of hours from Sydney. You can use this as your launch-pad into the interior.

Seriously. Get well. Come on over. Not too many shrimps up here in the mountains* but plenty of snags should suffice.

*mountains. What we call mountains, you would not be calling them mountains,Them thar hills, would be more like it. Wink

Lauri's picture
Offline
Joined: 2020 Sep 4

Wow, thank you Smile Funny, at the beginning of this thread you posted a link to an old interview with Marc Hoffman. In the end, I welcomed anybody visiting my country to come see me and talk about emulation. No one ever came, what a surprise! This is, quite frankly, a kind of a remote backwater of Europe. But I was being serious and it's a standing offer. Haha!

Now that you've agreed, I'm going to hold you to that, if I can ... the probability of that happening is low at best. But even crazier things have happened, it seems that there is always some kind of surprise around the corner Smile

And thanks for the hint about the heat -- when I visited my brother in Africa, it was indeed a problem for me. It is easy to protect yourself from the cold, proper layered clothing etc, but a bit harder from the heat ...

Lauri

Lauri's picture
Offline
Joined: 2020 Sep 4

Just a while ago, I had an interesting private chat with one of the MG forum members. Among other things, there was a reference to the problems with email (or forum for that matter) I talked about earlier -- how easy it is to misunderstand. Just at the general level. And also about the difference in written and spoken language! Let me tell you a funny story from my Army days; although I write well enough both in Finnish and English, or at least adequately -- how I present myself verbally ... a quite different story!

This was the summer of 1981.

Let's name this story "The soldier Lauri should kneel"!

Physical training was in progress. It was led by a Sergeant that I had irritated some weeks earlier. How stupid, he was after all a person who had the power to make my life miserable if he so wanted.

At one point he instructed that we all should kneel. No doubt he had a valid reason to do that, although it escapes me what that might have been. Everybody did, except me. I have a problem with my knees, if I would have done that a horrible pain would have followed. It's related to a very rare genetic disorder, hypophosphatasia. I have a mild form of it but a nuisance anyway, and that is why I was classified in the army as A2 instead of A1.

The sergeant rushed very close to me and yelled "what is the reason for this inobedience"! Well, I was immediately locked up.

Me: "I have these two knees..."

Sergeant: "I also have two knees!" And a quality collection of curse words followed. Very nice verbal acrobatics, although at that moment I was unable to appreciate that Smile

... and I no longer could speak one word ...

The last words from him were something like "It's about time that the soldier Pesonen starts to learn some military skills!"

Luckily he didn't force me after all, that would have been terrible. He obviously had some human spirit after all. Hah! We never became friends but got along much better later on!

I just checked, I still do "have two knees". Haha!

Lauri

Lauri's picture
Offline
Joined: 2020 Sep 4

I'm now trying to collect some kind of statistics about the B2 user base back then. About their professions, no personal details of course. I'm sure that the results will be interesting but this will take some time, I'll do it piece by piece when I can. Of course many people contacted anonymously, that will be the largest group.

This idea reminded me that when talking about "statistics", one must be very careful. Simpson's Paradox, anyone? One of the craziest things I have heard. When I first heard about it -- I think that it was my older brother who told me -- my jaw dropped to the floor. I had to verify it myself and do the math to believe. I later found many explanations on the Net, but this is the best example I know:

Consider a case, testing a new medication. Studying whether it is effective or not. It is tested for a group of men and a group of women, and all results are also combined. 40 men and 40 women. The medicine is given to 10 women and 30 men. So the control group receiving placebo is the opposite, 30/10.

Well, is the new wonder drug effective or not? See the numbers:

Both sexes:

Cured Not cured Total Percentage
Drug 20 20 40 50%
Placebo 16 24 40 40%

Men:

Cured Not cured Total Percentage
Drug 18 12 30 60%
Placebo 7 3 10 70%

Women:

Cured Not cured Total Percentage
Drug 2 8 10 20%
Placebo 9 21 30 30%

... combined results say: a good medicine, let's start making profit and sell it. But for BOTH of the sexes separately, the drug is worse than a placebo! Oops, these results will not be published!

Do yourself a favor and calculate, it's simply a matter of adding up the numbers in the columns Smile

There are real-life examples in for example Wikipedia.

Lauri

snes1423's picture
Offline
Joined: 2020 May 13

hi lauri snes here any chance of getting you or someone who develops basilisk ii to make a port for windows rt 8.1 your help is very much appreciated takk Kan du komme over covid I am sure you know what that means since you are from Norway arnt ya

Lauri's picture
Offline
Joined: 2020 Sep 4

Please understand, I cannot get involved in projects like that any more.
I'm from Finland btw, or possibly, from outer space Smile

Lauri

cbone's picture
Offline
Joined: 2011 Sep 17

A possible place that may offer the resources needed for a new port of Basilisk II is Emaculation.com. A lot of the folks over there are specifically very hands-on on the options for emulators and ports.

And even if you don't get a positive answer from there right away, just posting interest in the port may get some wheels turning from some folks who may later post that they can help out in some way. I think the Garden has more as a general goal to upload Mac software, make it useful by getting what is needs to run and to help those who are trying to set-up an existing emulator.

Don't give up finding others who share your desire for an RT port, they may not even know that they would end up assisting you in your quest, young Hobbit! I'm a Tolkien fan, so I just had to throw that bit in Smile

Lauri's picture
Offline
Joined: 2020 Sep 4

>> Hobbit! I'm a Tolkien fan, so I just had to throw that bit in

What on earth made you say so, are you somehow secretly hinting that there is someone on this planet who *isn't* a Tolkien fan? Haha!

Me too Smile

Lauri

cbone's picture
Offline
Joined: 2011 Sep 17

Oh, I wholeheartedly agree that we are, even though many of may just don't know it yet, lol!

Vintage Macs and emulators keep us coming together here, so I'll offer as many ways to get either in the hands of as many young and fresh minds eager to learn programming.. Laughing out loud

We're back to teaching how to use the Force (Mac programming), as Ben and Yoda once wisely said.. after all, these ancient Jedi (programming) arts (in tech years) aren't going to wield themselves, you know Shock

I am more of a Han Solo in the picture, aboard my (somewhat, knock on wood) trusty Millenium Falcon (old Mac or emulator) Smile

Wait.. would this analogy make you Yoda? Wink

Lauri's picture
Offline
Joined: 2020 Sep 4

>> how to use the Force (Mac programming)

Excellent analogies cbone, and this was the best one!

>>  Wait.. would this analogy make you Yoda?

I wish! More like a common Jedi knight ... no, wait! Yes, I'm old! Now I get it, that must have been your point!

Oh, there is more! Yoda used a walking stick didn't he? Although luckily I don't yet really need one, I just got one anyway. From my late father's estate that we are currently dismantling. It belonged to his father and his grandfather, a wonderful antique object, the only object that I really wanted -- and got! Handle made of silver, with exquisite carved details and more ... some day I will post a picture for the rest of the world to admire Smile

It would be a little bit too short for a tall guy like me, but I think people tend to kind of shorten during their final years ... so it's a waiting game once again, I need to have patience! I'll post an update after another 20 years! Haha!

Lauri

Lauri's picture
Offline
Joined: 2020 Sep 4

Series of interesting email exchanges, nro 0012:

I just read on one other unrelated forum about interesting "customer" support requests that do not exactly inspire to answer, and it made me remember this memorable case. At the end of my run, among polite and sensible requests, more and more messages like this appeared, from people who obviously were unable or unwilling to read the documentation and the web links provided. Well, that is something we all are guilty from time to time ... but the email itself! Perhaps I should have been able to admire the size of the ego of this guy ... the idea that in his mind, a freeware programmer seems to be his servant ... what to think about that Smile

[Some minor edits]

Lauri

____________________________________________________________________
To: Christian.Bauer@uni-mainz.de
Subject: HELP! (with Basilisk for Windows 95 PC.)
From: XXXXXX XXXXXXX
Date: 26 Jan 00 22:47:06 PST
CC: lpesonen@nic.fi

Hi,

I'm sending this, principally, to Christian Bauer, but also to Lauri Pesonen.
I normally use my Excite account, but it happens to be down at this moment, so
I'm using the one I have on Netscape. Please, however, if you both see this
and can answer me, PLEASE, use XXXXXXXXXX@excite.com to answer, NOT THIS
ADDRESS; I don't routnely check it.

OK, here's the problem: I tried downloading Basilisk II first; a friend of
mine suggested using it, he was looking up emulators for his machine, an iMac,
and happened to stumble across yours, which is obviously intended for PCs, I
gather. Anyway, I tried it, and it keeps giving me this damn error message
about cdenable.vxd, I think, being either too old, or corrupted. I tried
moving it out of the Basilisk II folder I'd created for the download, but no
go, I still get the same error message. Then, I tried downloading the old,
apparently obsolete Basilisk V.07, or something like that, since I looked at
Basilisk II, and saw it's apparently intended for Windows NT, which I
obviously figured MIGHT be why it's not running on my laptop. Stupidly late
conclusion, I suppose, but there it is.

I have an old IBM 365XD laptop, with Pentium I processor, about 800 MB hard
drive, obviously primitive, but it's basically adequate for my needs. My
reason for wanting to use a Mac emulator, I also have an old Mac Classic II,
with considerable software, as well as the complete series of MacCube CD-ROMS
of shareware/freeware, that I bought for it. The thing was, I obviously didn't
have a CD-ROM for a machine that old; I have a surplus one I suppose I could
hook up, if I REALLY wanted to push my luck, but, given that I have the IBM
365XD laptop, figured that putting a Mac emulator on here would obviously be a
safer bet, you know? I can start the  Basilisk II GUI properly, although some
of the nomenclature is foreign. I've printed out most of the documentation
files, and will be going over them, but would obviously welcome a little
expert advice here, keystroke-by-keystroke, for safety sake, of exactly WHICH
version of Basilisk would be best to use, and EXACTLY how to install it, in
REALLY TINY BABY STEPS (INFANTILE, if you will). That is, EXACTLY what do I
download, HOW do I arrange the files, what values/parameters do I set, etc.,
etc., etc.,....

PLEASE, for sake of what little sanity I have left in trying to do this,
PLEASE, DON'T just send me an e-mail sending me to some other web site. I saw
that straight Windows 95 might have problems with Basilisk II, which it
obviously does. Can I use the old, obsolete version V.07, or do I need
something else. Obviously, I could get Executor, for I don't know what the
hell it costs, $60-90, something like that, and if you say to do so, for ease
of use, I suppose I'll just bite the bullet and get it, but if there's some
free way, tell me how, if you know, PLEASE. Next, how do I configure the CD
and floppy drives, PRECISELY, WITHOUT error messages. When are you two on? Can
you get to Excite voice chat for alive discussion about it? I can reach that
easily enough, or use www.PhoneFree.com, for web-to-web discussions; it works
quite well, or did, until the company updated it, but Excite voice chat should
suffice. Remember, PLEASE, PLEASE, PLEASE, answer me on XXXXXXXXXX@excite.com,
NOT this address, OK? I look forward to hearing from either or both of you;
all I would ask of you is to PLEASE be specific. I am a fully trained
electrical engineer (EE), and am pretty experienced, but have been away from
day-to-day familiarity for awhile due to other training I've been involved in,
full time, so PLEASE, PLEASE be SPECIFIC, OK? Take care, please answer soon.

Thanks,

XXXXXX XXXXXXX,
XXXXXXXXXX@excite.com,
(street address)
(phone number)

P.S. If you have written documentation, and can send something by snail mail,
PLEASE, RUN DO NOT WALK, TO YOUR NEAREST POST OFFICE, OK? All informative
contributions instantly accepted, and greatly appreciated,OK?
Take care, answer soon; if you're in the U.S., call, and if possible, I'll
call you back immediately, OK? Thanks; XXX.

____________________________________________________________________

Duality's picture
Offline
Joined: 2014 Mar 1

A relevant quip from another author of a popular open source project, far below under the "Open Source" heading:

I made this thing that I thought was cool and I gave it away, and what I got back were occasionally friendly people who nicely requested things from me, but more often angry users who demanded things of me, and rarely anyone saying thanks. [...]

I see this same sentiment repeated from once-popular contributors to open source projects. Perhaps why open source became a bit less popular from one generation to the next, when it's not significantly funded by some much larger entity.

Nothing's free. Patience, especially.

Lauri's picture
Offline
Joined: 2020 Sep 4

That was an interesting read, Duality.

I have seen this pattern repeating in freeware projects (at least mine): at the beginning when the user base is still quite small -- it's hard to know for sure, maybe in a couple of hundreds or maybe a thousand -- the people are enthusiastic and supportive. They are typically quite smart, and they understand that something is given to them for free, something that may be even unique in some cases. They can appreciate that, and have patience and understand that nothing can be ready in a short time.

But as the user base grows larger and more people get involved, those who don't know the history of the project and don't understand the motives behind the project. And I guess that many wouldn't even care. More and more people are kind of "I want this now, give it to me!"

This is not to say that the majority of the requests even at the end were crazy like in the email above, not at all. I gave an extreme example. Compared to the article you quoted, I may have been actually quite lucky. Most were still polite and positive --  but there seems to be always a very clear trend towards worse.

It's kind of sad. Some authors can relate to this as they should: ignore the idiots, respect and enjoy the interaction with the good people. Maybe I had a bit to learn regarding that "ignoring" part! Haha!

But apart from these gripes, overall it was an enjoyable time and I am glad that it happened. I am even more happy now after I have learnt that it was not a wasted effort in the long run, even after 20+ years there are people who use some bits and can appreciate that. It was really heartwarming to realize that! Smile

Lauri

snes1423's picture
Offline
Joined: 2020 May 13

a Mac is truly MY PRECIOUSSSSSSSSSS!!!!!!!

cbone's picture
Offline
Joined: 2011 Sep 17

Nice one, SNES! Wink

Lauri's picture
Offline
Joined: 2020 Sep 4

This forum quite closely reminds me of the early days, I have seen not one rude request or comment, all are polite. Not many of the ideas I could actually implement currently but that is another matter entirely Smile

I briefly considered answering to this "snail-mail request guy" that yes, Executor could be better for him; but that sounded a bit like smart-ass, so I did nothing.

Lauri

MikeTomTom's picture
Offline
Joined: 2009 Dec 7

I had wondered about the outcome of the fully trained electrical engineer who wanted it all in "baby steps" by snail-mail Wink

Did he ever return with additional requests?

Lauri's picture
Offline
Joined: 2020 Sep 4

Mike, thanks for asking -- especially because your question inspired me to check this out. And it turned out that I was wrong, I did actually respond to him after all! I didn't remember this; so many years ago and so many messages.

For the sake of completeness I'll copy the rest of the thread here. His first message was the most interesting, but even here he writes "EXACTLY". If I would have liked to be ironic I could have used the same word in a strategic place in my reply, but usually I did not want to escalate email exchanges. That would have just generated two more emails and more waste of my time Smile

Lauri

[Small edits]
__________________________________________________________________
XXXXXX,

If you read that "damn" error message more carefully, you will find that it is complaining about a file in your Windows system folder. You are supposed to update that file.

I don't provide user level support for Basilisk II Windows port any more. Please read the documentation, you should be able to find the answers to your other questions.

If not, you may wish to visit the Delphi forums [links on my B2 web page]. I think you will find a lot of helpful people there.

Regards,
Lauri
__________________________________________________________________

Lauri,

I appreciate your having answered so fast, and have no problem usng that web page, with its links; also, please understand, I wasn't meaning to be rude, in complaining about the effor message that way, I was just frustrated. Could you tell me, if you would , EXACTLY what web sites I could reach people, preferably a live chat line, if possible, discussing how to use and set up Basilisk-related software? I look forward to hearing from you.

Take care, and thanks,

XXXXXX XXXXXXX
__________________________________________________________________

XXXXXX,

Of course, no problem.

I just can't answer individually to everybody any more, the volume of the email I get is tremendous.

Just copy the cdenable.vxd provided in the distribution archive to your \Windows\System folder, overwriting the old file.

My B2 page is at:

http://gamma.nic.fi/~lpesonen/BasiliskII/

Check out the "Forums:" and "Mailing lists:" sections.

Regards,
Lauri
__________________________________________________________________

Lauri's picture
Offline
Joined: 2020 Sep 4

I have been thinking about this quite a bit lately. The link that Duality posted ... the blog of the author of the freeware project Ninja. His experience seems to have been so different compared to mine. Although for me too, the level of feedback later on indeed deteriorated, there seems to be a big difference between his experience and mine. Why?

One reason might be that the tool he wrote was "serious". If anyone started using it, it was very important that it worked.

I know that there were (and still are) many people who used the emulation for serious work, many who contacted me were running a special scientific program only available for the Mac. But most of the people were hobbyists, curious just like me: can this really be done? How far can we push it? They are more forgiving, I suppose,

One reason could be that he wrote the blog irritated and disappointed, mostly remembering the negative aspects.

I also participated in the forum discussions rather enthusiastically, it may have made a difference. And more, because of that, many problems (not nearly all of course) were fixed fairly quickly.

The documentation (or rather, the presentation!) might be one issue. Maybe it's not enough to just display a GPL licence, with all those capital letters that were used back then. How many people read those licence agreements anyway? Why not explain the situation in a more down-to-earth way.

What else? I'm not quite happy with these reasons that came to my mind. There must be more.

As both Duality and the Ninja author hinted, knowing the causes for this problem may have some implications for the future of free software.

Lauri

Lauri's picture
Offline
Joined: 2020 Sep 4

"Triumph of the Nerds" by Robert Cringely

https://www.youtube.com/watch?v=c1yzXkH5Pfo

Cliff said (6/13/1996):

"Although they shot about an hour and a half of footage (at least
that's what I remember), ARDI was on "Triumph of the Nerds" for less
than 30 seconds.  I was on briefly (but without a caption) juggling
and riding a big wheeled unicycle (the one I used to ride at SBI),
followed by Mat, who was quoted as drinking about 2 liters of coke a
day (captioned "Mat Hostetter, ARDI") followed by a flash of Bill
Goldman's pierced tongue.  Somewhere in there was a look into our
refrigerator (old pizza, coke and salsa were the contents) and
intermixed were shots of non-ARDI screens and a non-ARDI hand
manipulating a mouse."

ARDI guys: 7:25 - 8:00

Besides Cliff, Mat is also seen juggling Smile

Lauri

MikeTomTom's picture
Offline
Joined: 2009 Dec 7

"Triumph of the Nerds" by Robert Cringely

Hello Lauri. I've owned the DVD of this 3 part TV mini-series for some years now. I very much enjoyed this documentary of the PC's early years and ending with the launch of Windows 95. I especially liked the interviews with the big players of the day, the Homebrew scenes and the Xerox Parc footage - great stuff. Cringely at his finest I would think.

Lauri's picture
Offline
Joined: 2020 Sep 4

Yes, Cringely was widely respected, one of those guys with a natural ability to get along with everyone, and he always had a balanced perspective. I never met him, just telling what I heard others say.

"Was"? I should write "is"! His real name is Mark Stephens, I don't know why he used this previous pseudonym, but anyway he still seems to be active. I just checked his Wikipedia entry: "born in 1953, in Apple Creek" ... how fitting is that Smile

Lauri

Lauri's picture
Offline
Joined: 2020 Sep 4

The story of the NAT/Router Smile

This was my last major contribution to the B2 project. After that, there were only some minor fixes and that almost-brain-dead implementation for the gamma tables.

From the very beginning, people were very interested in getting the emulated Mac to connect to the 'net. At first, it was hard for me to imagine why ... isn't the point of emulation to run the local fun and useful programs, you can connect to the net much better with the Windows host? And the other emulator authors, they were echoing the same sentiment ... ?

Hmmm. Then came a flood of emails, all the problems with "Winmodems" (modems with minimal hardware, most of the stuff implemented in software.) The B2 serial communication was written in a few hours, I had no use for it. Later on more time was used for troubleshooting.

Then came the Ethernet networking. It was a big step forward, but because it was quite complicated, there were many problems and fixes.

The idea of implementing a TCP/IP stack that could use the connection that Windows had already established was nothing new to me ... many people had already suggested that, and there were other programs that had done the same thing. However, I thought that it would be too hard to do.

Then, when the 2000 Christmas break was nearing and I got some free time, I remembered this. There were many TCP/IP stack implementations available, GPL and other free licences as well. I could have used one of them. But where is the fun? No, I downloaded the RFC 793 specs, and went from there. And enjoyed writing it very much! Most of that code is quite okay, except maybe one ugly ftp hack ... interesting that it actually works even now! Probably because it could be adapted to the existing ftp software, and no new releases were coming.

Also, if you look at the code in the Windows/router folder ... since it was a separate module, it does not suffer from the atrocities of the Microsoft-forced "Hungarian notation", I discussed that some time before ... The code is mostly readable.

I'm glad that I wrote this code. Unlike the Ethernet drivers, it apparently has stood the test of time and is still working to some extent Smile Finally, I put much effort into writing an html document. I already had the feeling that this could be my swan song, so I tried to make it nice and complete:

http://manlymania.net/RetroTech/~lpesonen/BasiliskII/NAT-Router_FAQ.html

Lauri

[Edit] typos.

Lauri's picture
Offline
Joined: 2020 Sep 4

I think that now has come the time for me to say some final words about the Macintosh emulation and move on. Or maybe not, who knows. I'll probably keep playing with the code but do not expect much.

The facts:

1) Withouth Christian Bauer, there would not have been Basilisk II or SheepShaver.

2) Without me, there would have been a Windows port -- some years later; as Gwenolé and others demonstrated.

3) By implementing all the extra crazy stuff, I managed to bring smiles on many faces and bring enjoyment to many people. That was my greatest accomplishment.

4) It is certain that Macintosh emulation will live on, there are many people enthusiastic enough and willing to sacrifice and dedicate their time to help others. That is wonderful.

5) I may still write some more stories in the future, but now the most interesting ones to tell depend on whether I will get permission from some other people.

Goodbye (for a while at least!), and have fun!!!

Lauri

watchsmart's picture
Offline
Watcher
Joined: 2009 Apr 10

Thanks for everything. Without your release of Basilisk II for Windows I wouldn't have had the joy of plunking away at the emaculation website for 21 years. You gave me a hobby!

cbone's picture
Offline
Joined: 2011 Sep 17

Thank you, Lauri! Smile

For your time, your amazing stories, we appreciate everything you've done and hope that life and health may continue to favor you for many, many years to come. Have a most wonderful Christmas as 2021 nears and just know you will always be welcome here!

After all, we are all part of this zany Mac family, lol Wink

Lauri's picture
Offline
Joined: 2020 Sep 4

Series of interesting email exchanges, nro 013:

Hi,

Merry Christmas and a Happy New Year to you too Smile

What I write now is mainly in reference to a Mike's earlier post, this, remember:

https://macintoshgarden.org/forum/basilisk-ii-old-windows-builds-lauri-p...

I was already doing other stuff but then I remembered one additional thing, so let me post away one more time -- because this might actually be useful to someone. At the beginning of the quotes below, there are the very first emails with Christian which may interest someone (B2 versions 0.3 - 0.4! Very early ones.); but then, more importantly, a short description of the method of how the bug with QuarkXPress 4.x could be fixed. Note that this kind of bug can affect many other applications too, even though it may not be so obvious. It is not likely (although it is remotely possible) that I will ever fix this ... but if someone else would like to try it, this is the way to do it.

The files mentioned, "old.gif" and "new.gif" are long gone. They were pictures of Speedometer color QuickDraw test circle, first as it should be ("old"), and then the distorted one ("new"), like an ellipse because of a problem with the CPU X flag. The calls of duplicate_carry() were missing. This was a bug in the Bernd's new UAE cpu version back then. Instead, the bug affecting QXP 4.x is in the assembler-optimized version, so I believe -- however, the very same editor macro method could be used to track it down. It is a generic method to fix regressions after major changes in the code. A long time ago I used something similar at my paying job. It is crude but sometimes effective.

All the best,
Lauri

----------------------------------------------------------------------------------------------

To: cbauer@student.Physik.Uni-Mainz.de, cbauer@iphcip1.physik.uni-mainz.deSubject: Basilisk II & WinNTFrom: lpesonen@nic.fi (Lauri Pesonen)Date: Fri, 09 Apr 1999 08:55:51 GMT

Hi,

Your Basilisk II project seemed so promising to me that I ported a version for Windows NT. I was wondering if you're interested. Many (but not all) features work on Windows 9x too.

The following features are implemented

- 8bit, 16bit, 24bit and 32bit screen depths. This means windows screen colors, the 24 bit is mapped to 32 Mac bits. There is a nice experimental screen update method, it marks the screen memory read-only and uses access violation faults to keep track of the changed area. Some performance boost is gained. 8 bit palette mode sometimes flashes a bit, but it's not too bad  (WinNT+Win9x)

- Hard files (HFV,DSK, or whatever)

- Hard disks, and logical partitions, can be accessed with PC exchange  (which is so damn buggy that it is almost useless).  In fact it's so buggy that for safety this code is currently read-only, but can be enabled if someone wants it to (WinNT)

- Floppy disks -- I don't monitor the change line, but the user is required to hold both control keys down to indicate floppy insertion (WinNT)

- Any SCSI devices through ASPI layer  One caveat -- I don't fetch the "immediate" bit from cdb blocks  but everything is synchronous. Works fine otherwise, but cd burner blanking commands tend to timeout. They finish all right of course since the commands are atomic, but Toast issues unnecessary error messages (WinNT+Win9x, tested only on NT)

 - SCSI device "faking", because there are many ATAPI cd roms and cd burners that work just fine when the apps are told they are a almost identical SCSI device. (WinNT+Win9x, tested only on NT)

- If there is a non working SCSI device, the vendor/model combo can be disabled (WinNT+Win9x, tested only on NT)

- ZIP drives work either through SCSI or partition access

- Always runs in full screen (but not directx), and when the user  task switches away adjusts thread priorities to keep everything  running smoothly (WinNT+Win9x)

- CD roms can be used either with SCSI (faking or not), or using a my cdenable.sys (WinNT) kernel mode driver which provides raw access to Mac cd's. 

- Just finished the serial port support. Connected to my ISP  fine, but only using FreePPP. I cannot try OpenTransport since 68020 is the highest uae core that runs, even that crashes often. The FPU is disabled since it's buggy (as you know).  Maybe I have some platform/port specific bugs, does it crash on you too often? (WinNT+Win9x, tested only on NT)

- The clipboard scrap function (WinNT+Win9x)

- Almost all keyboard codes including power key (WinNT+Win9x)

Can't remember anything else ... oh yeah there was somebugs in the Unix serial code, I hope I commented them in case you would like to take a look

I also made some tweakings in the uae code to make it faster... a bit.

Sorry for the duplicate address, I am not sure which one is your current contact info.

Regards,
Lauri

----------------------------------------------------------------------------------------------

To: lpesonen@nic.fiSubject: Re: Basilisk II & WinNTFrom: "Christian Bauer" Date: Sat, 10 Apr 1999 19:23:13 CEST

Hi!

>Your Basilisk II project seemed so promising to me that I ported
>a version for Windows NT.

Great! Where can I find it? I'd like to include it in the next release.

There is also a new version of Basilisk II (V0.4) onhttp://iphcip1.physik.uni-mainz.de/~cbauer/

Bye,
Christian

--   / Coding on PowerPC and proud of it\/ http://www.uni-mainz.de/~bauec002/

----------------------------------------------------------------------------------------------

To: cbauer@student.Physik.Uni-Mainz.DESubject: Re: Basilisk II & WinNTFrom: lpesonen@nic.fi (Lauri Pesonen)Date: Sun, 11 Apr 1999 07:26:23 GMT

On Sat, 10 Apr 1999 19:23:13 CEST, you wrote:

>Hi!
>>Great! Where can I find it? I'd like to include it in the next release.
>>There is also a new version of Basilisk II (V0.4) on
>http://iphcip1.physik.uni-mainz.de/~cbauer/
>>Bye,>Christian

Hi Christian,

I have uploaded the source and binary to:

www.nic.fi/~lpesonen/BasiliskII/BasiliskII_win32_110499.zip
www.nic.fi/~lpesonen/BasiliskII/BasiliskII_win32_src_110499.zip

There are some problems that I would like to discuss with you later, I won't go into the details now

You may want to grep the files with "WIN32" (ifdefs meant to be permanent) and "LAURI" (some temporary notes for your eyes only, to be removed as soon as you have read them).

There's no link to these files from my site www.nic.fi/~lpesonen 

There's a short README.WIN32 file. It's by no means complete and you can dump it if you like and merge some stuff into your existing readme's.

If there's some features or whatever that you particularly dislike please let me know. I should have of course consulted with you before, but I guess you know how these things happen, one just starts doing something for his own pleasure without a slightest idea that it might be some day released.

I downloaded your V0.4 but haven't looked at the sources yet, I only had a quick glance at the changes file. If you have ethernet support that's truly great.

Regards,
Lauri

----------------------------------------------------------------------------------------------

To: lpesonen@nic.fiSubject: Re: Basilisk II & WinNTFrom: "Christian Bauer" Date: Sun, 11 Apr 1999 20:30:03 CEST

Hi!

>I have uploaded the source and binary to:

Ok, I've fetched it. Although I have no Windows machine to test it, it looks quite sophisticated.

There's now a slightly updated version of Basilisk II V0.4 athttp://iphcip1.physik.uni-mainz.de/~cbauer/BasiliskII_src_110499.zip

I've included your "Windows" directory almost unedited, so it won't compile as it is.

Some comments:

- prefs.cpp: I've now created a mechanism to define preferences items  (instead of hardcoding them into Load/SavePrefsFromStream()); you should  be able to figure it out quickly by looking at prefs.cpp and  Windows/prefs_windows.cpp (I added the platform_prefs_items structure at the top).

- sony.cpp/DISK_INSERT_CHECK: it the user has to mount floppies by pressing some special keys or selecting a menu or whatever, DISK_INSERT_CHECK has  to be "0" and you have to call SonyDiskInserted() yourself when you  detect the keypress. DISK_INSERT_CHECK is for automatic checks by the .Sony driver.

- uae_memory.cpp (now uae/memory.cpp, preparing for replaceable CPU engines): If you have to do that many changes, you should create your private memory.cpp inside the "Windows" dir and link against that instead of the  common memory.cpp.

- include/uae_memory.h and uae_newcpu.h: "Sorry, I cannot just define REGPARAM2 as _fastcall in sysdeps.h". Why not? How does WinUAE do it?

- Unix/serial_unix.cpp: "FIXME: Comment by LAURI: wrong order?". No, right  order. configure() also does a tcsetattr(), but I didn't want to rely on that  behaviour. The missing "else" branch in kSERDBaudRate was of course a bug.

- main_windows.cpp:

// Not used? CPUIs68060 = false;

  CPUIs68060 is used for the native 68k ports to enable some 68060 MacOS patches.

- serial_windows.cpp: 
- kSERDMiscOptions/kOptionPreserveDTR determines whether DTR should be    dropped when the driver is closed (flag set = don't drop) 
- kSERDSetPEChar defines the replacement character for parity errors 
- dcdEvent is indeed carrier detect

- Windows/sysdeps.h: there are now more optimized versions in Unix/sysdeps.h.  You might consider using these.

Bye,
Christian

----------------------------------------------------------------------------------------------

To: cbauer@student.Physik.Uni-Mainz.DESubject: Re: Basilisk II & WinNTFrom: lpesonen@nic.fi (Lauri Pesonen)Date: Mon, 12 Apr 1999 07:46:16 GMT

On Sun, 11 Apr 1999 20:30:03 CEST, you wrote:

Hi!

>There's now a slightly updated version of Basilisk II V0.4 at
>http://iphcip1.physik.uni-mainz.de/~cbauer/BasiliskII_src_110499.zip
>
>I've included your "Windows" directory almost unedited, so it won't
>compile as it is.
>

Thanks. I upgraded to the new version. It compiles and runs now, but I have some problems. Could you please have a look at two images (they are small, about 40kB a piece, but I didn't want to attach themhere since you might not like it)

www.nic.fi/~lpesonen/BasiliskII/old.gif
www.nic.fi/~lpesonen/BasiliskII/new.gif

"old.gif" is a SpeedoMeter color benchmark with the versionthat I had before, "new.gif" is the result after using the new V0.4core. The ellipses are horizontally reduced, and vertically enlarged. After "new.gif" reaches the point shown in new.gif, everything freezes. Have you seen anything like this before?I have made some mistake somewhere but can't figure it out. FPU was disabled all the time, CPU was 68020.

I built build68k & gencpu, and generated the uae cpu core files.What are you plans, are you going to distribute the resulting files(table68k.c, cpuemu.cpp and cpustbl.cpp) with BasiliskII or are the people expected to build these? And what is the correct location for these files, "uae" directory or "platform\uae"?

>- uae_memory.cpp (now uae/memory.cpp, preparing for replaceable CPU engines):
>  if you have to do that many changes, you should create your private
>  memory.cpp inside the "Windows" dir and link against that instead of the
>  common memory.cpp.

Understood. Does the other builds work with the xxxDiff stuff in memory.cpp? There seems to be some unsigned/signed issues at least under Visual C++. There is no problem when the xxxDiffvariables are used in asm code, but Visual C++ makes some improper assumptions.

>- include/uae_memory.h and uae_newcpu.h: "Sorry, I cannot just define REGPARAM2
> as _fastcall in sysdeps.h". Why not? How does WinUAE do it?

I haven't looked at WinUAE for a long time, last time I did it didn'tuse _stdcall at all.

I was afraid that it would cause too many changes in the uae code. If it is ok to change the following pieces of code everywhere:

uae_u8 REGPARAM2 *ram_xlate(uaecptr addr) REGPARAM

to:

uae_u8 *REGPARAM2 rom_xlate(uaecptr addr) REGPARAM;

then it will be no problem. I didn't dare to change these before because some other compiler might well require the calling convention specifier at a different location. But, "uae_u8 *"is the type, and I figure they should be in juxtaposition.

< snip -- other comments clear to me >

>- Windows/sysdeps.h: there are now more optimized versions in Unix/sysdeps.h.
> You might consider using these.

Great, I will take a look. 

HAVE_GET_WORD_UNSWAPPED could probably be usedto have the op code table word-swapped, assembler writtendecode/fetch loop could then save one xchg command

>Bye,
>Christian

Regards,
Lauri

----------------------------------------------------------------------------------------------

To: cbauer@student.Physik.Uni-Mainz.DESubject: UAE bugsFrom: lpesonen@nic.fi (Lauri Pesonen)Date: Mon, 12 Apr 1999 11:25:26 GMT

Hi,

About those images I mentioned, having corrupted ellipses and things; it seems to me that gencpu is broken, if generated erroneous code for op code 0x9080 (SUB). When I manually fixed that, the error disappeared. But there is more, for example in Marathon walls are all black. It seems to me that gencpu generates erroneous code for all operators SUB, SUBX, ADD, NEG, NEGX, maybe more. Do you have any ideas what to do with those, can't just manually fix all of them.

Lauri

----------------------------------------------------------------------------------------------

To: lpesonen@nic.fiSubject: Re: Basilisk II & WinNTFrom: "Christian Bauer" Date: Thu, 15 Apr 1999 18:44:03 CEST

Hi!

>"old.gif" is a SpeedoMeter color benchmark with the version
>that I had before, "new.gif" is the result after using the new V0.4
>core. The ellipses are horizontally reduced, and vertically
>enlarged. After "new.gif" reaches the point shown in new.gif,
>everything freezes. Have you seen anything like this before?

I observe the same behaviour on my PPC systems.

>It seems to me that gencpu is broken, if generated
>erroneous code for op code 0x9080 (SUB). When I manually
>fixed that, the error disappeared.

How did you fix it?

>What are your plans, are you going to distribute the resulting files
>(table68k.c, cpuemu.cpp and cpustbl.cpp) with BasiliskII or
>are the people expected to build these?

The latter.

>And what is the correct location for these files, "uae" directory>or "platform\uae"?

"uae" in the version you have, "uae_cpu" in future versions.

>Understood. Does the other builds work with the xxxDiff stuff in
>memory.cpp?

Yes. It will be included in the next release.

>If it is ok to change the following pieces of code everywhere:
>
>uae_u8 REGPARAM2 *ram_xlate(uaecptr addr) REGPARAM
>
>to:
>uae_u8 *REGPARAM2 rom_xlate(uaecptr addr) REGPARAM;
>
>then it will be no problem.

Ok, I'll see if that works on other systems and change it if it does(it looks more reasonable to me, too).

Bye,Christian

--   / Coding on PowerPC and proud of it\/ http://www.uni-mainz.de/~bauec002/

----------------------------------------------------------------------------------------------

To: cbauer@student.physik.uni-mainz.deSubject: Re: Basilisk II & WinNTFrom: lpesonen@nic.fi (Lauri Pesonen)Date: Thu, 15 Apr 1999 17:58:57 GMT

On Thu, 15 Apr 1999 18:44:03 CEST, you wrote:

Hi!

>>it seems to me that gencpu is broken, if generated
>>erroneous code for op code 0x9080 (SUB). When I manually
>>fixed that, the error disappeared.
>>How did you fix it?
>

Here's the code generated by gencpu:

  SET_ZFLG (((uae_s32)(newv)) == 0);  SET_VFLG ((flgs ^ flgo) & (flgn ^ flgo));  SET_CFLG (((uae_u32)(src)) > ((uae_u32)(dst)));  SET_NFLG (flgn != 0);

Here's the code from old uae core:

  ZFLG = ((uae_s32)(newv)) == 0;  VFLG = (flgs != flgo) && (flgn != flgo);  CFLG = XFLG = ((uae_u32)(src)) > ((uae_u32)(dst));  NFLG = flgn != 0;

Note that XFLG is not set at all in the new version. So I just added a new line:

  SET_XFLG (((uae_u32)(src)) > ((uae_u32)(dst)));

and it helped. But as I said, this only fixes this particular problem, X flags almost everywhere are missing, and this is causing problems in other programs.

If you're curious how I tracked this down: using brute force. I have a test build which includes all cpu operations, old and new, the old ones named for example "old_op_9080_0".Then I just modify the op_smalltbl_1 using editor macrosand rebuild. Since there are only 1800 operators, it takes no more than 11 attempts ( == log2(1800), binary search) to track down the suspected mnemonic

Regards,
Lauri

----------------------------------------------------------------------------------------------

To: lpesonen@nic.fiSubject: Re: Basilisk II & WinNTFrom: "Christian Bauer" Date: Thu, 15 Apr 1999 22:32:02 CEST

Hi!

>Note that XFLG is not set at all in the new version.

It turned out that calls to duplicate_carry() were missing in thecode for SUB and NBCD. A fixed version is onhttp://iphcip1.physik.uni-mainz.de/~cbauer/BasiliskII_src_150499.zip

Bye,Christian

--   / Coding on PowerPC and proud of it\/ http://www.uni-mainz.de/~bauec002/

----------------------------------------------------------------------------------------------

Jatoba's picture
Offline
Joined: 2018 Apr 16

This is one of the most fascinating threads ever, anywhere. Smile

A Merry Christmas to everyone here at the Macintosh Garden. Smile

Lauri's picture
Offline
Joined: 2020 Sep 4

I would like to stress one thing, even though it is probably obvious to careful readers anyway ... Take a very close look how Christian answered to these emails of mine; this one and the previous examples I posted before. It was always no-nonsense, compared to my more "artistic" or whatever, verbose blabberings! In this same thread I once wrote:

https://macintoshgarden.org/forum/basilisk-ii-old-windows-builds-lauri-p...

"("the Windows operating system") cannot be used in time-critical applications, for example to control nuclear power plants! I sleep my nights better knowing this"

Soon afterwards, coincidentally, he told me this:

"Although I did in fact finish my PhD in theoretical physics in 2005, I then quit the academic world and now work for Framatome in the city of Erlangen on digital instrumentation and control systems for nuclear power plants, which involves things like spending 5 years on 5000 lines of code making sure that  it does what it's supposed to do under any and all imaginable circumstances. A far cry from the wild days of B2 hacking..."

I dare to quote him like this without asking although it was a private email; there is nothing too private. But the point being: If there needs to be nuclear power plants (and I won't participate in these flame wars), this is the man I want to write and maintain the code! Period. Be safe.

Lauri

MikeTomTom's picture
Offline
Joined: 2009 Dec 7

Wow, only 5 KLOCs to look after. I can bet that's not C++ or later languages Wink

Hello Lauri. Merry Christmas to you and a brighter 2021 for us all. I have my fingers crossed.

Great to see your posts. Glad you're up and about and (I hope) enjoying life. Yes, keep and be safe.

m68k's picture
Offline
Joined: 2016 Dec 30

Could any of the Windows B-II authors find it in themselves to port the latest build to Android?