Commodore 64 tape motor control
Something I've always wondered, why do some cassette programs leave the tape motor on even though the program has loaded? It just happens with certain commercial games I have. It's always done it and always specific games. Even when the end of the tape is reached and the play key flicks up, the motor still runs.
|
Re: Commodore 64 tape motor control
Quote:
I'm guessing some programs would trigger the tape run flag & not turn it off for some reason. |
Re: Commodore 64 tape motor control
It happened because of misprogramming of the I/O port at address $0001. Bits 0-2 controlled the memory map and bits 3-5 the cassette - bit 5 turned the motor on.
Most games used this I/O port to switch out the BASIC or KERNAL ROMs to use the RAM at their addresses, or to map the character font ROM into the CPU address space to copy the built-in font and redefine some of the characters. If they didn't mask the bits correctly they could mistakenly turn the cassette motor on. |
All times are GMT +1. The time now is 1:41 pm. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.