Bugs ?
Moderator: BigEvilCorporation
Bugs ?
Be free to add here the bug you got with KMod
Please follow this template
Tool & version : ex GensKMod 0.5
Windows version : ex XP SP 2 fr (include language)
Country settings : ex Japan
CD Bios used for this country : ex Mega CD BIOS V2.00 (E).bin or jp_mcd1_9111.bin (if needed)
Others config : ex Spy activated
Description : ex bad colors
I'll try to resolve them
Please don't ask for new features, it's only for BUG
Kaneda
Please follow this template
Tool & version : ex GensKMod 0.5
Windows version : ex XP SP 2 fr (include language)
Country settings : ex Japan
CD Bios used for this country : ex Mega CD BIOS V2.00 (E).bin or jp_mcd1_9111.bin (if needed)
Others config : ex Spy activated
Description : ex bad colors
I'll try to resolve them
Please don't ask for new features, it's only for BUG
Kaneda
Last edited by KanedaFr on Tue Dec 19, 2006 8:54 am, edited 1 time in total.
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
Gens KMod version : 0.5
Windows version : Win98SE 4.10.2222a, with unofficial SP 10, english
Country settings : J,U,E
Description : instant crash if Alien3 is loaded (This game does DAC and 6th FM ch at the same time, maybe that's why).
Windows version : Win98SE 4.10.2222a, with unofficial SP 10, english
Country settings : J,U,E
Description : instant crash if Alien3 is loaded (This game does DAC and 6th FM ch at the same time, maybe that's why).
Last edited by TmEE co.(TM) on Mon Jan 29, 2007 8:36 am, edited 1 time in total.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
someone can confirm this ???GrayLight wrote:Tool & version : GensKMod 0.6
Windows version : XP SP 2 ru
Country settings : J,U,E
Description : Debug->Layers "Show Layer B" checkbox switches ALL layers (even Sprites), uncheck makes all invisible or, sometimes, leaves some "garbage"..
p.s. Sorry, if my english is not well... )
do you have this problem on a special game or all the games ?
ps: no problem for the english, I use the same
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
KMod 0.6 VDP tile scroller shows incorrect address
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Tool & version : GensKMod 0.6 beta (with DAC update rate feature)
Windows version : XP SP 2 fr
Country settings : US
Description : keys respond problems -->
When i open some debug window (as YM2612 one), it looks that after sometime GensKMod doesn't reply to key events and seems somewhat freezed (but it isn't).
By the way, your "DAC update rate" is very usefull when you code some Z80 driver for DAC playing, i encourage you to keep this feature in future version
Windows version : XP SP 2 fr
Country settings : US
Description : keys respond problems -->
When i open some debug window (as YM2612 one), it looks that after sometime GensKMod doesn't reply to key events and seems somewhat freezed (but it isn't).
By the way, your "DAC update rate" is very usefull when you code some Z80 driver for DAC playing, i encourage you to keep this feature in future version
when you activate a window, the key events aren't send to Gens main window...Stef wrote:Tool & version : GensKMod 0.6 beta (with DAC update rate feature)
Windows version : XP SP 2 fr
Country settings : US
Description : keys respond problems -->
When i open some debug window (as YM2612 one), it looks that after sometime GensKMod doesn't reply to key events and seems somewhat freezed (but it isn't).
are you sure it's not that ? I ask because I often made the mistake
it's still hereBy the way, your "DAC update rate" is very usefull when you code some Z80 driver for DAC playing, i encourage you to keep this feature in future version
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
I scrolled down to the last row and the address was 5D0KanedaFr wrote:are you sure ?TmEE co.(TM) wrote:KMod 0.6 VDP tile scroller shows incorrect address
I fixed it because it was already wrong so I don't want to come back to my first version...
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Yeah i know but even wit focus on the Gens main window, keys aren't always handled...KanedaFr wrote:when you activate a window, the key events aren't send to Gens main window...Stef wrote:Tool & version : GensKMod 0.6 beta (with DAC update rate feature)
Windows version : XP SP 2 fr
Country settings : US
Description : keys respond problems -->
When i open some debug window (as YM2612 one), it looks that after sometime GensKMod doesn't reply to key events and seems somewhat freezed (but it isn't).
are you sure it's not that ? I ask because I often made the mistake
good newit's still hereBy the way, your "DAC update rate" is very usefull when you code some Z80 driver for DAC playing, i encourage you to keep this feature in future version
I'm unable to make this bug...Stef wrote: Yeah i know but even wit focus on the Gens main window, keys aren't always handled...
perhaps it's the latency....I got key respond problem when some debug windows are opened : I need to keep my keypress
sorry for that but as I said since the first version, KMod isn'"t suitable for games play
VRAM idx is now the tile number not the VRAM adress...I scrolled down to the last row and the address was 5D0
it was requested so I changed it
I'll give it another look....
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Thanks for taking time to examine it. I was using key just for testing purpose so that's not so problematicKanedaFr wrote:I'm unable to make this bug...Stef wrote: Yeah i know but even wit focus on the Gens main window, keys aren't always handled...
perhaps it's the latency....I got key respond problem when some debug windows are opened : I need to keep my keypress
sorry for that but as I said since the first version, KMod isn'"t suitable for games play
-
- Very interested
- Posts: 746
- Joined: Sat Dec 15, 2007 7:49 am
- Location: Kazakhstan, Pavlodar
Emulator: see below.
Windows: does not matter.
Here is the problem:
1: GENS's debugger wrong decodes ORI.W and some other opcodes.
2: I found a bug in emulation M68K in MOVE.L (A0)+,D1. First time it's work fine, after some calculations it's read garbage in D1, but A0 is still correct. MOVE.B (A0)+,D1 works perfectly. Here source, that not working:
If I replace that command this:
All works perfectly. I'd made some tests and here is result:
Test ROM you can get here.
PS. That command loads melody pointer. If it buggy, then melody can not be played correctly.
PPS. Can you do something with that terrible 16bit screen mode? That screen flashes is killing me... (Gens32 use 32bit screen mode)
Windows: does not matter.
Here is the problem:
1: GENS's debugger wrong decodes ORI.W and some other opcodes.
2: I found a bug in emulation M68K in MOVE.L (A0)+,D1. First time it's work fine, after some calculations it's read garbage in D1, but A0 is still correct. MOVE.B (A0)+,D1 works perfectly. Here source, that not working:
Code: Select all
move.l #$FF0000,d2 *
move.l d2,a1 *
subq.l #1,d0 *
BuildLn: clr.l d1
move.l (a0)+,d1 * << Here is buggy command
move.w #39,d2 *
BuildLp: move.b (a0),d3 *
cmp.b #0,d3 *
beq BuildSkp *
move.b (a0),(a1)+ *
addq.l #1,a0 *
bra BuildFin *
BuildSkp: move.b #$20,(a1)+ *
BuildFin: dbra d2,BuildLp *
BuildZer: move.b (a0),d3 *
cmp.b #0,d3 *
beq BuildNxt *
addq.l #1,a0 *
bra BuildZer *
BuildNxt: addq #1,a0 *
move.l d1,(a1) *
add.l #24,a1 *
dbra d0,BuildLn *
Code: Select all
move.b (a0)+,d1 *
rol.l #8,d1 *
move.b (a0)+,d1 *
rol.l #8,d1 *
move.b (a0)+,d1 *
rol.l #8,d1 *
move.b (a0)+,d1 *
So, it seems this is "Gens" only problem in M68K emulation code.Test passed emulators:
DGen v1.21
Fusion v3.51
Megasis v0.06a
Test not passed emulators:
Gens32 Surreal v1.7
Gens32 (Gens v2.10)
Gens32 V2.26
Gens v2.12a KMod 0.7b
Gens v2.11
Gens+ v0.0.3.38
GensD (Gens v2.10)
Test ROM you can get here.
PS. That command loads melody pointer. If it buggy, then melody can not be played correctly.
PPS. Can you do something with that terrible 16bit screen mode? That screen flashes is killing me... (Gens32 use 32bit screen mode)