Welcome, Guest. Please login or register.


Author Topic: Pasziansz (Solitaire) from Hsoft, need EnterMice support (Read 7257 times)

Online Zozosoft

  • EP addict
  • *
  • Posts: 13531
  • Country: hu
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://enterprise.iko.hu/
Another challenge to Gflorez! If you do not mind :oops:

This game use built in mouse driver (serial Mouse System only), will be nice if EnterMice also can be used.

Source of this are also included in the big HSoft pack, but some files are missing! :-(
Fortunately at 1994 I got one earlier version sources from Hsoft, then I completed the latest version with the missing files.

There is the complete pack, works with HEASS.

Offline gflorez

  • EP addict
  • *
  • Posts: 2668
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #1 on: 2016.April.19. 12:31:45 »
Thanks for trusting on me...

As you know, I  only understand the easy(for dumbs) functioning of Sjasm, but I will see...

There is a "big" zone at the end of the Pasziansz.rom filled of FFh, of about 3,3kb, enough to put there the EnterMice routine and much more.

Even we can try an English version.


Online Zozosoft

  • EP addict
  • *
  • Posts: 13531
  • Country: hu
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://enterprise.iko.hu/
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #2 on: 2016.April.19. 12:55:46 »
There is a "big" zone at the end of the Pasziansz.rom filled of FFh, of about 3,3kb, enough to put there the EnterMice routine and much more.
This is not the ROM version, it is the original loadable.
When it is done then possible to create the new ROM version (it is just copy the program from the ROM to RAM).

Offline gflorez

  • EP addict
  • *
  • Posts: 2668
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #3 on: 2016.April.19. 13:00:13 »
Ok, then it could be tested more easily on an executable.

---


Yes, Pasziansz  uses exactly the same mouse routines as found on EPDOS2.1. And "normal" coordinates(16bit x 16bit), not as on EDCW.

Offline gflorez

  • EP addict
  • *
  • Posts: 2668
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #4 on: 2016.April.19. 21:36:52 »
This is not the ROM version, it is the original loadable.
When it is done then possible to create the new ROM version (it is just copy the program from the ROM to RAM).

Then you can do the same with EDCW, as it works the same. The problem is the lack of space to put any more code.

Offline gflorez

  • EP addict
  • *
  • Posts: 2668
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #5 on: 2016.April.20. 01:23:55 »
This is a first attempt.

Please Zozo, can you compile it?


If there is some movement it will be inverse on both axis,
« Last Edit: 2016.April.20. 02:05:08 by gflorez »

Offline gflorez

  • EP addict
  • *
  • Posts: 2668
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #6 on: 2016.April.20. 10:34:44 »
It doesn't work... I have compiled it with HEASS on EP128emu.

Online Zozosoft

  • EP addict
  • *
  • Posts: 13531
  • Country: hu
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://enterprise.iko.hu/
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #7 on: 2016.April.20. 10:39:58 »
It doesn't work... I have compiled it with HEASS on EP128emu.
Yes it is hang up at the start :oops:

Offline gflorez

  • EP addict
  • *
  • Posts: 2668
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #8 on: 2016.April.20. 16:28:14 »
Try this, at least it works on XEP128.

The problem was EI and DI, as this game works with HALTs. I removed EI and the game started to work with the X inverted. Then I NEGated the X_REL relative increment and now it works.

Offline gflorez

  • EP addict
  • *
  • Posts: 2668
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #9 on: 2016.April.20. 16:49:53 »
On the real machine(EP128+sd-reader) it hangs.....

Online Zozosoft

  • EP addict
  • *
  • Posts: 13531
  • Country: hu
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://enterprise.iko.hu/
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #10 on: 2016.April.20. 16:55:13 »
It is works very crazy on Xep128 for me :oops:
The cursor are tremble/jumping, and mainly moving inverted.

Offline gflorez

  • EP addict
  • *
  • Posts: 2668
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #11 on: 2016.April.20. 17:07:01 »
Strange,  as I have tested all versions of XEP128 I have and it works perfect on all....

Offline gflorez

  • EP addict
  • *
  • Posts: 2668
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #12 on: 2016.April.20. 17:32:12 »
You can invert the movement here in this part of the code. you can activate or deactivate the NEG opcodes to do it.


Online Zozosoft

  • EP addict
  • *
  • Posts: 13531
  • Country: hu
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://enterprise.iko.hu/
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #13 on: 2016.April.20. 20:32:33 »
Tested on real machine: it is freeze when mouse moved.
Joystick will work until the mouse moved.
Sometimes freeze at the start.

:oops: :oops: :oops:

Offline lgb

  • EP addict
  • *
  • Posts: 3497
  • Country: hu
  • æðsta yfirmaður
  • OS:
  • Linux (Ubuntu) Linux (Ubuntu)
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://lgb.hu/
Re: Pasziansz (Solitaire) from Hsoft, need EnterMice support
« Reply #14 on: 2016.April.20. 20:42:16 »
Tested on real machine: it is freeze when mouse moved.
Joystick will work until the mouse moved.
Sometimes freeze at the start.

:oops: :oops: :oops:

Maybe gflorez used the -fix-crashing-ep Xep128 command line switch :) :) :) :) Ok, bad joke .... :(