Tuesday, November 19, 2024

Older chess players I knew

I looked up some Utah chess players I knew.

Unfortunately, Carmelo Punzalan passed away in 2017.

Adolf Stuhmer passed away in 2022.

I am constantly reminded of how mortal we are.  Many people once part of my life are no longer with us.

--

Sunday, November 17, 2024

Eight year old Facebook post

The theory of left or right brain dominance is considered a myth, but even if it is a myth, it illustrates that people have different ways of thinking, where some people are more logical thinkers, good with math and science, and others are more artistic, subjective, and emotional.

I once took a personality test that claimed that I had 70% left brain dominance. This was in no way a surprise. I am into science, history, math and chess.
I see many assertions on here and elsewhere that seem to me to not have a sound logical basis. This is especially true of political posts in the last few weeks. I find myself reacting to things that seem totally outrageous, but reacting to these things is mostly a waste of my time. It can be entertaining, but it doesn't lead anywhere because I am never going to convince people who are already firm in their beliefs.

I have come to believe that a great many people and I will never agree on great many things because our brains are wired differently. This doesn't necessarily make one person right and the other wrong, but it does mean that we see the world very differently.

I think that politics is driven by fear. Each side has completely different things that they are afraid of. Fear is an extremely powerful motivator, therefore it takes away people's ability to be objective. Politics is mostly a reaction to things that people are against, because if people were perfectly happy, they wouldn't need politics.

Best wishes,

John Coffey

Wednesday, October 2, 2024

How NOT to Land a Parachute

https://www.youtube.com/shorts/-qj4h2Gl7YU

In the past, I wanted to try skydiving, but not anymore.  I'm getting older and it is too risky.

I have heard that in parachute training they make you fall from increasing heights until you can fall and land from a height of 16 feet.  That's a pretty big drop.  According to the laws of physics, you would be traveling at 32 feet per second.

Saturday, September 28, 2024

1982 Chess Program


@john2001plus
3 hours ago (edited)
I am an Expert level chess player.  In 1982 I was not as highly rated, maybe low class B.  

The dedicated chess computers in the 1970s started with a 4 MHZ Z80, but were extremely weak mostly due to poor programming.  The Spectrum uses a 3.58 Mhz Z80.

In the 1980s dedicated chess computers switched to the 6502 processor which can do 8-bit operations twice as fast as a Z80, starting at 2 Mhz and working up from there.  In 1982 they were still not very impressive but were getting better.   They didn't become competitive with me until 1983 running at 3 MHZ, and I think the Fidelity brand was using some variation of the Sargon program.  

Sometime in 1984, there was a breakthrough with the 4 Mhz 6502 Novag Super Constellation (programmed by Dave Kittinger who would later do the Chessmaster 2000 and 3000 PC programs) which was ranked at the same low-Expert level that I am now.  It played better than me even though I had moved up to low Class A in early 1985.

Sometime around 1986, I entered a contest from a British Spectrum magazine where if you could solve a chess problem printed in the magazine you would be entered to win the latest and greatest Spectrum chess program.   I sent a postcard to England to enter the contest, and months later I got a tape of the game in the mail.  I was able to beat the program.  (I had purchased a Spectrum ROM cartridge to be able to play Spectrum games.)


Sunday, September 15, 2024

How do Video Game Graphics Work?

I knew the basics, but most of this is quite advanced.

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

The computational power required is enormous.  Graphics cards use hundreds of watts of power.  (My mini-computer has a processor with a TDP of only 55 watts.)

In the 1980s, I tried to do simple 3D graphics on 8-bit and 16-bit computers.   Since I had at most 16 colors to work with, no advanced shading was possible.

On the Timex Sinclair 1000, which was an 8-bit 16K back-and-white computer, I managed to create a low-res black-and-white 3D rotating object stored in the computer's memory.  I then could display the rotating object.  It was an impressive effect for such a simple machine.  

I accomplished similar effects on the more advanced Timex Sinclair 2068 color computer.  I also did some simple 3D effects on the Atari ST computer.

The 8-bit machines were capable of about 500 floating point calculations per second.  The Xbox Series X console is capable of 12 trillion per second.  The advanced graphics card featured in the video is capable of 33 trillion.

Monday, September 9, 2024

Why is "The Empire Strikes Back" considered the best Star Wars film? (Star Wars Discussion)

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

@john2001plus
0 seconds ago
I had just barely graduated High School when I drove to Indianapolis to see TESB at a big theater with a large curved screen.  I sat in the front row.  At one point my head had to turn quite a ways to follow a ship flying across the big curved screen.  It felt almost 3D.

I grew up in the 1970s.  The country was in a state of malaise for the entire decade.  We had suffered through the Vietnam War, Watergate, the oil crisis, stagnation, and inflation.  China and Russia were evil empires trying to take over their neighbors.  

Star Wars was a beacon of hope.  It said that good could stand against evil.  The Empire Strikes Back became my favorite movie and it still is.

I'm slowly turning into an old man but I am still a die-hard Star Wars fan.

Saturday, August 24, 2024

Amazon.com: eufy L60 Robot Vacuum

This vacuum has some of the best online reviews, so I got it.

https://www.amazon.com/dp/B0CDB56ZWV

I wrote the following review:

I'm Impressed.

Pros:

1. The navigation and obstacle avoidance is the best I have seen.  The vacuum moves faster than my Neato vacuums.

2.  It did a good job of cleaning my floors.

3.  The setup was easy with the app.  It will first map the entire house without cleaning.  It does a good job of mapping the house.

4.  You can select individual rooms for cleaning.

5.  The app is very good, although some features like scheduling and other options are hard to find and are not documented in the manual.  This was not a problem once I figured it out.

6.  You can define "no-go" areas, and I found this useful.

Cons:

1.  My unit was not shipped with a user manual and should have been.  I called the company and they mailed me a manual.  However, I was able to figure everything out by downloading the app which is for the most part easy to use.

2.  The cleaning is not perfect; it can take several vacuums to get everything.  It has minor problems in tight areas like corners, baseboards, and furniture.  However, I had the same problem with other robot vacuums so it is not a big a big deal.  This is why people recommend vacuuming every day, but I scheduled mine for four days a week to preserve the life of the vacuum.  (All my robot vacuums have had a lifespan of 1 to 3 years before needing repair or replacement.  I have owned several over the last 24 years.)

3.  I had to do the room mapping twice.  For some reason, it thought that part of the house was inaccessible.  I moved some obstacles that shouldn't have been a problem and re-did the map.

4.  The dust bin is not as large as the Neato brand.  For this reason, I have decided to order the self-emptying base.  I recommend spending the extra $100 and get this model.

5.  The battery life is not good enough to do my 1500-square-foot house in one pass.  After doing part of the house, it is supposed to go back to the base station, recharge, and then do the rest of the house.  However, this feature wasn't turned on by default and it took me a while to figure out how to turn it on.

5.  If the unit has to charge more often, then the battery will probably need replacement sooner.

6.  The vacuum is smaller and half the weight of the Neato brand.  I don't know if this is good or bad or what this means for the durability or the battery life.  I think that the Neato might be better, but more expensive, and be warned that Neato has gone out of business, and all the models I owned broke down afterr a couple of years.  You can still order their vacuums on Amazon.

7.  I don't like the way it mapped the rooms.  My living room, dining room, family room, and kitchen are all connected, and the device mapped them as one big room.  It is not a big deal, but I would prefer to have these as separate rooms.  I would like a feature where I can override the default mapping and define the rooms.

Conclusion:

This "budget model" is a great robot vacuum for relatively low cost.  It seems very efficient for its lighter weight and slightly smaller size.   Again, I recommend spending the extra $100 and getting the self-emptying station.

Friday, August 23, 2024

They’re one of the oldest Chinese restaurants in America

https://youtube.com/shorts/SXBO9-dA5TM?si=RVKY3iUej32LtC_8

It is a pity this is not In Columbus, Indiana. It is three hours away in Columbus, Ohio. I am tempted to try it, especially in the very rare event that I would have a need to go to Ohio. I bought one of my computers in Cincinnati five years ago, which is halfway to the restaurant.

Saturday, August 10, 2024

Beyond The Mind's Eye (Complete Film)

Back in the early 1990s, a series of films called "Beyond the Mind's Eye" featured the latest in stunning computer graphics.  Although it is dated today, I was impressed enough to buy the videotape.  The sequence from 13:55  to 15:49 impressed the hell out of me.

Friday, August 9, 2024

This New Super Nintendo Game Changes EVERYTHING For Retro Games...

They have taken a 30 year old Super Nintendo game that I did some work on, and added a more powerful coprocessor to the cartridge to make it play better. The original version used Nintendo's SFX Chip on the cartridge to create 3D graphics, but it wasn't powerful enough to do the game well.

https://youtu.be/8lor1zFo6e4?si=AwGtaneNHGsx7kIw

This New Super Nintendo Game Changes EVERYTHING For Retro Games...

https://youtu.be/8lor1zFo6e4?si=AwGtaneNHGsx7kIw

Wednesday, August 7, 2024

Shave and a Haircut

https://www.youtube.com/shorts/jUVWn3csvSw

I knew the name because it was mentioned in "Who Framed Roger Rabbit" which I saw 35 years ago.

This other video is interesting...


Tuesday, July 9, 2024

Test Drive Le Mans (Game Boy Color Gameplay)


@john2001plus
0 seconds ago
I worked on some 2D Test Drive games for Gameboy Color.  I am surprised to see a 3D version.  I don't know how this was achieved technically.

Thursday, July 4, 2024

Test Drive Off-Road 3 (GBC) - see the RUMBLE PAK!



@john2001plus
17 hours ago
I am listed as the lead programmer on this game, which I only barely remember because it was 25 years ago and I worked on many different projects.

The sound seems annoying.   The game seems dated to me.  We jokingly referred to these games as bathtub races because they were 2D.  The hardware was too primitive to do 3D.

In the video game industry at the time, the emphasis was on getting projects done as quickly as possible to make the Christmas market which really starts in the fall.  It takes time to manufacture a game, so you had to finish during summer. If you didn't get a game done on time then it was a financial disaster.

So consequently, quality was a secondary consideration.  We did the best we could, but if we had more time I'm sure that we could have made better games.



@ZackGaz
24 minutes ago
Whoa! You made this game and watched my video!? Super cool. Any chance you can DM on Twitter or email? I would really like to ask/interview you regarding GB development, highlighting the GBC Rumble Pak. I am really curious to learn more.

Wednesday, June 5, 2024

Franklin Planner



Here in Indiana, I got a piece of junk mail from the Franklin Planner, 2250 Parkway Blvd, Salt Lake City, UT.   The company I worked for temporarily rented office space from them and my cubicle was in that building for a few months.

--
Best wishes,

John Coffey

http://www.entertainmentjourney.com

Wednesday, May 15, 2024

Joe Rogan : The SKI Problem in USA 😳

https://youtube.com/shorts/xwTgjvnNkxM?si=YdrvP_4ANPdVjV-u

I used to see someone every year with a cast and I would ask them what happened, and I always would get a one word answer, "Skiing."

Sunday, May 12, 2024

The FREE ‘Never Obsolete’ PC from 2000! eMachines eTower 566ir


My mother had an E Machines computer.  I wasn't impressed by it, but at the time it was adequate for accessing the Internet.  However, if a person still has one of these old machines, there are many old video games that can be played on it.

The state of computers around the year 2000 was interesting.  People were buying their first computers to access the Internet.  Before this, I had abandoned my Frankenstein computer I had built up a piece at a time and purchased a 400 Mhz computer, which quickly became obsolete.  In the early 2000's I purchased a roughly 2 GHz single-core computer which seemed amazingly powerful at the time.  In 2005, I upgraded to a dual-core computer 2.4 GHz computer which also seemed like a big step up.

I purchased an i7 iMac in 2010 for around $2,000.  This was one of the more powerful computers on the market but it would seem sluggish by today's standards.  It had only slightly better performance than my old outdated laptop.   A couple of years ago I gave the almost dead computer to a repair shop for parts.

Thursday, May 9, 2024

Steven Spielberg is Lucas' ride or die?

Steven Spielberg has an Arcade1up Star Wars in his home, like me.  The other arcade machine in his home is an original Dig Dug arcade game.

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

Tuesday, May 7, 2024

Re: Rare Golden Ship Galaga Glitch

Jeff,

1.  There is a bug in the original arcade Galaga where a player can get the "bees" to stop firing missiles.   Although this is part of the game, apparently it is considered a "cheat" and disallowed in high score records.  https://www.youtube.com/watch?v=dtYQB3JOFoc

If the player kills all the bees except for two on the left side and then doesn't kill them for 7 to 20 minutes, usually around 20 minutes, then all the bees will stop firing for the remainder of the game.  I have been able to reproduce this on my Arcade1up and my PC.

This works because there is a table in memory for all the missiles.  There might only be 8 entries in this table.  The table size limits how many missiles can be on the screen simultaneously.

A horizontal value of zero in the table means the missile is inactive.  The way the coordinates work in the game is that a horizontal value of zero is slightly off the left edge of the screen.

If you don't shoot the bees for 20 minutes, they will fire a bunch of missiles, and occasionally a few missiles will be created with a random horizontal coordinate of zero.  Even though these missiles are "active", the code ignores them.  Eventually, the table fills up with missiles that the code ignores.

I think that I heard that later versions of Galaga fixed this bug, although I am not sure.   I wish that they had kept it in.  It is a nice easter egg.


2.  Galaga has a method of doubling your firepower by letting your ship be captured and then rescuing it.  I usually avoid this because it at least doubles the vulnerability of losing a ship.  However, I just watched some YouTube videos where people going for a high score get double ships.  The way they survive and not lose one of their ships is to shoot most of the bees as they enter the screen.  The small number of bees that survive are easier to deal with.



3.  The video hardware has a large number of sprites that can be displayed on the screen simultaneously.  This was impressive for its time.  However, the number of sprites still has a limit.  

The game allows the player with double ships to fire up to four missiles at a time, but reportedly this was too many sprites.  So the game uses a single sprite to display two missiles, and four missiles are displayed with just two sprites.  

As a former video game programmer, I find this interesting because I am not sure what happens if just one of the two missiles in a single sprite hits an enemy.  Do both missiles disappear, or do both missiles keep going up the screen, or does the game switch to a sprite with just one missile?  It is hard to tell by watching the game because the usual case is that both missiles hit an enemy.  I am going to test this.


4.  I am also wondering how the NES port was able to display so many sprites.  The NES has a limit of 8 sprites on the same horizontal line, so if it exceeds this there might be some sprite flicker.  I am going to test this as well.

--


On Mon, May 6, 2024 at 11:03 PM Jeff Wires wrote:
I love Galaga and never knew this! This is just giving me more to talk about on the show!

Appreciate it!
-Jeff

On Sat, May 4, 2024 at 4:13 PM John Coffey wrote:
https://www.youtube.com/watch?v=t_58poXHxOg&t=877s

The golden ship reemerges when the game switches back to the second player.


The enemy ship switched to the wrong characters for that sprite but kept the same color palette.  If we assume that ship type is a single byte value, then that byte was somehow overwritten with a bad value, hypothetically a zero or a one which could be the value for the player ship.  Errors like this could be caused by a memory overflow where a value was written outside the bounds of a table or the limited stack memory was exceeded.

I learned that if Player 1 exceeds 999,999 points, it will not display the millions in the score.  It is not clear if the player's score still counts as being over a million, or if it goes back to zero.  However, the second player does not have this problem and his score can reach 8 digits.




Wednesday, April 24, 2024

Re: Response to "The 6502 CPU Powered a Whole Generation!'

For some reason, Gmail sometimes destroys my formatting.  This was a problem with cutting and pasting.

Here is a corrected version:



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

I programmed the SNES, Sony PlayStation, and Gameboy Color for a couple of major video game developers. My experience with Z80 and 6502 programming goes back to the 1970s.

I love how efficient the 6502 processor is. I have no doubt that for 8-bit operations it is twice as fast as a Z80. The first chess computers were 4 Mhz Z80s, but manufacturers switched to the 6502, starting at 2, 3, and 4 MHz, and eventually going up to 6 MHz.

The Z80 has almost twice as many transistors as the 6502, but the 6502 was wisely designed to be fast and cheap.

However, I have to cry foul when it is stated that the Z80 takes an average of 13 clock cycles per instruction.

The Z80 has extra capabilities like 16-bit math and loads. When we compare 8-bit to 8-bit then the 6502 is at most twice as fast.

The Z80 index registers are very inefficient so I never used these registers.

Eight-bit load instructions take 4 to 7 clock cycles depending on the instruction type. Indexed 8-bit loads take a whopping 19 clock cycles.

16-bit loads take 10 to 20 clock cycles depending on the instruction type.

Eight-bit math takes 4 to 7 clock cycles depending upon the type of instruction. Incrementing or decrementing a memory location takes 11 clock cycles, and once again using the inefficient index registers takes 22 clock cycles.

Sixteen-bit math takes 6 to 11 clock cycles, and the indexed registers take 15 clock cycles.

Bit shifting the accumulator takes 4 clock cycles. Bit shifting other registers takes 8 clock cycles. Bit-shifting memory takes 14 clock cycles.

The block memory copy instruction takes a whopping 22 cycles per byte. For copying the same bytes into a block of memory, one can hijack the SP for an average of 5.5 clock cycles per byte not counting control instructions. (There are efficient ways to write this.)


I take issue with your criticism of the Timex Sinclair 2068 computer. I am one of many people who are still fans of this computer. This has much to do with the cost of the computer. The C64 cost $595 when released, which is about $1900 today adjusted for inflation. There was absolutely no way I could afford a C64, but the 2068 was actually a pretty good computer for $200 which I could afford. For me, it was a choice of the 2068 or no computer at all. (You claimed that the C64 was also selling for $200, but this is not what I saw back in 1983. It was hundreds of dollars more. You pointed to an ad that listed the C64 for $200, but I looked at the fine print which showed it was $400 with free software supposedly worth $200.)

The 2068 had a better BASIC with a 24K ROM and additional instructions for accessing graphics and sound.

The C64 definitely had better graphics capabilities for games with sprites and smooth scrolling. However, it was still possible to write games for the 2068. I wrote and self-published a Boulder Dash clone for the 2068 called "Diamond Mike". There are videos of it here on YouTube.

If I were comparing only the processors, I would choose a 3.58 Mhz Z80 over a 1 Mhz 6502. Obviously, I would prefer a faster 6502. I very much enjoyed programming on the SNES with the 3.58 Mhz 65C816. (The reason the speed 3.58 Mhz was used for multiple computers and video game systems is it is 1/4 the speed of the color signal crystal. They used one crystal to drive both things as a cost-savings measure.)

Best wishes,

John Coffey

Response to "The 6502 CPU Powered a Whole Generation!'


I programmed the SNES, Sony PlayStation, and Gameboy Color for a couple of major video game developers. My experience with Z80 and 6502 programming goes back to the 1970s. I love how efficient the 6502 processor is. I have no doubt that for 8-bit operations it is twice as fast as a Z80. The first chess computers were 4 Mhz Z80s, but manufacturers switched to the 6502, starting at 2, 3, and 4 MHz, and eventually going up to 6 MHz. The Z80 has almost twice as many transistors as the 6502, but the 6502 was wisely designed to be fast and cheap. However, I have to cry foul when it is stated that the Z80 takes an average of 13 clock cycles per instruction. The Z80 has extra capabilities like 16-bit math and loads. When we compare 8-bit to 8-bit then the 6502 is at most twice as fast. The Z80 index registers are very inefficient so I never used these registers. Eight-bit load instructions take 4 to 7 clock cycles depending on the instruction type. Indexed 8-bit loads take a whopping 19 clock cycles. 16-bit loads take 10 to 20 clock cycles depending on the instruction type. Eight-bit math takes 4 to 7 clock cycles depending upon the type of instruction. Incrementing or decrementing a memory location takes 11 clock cycles, and once again using the inefficient index registers takes 22 clock cycles. Sixteen-bit math takes 6 to 11 clock cycles, and the indexed registers take 15 clock cycles. Bit shifting the accumulator takes 4 clock cycles. Bit shifting other registers takes 8 clock cycles. Bit-shifting memory takes 14 clock cycles. The block memory copy instruction takes a whopping 22 cycles per byte. For copying the same bytes into a block of memory, one can hijack the SP for an average of 5.5 clock cycles per byte not counting control instructions. (There are efficient ways to write this.) I take issue with your criticism of the Timex Sinclair 2068 computer. I am one of many people who are still fans of this computer. This has much to do with the cost of the computer. The C64 cost $595 when released, which is about $1900 today adjusted for inflation. There was absolutely no way I could afford a C64, but the 2068 was actually a pretty good computer for $200 which I could afford. For me, it was a choice of the 2068 or no computer at all. (You claimed that the C64 was also selling for $200, but this is not what I saw back in 1983. It was hundreds of dollars more. You pointed to an ad that listed the C64 for $200, but I looked at the fine print which showed it was $400 with free software supposedly worth $200.) The 2068 had a better BASIC with a 24K ROM and additional instructions for accessing graphics and sound. The C64 definitely had better graphics capabilities for games with sprites and smooth scrolling. However, it was still possible to write games for the 2068. I wrote and self-published a Boulder Dash clone for the 2068 called "Diamond Mike". There are videos of it here on YouTube. If I were comparing only the processors, I would choose a 3.58 Mhz Z80 over a 1 Mhz 6502. Obviously, I would prefer a faster 6502. I very much enjoyed programming on the SNES with the 3.58 Mhz 65C816. (The reason the speed 3.58 Mhz was used for multiple computers and video game systems is it is 1/4 the speed of the color signal crystal. They used one crystal to drive both things as a cost-savings measure.)

Thursday, April 11, 2024

Old Tube TVs

For those who don't remember, powering up really old televisions would start as an expanding dot in the middle of the screen.  It would only take a few seconds to reach full size.  Old televisions used vacuum tubes instead of transistors, which needed warming up.  They glowed orange.  You could see them through the heat vents in the back.  In a dark room, the TV would light up the wall behind it.

I remember going to a repair shop that had dozens of different types of replacement tubes.   A local drug store used to have a tube tester by the door.

Starting in the mid-1970s, manufacturers advertised televisions that were "Instant On".  I noticed these TVs kept some vacuum tubes powered up even when the TV was "off".

Old TVs put out a great deal of heat.

Friday, April 5, 2024

Columbus Commons Mall



I very much miss the Columbus Commons Mall in downtown Columbus. In the early history of Columbus, many shops were concentrated in the southwest corner of the city, but this would change as businesses moved to the major roads. Most of this mall has been remodeled to be offices for Cummins Engine Company. A small part remains as a public space.

The mall was built when I was around age 12 or 13. For me, it was a great place to explore. I mostly liked the arcade, but I also liked the bookstore, the ice cream shop, and the hamburger place. In the mid-70s there were vendors selling treats, like popcorn and baked goods. There was also an electronics store that I liked and I became friendly with one of the employees.

Columbus opened a new mall on 25th Street, but that failed and is now being remodeled into some sort of recreation center combined with medical offices.