Welcome, Guest. Please login or register.


Author Topic: List of games that would work better controlled by a mouse. (Read 13027 times)

Online gflorez

  • EP addict
  • *
  • Posts: 2380
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #30 on: 2016.May.12. 11:01:37 »
The Z80 ports used by original Kempston-mouse interfaces are:

buttons= 64223(#FADF)  D0-D2=buttons, later added an additional button on D3 and  a wheel counter on D4-D7
X-AXIS = 64479(#FBDF)  circular absolute counter
Y-AXIS = 65503(#FFDF)  circular absolute counter

Other ports are used for an extra slave mouse and recognition on evolution adapters. See this.

Online gflorez

  • EP addict
  • *
  • Posts: 2380
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #31 on: 2016.May.12. 11:45:14 »
SPECCY 4.0 emulates the Kempston mouse, I don't know what hardware emulates R-Type, it resets the emulated machine.

Others that don't work for me: Hero quest, Trough the wall and Xcel.  But a large majority of games are emulated and give good feelings...

« Last Edit: 2016.May.12. 12:15:28 by gflorez »

Online gflorez

  • EP addict
  • *
  • Posts: 2380
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #32 on: 2016.May.13. 10:32:04 »
Still thinking....

We don't need to dig K-mouse code on Spectrum games to know what they did. We already know how:

They first selected a target game, shoot'emups or pointer games where their favourites.

Then, the moving object coordinates and the fire memory positions are searched.

A max and min is tested for the moving object.

A hook is put on the keyboard-joystick parsing routine.

A K-mouse option is placed on the controller selection menu.

And a k.mouse little routine(not 5k as I said) is placed on some part of the memory, called by the hook if the option controller is selected.

Online gflorez

  • EP addict
  • *
  • Posts: 2380
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #33 on: 2016.May.13. 13:02:50 »
I am eager to continue adapting games or applications to mouse use, but I'm not as good programmer...

I have attempted to reach the SWAP game code, but it has a complicate loading routine(SWAP.COM) that I have already disassembled. It loads two demos before the game, jumping to the loaded code, and seems that all the chunks are compacted or encrypted, because I don't see anything recognisable with the hex editor.

Does somebody have code from a game or application to try?

Offline geco

  • EP addict
  • *
  • Posts: 5088
  • Country: hu
  • OS:
  • Linux / Sony Ericsson SK17iv Linux / Sony Ericsson SK17iv
  • Browser:
  • Safari 4.0 Safari 4.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #34 on: 2016.May.13. 14:12:00 »
Still thinking....

We don't need to dig K-mouse code on Spectrum games to know what they did.
The code is neede to find the place in a speccy game of mouse code where we can place call for our mouse routine. If we can nonvert the result of kmouse to entermice then we are in a good position, if all of them are working directly with screen position in the same routine it would be the best.

Offline geco

  • EP addict
  • *
  • Posts: 5088
  • Country: hu
  • OS:
  • Linux / Sony Ericsson SK17iv Linux / Sony Ericsson SK17iv
  • Browser:
  • Safari 4.0 Safari 4.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #35 on: 2016.May.13. 14:16:53 »
I have attempted to reach the SWAP game code, but it has a complicate loading routine(SWAP.COM) that I have already disassembled. It loads two demos before the game, jumping to the loaded code, and seems that all the chunks are compacted or encrypted, because I don't see anything recognisable with the hex editor.
And what do you think about  this solution: leave to load the game, when it is loaded then you can find the controls, create a snapshot, and you can patch mouse code there and if it is ready then create another snapshot, and we can try to isert the result into Swap's code.

Online gflorez

  • EP addict
  • *
  • Posts: 2380
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #36 on: 2016.May.13. 15:26:09 »
There is a group of Spectrum games that come with a Z80 snapshot of an assembler loaded with the tailored driver(see this file), others not. The most important data is the  memory position of the coordinates, max and min positions and fire buttons, but I think the rest of the K-mouse routine is practically the same. 


----------

I like very much your solution, but there are some minor problems:

- EP128emu still doesn't emulates mouse, XEP128 does but I don't know if it manages snapshots.

- I have to study how can I patch code into a snapshot.... not a big problem, I only need some hints... There are some empty memory zones that can fit the routine.

----

If at the end you will try to insert the modified code in SWAP, why don't you try to first extract the game plain executable for me?

I could then disassemble or hex-edit it to study, and try the modified code on the real machine. Once finished you can  join the pieces again easier.

Offline geco

  • EP addict
  • *
  • Posts: 5088
  • Country: hu
  • OS:
  • Linux / Sony Ericsson SK17iv Linux / Sony Ericsson SK17iv
  • Browser:
  • Safari 4.0 Safari 4.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #37 on: 2016.May.13. 20:02:05 »
I like very much your solution, but there are some minor problems:

- EP128emu still doesn't emulates mouse, XEP128 does but I don't know if it manages snapshots.

- I have to study how can I patch code into a snapshot.... not a big problem, I only need some hints... There are some empty memory zones that can fit the routine.

----

If at the end you will try to insert the modified code in SWAP, why don't you try to first extract the game plain executable for me?

I could then disassemble or hex-edit it to study, and try the modified code on the real machine. Once finished you can  join the pieces again easier.
Sorry, i forgot EP128emu does not support mouse, patching in EP128emu is easy, there are two ways, you can use inline assembler of the emulator, or the other (the best) you create your asm after assemble it to binary, and finally you can load it into the memory where you want.
The idea is good, but i think compressed parts are used to fit the program into 128k, and if it is true then creating executable is bigger work, my idea was: we can insert the mouse code into thedecompressed binary and compress it again, if it was compressed by old DTF then only this file should be processed, if not then every files should be recompressed.
Please give me some 1-2 weeks, i will check if i can create executable for you.

Online gflorez

  • EP addict
  • *
  • Posts: 2380
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #38 on: 2016.May.13. 22:40:11 »
Thank you, I'll wait.

If I can  aid you.....

Poking around while SWAP is executing, I've seen that the same loader, at 0100h, has been used to load the two demos and the game, the three of them are read successively in chunks from the SWAP.PRG file and placed uncompressed in memory.

They are executed in cascade. At the end of the demos, when Space is pressed, the execution is passed to the loader and the next module is loaded and executed.


Offline Ep128

  • EP addict
  • *
  • Posts: 1562
  • Country: hu
  • OS:
  • Windows Vista/Server 2008 Windows Vista/Server 2008
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
    • Honlapom
Re: List of games that would work better controlled by a mouse.
« Reply #39 on: 2016.May.13. 23:45:31 »
Exciting, i hope so, something will be from him! Swap would be much more enjoyable with a mouse! :-)

Offline geco

  • EP addict
  • *
  • Posts: 5088
  • Country: hu
  • OS:
  • Linux Linux
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #40 on: 2016.May.15. 21:01:32 »
Here is SWAP without packing, and separate files, you can work with it :)
If you are finished, I think I will make it EXOS compatible. The program plays the mod music from high frequency interrupt, I hope you will have enough CPU time for implementing mouse, and with mouse the program will not overrun on the 50Hz interrupt, if yes, then we can check if it cause any problem in game play or not, if yes, we can play with delay, insert game code into delay part.

Online gflorez

  • EP addict
  • *
  • Posts: 2380
  • Country: es
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #41 on: 2016.May.15. 22:32:05 »
Thanks. I will last a little more than you, one or two weeks.....

Meanwhile, Academy seems to need a mouse for better game playing.

Online gflorez

  • EP addict
  • *
  • Posts: 2380
  • Country: es
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #42 on: 2016.May.16. 19:38:00 »
Talking about how difficult are C64 -> EP conversions, I would love Maniac Mansion ported...



A lot has been spoken in other forums about CPC and MSX conversions of Maniac Mansion that have never been even started.
« Last Edit: 2016.May.16. 20:03:33 by gflorez »

Offline jltursan

  • User
  • *
  • Posts: 67
  • Country: es
  • OS:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
    • JLTurSan's MSX page - My little MSX corner
Re: List of games that would work better controlled by a mouse.
« Reply #43 on: 2016.May.16. 19:45:05 »
I suppose it's a matter of time of a talented individual. I strongly believe that first SCUMM games are perfectly doable in all machines. Right now even a Oric SCUMM-alike engine is being worked on...and looks fantastic.
Looks really incredible that there's still no Z80 port of this famous engine :-(

These games are the wet dream of a mouse user :-)

Offline geco

  • EP addict
  • *
  • Posts: 5088
  • Country: hu
  • OS:
  • Linux Linux
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: List of games that would work better controlled by a mouse.
« Reply #44 on: 2016.May.22. 16:20:08 »
Here is the test version of spemu128 with kmouse support, I hope I set the right directions.