Enterprise Forever

:HUN => Programozás => Topic started by: Tuby128 on 2021.January.04. 23:51:21

Title: JOY.EXT Bővítő / Extension
Post by: Tuby128 on 2021.January.04. 23:51:21
Megtaláltam a Joy.ext bővítőt. Betöltöttem az Enterprise-ba, és látszik hogy ott van (lásd csatolmányt), de nem tudom használni.

Itt egy nagyon rövid leírás, a "Joy.ext"-re kell rákeresni: http://www.ep128.hu/Ep_Util/Util.htm (http://www.ep128.hu/Ep_Util/Util.htm)

Itt a letölthető fájl: https://enterpriseforever.com/letoltesek-downloads/egyeb-misc/?action=dlattach;attach=399 (https://enterpriseforever.com/letoltesek-downloads/egyeb-misc/?action=dlattach;attach=399)

Van valakinek valami tippje, hogyan lehet használni a bővítőt?

=English version=

I found recently the "Joy.ext" extension. I loaded to my Enterprise, I could see the extension, but I was not able to use.

The short hungarian description is here, use search on page with expression "Joy.ext": http://www.ep128.hu/Ep_Util/Util.htm (http://www.ep128.hu/Ep_Util/Util.htm)

The downloadable file is here: https://enterpriseforever.com/letoltesek-downloads/egyeb-misc/?action=dlattach;attach=399 (https://enterpriseforever.com/letoltesek-downloads/egyeb-misc/?action=dlattach;attach=399)

Does anyone have a clue, how to use that extension?
Title: Re: JOY.EXT Bővítő / Extension
Post by: gflorez on 2021.January.05. 05:29:13
I was playing with it some time ago. It is a hack for the original EXOS drivers, not for the Language Rom ones.

Try to load it without the cartridge, as it is an extension it will load from the WP pressing the F8 key and typing "load joy.ext"+Enter.

As you only use the Tape: device, to load the extension press F1 and type joy.ext+Enter. EXOS will detect that it is an extension header and will load accordingly.
Title: Re: JOY.EXT Bővítő / Extension
Post by: Tuby128 on 2021.January.05. 06:58:25
You mean the problem maybe, that I am using a german (brd) basic cartridge?
Title: Re: JOY.EXT Bővítő / Extension
Post by: Zozosoft on 2021.January.05. 09:08:54
Igen, tényleg csak angol géppel működik. Gondolom nem EXOS kompatibilis módon, közvetlenül ír bele a rendszerszegmensbe, csak éppen hiába ír az angol billentyűzet kezelő területébe, ha az nem aktív.
Title: Re: JOY.EXT Bővítő / Extension
Post by: Tuby128 on 2021.January.05. 20:00:47
Lehetséges lenne valahogy kijavítani, hogy német gépen is működjön? Sok dolgot kellene átírni a kódban?

Is it possible somehow fixing the code, which makes it working on german computers as well? Is there much code to change in the file?
Title: Re: JOY.EXT Bővítő / Extension
Post by: gflorez on 2021.January.05. 20:47:37
It is a hack, not a real driver. The Language Roms use a different keyboard driver on other memory zone, but also the zone is not used the same...

On the other side, not very useful, because games don't use the keyboard driver, they scan the hardware directly.

To do something similar, I would search on the Rom the keyboard call from the Editor driver, then instead of asking the status of the internal joystick, change it on the Rom, only one byte, a 0 by a 1 or a 2. But hacking a Rom is definitive on the real EP, not a simple software in Ram....

[attachimg=1]
Title: Re: JOY.EXT Bővítő / Extension
Post by: Tuby128 on 2021.January.09. 04:03:10
Ez csak egy hack, nem valódi driver. A nyelvi ROM-ok a ROM memória más területét használják, de még azok sem egyforma helyen találhatóak...

Másrészt nem is igazán hasznos, mert a játékok amúgy sem használják a beépített billentyűzetkezelőt, hanem I/O utasításokkal kérdezik le.
 
Ahhoz, hogy valami hasonlót csináljon neked, megkeresném a ROM-ban az editor drivert, és ahelyett hogy lekérdeztetnénk a belső joystickot, az ott lévő 0 kódot meg lehetne változtatni 1-re vagy 2-re, hogy a külső joystickra hivatkozzon. De a ROM megváltoztatása egy igazi EP-n nem a legegyszerűbb feladat.

(Attachment Link)

Glorez, what is this document, where did you get it?
Honnan van a doksi?
Title: Re: JOY.EXT Bővítő / Extension
Post by: ergoGnomik on 2021.January.09. 09:27:37
Enterprise Technical Information EXOS 2.1. You may find it in the Hungarian translated version (EXOS 2.1 Változat Műszaki Leírás); at pg. 208-209.