Enterprise Forever

:HUN => Konvertálás => Topic started by: geco on 2024.March.15. 22:17:23

Title: Yoomp
Post by: geco on 2024.March.15. 22:17:23
Yoomp! teszt verzió
Title: Re: Yoomp
Post by: SlashNet on 2024.March.15. 22:40:25
WOWmp! :smt118
Title: Re: Yoomp
Post by: SlashNet on 2024.March.15. 23:04:30
Incorrect directions are assigned for ExtJoy 1/2.

And in 4-color mode, switching screen mode using F4 should enable "stereo" view? :) (but for some reason only the left side is drawn)
Title: Re: Yoomp
Post by: geco on 2024.March.15. 23:19:36
Shit, i forgot to check ext joys :-D
Stereo mode , is a side effect of that selection, the game draws field to every even screen line, and it remains black in every odd, and in stereo mode the the left side is the even "screen line" and right is the odd.

There are 4 modes:
1 lores 4 colour mode, screen is defined by 1 LPB, 1 row field data, 1 row empty field
2 hires 4 colour stereo mode, screen is defined by 1 LPB, this is the reason of stereo picture, and right side with empty field
3 lores 4 colour mode, sxreen is defined by 96 LPB's, and 1 LPB shows even line data twice, that's why the sprite is blockier than in 1st version
4 hires 4 colour mode, screen defined by 96 LPB's, each shows one line (it is the normal mono hires 4 colour mode :-D )
Title: Re: Yoomp
Post by: SlashNet on 2024.March.16. 00:05:50
Didn't know is it bug or feature:

If all sound volume levels is MAX - sounds of ball effect are absent. But during jumps (with cell with arrow) I hear some noise.
Title: Re: Yoomp
Post by: geco on 2024.March.16. 08:49:01
Didn't know is it bug or feature:

If all sound volume levels is MAX - sounds of ball effect are absent. But during jumps (with cell with arrow) I hear some noise.

It is a "feature", Atari have 4 sound channels, and SFX is played by the 4th channel, I routed 4th channel to noise, it works quite well in menu music, in game it is not the best, all sound effects are noises only, that's why i decided to insert 2 options, if SFX volume level is higher than music volume level then the SFX is routed to channel 2 and we loose music channel 2, if SFX volume level is the same or lower than music volume level then SFX is played on noise channel.
There are some sounds also which sounds differently on EP than o Atari.
Title: Re: Yoomp
Post by: geco on 2024.March.16. 09:50:37
Ext Joy bug has been corrected, and i moved control selection by fire from menu to level display.
Attachment in 1st post has been updated.

Ext joy hiba ki lett javítva, és az irányítás kiválasztást is átmozgattam a menüből a pályát megjelenítő képernyőre.
A csatolmány az első hozzászólásban le lett cserélve.
Title: Re: Yoomp
Post by: SlashNet on 2024.March.16. 22:55:35
I have a suspicion that only the left channel data is used for sounds.
If you switch off the music completely and bounce the ball from different sides of the playing field, the bounces in the right side of the playing field will be quieter.
Title: Re: Yoomp
Post by: geco on 2024.March.16. 23:36:02
I have a suspicion that only the left channel data is used for sounds.
If you switch off the music completely and bounce the ball from different sides of the playing field, the bounces in the right side of the playing field will be quieter.
Hmm, yes, the original game had stereo option for 2 Pokey chips, i used the volumes only to implement this, but since channel 4 had the same volume values in the music player, i killed the volume of 2nd Pokey, but SFX was played in stereo in 4th channel, 1 side is missing, i will try to reinsert.
Title: Re: Yoomp
Post by: geco on 2024.March.17. 00:17:19
SFX right channel issue corrected, attachment in 1st post has been changed.
Hang effekt jobb csatorna hiba javítva, az első hozzászólásban a csatolmány cserélve.
Title: Re: Yoomp
Post by: SlashNet on 2024.March.17. 16:40:15
Something strange with level numbers and access codes.

After level 9 come levels 0,1,2,3,... (which should be 10,11,12,13,....)

You can try next code (I take it from longplay video of Atari version)
Level 21: 736418 (Beam Me Up!)
It unblock all levels in menu, but levels 20 and 21 game defines as ":", ";" and after start freezes.
I can't now finish level 19 to see what happens after.

Title: Re: Yoomp
Post by: geco on 2024.March.17. 17:42:36
Thx, both was stupid typo, level number calculation was bad, because i did not change the address of a JR, level name was bad, because inserted a DW to level 19 colour definition instead of DB that's why the colour definitions became 12 bytes long instead of 6, and both level name address and level data address of level 20, and 21 was taken from colour definitions. Both are corrected, and attachment has been replaced in 1st post.

Köszi, mind a két hiba idióta elgépelés volt, a pálya számának számítása azért volt rossz, mert az egyik JR-nél elfelejtettem a címet lecserélni, a pálya neve azért volt rossz, mert a 19. pálya paletta definíciójába DB helyett DW-t írtam, így annak hossza 6 helyett 12 bájt lett, és így a 20. és 21. pálya nevének, és adatának címe is a paletta definícióból lett kiolvasva. Mindkettő javítva, és az 1. hozzászólásban a csatolmány lecserélve.
Title: Re: Yoomp
Post by: SlashNet on 2024.March.17. 18:44:40
https://www.youtube.com/watch?v=BXybXA11L40
Title: Re: Yoomp
Post by: szipucsu on 2024.March.17. 19:09:38
Ez nagyon jó, szépek a színek és jól kivehető a laszti, mert más a színe, mint a háttérnek.
Ezt miről írtad át? Atari esetleg? A hangok eléggé EP-sek a Speccy átiratokhoz képest. Alacsony torzítás is van a zenében, ha jól hallom, átiratokban ilyen nem volt eddig.
Title: Re: Yoomp
Post by: geco on 2024.March.17. 19:14:58
https://www.youtube.com/watch?v=BXybXA11L40
Thx, you play much better than me :D
Title: Re: Yoomp
Post by: geco on 2024.March.17. 19:25:53
Ez nagyon jó, szépek a színek és jól kivehető a laszti, mert más a színe, mint a háttérnek.
Ezt miről írtad át? Atari esetleg? A hangok eléggé EP-sek a Speccy átiratokhoz képest. Alacsony torzítás is van a zenében, ha jól hallom, átiratokban ilyen nem volt eddig.
Hááát, csak a 16 szín módban más a labda színe, és az lassabb is, mint a videóban, 4MHz-es gépen 33%-kal lassabb, 4 szín módban a labda ugyanolyan színű, mint a pálya, de az üres soros videómódban jól követhető, azért is azt állítottam be defaultnak.
Atarira készült eredetileg. A Pokey chip hasonlít a Dave-hez, van distortion, meg felüláteresztő szűrő is, de mégis más :D
Atariról még nem írtam át semmit. :D
Title: Re: Yoomp
Post by: Zozosoft on 2024.March.17. 19:54:10
Magicball tube version :-)
Title: Re: Yoomp
Post by: SlashNet on 2024.March.17. 20:34:03
I also looked at the C64 version of the game.
The music is different and quite good, but the visuals are much much worse. And the levels are completely different.
Title: Re: Yoomp
Post by: geco on 2024.March.17. 21:00:08
I also looked at the C64 version of the game.
The music is different and quite good, but the visuals are much much worse. And the levels are completely different.
I checked it too, almost i started to convert that, but recognized the smaller playfield, and less colors used for playfield, that's why i chose the Atari version :) Sorry, i checked again, it has the same amount of colours, just does not look so good.
Néztem azt is, majdnem a C64 verziót kezdtem el konvertálni, de amikor észrevettem, hogy kisebb a játéktér, és kevesebb színt használ a játéktérhez, akkor döntöttem úgy, hogy az Atari verziót választom inkább. Bocs, megnéztem újra, és ugyanannyi szín van, de mégse néz ki olyan jól.
Title: Re: Yoomp
Post by: geco on 2024.March.17. 21:06:53
Találtam még egy bugot a videjó nézése közben, a labda a 4 szín mód verzióban rossz irányban állt egyes pozíciókban, csoda, hogy soxor jól működött, mert ügyesen felülírtam az IXL-t az árnyék sprite kirakása közben, így az IX a labda alatti terület mentésére mutatott,és pont az IX-ből vette a labda sprite kirakó a függőleges tükrözés értékét. Javítva, csatolmány az első hozzászólásban cserélve.

I found another bug during watching video, the ball had wrong direction in some positions in 4 colour mode, it is a miracle it worked well most time, because i successfully overwrote IXL at drawing shadow sprite, thus IX pointed to save background of the ball, and IX was used by ball sprite drawer routine to get the vertical mirror value. It has been corrected, attachment in 1st post has been updated.
Title: Re: Yoomp
Post by: geco on 2024.March.17. 21:07:59
Magicball tube version :-)
Igen, ezért is tetszett meg annyira :)
Title: Re: Yoomp
Post by: szipucsu on 2024.March.17. 21:15:30
Atariról még nem írtam át semmit. :D
Akkor ezt miről írtad át?
Én az emulátorban 16 szín módban próbáltam, úgy teljesen jónak tűnt. Kb. a 3-4. szintig vittem. Talán akkor volt lassú, amikor valamelyik szint elején sokat kellett várni, mire jött végre valami luk, amit ki kellett kerülni, de amúgy jó a sebesség.
A januári klubban talán Spectrum Next-en ment valami hasonló játék, szerintem az ihlette az átírást.
Title: Re: Yoomp
Post by: geco on 2024.March.17. 21:25:47
Akkor ezt miről írtad át?
Én az emulátorban 16 szín módban próbáltam, úgy teljesen jónak tűnt. Kb. a 3-4. szintig vittem. Talán akkor volt lassú, amikor valamelyik szint elején sokat kellett várni, mire jött végre valami luk, amit ki kellett kerülni, de amúgy jó a sebesség.
A januári klubban talán Spectrum Next-en ment valami hasonló játék, szerintem az ihlette az átírást.
Akkor eddig Atariról nem írtam át :D :D
Volt egy Atari, és azon lett betöltve szerintem, mondjuk 1 évvel azelőtt már láttam, és akkor elgondolkoztam rajta, de akkor elengedtem :D
Nézd meg 4 szín módban is, feltűnő lesz a különbség, bent hagytam a pontszámtól balra a számlálót, ami azt jelzi, hogy hány frame alatt rajzolt ki egy fázist a program, amit csak magamnak az átírásra tettem be, hogy lássam hogy alakulnak a számok, sokat kellett játszanom, hogy 4 szín módban meglegyen a 2 frame, és így is stabilan csak a csíkos verzióban, és a szimpla képernyős hires 4 szín módban megy 25 FPS-sel 4 MHz-en.
Title: Re: Yoomp
Post by: SlashNet on 2024.March.17. 22:25:29
Én az emulátorban 16 szín módban próbáltam, úgy teljesen jónak tűnt. Kb. a 3-4. szintig vittem. Talán akkor volt lassú, amikor valamelyik szint elején sokat kellett várni, mire jött végre valami luk, amit ki kellett kerülni, de amúgy jó a sebesség.

If you turn off the music, you will hear that the ball jumping does not match the sounds.

In the video, I specially increased the processor frequency so that you could clearly hear how the sounds of the ball perfectly complement the music. And I like it. In the version for C64 there is no such musical “interaction”.


Ha kikapcsolja a zenét, azt fogja hallani, hogy a labdaugrás nem egyezik a hangokkal.

A videóban kifejezetten megnöveltem a processzor frekvenciáját, hogy jól hallható legyen, hogy a labda hangjai tökéletesen kiegészítik a zenét. És szeretem. A C64-es verzióban nincs ilyen zenei „kölcsönhatás”.
Title: Re: Yoomp
Post by: geco on 2024.March.17. 22:40:18
If you turn off the music, you will hear that the ball jumping does not match the sounds.

In the video, I specially increased the processor frequency so that you could clearly hear how the sounds of the ball perfectly complement the music. And I like it. In the version for C64 there is no such musical “interaction”.
You are right, it can be clearly hearing with music also, the normal jump sound is in the music, and if the game is slower, or faster than 25 FPS sound of normal jump gets out of sync. The original Atari version runs to a forever error loop if the game speed is slower than 25 FPS.

Igazad van, tisztán hallható zenével együtt is, a normál ugrás hangja a zenében va, és ha a játék lassabb, vagy gorsabb, mint 25 FPS, akkor a normál ugrás hangja elcsúszik. Az eredeti Atari verzió egy végtelen hiba ciklusba fut, ha a játék sebessége 25 FPS-nél lassabb.
Title: Re: Yoomp
Post by: Povi on 2024.March.18. 08:48:53
nagyon látványos!
nem semmi csávó vagy :-D
akkor most jöhet a micro hexagon :-D
https://www.youtube.com/watch?v=dFc2V0CHvy0
Title: Re: Yoomp
Post by: Judge on 2024.March.18. 17:28:49
akkor most jöhet a micro hexagon :-D
https://www.youtube.com/watch?v=dFc2V0CHvy0
Húú, ez már veszélyes! Az arra érzékenyek tuti epilepsziás rohamot kaphatnak tőle... :shock:
Title: Re: Yoomp
Post by: Povi on 2024.March.19. 09:39:14
mennyire más a grafika kezelése Atarin?
a 6502 -> Z80 konverzió látom, már profin megy :-)
gondolom itt is full reverse engineering, vagy volt forráskódod?
Title: Re: Yoomp
Post by: geco on 2024.March.19. 11:35:12
mennyire más a grafika kezelése Atarin?
A DLI-t kellett megfejteni, hasonlít egy picit az LPT-hez, egy picit egyszerűbb, pl színbeállítás nincs benne, meg képernyő szélesség beállítás, a pixelek bitkiosztása más 4 szín módban ( ami EP-n a LORES 4 szín módnak felel meg), az egymás melletti bitek adnak meg egy pixelt.

a 6502 -> Z80 konverzió látom, már profin megy :-)
A profin határeset, az áthozatal is elvisz jópár napot, és utána az egyszerűsítés/átalakítás megint jóóóópárat, és végül az általam elrejtett bombák semlegesítése megint :D
gondolom itt is full reverse engineering, vagy volt forráskódod?
Full reverse, binárisból csináltam a forrásokat.

Title: Re: Yoomp
Post by: szorítókéz on 2024.March.21. 18:13:28
Full reverse, binárisból csináltam a forrásokat.


Mivel disassemblálsz, ha nem titok? Bár én Z80 disassemblert keresek, nem 6502-re valót.

Title: Re: Yoomp
Post by: Povi 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 (http://www.inkland.org.uk/dz80/)-at szoktam használni, Geco szerintem rex-et, másik topicban volt róla szó
Title: Re: Yoomp
Post by: Zozosoft on 2024.March.21. 20:27:10
Én IDA-val.
Title: Re: Yoomp
Post by: geco 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".
Title: Re: Yoomp
Post by: geco 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.