Hello!
In my adaptated Arabic handler on ACTION_WRITE: I make two consecutive call to DoIO(), DoIO() they in turn call Move() or Text() from the graphics library (no more console.device) but it don’t give the same display on screen.
This happened on my SAM440EP from FE update 1 where that’s ok, to FE update 2 where the display is confused, line are swapped : first line always ok but second line is third line and third is second, etc
In a previous bug report (here) I bet it was the line feed (newline) char at the end of line was changed to CRLF carriage return + line feed.
But, even if my program is faulty with FE update 2 (in regards to the u2) , because it lacks synchronization or something else between console.device - graphics.library, AmigaDOS? and even exec.library -
Their must be a compatibility flag because DoIO() just followed by a another DoIO() should give the same output (display) ; it should be identity.
Or we have changed from a single threaded model for AmigaDOS -handlers to a multithreaded architecture?
In case of, where are the new synchronization primitive? Are there semaphores : I hate them because we are on a mail box message passing model (perhaps a monitor one’s), none a semaphore one’s.
What are the changes between FE update 1 to FE update 2,
that break a sequence of DoIO() (with output identity) ?
[I read the changeLog of FE update 2 and nothing seems to change dramatically to other component than Exec.library in the fact, Graphics.library? ; this bug seems strange because it affects FE update 2 on SAM440EP and A1222+ ]
DGILLES - ArabSCII console - os4depot.net @ 30 May 2024 -
Identity of sequence not respected : two consecutive DoIO(); DoIO(); on ACTION_WRITE don’t give same result [SOLVED]
Identity of sequence not respected : two consecutive DoIO(); DoIO(); on ACTION_WRITE don’t give same result [SOLVED]
Last edited by gdridi on Tue Jun 25, 2024 12:06 pm, edited 4 times in total.
- tonyw
- AmigaOS Core Developer
- Posts: 1483
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: Identity of sequence not respected : two consecutive DoIO(); DoIO(); on ACTION_WRITE don’t give the same result
The console device does not depend on any other system component (except graphics.library, which writes the text to the screen). I can't think of any way that Write requests can be executed in the wrong order.
Or is the problem that a single Write request string is being displayed with the characters appearing in the wrong order?
In any case, PM me with your email address and we can work it out.
Or is the problem that a single Write request string is being displayed with the characters appearing in the wrong order?
In any case, PM me with your email address and we can work it out.
cheers
tony
tony
Re: Identity of sequence not respected : two consecutive DoIO(); DoIO(); on ACTION_WRITE don’t give same result [SOLVED]
Hello!
After talking with Tonyw
The misoperating was due to not taking into account multiline in FEu2 or FEa1222, like "abc\ndef" as one string received instead of two strings "abc\n" and "def", with previous venerable FEu0
Wow
DGILLES - os4depot.net @ 25 June 2024
After talking with Tonyw
The misoperating was due to not taking into account multiline in FEu2 or FEa1222, like "abc\ndef" as one string received instead of two strings "abc\n" and "def", with previous venerable FEu0
Wow
DGILLES - os4depot.net @ 25 June 2024