kempston:
I do it the best possible way, i.e. I decode only A5-A7 and always reset D5-D7 to 0.

palette:
How can I (or you) know what is the correct "real" palette? What is that correct palette, where can I find documentation? Isn't it just dependent on the brightness and contrast settings of a TV? This applies both to Sam Coupe and ZX Spectrum palette - I haven't found any colour information on WoS or other websites, so I did it simply mathematically - I construct the RGB colour from the bits in the Sam/ZXS colour number. Visually, I can't see any difference from other emulators on my crappy Samsung LCD display, but I'd like to fix it if it's objectively wrong.

Best regards,
Aley

-----Původní zpráva----- From: VELESOFT
Sent: Sunday, April 08, 2012 2:07 AM
To: [email protected]
Subject: Re: ASCD 0.98 (final) released


----- Original Message ----- From: "Aleš Keprt" <[email protected]>
To: <[email protected]>
Sent: Sunday, April 08, 2012 12:53 AM
Subject: ASCD 0.98 (final) released


* Fixed minor incompatibility in kempston joystick emulation (top 3 bits were set instead of reset)

This is problem:

- Part of ZX Spectrum games work only with original kempston joystick readable also on port #DF (joystick port adressation is only A5=0 and all other adress
lines are ignored = joy port BIN xx0xxxxx ).

- exist more versions of kempston joystick interface and often is used models with port adressation: BIN 000xxxxx or new interfaces use full adressation BIN
00011111.

- old joystick interfaces send joystick value only to data lines D0-D4. Bits
D5-D7 are not set or reset, but contain part of floating data bus (transparent ula port #FF = videoram data). This three bith are readable always in log.1 only
if ula not read videoram data (in border area/after interrupt).

- modern joystick interfaces and some ZX emulators return always D7-D5 in log.0. Some ZX games also work only if D7-D5 is 0. Also all games/software writed in ZX
basic need it.

Not exist any universal joystick standard, but often is used adressation: BIN 000xxxxx and joystick return always D7-D5 in log.0 and D4-D0=joy state. D5 can
be used for joystick fire 2 and D6 for joystick fire 3. This is best. Old
problematic ZX games exist also in fixed version for use with any joystick
interface. (see W.O.S.)

My idea: can you add joystick autofire emulation ? :-D

VELESOFT


-----------------------------------------
Mgr. Aleš Keprt, Ph.D.
private: [email protected], www.keprt.cz
office: Moravian College / Moravská vysoká škola Olomouc, [email protected]

Reply via email to