Printed Amstrad Addict magazine announced, check it out here!
Started by TotO, 18:29, 15 May 16
0 Members and 1 Guest are viewing this topic.
Quote from: TFM on 20:45, 23 May 16Hi! Tried to order using Chrome(1) or Explorer(2) using WinXP. But it doesn't work (1, security risc. 2, errors on page). Any idea what to do? (Will try on my laptop tomorrow).
Quote from: TotO on 09:19, 25 May 16Actually, all old games require to be patched. With a Firmware update, games using the routines or BASIC may natively work.Today, two Axelay games (MegaBlaster and QuadRasters) and one Mr_Lu game are compatible.
Quote from: angelcaio on 11:46, 25 May 16Thanks, but really i ask for the update of the firmware that you say. Anyway, how i can to patch a program? like Art studio, for example.
Quote from: TFM on 18:46, 25 May 16That's actually pretty simple. Instead of calling an OS routine you patch it into two simple instructions:LD BC,TotOs_joystick_and_mouse_port_1IN A,(BC)And A has all the nice little direction and fire button bits.
F990 : 0321RLDU : Input A, joystick and buttonsF991 : 0321RLDU : Input B, joystick and buttonsF992 : 0000XXXX : Input A, mouse XF993 : 0000YYYY : Input A, mouse YF994 : 0000XXXX : Input B, mouse XF995 : 0000YYYY : Input B, mouse Y
Quote from: TotO on 13:39, 27 May 16It is not, because the joystick (and AMX/DK'Tronics) return only 1bit value. The MultiPlay mice return 4bit values.Code Select ExpandF990 : 0321RLDU : Input A, joystick and buttonsF991 : 0321RLDU : Input B, joystick and buttonsF992 : 0000XXXX : Input A, mouse XF993 : 0000YYYY : Input A, mouse YF994 : 0000XXXX : Input B, mouse XF995 : 0000YYYY : Input B, mouse Y
Quote from: khaz on 12:50, 27 May 16Is it enough to manage the acceleration?
Quote from: gerald on 16:28, 27 May 16From a software point of view, just read the port and add its value to your position variable
Quote from: TFM on 16:38, 27 May 16Won't work with negative values since bits 7-4 are always zero. Right?
Quote from: gerald on 16:45, 27 May 16No The 4 values are sign extended to 8 bit, so negative value will have bit7-4 at one. In fact bit 7-4 = bit 3Just consider them as signed 8 bit, they will just stay between -15 and 14
Page created in 0.096 seconds with 23 queries.