Search found 15 matches

by Lostgallifreyan
Thu Oct 21, 2021 2:14 am
Forum: General
Topic: OPL Challenge
Replies: 23
Views: 416

Re: OPL Challenge

Martin, I found some notes I made on machine code and service calls, and the first part of those is posted below in the 'code' block. It's no substitute for a proper guide but it's what I wrote when in the same position you're in now, when I needed a condensed form that told me the most vital stuff....
by Lostgallifreyan
Wed Oct 20, 2021 6:42 pm
Forum: General
Topic: OPL Challenge
Replies: 23
Views: 416

Re: OPL Challenge

The fastest way to get at machine code calls to system services is by example so my EVENT post's procedure called EditFile is one example. Looking at Jaap's TSR programs for keys and Y2K fix are also good to see how OPL and machine code can link easily by use of arrays. It's worth stopping to play w...
by Lostgallifreyan
Wed Oct 20, 2021 6:22 pm
Forum: Hardware
Topic: The Organiser is dead. Long live the Organiser.
Replies: 3
Views: 36

Re: The Organiser is dead. Long live the Organiser.

I'm definitely interested in that, but is there any chance it can be described with text and a photo or two? Using several hundreds of megabytes to convey introductory information is the kind of thing that demands resources we desperately need to cut down our consumption of. It's not just access to ...
by Lostgallifreyan
Wed Oct 20, 2021 1:23 pm
Forum: General
Topic: Technical Reference Manual - System Service Calls
Replies: 1
Views: 39

Re: Technical Reference Manual - System Service Calls

About sorting, I'm not sure, and for compatibility it's maybe better to do a machine code tool that an XP or LZ can use equally well. From that standpoint, the first decision is whether to use a stable sort algorithm or not, because stable means if there are two CATs in a list, the first one is stil...
by Lostgallifreyan
Wed Oct 20, 2021 7:07 am
Forum: Hardware
Topic: The Organiser is dead. Long live the Organiser.
Replies: 3
Views: 36

The Organiser is dead. Long live the Organiser.

That heading is intended to get the idea across, that with Olivier Gossuin's work, and my ORG-Link, and Martin P's effort to recreate the entire Organiser schematic, and such, there is increasing scope to extend the Organiser in ways that solve many current needs, especially as resources and energy ...
by Lostgallifreyan
Wed Oct 20, 2021 6:44 am
Forum: General
Topic: OPL Challenge
Replies: 23
Views: 416

Re: OPL Challenge

Extra: "ED$EDIT / ED$EPOS If bit 1 of A register is set, then the edit will exit if an UP or DOWN arrow key is pressed." (From an LZ-specific bit in Jaap's documentation for system services.) That means calling the service in a key-test loop is ideal for a 'listbox' type control, and may h...
by Lostgallifreyan
Wed Oct 20, 2021 6:27 am
Forum: General
Topic: OPL Challenge
Replies: 23
Views: 416

Re: OPL Challenge

Martin, instead of PRINT, it may work better if the system service ED$EPOS allows it. Jaap's machine code reference says this: "In single-line editing, the up and down keys move the cursor to the start and end of the line (unless otherwise specified on the LZ organiser)." I'm not sure if t...
by Lostgallifreyan
Wed Oct 20, 2021 6:01 am
Forum: General
Topic: Psion ii keyboard
Replies: 2
Views: 15021

Re: Psion ii keyboard

There are raw codes for the hardware key contacts that follow a logic dependent on how the circuit board tracks had to be laid, so mapping is already happening, so remapping is definitely possible, but in practise it's best NOT to do it. Consider the standard QWERTY system... It's weird, and was des...
by Lostgallifreyan
Sat Oct 09, 2021 8:59 pm
Forum: Hardware
Topic: Psion XP power circuit schematic, LZ constant buzz, whine, beep. Re-capping
Replies: 6
Views: 185

Re: Psion XP power circuit schematic, LZ constant buzz, whine, beep. Re-capping

Are you wondering which capacitors should be tried first? Most small electrolytics, especially from that time before the 'bad caps' debacle with the dodgy electrolyte or the counterfeiting, won't be a problem, but C5 is interesting for its location, it looks closely linked to one side of the piezo s...
by Lostgallifreyan
Thu Oct 07, 2021 4:27 am
Forum: General
Topic: OPL Challenge
Replies: 23
Views: 416

Re: OPL Challenge

I think the horizontal scroll could be done but not easily. It would have to take a list file, count characters to build indexes, access the file directly as a large buffer, replace the tab and record separators with a single printable character, iterate though the buffer according to indexes gather...