Re: How to suppress the "PRESS RECORD & PLAY ON TAPE" prompt?
Posted: Wed Aug 11, 2021 10:41 am
If you're that tight for space then try replacing
Code: Select all
LDA #%10000000
STA VIA1DDRA
Code: Select all
ASL VIA1DDRA
The Commodore Vic 20 Forum
http://www.sleepingelephant.com/ipw-web/bulletin/bb/
http://www.sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?t=10167
If you're that tight for space then try replacing
Code: Select all
LDA #%10000000
STA VIA1DDRA
Code: Select all
ASL VIA1DDRA
Yeah, that's working great! I've gotten pretty good at intentionally bouncing the C2N switches, so I could reliably cause the messages when relying on the wait alone.srowe wrote: ↑Wed Aug 11, 2021 10:41 am If you're that tight for space then try replacing
withCode: Select all
LDA #%10000000 STA VIA1DDRA
You normally avoid instructions like this with I/O devices because there's an extra write operation (read current value, write current value, write new value). But in this case there's no unwanted side-effect of that.Code: Select all
ASL VIA1DDRA
I suppose if Mike comes back and says, "Oh my god don't do that you're going to destroy everyone's VIC-20!" then I might reconsider the approach.srowe wrote: ↑Wed Aug 11, 2021 12:25 pm I would check with @Mike or someone that understands the VIA at an electronic level better than me.
Under normal situations the line is configured as an input, it has an internal pull-up resistor so that the value is 1 until the switch in the cassette connects it to ground. I don't think there is any harm in configuring it to an output with a level of 0 and then the switch connecting it to ground.