Enterprise Forever
:UK => Other topics => Topic started by: Wolfgang on 2020.September.27. 19:46:25
-
Beginner question:
EXDOS 2.4 ROM contains two WP versions (2.1 and 2.6). How can I load each version?
:WP seems to load WP2.6
-
I think there is only one version, 2.6. The text "WP version 2.1" is added by the EXOS Rom, because WP is included in the internal Rom, and it can't be listed on a :HELP command like the other "normal" Roms found in memory.
Of course, I could be wrong.
But you have a lot of advantages with WP 2.6 over 2.1, it starts directly on 80 col, and has been translated(German, Hungarian, Spanish, etc). Also, some Star printer commands were added(bad for me... I have an Epson printer...)
-
I think that 2.6 was designed to replace 2.1 so you can't actually call it with an EXOS command. 2.6 does everything the original does so there's really no reason to use the original.
However the code is still there in the ROM so you can always call it directly if you want. For example, from BASIC...
CALL USR(62907,0)
-
I think that 2.6 was designed to replace 2.1 so you can't actually call it with an EXOS command. 2.6 does everything the original does so there's really no reason to use the original.
However the code is still there in the ROM so you can always call it directly if you want. For example, from BASIC...
CALL USR(62907,0)
Thanks, this works.
Not that I would be using it anyway, it is more curiosity than anything else. :)
-
CALL USR(62907,0)
Great to know it, thanks.
-
CALL USR(62907,0)
How did you find out the number 62907?
-
How did you find out the number 62907?
Years ago I think I worked it out by disassembling the EXOS 2.1 ROM. But more recently, I "rediscovered" it by using the built-in debugger in the excellent EP128emu.
-
Is that address the WP2.1 entry on the list of Roms found?
I imagine that WP2.6 usurps the :WP command from the WP2.1 version. Owning the same start command, the 2.6 version is always firstly executed, because is the first of both versions on the Rom list.
-
Great finding, i checked what is called, and a small correction CALL USR(62905,0) should be used instead of CALL USR(62907,0), because it skips setting type of EXOS reset, it jumps to
LD C,A
EXOS 0
and skips
LD A,60h
Now it works, because A register contains always 7Fh, but if it contains ex 80h a Hard reset would occur.
-
Great finding, i checked what is called, and a small correction CALL USR(62905,0) should be used instead
Aha - good point! I just looked at it again and you are absolutely right. Thanks for the correction.
-
If you have Zozotools in your configuration the :RL 02h command will remove 2.6 from the ROM list.
Anyway 2.1 is planned to be fully removed. But I am thinking about adding :WP21 command, to start WP in the old looking.
-
Better if you remove it completely, to save space for your great modifications.
Edit: Ah, now I understand, you can launch WP2.6 with the old look.