pete-gordon / oricutron

Portable Oric-1/Atmos/Telestrat and Pravetz 8D emulator
http://www.petergordon.org.uk/oricutron/
GNU General Public License v2.0
69 stars 25 forks source link

Bugfix: CA1 raised but never lowered when printing filtered characters #153

Closed assinie closed 4 years ago

assinie commented 4 years ago

If you try to print a filtered character, the Acknoledge bit is raised but can't be lowered because the prclock timer is 0 in this case/

Bug evidence: (note the ; at the end of the line) LPRINT CHR$(254);

Same issue if you try to LPRINT something after you CLOAD a program (probably related to the reconfiguration of the VIA by the K7 routines in the ROM).

I moved the "emulate ack signal" block to the end of the function because this signal must always be emulated even if the printenable flag is false.