Live data from Hacker News

Donkey – A computer game included with early versions of PC DOS

github.com

121–130 of 183 posts

Re: Donkey – A computer game included with early versions of PC DOS

#121
post #40

Earlier quoted context omitted.

Andy Hertzfeld sounds like a sore loser. Why should anyone care what he thinks about games? Macs suck for games and they always have. Every piece of software he's written has been a second rate failure.

> Macs suck for games and they always have Not in the 80s. PCs were DOS machines for the office and if you wanted to play a game the Mac, Atari or Amiga were much nicer plattforms.

Apple/Mac doesn't belong to the list.

Re: Donkey – A computer game included with early versions of PC DOS

#122
People forget that the intention of some programming demos is to explain some concepts simply. The intended audience of that code wasn't some expert programmer - it was for those who wanted to see how things worked so that they could see how the game sucked and once they learned enough they could improve upon it.

For expert BASIC code see Nibbles.BAS:

http://stanislavs.org/OldPages/stanislavs/src/nibbles.bas

Re: Donkey – A computer game included with early versions of PC DOS

#123
This reminds me of the first computer games I ever wrote. I remember being able to get something so satisfying together in BASIC, with graphics, user input, and sounds. Then I remember moving to C and asking how I could draw a simple line, only to be told that it would require a few pages of boilerplate to set up, and that all my programs should just be text prompts.

Re: Donkey – A computer game included with early versions of PC DOS

#124
post #23

Earlier quoted context omitted.

"Correct" order is ambiguous to someone asking that question in the first place.

It sounds like he's saying the "line number" is just the index to a tokenized list (i.e. line 15 is at `lines[15]') where unused lines are just nops. So my "program" would be tokenized and the lines stored like: char** lines = malloc(...); lines[10] = &line1; lines[30] = &line2; lines[20] = &line3; Then when executing, it starts at `lines[0]', sees nops, gets to `lines[10]' and runs it, sees more nops, gets to `lines…

Usually in 8-bit BASICs the lines would be stored consecutively (not in separate malloced segments) with each line starting with its line number. Yes, this meant that GOTO required a search. Memory was a really central design constraint on these systems. I don't know how closely MS's BASICA on the PC followed this model, but the PC's starting configuration had 16k bytes of RAM.

Re: Donkey – A computer game included with early versions of PC DOS

#125
post #118

Earlier quoted context omitted.

salty is slang for "envious"

"Throwing salt" can also be used to mean "casting dispersions", as it were. I think the article tosses a bunch of salt towards Bill Gates, but who knows what the motivation was. I'm guess when properly confused, you might just throw some salt for luck, and end up looking salty yourself. :) Edit: I'm talking about the author throwing salt, not any of the posters here.

I have to do this! I believe you mean "casting aspersions."

Re: Donkey – A computer game included with early versions of PC DOS

#126
post #111

Earlier quoted context omitted.

Agree with the article, the code is not to be proud of. One thing about the Macintosh, it was better but the price was way higher. Most people stayed with the z80s that costed a fraction and were as good for games.

The Mac folks understood a lot more about personal computers than the IBM folks. For instance, the graphics hardware on the Mac wasn't much to write home about, but the PC's graphics was unbelievable garbage that had no hope of performing well (it probably set back GUI development on the PC by five years). The Mac's sound wasn't great, but the PC had a speaker hooked to a TTL port, with the same engineering sophistic…

PC had a speaker hooked to a TTL port, with the same engineering sophistication as the backup alarm on a garbage truck

While true, the quality of sound achievable this way is a matter of software. There are many programs that achieved excellent sound quality, playing music even with just a speaker and a TTL drive.

Remember, the simplest DAC is PWM into a low-pass filter.

Re: Donkey – A computer game included with early versions of PC DOS

#127
Wow, This is actually one of the first games I remember playing. I was probably 4 or 5 and visiting my Dad at work. To keep me busy their IT guy showed me this game. I think it was also the only time I played it.

Shortly after that we got a PC at home and it came with a demo copy of EGA Golf which I think only had Pebble Beach. Sound quality was similar.

Re: Donkey – A computer game included with early versions of PC DOS

#128
post #96
post #49

Earlier quoted context omitted.

> Andy Hertzfeld sounds like a sore loser. A proven winner, with significant contributions to the field would be more accurate. > Why should anyone care what he thinks about games? It's not what he thinks about games in general, it's what he think about a particular historical artifact that happens to be a game. And people care about his opinion on those times (the website linked is quite popular) because he was an i…

There's something unseemly about ripping on other people. I know it's bill gates, but Hertzfeld comes across as the kind of guy who enjoys making people feel small.

I worked with Andy for a while. He is one of the nicest people I know, and couldn't hurt a fly.

Re: Donkey – A computer game included with early versions of PC DOS

#129

Earlier quoted context omitted.

Disagree about the Ataris. They were very popular gaming platforms at the time.

Not the ST, which would be the competition we're talking about vs the C64, etc.

A matter of geography - the ST was very popular in europe (as was the amiga).

Re: Donkey – A computer game included with early versions of PC DOS

#130

Earlier quoted context omitted.

Not an especially valuable comment from me here, but the fact that people who are probably very technically literate can ask this question makes me feel really rather old.

I remember explaining line-number based BASIC to a younger programmer once and he really couldn't get his head around the idea of GOTOs and GOSUBs based on line numbers -- "why wouldn't you just define functions?"

I remember the minor shock I experienced when writing programs without line numbers. I recall a couple of "good at programming whiz kids" never could make the transition and dropped the compsci major.

I escaped the "permanent brain damage" that Dijkstra complained about that era of BASIC producing, but I understand where he's coming from now and don't begrudge him the slight hyperbole. It was a language where there were so many accidental complexities that there was virtually no prayer of someone penetrating through to the essential issues, using Fred Brook's definitions of accidental/essential. You're not learning anything useful while you're manually renumbering lines because you used up everything between 15-20 and fixing up the GOTOs. (I never had anything with RENUM support.)

Post reply on HN