Welcome, Guest. Please login or register.


Author Topic: Yoomp (Read 1706 times)

Offline Povi

  • EP addict
  • *
  • Posts: 2297
  • Country: hu
    • http://povi.fw.hu
Re: Yoomp
« Reply #30 on: 2024.March.21. 19:01:09 »

Mivel disassemblálsz, ha nem titok? Bár én Z80 disassemblert keresek, nem 6502-re valót.
tudom, nem tőled kérdezted, én dz80-at szoktam használni, Geco szerintem rex-et, másik topicban volt róla szó
*** Speicherplatz zu klein

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14733
  • Country: hu
    • http://enterprise.iko.hu/
Re: Yoomp
« Reply #31 on: 2024.March.21. 20:27:10 »
Én IDA-val.

Offline geco

  • EP addict
  • *
  • Posts: 7113
  • Country: hu
    • Támogató Támogató
Re: Yoomp
« Reply #32 on: 2024.March.21. 20:42:28 »

Mivel disassemblálsz, ha nem titok? Bár én Z80 disassemblert keresek, nem 6502-re valót.
Régen én is dZ80-at használtam, kipróbáltam az IDA-t is, de nem tetszett, és írtam egy REXX-et, utóbbi időben azt használom, ha z80-ról kellene "forráskód".

Offline geco

  • EP addict
  • *
  • Posts: 7113
  • Country: hu
    • Támogató Támogató
Re: Yoomp
« Reply #33 on: 2024.April.13. 22:56:26 »
Szemfüles EP klubtagok két bugot is felfedeztek a játékban, miközben játszottam :D :D
A Stop csempén nagy volt a pontlevonás, és ha 0 alá ment az érték, akkor 255-x érték és 0 között ugrált a pontszám, ezt egy carry-t figyelő relatív ugrás okozta, nekünk a no carrys változat kellett, szerencsére a 6502-es processzor idióta módon működik carry állítás tekintetében, ha CMP (compare), vagy SBC (kivonás) utasítás történt, akkor pont z80-nal ellentétesen állít carryt, ADD, és rotate bit esetén meg megegyezően.
Az új high score rosszul jelent meg a menüben, ez meg azért volt, mert amikor a program ellenőrzte , hogy high score-t értünk-e el, akkor kivonta az aktuális pontból a régi high score-t, és sikeresen ezt tároltam el új high score-ként, ez is javítva.
Az attachment frissítve az első hozzászólásban.

Sharp eyed EP club members found 2 bugs in the game meanwhile i played it :D :D
The point deduction was too high on the stop tile, and if the score went under 0, it jumped between 255-x and 0, this was caused by a JR C instruction, but a JR NC had to be used, i use the wrong instruction, because 6502 processor works in an idiot way by setting carry in case of CMP, or SBC instructions, work opposit way than z80, in case of ADD, and rotate bit instructions  it works the same way like Z80.
New hiscore was wrong in the menu, this happened,because when the program checked if we reached new high score, high score was substracted from the actual score, and the result was stored as new high score, it is corrected also.
The attachment has been changed in the 1st post.