ENTERPRISE KLUB
2019. május 25., 1055 Budapest, Nyugati tér 9. 14-19 óráig
Részletek
Welcome, Guest. Please login or register.


Author Topic: EPDOS2.1 with EnterMice option (Read 1476 times)

Online gflorez

  • EP addict
  • *
  • Posts: 2558
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
EPDOS2.1 with EnterMice option
« on: 2016.April.15. 10:48:28 »
Now I want to modify the final version of EPDOS to add to it an EnterMice mode. Zozo said me that it is already compatible with the serial card, both in Mouse Systems mode or Microsoft mode.

But first I need its Rom to work in one of the emulators. I've loaded the Rom on EP128emu, but it hangs after a memory check. I don't know if I have to put another Rom at the side of EPDOS for it to work properly, or simply it still can't be emulated.

Also I need its  disassembly ported to  Sjasm format to be able to compile it.
« Last Edit: 2016.April.15. 22:22:45 by gflorez »

Online Zozosoft

  • EP addict
  • *
  • Posts: 13336
  • Country: hu
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://enterprise.iko.hu/
Re: EPDOS2.1 with EnterMice option
« Reply #1 on: 2016.April.15. 10:54:05 »
It is need one SRAM segment. The segment number is coded in the ROM, at VEDETTRAM label.
« Last Edit: 2016.April.15. 10:58:15 by Zozosoft »

Online gflorez

  • EP addict
  • *
  • Posts: 2558
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EPDOS2.1 with EnterMice option
« Reply #2 on: 2016.April.15. 11:29:03 »
How can I emulate it on EP128emu? It seems that the 07 segment goes in the cartridge address area.

Online Zozosoft

  • EP addict
  • *
  • Posts: 13336
  • Country: hu
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://enterprise.iko.hu/
Re: EPDOS2.1 with EnterMice option
« Reply #3 on: 2016.April.15. 11:37:36 »
Change it to any RAM segment. But content need to loaded at every start (in real machine battery backuped). Lgb promissed SRAM mode for Xep128 :-)

Online Zozosoft

  • EP addict
  • *
  • Posts: 13336
  • Country: hu
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
    • http://enterprise.iko.hu/
Re: EPDOS2.1 with EnterMice option
« Reply #4 on: 2016.April.15. 11:39:33 »
This is SRAM config loader from Moldani's config.

Online gflorez

  • EP addict
  • *
  • Posts: 2558
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EPDOS2.1 with EnterMice option
« Reply #5 on: 2016.April.15. 14:58:05 »
I have put a ram segment on 07 and later on 10 to test, but it always ends hang in a red screen with a black vertical strip.

If I can't pass from that point I can't load the segment.

Can you put here a snapshot of a successful working configuration?
« Last Edit: 2016.April.15. 15:23:34 by gflorez »

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: EPDOS2.1 with EnterMice option
« Reply #6 on: 2016.April.15. 16:36:28 »
Change it to any RAM segment. But content need to loaded at every start (in real machine battery backuped). Lgb promissed SRAM mode for Xep128 :-)

What? :D It's already done since "ages", as I've told :) Some documentation on this (as well):

https://github.com/lgblgblgb/xep128/wiki/RAM

The same for SD card re-flashing, it seems to work as well.

Online gflorez

  • EP addict
  • *
  • Posts: 2558
  • Country: es
  • OS:
  • Unknown Unknown
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EPDOS2.1 with EnterMice option
« Reply #7 on: 2016.April.16. 01:51:55 »
I am still playing with EP128emu. Surprisingly Epdos2.1 works in my house PC....

I have configured an EP snapshot with an EXOS24ES.ROM at 00-03 segments(internal Rom). I also have loaded a lot of other Roms, including Epdos2.1 at 2f segment. The cartridge zone has been left empty except the 07 segment for the SRAM zone.

It starts with its own memory test but then it returns to the normal Exdos.ini initialisation. The Basic Rom has disappeared. EXOS and WP still are present.

As I like the EGI, the initialisation ends there. There are some differences, ZT clock has other aspect and information, but EGI works normal. Then I load ANDI.DAT and the emulated EP resets itself and ends on the EPDOS selection screen:



https://www.dropbox.com/s/o0qw1uow7ujjc64/Epdos.JPG?dl=0

If I want to load the EGI again then I must press Shift+E to go to EXDOS. Once there I type "EXDOS EXDOS.INI" and the normal loading sequence starts, but.....

The EGI hangs at loading. Why?

The Universal Mouse driver has an hybrid nature. It works with the normal MSX lecture routine, EP keyboard and Joysticks by means of "legal" interrupts, but also with the serial card putting an "ilegal" hook to the interrupt routine.  This "ilegal" hook is exactly the same that uses Epdos internally, so this causes the EGI to hang.

Then I have to consider which approach I must give to this modification. This application is not like EDCW, which depended from a strange Hsoft mouse driver to work. Epdos on the other side has its own internal driver but collides with  the Universal Mouse driver.

For me there is only one way, the internal driver must be removed completely. This will leave enough memory to put there an EnterMice reading routine. Or more difficult for me, I could implement slavery to the Universal Mouse driver like EGI or Paintbox have.
« Last Edit: 2016.April.17. 01:24:17 by gflorez »

Online gflorez

  • EP addict
  • *
  • Posts: 2558
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EPDOS2.1 with EnterMice option
« Reply #8 on: 2016.April.17. 16:01:17 »
I have learned how to hand-editing the HEASS disassembly to work with  Sjasm. Now it produces exactly the same Rom. I have used a program called "Beyond Compare"

Here begins the study phase. There are only 13 bytes free, but I have to remove the internal mouse driver.

As said before, two approaches are possible, only the EnterMice routine injected, the easiest, or slavery to the Universal Mouse driver, unknown to me but the best option.

The selected option depends on how this version of EPDOS interacts with EXOS, and if it allows the  interrupt where the Universal Mouse driver works on. I ask to me, why Hsoft coders didn't opted for an external driver? They had two of them to choose.
« Last Edit: 2016.April.17. 19:59:24 by gflorez »

Online gflorez

  • EP addict
  • *
  • Posts: 2558
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EPDOS2.1 with EnterMice option
« Reply #9 on: 2016.April.17. 20:56:30 »
I don't want to reinvent the wheel.

I didn't realize what was actually Epdos2.x.

Now I know that it is not a new version of Epdos1.x, it is no more a file-aplications handler, but an OS extension that gives EXOS all the capacities it lacks.

Then, to know more about  Epdos2.x I have translated  its info page at http://www.ep128.hu/Ep_Util/EPDOS21.htm.

And I  found a paragraph talking about Mouse and Keyboard handling. I have mid-understood that Epdos2.x is already compatible with the Boxsoft mouse driver, and then also with the Universal Mouse driver....


Please, I need someone to translate that Mouse paragraph to English.

Online gflorez

  • EP addict
  • *
  • Posts: 2558
  • Country: es
  • OS:
  • Unknown Unknown
  • Browser:
  • Firefox 45.0 Firefox 45.0
    • View Profile
Re: EPDOS2.1 with EnterMice option
« Reply #10 on: 2016.April.19. 00:01:47 »
I've removed EPDOS2.1 from the EnterMice wiki list of programs.

It will never be an EnterMice compatible application as it is not an application but a complete EXOS modification that even needs hardware components.

Can they coexist?, yes, but disabling the Epdos provided internal mouse driver.

I have seen useful utilities inside Epdos2.1, like the expanded Batch processing that allows labels, conditionals and jumps. Or the enhanced printer driver, heavily oriented to widely owned Epson printers, with NLQ font printing of Hungarian texts, graphics and more.

Sram? a nice trick, but actually it is not necessary with our fast SD-readers.

I think it isn't worth enough to change EXOS so drastically if at the end we are rewarded with a lot of incompatibilities.

The effort on it could be better oriented on improving the actual drivers with the ones contained on EPDOS2.1, or get better batch processing learning how it is done inside this Rom.


For example a part of the mouse driver inside Epdos2.1 has been used to bring Microsoft serial mouse compatibility to the Universal Mouse driver....
« Last Edit: 2016.April.19. 00:27:55 by gflorez »