Menu

#535 VIA port output bits should read as 0, not 1

v2.4.x
closed-invalid
gpz
None
xvic
2022-03-21
2014-06-30
gpz
No

when VIA portbits are set to output and then read, they will read as 1 currently ... the third row shown by the following program should be all 0s (confirmed on my vic20), but they are all 255

1 poke 37139,0: poke 37154,0
2 s1=peek(37137): s2=peek(37152)
3 poke 37139,255  : poke 37154,255
4 s3=peek(37137): s4=peek(37152)
5 poke 37139,0:poke 37154,255
10 print s1;s2;s3;s4
100 run
1 Attachments

Discussion

  • tokra

    tokra - 2017-03-16

    This issue seems to have been fixed some time, bug should be closed I think.

     
  • gpz

    gpz - 2018-05-19

    dropped testprog into testprogs/VIC20/joystick/ ... its still broken in 3.2 :(

     
  • gpz

    gpz - 2022-03-21

    actually that testcase relies on unitialized registers - i have updated the testprog in the repo and now it matches my vic20.

    closing :)

     
  • gpz

    gpz - 2022-03-21
    • status: open --> closed-invalid
    • assigned_to: gpz
     

Log in to post a comment.

Auth0 Logo