News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Javy Fernandez

HEROES RESCUE! New plataformer Game

Started by Javy Fernandez, 16:33, 11 February 16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Javy Fernandez



Targhan

Too bad you can't play with the keyboard!! I don't have a working joystick on my CPC! Really a shame, the graphics looked lovely (not fond of the loading picture, though...).
Targhan/Arkos

Arkos Tracker 2.0.1 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

Javy Fernandez


Gryzor


AMSDOS

Quote from: Javy Fernandez on 12:01, 09 September 16
It is a limitation of AGD.


If AGD is using the firmware to KM TEST KEY (&BB1E) to read the Joystick controls, it should be an each patch of substituting the Joystick numbers with Keyboard numbers. However it maybe using KM GET JOYSTICK (&BB24), in that case a KM TEST KEY routine will have to be written. It's possible AGD could also be patching through to the Hardware directly, though I doubt it.
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

jjaranda13

#56

hi guys


AGD uses CALL &BB24 , and must be patched to use keyboard


this is an example of patch, The steps are:


1) check the memory address where your agd game start, for example using CPCDISKXP . The file header contains this info. this is the <entrypoint> of the game, the address where the game starts its execution (can be different from starting address where the program is loaded). Also check the lenght of the game <lenght> in bytes
2) load the game and execute it
3) using winape, search for instruction call &BB24, which is "CD 24 BB" in the memory of the amstrad.
4) once you find it, take note of the memory address where this instruction is located. This is the <invocation address>
5) write the new keyboard routine, out of memory range of the game. in this case, the game starts at 13555 and this keyboard routine starts at 13000
6) reset your cpc and load the game.bin, but not execute it (only write in basic ---> memory 12999:load "game.bin")
7) assemble your new routine
8) save the new patched game using SAVE "game2.bin", b,13000,<lenght +1000>,<entrypoint>


thats all


=================================
; variable where AGD save JOY status
org &3510
JOYDATA      db %00000000




;new keyboard routine
org 13000 ; &32c8
KEYREAD
     
      push bc
TESTKEY      equ &BB1E
      ld b,0
     
key_P      ld a, 27
      call TESTKEY
      JR Z, KEY_O
      SET 3,b
      nop
key_O      ld a, 34
      call TESTKEY
      JR Z, KEY_Q
      SET 2,b
key_Q      ld a, 67
      call TESTKEY
      JR Z, KEY_A
      SET 0,b
key_A      ld a, 69
      call TESTKEY
      JR Z, KEY_SP
      SET 1,b
key_SP      ld a, 47
      call TESTKEY
      JR Z, fin
      SET 5,b ; fire 1
      SET 4,b; fire 2
fin      ld a,b
      ld (JOYDATA),a
fin2      pop BC
     
      ld h,a
      ld l,a
      ret


;patch agd game
org &3d19 ; this is the <invocation address>
call KEYREAD   
=================================

Javy Fernandez


Javy Fernandez

Latest Amstrad CPC disk drives 3 "available. Sell out! ;)

GOB

#59
nop

Javy Fernandez

#60
Regards!

Javy Fernandez




Hello everyone, it is already released for HEROES RESCUE download with keyboard control (O, P and SPACE). Greetings.


http://www.mediafire.com/file/lr8baw5oqiro6bf/HEROES_RESCUE_duo.zip


Javymetal.-

XeNoMoRPH

your amstrad news source in spanish language : https://auamstrad.es

OneVision

Nice work ! I like the multiverse of heroes, reminds me a bit of BroForce :)

XeNoMoRPH

New upload, can't edit post so here is:

https://www.mediafire.com/file/omwo3oiso725u2q/HEROES+RESCUE.rar/file

HEROES RESCUE JOYSTICK.ROM
HEROES RESCUE KEYBOARD.ROM
your amstrad news source in spanish language : https://auamstrad.es

VincentGR

There are 2 ROMs. ( |HEROES applied to all roms)
2 separated joy-keys (mount only 1) 
1 dual rom with requester to choose at the beginning the preferred version (mount both parts)
2 bin that are compressed to run from disk, or better from tape to reduce loading time.

Powered by SMFPacks Menu Editor Mod