Page 1 of 1

Accessing A Program?

Posted: Mon Jun 05, 2023 11:41 pm
by phil8715
How do you access a program that's on a datapak?

I need to make some button configuration changes.

Thanks in advance.

Re: Accessing A Program?

Posted: Tue Jun 06, 2023 11:54 am
by amenjet
If it's OPL and the source is on the datapack then you can use the PROG menu to edit the OPL source. You'll have to translate it after altering it. If you don't have the source OPL then it's harder and you will need to use a decompiler, which I think exists.
If it's in machine code then you will need the source for that as well and a way to assemble it. A disassembler could be used but that is a sizeable job and probably not worth it.

Andrew

Accessing A Program

Posted: Tue Jun 06, 2023 2:22 pm
by Martin
Dear Phil

As Andrews says it depends on their 'code'. Some of the Organiser programs archived on the internet are in translated OPL programs which have the file extension OB3. These can be reverse engineered with Split, SplitOpk and RevTran. Some 'specialist' Organiser programmers like Jaap or Zac for example also included some higher level machine code in their programs (for example Tetris or Snowboard) to make them 'run' faster these will need a dissembler to reverse engineer them. It can be difficult to identify these 'machine code' programs because they also have an OB3 file extension which confuses some people at first.

Sincerely and in good faith
Martin Reid

Re: Accessing A Program?

Posted: Tue Jun 06, 2023 11:45 pm
by phil8715
I was trying to remap the buttons to arrows instead of M,R,S,X on Tetris because the keys aren't natural and I just can't get used to that configuration.

There is another version of Tetris that isn't Jaap's there's a you tube video it's being played on a XP Psion https://youtu.be/c_58QdqoEbQ

Versions of Tetris

Posted: Wed Jun 07, 2023 12:45 pm
by Martin
Phil.. the YouTube link you quoted in broken...

I know of two versions of TETRIS both for the LZ. One in is included in GPACK.OPK compiled by Dave Woolnough and the other 'faster' version is Jaap's machine code example. Both to my knowledge are in compiled machine code and don't have configerable keys..

(1) GPACK(.OPK) for the LZ - all 4 programs are all OB3 (Object only translated files) and was put together by Dave Woolnough. Those interested will find a link Dave's Archived ORG2.com (here) and you can find a copy GPACK in the FTP section.

Quadris (a sideways variation on the Tetris theme.) uses arrow keys
Pac
Break
Tiles

(2) Jaap's MC Tetris - A very fast machine code version of the old favourite - Tetris.

If you find a working link to a YouTude version for an XP.. then I might make contact for more information.

Sincerely and in good faith
Martin

Re: Accessing A Program?

Posted: Wed Jun 07, 2023 7:22 pm
by phil8715
I've got the GPack pac.

Not sure why the link is broken.

Re: Accessing A Program?

Posted: Sun Jun 11, 2023 1:59 pm
by phil8715
Actually I've no need to access the program now as I'm getting to grips with the game as it is

So I'm happy with it.

Re: Accessing A Program?

Posted: Sun Jun 11, 2023 2:56 pm
by Daren

Tetris Code - azya52 on GitHub

Posted: Mon Jun 12, 2023 7:28 am
by Martin
Thanks Daren...

That's helpful.. I've tracked it down to azya52 on GitHub (here)... Is anyone here a GitHub member? Would you be willing to contact azya52 and explain that the members of the Organiser II Forum are interested in his Tetris Project (Psion retrochallenge) and would like to publish his code and perhaps include it in a Compilation of Games datapak if he is in agreement.

I have his code but don't want to use it until we have contacted him..

Sincerely
Martin

PS... (Edit) I've just found his email address and have sent him an introduction and request email... Martin

Re: Accessing A Program?

Posted: Mon Jun 12, 2023 8:06 pm
by phil8715
Not sure why my link didn't work.