Project Future (BUGFIX)

edited February 2012 in Infoseek database
Please add the following "known errors" entry to Project Future:
Bugfix provided by velesoft and FrankT:
  • The up/down controls for Kempston joystick are reversed:
    6529 db1f      in      a,($1f)          ; read kempston joystick
    652b 5f        ld      e,a
    652c 010000    ld      bc,$0000         ; reset resulting direction
    652f cb43      bit     0,e              ; if pressed right
    6531 c4f265    call    nz,$65f2         ; then update C to indicate moving right
    6534 cb4b      bit     1,e              ; if pressed left
    6536 c4ef65    call    nz,$65ef         ; then update C to indicate moving left
    6539 cb53      bit     2,e              ; if pressed down
    653b c4f565    call    nz,$65f5         ; then update B to indicate moving up -> SHOULD BE DOWN
    653e cb5b      bit     3,e              ; if pressed up
    6540 c4f865    call    nz,$65f8         ; then update B to indicate moving down -> SHOULD BE UP
    6543 cb63      bit     4,e              ; if pressed fire
    6545 c4e965    call    nz,$65e9         ; then update $5b03 directly to indicate fire
    6548 ed433f68  ld      ($683f),bc       ; store resulting direction in $683f
    654c c9        ret
    

    Fixed using POKE 25916,248: POKE 25921,245

Modified "BUGFIX" file provided by FrankT.

File available here.
Post edited by Einar Saukas on
Creator of ZXDB, BIFROST/NIRVANA, ZX7/RCS, etc. I don't frequent this forum anymore, please look for me elsewhere.

Comments

  • edited February 2012
    That probably means that the bugfix will also apply to Ku-Ku and Them.
  • edited February 2012
    Bandit wrote: »
    That probably means that the bugfix will also apply to Ku-Ku and Them.

    Good catch!

    I will write about them in a separate thread. Since the fix itself was already identified, I will credit you instead for (the idea of) preparing a BUGFIX for it.
    Creator of ZXDB, BIFROST/NIRVANA, ZX7/RCS, etc. I don't frequent this forum anymore, please look for me elsewhere.
  • edited February 2012
    The error report has been added and the BUGFIX version queued for the next archive update.
Sign In or Register to comment.