Welcome, Guest. Please login or register.


Author Topic: EnterMice option on EDCW? (Read 8567 times)

Offline lgb

  • EP addict
  • *
  • Posts: 3496
  • Country: hu
  • æðsta yfirmaður
  • OS:
  • Linux (Ubuntu) Linux (Ubuntu)
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://lgb.hu/
Re: EnterMice option on EDCW?
« Reply #45 on: 2016.April.21. 15:42:47 »
My EP hangs when I click on the File manager inside EDCW. It seems it needs an EXDOS card for the File manager to work.

Curiously EDCW works very well on XEP128.

But, if I understand this correctly, Xep128 has EXDOS ROM image by default ... So no wonder it works if a real EP hasn't got EXDOS ROM, while Xep128 has. But I am not sure if you mean the card itself, or "only" the software with "EXDOS card" ... On a real EP too, you can have EXDOS (as software) without the EXDOS card actually :)

Online gflorez

  • EP addict
  • *
  • Posts: 2539
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EnterMice option on EDCW?
« Reply #46 on: 2016.April.21. 15:54:37 »
I tried an EP128 + SD-reader, and it has the ISDOS rom inside. I actually have my Microteam card at Zozo's, repairing.

EDCW checks for the ISDOS hardware searching on the Z80 ports, then I think is for this it hangs, at not finding A: or B: units.

It's only a supposition...

Offline lgb

  • EP addict
  • *
  • Posts: 3496
  • Country: hu
  • æðsta yfirmaður
  • OS:
  • Linux (Ubuntu) Linux (Ubuntu)
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://lgb.hu/
Re: EnterMice option on EDCW?
« Reply #47 on: 2016.April.21. 17:08:37 »
I tried an EP128 + SD-reader, and it has the ISDOS rom inside. I actually have my Microteam card at Zozo's, repairing.

EDCW checks for the ISDOS hardware searching on the Z80 ports, then I think is for this it hangs, at not finding A: or B: units.

It's only a supposition...

Ah, I see. Maybe Zozo can told you better, but as far as I remember (and Zozo told once ...) the original EXDOS software tries to use the WD chip and may hang if it cannot be found. At the other hand, the EXDOS software which resides in the SD card cartridge is a bit modified (?) not to hang in case of missing WD (as it can be usable without a real EXDOS card too, with the SD card itself with its own DISKIO SD-related routines).

Offline Zozosoft

  • EP addict
  • *
  • Posts: 13313
  • 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: EnterMice option on EDCW?
« Reply #48 on: 2016.April.21. 19:01:25 »
Mouse button problem still exist :oops:

It is works for me without EXDOS card, running from SD. (Just you can't change drive, because only A-E in the drives menu)

Online gflorez

  • EP addict
  • *
  • Posts: 2539
  • Country: es
  • OS:
  • Unknown Unknown
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EnterMice option on EDCW?
« Reply #49 on: 2016.April.21. 21:58:32 »
Ok. Tomorrow I will test my old EP, with more memory, if EDCW doesn't hang and if I see the error.

Online gflorez

  • EP addict
  • *
  • Posts: 2539
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EnterMice option on EDCW?
« Reply #50 on: 2016.April.22. 09:44:29 »
With more memory EDCW  File Manager works for me.

The problem is that the mouse button is processed two times, then you always make double click.

I think this has an easy fix.

Online gflorez

  • EP addict
  • *
  • Posts: 2539
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EnterMice option on EDCW?
« Reply #51 on: 2016.April.22. 12:02:39 »
Not so easy, the problem here is that the keyboard parsing is made with calls to the Keyboard device, and the mouse buttons are read directly. If I make a super fast click it is understood like a single click, but a normal click is understood as a double click.

Online gflorez

  • EP addict
  • *
  • Posts: 2539
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EnterMice option on EDCW?
« Reply #52 on: 2016.April.23. 21:36:03 »
This has worked for me.  

The problem was a bouncing on the mouse button parsing. Once done a mouse click, another one waited while the action was executed.

I have added some lines to avoid interpreting a new click while the button is pressed.


Another problem is to modernize the program to cope with the new drives. By now the new units can be read like on the EGI, assigning the new  letter to A:, B:, C:, D: or E:.


Remember to delete the EDCW.STP config file, if not done the program hangs.

EDIT: assigning let us to view the content's unit, but not to execute files.
« Last Edit: 2016.April.23. 21:45:25 by gflorez »

Online gflorez

  • EP addict
  • *
  • Posts: 2539
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EnterMice option on EDCW?
« Reply #53 on: 2016.April.23. 22:41:40 »
This another is a fast-fix to work  with SD-readers, with or without EXDOS card.

A:, B:, C: and D: have been replaced by F:, G:, H:,and I: letters. I have left the Ramdisk drive, E:

To use it, first delete the EDCW.STP config file or it wouldn't work as expected.
« Last Edit: 2016.April.25. 13:18:49 by gflorez »

Online gflorez

  • EP addict
  • *
  • Posts: 2539
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EnterMice option on EDCW?
« Reply #54 on: 2016.April.25. 12:46:33 »
Now that I have played a little more with EDCW, I have detected an error on it. I have tested also the original program to discard bugs made by my modifications.

The problem is with the File Manager, after a while changing directory or drives  and running applications, it simply refuses to load known files, and gives the error: "Invalid File Header".

Actually the only cure I see for this problem is to enter and exit of EPDOS, or hard reset the EP, as some information seems to survive to soft resets.

----------

On the other side, I'm planning to modify the drive selection on the File Manager to admit all the possible drives. It doesn't seems too difficult for me...

The idea is to open a prompt with only one character input, the letter of the drive. Only upper letters from A to Z will be possible, although lower ones can be converted to upper case form. Other characters will be refused.

Then the space saved from the old method menu can be utilized for the extra lines of code.
« Last Edit: 2016.April.26. 09:39:13 by gflorez »

Offline Zozosoft

  • EP addict
  • *
  • Posts: 13313
  • 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: EnterMice option on EDCW?
« Reply #55 on: 2016.April.25. 21:12:28 »
EnterMice now working fantastic!

Offline Tutus

  • EP user
  • *
  • Posts: 388
  • Country: hu
  • OS:
  • Mac OS X 10.10 Mac OS X 10.10
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • Enterpress News
Re: EnterMice option on EDCW?
« Reply #56 on: 2016.April.25. 21:43:00 »
:smt038 :smt038 :smt038

Offline Ep128

  • EP addict
  • *
  • Posts: 1595
  • Country: hu
  • OS:
  • Windows Vista/Server 2008 Windows Vista/Server 2008
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • Honlapom
Re: EnterMice option on EDCW?
« Reply #57 on: 2016.April.25. 23:34:27 »
:smt041 :smt026

Offline pear

  • EP lover
  • *
  • Posts: 746
  • Country: pl
  • Z80 only
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EnterMice option on EDCW?
« Reply #58 on: 2016.April.26. 06:20:33 »
Good for you! :smt041

Online gflorez

  • EP addict
  • *
  • Posts: 2539
  • Country: es
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 46.0 Firefox 46.0
    • View Profile
Re: EnterMice option on EDCW?
« Reply #59 on: 2016.May.15. 15:52:40 »
One step more. Now you can select the unit letter on the Drive option inside the EDCW File Manager. Simply press the letter key you want,  then press Enter or click on OK.

Only A-Z  or a-z letters are accepted, other characters give an "Invalid drive" message and an empty directory.

A-E drives not present bring you the usual "Not ready -- drive X: Retry or abort(R/A)?" prompt. Other drives not found show an empty directory and "Invalid drive" message.

Please, just before executing the program, delete the EDCW.STP config file or the Enterprise will hang.
« Last Edit: 2016.May.15. 17:37:43 by gflorez »