Logicielsmoto.com
http://www.logicielsmoto.com/phpBB/

BUG of PUT / GET instructions with CONSOLE ,,,, 2 DCMOTO
http://www.logicielsmoto.com/phpBB/viewtopic.php?f=3&t=606
Page 1 sur 1

Auteur:  zef [ 16 Nov 2019, 20:46 ]
Sujet du message:  BUG of PUT / GET instructions with CONSOLE ,,,, 2 DCMOTO

Is this a bug in the emulator or MO6 machines? the instruction PUT / GET of the basic128 / 512 in the mode CONSOLE ,,,, 2 behaves differently in the TO series with respect to the MO.

10 CLS:CONSOLE,,,,2
20 CIRCLE (30,30),30,0:CIRCLE (60,30),30,1:CIRCLE (90,30),30,2:CIRCLE (120,30),30,3
40 DIM IM%(2000):GET(0,0)-(20,20),IM%(2000)
50 CLS:PUT(0,0),IM%(2000)

Image

Auteur:  Samuel Devulder [ 17 Nov 2019, 00:54 ]
Sujet du message:  Re: BUG of PUT / GET instructions with CONSOLE ,,,, 2 DCMOTO

Yes, this is odd. It looks like only one bitplane is drawn on the MO6 with the PUT() function when screen is in BM4 mode.

Auteur:  Daniel Coulom [ 17 Nov 2019, 09:55 ]
Sujet du message:  Re: BUG of PUT / GET instructions with CONSOLE ,,,, 2 DCMOTO

I tried the program with a MO6. This is the result :

Fichiers joints:
mo6_bug.jpg
mo6_bug.jpg [ 45.31 Kio | Vu 625 fois ]

Auteur:  zef [ 17 Nov 2019, 10:28 ]
Sujet du message:  Re: BUG of PUT / GET instructions with CONSOLE ,,,, 2 DCMOTO

So it's a problem with the MO6 roms. Does anyone have any idea how to fix this bug?
I noticed this by working on a game that uses the BM4 mode. I use the PUT instruction to reset the screen after the GAME OVER message
phpBB [video]

Auteur:  Samuel Devulder [ 17 Nov 2019, 10:29 ]
Sujet du message:  Re: BUG of PUT / GET instructions with CONSOLE ,,,, 2 DCMOTO

So it is the MO6 rom which forget one bitplane when in BM4 mode, not an emulation issue. It really looks like a bug.

This might be caused by bit 4 of $2019 being set. Try to do something like
Code:
POKE &H2019,PEEK(&H2019) AND 239
to see if it fixes anything.

Auteur:  zef [ 17 Nov 2019, 16:41 ]
Sujet du message:  Re: BUG of PUT / GET instructions with CONSOLE ,,,, 2 DCMOTO

does not seem to produce any results, suggestions?

Page 1 sur 1 Heures au format UTC + 1 heure
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/