Page 4 of 6
Posted: Thu Sep 06, 2012 10:18 pm
by oofwill
"farged" i don't know this word
Thanks if you can take some pictures.
I've a CDX. i would test on it... but without flashcart... i'll have to burn an eprom ^^
For the other stages, no problem in the menu, it's perfectly working.
Different stages are juste copy - paste of sonic stage, with several modifs...
Posted: Fri Sep 07, 2012 4:04 am
by Chilly Willy
Actually, it CAN be farged from the very start! These images were done from a cold boot. In fact, sometimes it's SO farged it crashes the CDX!
Notice how the first image is slightly farged, and the second almost completely farged. Even the Sonic screen can be farged, but tends to be much less farged than either of the others that I've seen so far. If you are using the cpu to transfer data, I'd suspect your vblank routine of doing something with the VDP, which can interrupt your transfers. If you're using DMA, you must be occasionally setting on of the registers wrong.
Posted: Fri Sep 07, 2012 6:55 am
by oofwill
Posted: Fri Sep 07, 2012 7:16 am
by lingh
Same bugs on my Asian PAL MD2.
And if you continue to leaf right - it gets worse and worse.
Similar bugs on RetroArch emulator.
http://themaister.net/retroarch-dl/retr ... -0.9.7.zip
http://themaister.net/retroarch-dl/libr ... us-x86.zip
Posted: Fri Sep 07, 2012 8:31 am
by Stef
It looks like some VDP data writes are corrupted...
Are you writing to the VDP both from your "main loop" and the V-interrupt code ? This is a typical mistake which can bring to that result.
Posted: Fri Sep 07, 2012 8:56 pm
by oofwill
What is "V-interrupt code"?
I've modified select stage code, new version is available
here
Bugs should have disappeared...
Moreover, when a button is pressed, the direction sprite is highlighted.
Anyway, thanks for your tests

Posted: Sat Sep 08, 2012 3:02 pm
by lingh
Works ok now.
But i have my gameplay complaints.
Pixel perfect detection - not fun. Make it more forgiving.
And controls.
L D U R - L B U C
Make it - L D B C, it's more intuitively this way.
Posted: Sat Sep 08, 2012 3:12 pm
by oofwill
You think game is too strict?
I should make it easier i guess...
For the controls, i will change them.
I'm only playing with keyboard for the moment, so i don't realised if controls were good or not.
Thanks for advice

Posted: Sat Sep 08, 2012 3:26 pm
by lingh
oofwill wrote:
I'm only playing with keyboard for the moment, so i don't realised if controls were good or not.
It's very simple. You have left side with L D and right side with U R.
And with current buttons map - it's nightmare.
If you change mapping to L D B C, left side will be controlled with left side of joypad, and right side with right side of joypad.
Also, when i exit 3 level, music doesnt stop playing. I dont no, this part already completed or not, just saying.
Posted: Sat Sep 08, 2012 8:07 pm
by oofwill
I will changed mapping input, you're right, it's more intuitively.
Then, level 2 and 3 are not completed. Bacground is not the good, sprites are appearing out of order and level 3 is to short comparing to the song.
I won't working on them until i completly finalise level 1. Many things are common and this will be smarter to add level when the "game engine" wil be ok
Thanks for your test

Posted: Fri Sep 14, 2012 8:08 am
by oofwill
How can i do this?
I want to have a counter wich doesn't slow down if the game slow down.
A counter synchro with the music, it is possible?
I've made a simple counter with a variable. This works correctly if i don't touch anything, but if i press buttons, the counter slow down...
Maybe not a counter but a timer? based on Z80?
Posted: Fri Sep 14, 2012 9:31 am
by oofwill
hummm... i see there is timer instructions... i'll try working with this.
Posted: Fri Sep 14, 2012 9:43 am
by TmEE co.(TM)
you tie your counter with VBL
Posted: Fri Sep 14, 2012 11:11 am
by oofwill
I found my happiness with
I don't have learned to use HBL & VBL for the moment...

Posted: Wed Nov 07, 2012 5:02 pm
by oofwill
So... i've made a cartridge of the demo.
It's perfectly working on emu, even save, but on real hardware... No.
At the very start, when game is supposed to init the save, nothing happens and screen stay black
Anyone could test it? 3.8Mo, with sram. I made it on a beyond oasis/ legend de thor similar pcb.